diff --git a/docs/requirements.txt b/docs/requirements.txt index 7d712119a..a38822096 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,16 +1,16 @@ autodoc_pydantic myst_parser -nbsphinx==0.8.9 -sphinx==4.5.0 +nbsphinx +sphinx recommonmark sphinx_intl -sphinx-autobuild==2021.3.14 +sphinx-autobuild sphinx_book_theme -sphinx_rtd_theme==1.0.0 -sphinx-typlog-theme==0.8.0 +sphinx_rtd_theme +sphinx-typlog-theme sphinx-panels toml myst_nb sphinx_copybutton -pydata-sphinx-theme==0.13.1 +pydata-sphinx-theme furo \ No newline at end of file diff --git a/pilot/openapi/api_v1/api_v1.py b/pilot/openapi/api_v1/api_v1.py index f45a6af95..1507a9a1f 100644 --- a/pilot/openapi/api_v1/api_v1.py +++ b/pilot/openapi/api_v1/api_v1.py @@ -149,6 +149,7 @@ async def dialogue_list(user_id: str = None): conv_uid = item.get("conv_uid") summary = item.get("summary") chat_mode = item.get("chat_mode") + model_name = item.get("model_name", CFG.LLM_MODEL) messages = json.loads(item.get("messages")) last_round = max(messages, key=lambda x: x["chat_order"]) @@ -160,6 +161,7 @@ async def dialogue_list(user_id: str = None): conv_uid=conv_uid, user_input=summary, chat_mode=chat_mode, + model_name=model_name, select_param=select_param, ) dialogues.append(conv_vo) @@ -215,8 +217,10 @@ async def params_list(chat_mode: str = ChatScene.ChatNormal.value()): @router.post("/v1/chat/mode/params/file/load") -async def params_load(conv_uid: str, chat_mode: str, doc_file: UploadFile = File(...)): - print(f"params_load: {conv_uid},{chat_mode}") +async def params_load( + conv_uid: str, chat_mode: str, model_name: str, doc_file: UploadFile = File(...) +): + print(f"params_load: {conv_uid},{chat_mode},{model_name}") try: if doc_file: ## file save @@ -235,7 +239,10 @@ async def params_load(conv_uid: str, chat_mode: str, doc_file: UploadFile = File ) ## chat prepare dialogue = ConversationVo( - conv_uid=conv_uid, chat_mode=chat_mode, select_param=doc_file.filename + conv_uid=conv_uid, + chat_mode=chat_mode, + select_param=doc_file.filename, + model_name=model_name, ) chat: BaseChat = get_chat_instance(dialogue) resp = await chat.prepare() @@ -259,8 +266,11 @@ def get_hist_messages(conv_uid: str): history_messages: List[OnceConversation] = history_mem.get_messages() if history_messages: for once in history_messages: + print(f"once:{once}") + model_name = once.get("model_name", CFG.LLM_MODEL) once_message_vos = [ - message2Vo(element, once["chat_order"]) for element in once["messages"] + message2Vo(element, once["chat_order"], model_name) + for element in once["messages"] ] message_vos.extend(once_message_vos) return message_vos @@ -287,15 +297,19 @@ def get_chat_instance(dialogue: ConversationVo = Body()) -> BaseChat: chat_param = { "chat_session_id": dialogue.conv_uid, - "user_input": dialogue.user_input, + "current_user_input": dialogue.user_input, "select_param": dialogue.select_param, + "model_name": dialogue.model_name, } - chat: BaseChat = CHAT_FACTORY.get_implementation(dialogue.chat_mode, **chat_param) + chat: BaseChat = CHAT_FACTORY.get_implementation( + dialogue.chat_mode, **{"chat_param": chat_param} + ) return chat @router.post("/v1/chat/prepare") async def chat_prepare(dialogue: ConversationVo = Body()): + # dialogue.model_name = CFG.LLM_MODEL logger.info(f"chat_prepare:{dialogue}") ## check conv_uid chat: BaseChat = get_chat_instance(dialogue) @@ -307,7 +321,9 @@ async def chat_prepare(dialogue: ConversationVo = Body()): @router.post("/v1/chat/completions") async def chat_completions(dialogue: ConversationVo = Body()): - print(f"chat_completions:{dialogue.chat_mode},{dialogue.select_param}") + print( + f"chat_completions:{dialogue.chat_mode},{dialogue.select_param},{dialogue.model_name}" + ) chat: BaseChat = get_chat_instance(dialogue) # background_tasks = BackgroundTasks() # background_tasks.add_task(release_model_semaphore) @@ -332,6 +348,30 @@ async def chat_completions(dialogue: ConversationVo = Body()): ) +@router.get("/v1/model/types") +async def model_types(request: Request): + print(f"/controller/model/types") + try: + import httpx + + async with httpx.AsyncClient() as client: + base_url = request.base_url + response = await client.get( + f"{base_url}api/controller/models?healthy_only=true", + ) + types = set() + if response.status_code == 200: + models = json.loads(response.text) + for model in models: + worker_type = model["model_name"].split("@")[1] + if worker_type == "llm": + types.add(model["model_name"].split("@")[0]) + return Result.succ(list(types)) + + except Exception as e: + return Result.faild(code="E000X", msg=f"controller model types error {e}") + + async def no_stream_generator(chat): msg = await chat.nostream_call() msg = msg.replace("\n", "\\n") @@ -356,7 +396,10 @@ async def stream_generator(chat): chat.memory.append(chat.current_message) -def message2Vo(message: dict, order) -> MessageVo: +def message2Vo(message: dict, order, model_name) -> MessageVo: return MessageVo( - role=message["type"], context=message["data"]["content"], order=order + role=message["type"], + context=message["data"]["content"], + order=order, + model_name=model_name, ) diff --git a/pilot/openapi/api_view_model.py b/pilot/openapi/api_view_model.py index 92dbc1e1f..d03beec8d 100644 --- a/pilot/openapi/api_view_model.py +++ b/pilot/openapi/api_view_model.py @@ -54,6 +54,10 @@ class ConversationVo(BaseModel): chat scene select param """ select_param: str = None + """ + llm model name + """ + model_name: str = None class MessageVo(BaseModel): @@ -74,3 +78,8 @@ class MessageVo(BaseModel): time the current message was sent """ time_stamp: Any = None + + """ + model_name + """ + model_name: str diff --git a/pilot/scene/base_chat.py b/pilot/scene/base_chat.py index 9880edcb2..9e7a22373 100644 --- a/pilot/scene/base_chat.py +++ b/pilot/scene/base_chat.py @@ -2,7 +2,7 @@ import traceback import warnings from abc import ABC, abstractmethod -from typing import Any, List +from typing import Any, List, Dict from pilot.configs.config import Config from pilot.configs.model_config import LOGDIR @@ -32,13 +32,13 @@ class Config: arbitrary_types_allowed = True - def __init__( - self, chat_mode, chat_session_id, current_user_input, select_param: Any = None - ): - self.chat_session_id = chat_session_id - self.chat_mode = chat_mode - self.current_user_input: str = current_user_input - self.llm_model = CFG.LLM_MODEL + def __init__(self, chat_param: Dict): + self.chat_session_id = chat_param["chat_session_id"] + self.chat_mode = chat_param["chat_mode"] + self.current_user_input: str = chat_param["current_user_input"] + self.llm_model = ( + chat_param["model_name"] if chat_param["model_name"] else CFG.LLM_MODEL + ) self.llm_echo = False ### load prompt template @@ -55,14 +55,17 @@ def __init__( ) ### can configurable storage methods - self.memory = DuckdbHistoryMemory(chat_session_id) + self.memory = DuckdbHistoryMemory(chat_param["chat_session_id"]) self.history_message: List[OnceConversation] = self.memory.messages() - self.current_message: OnceConversation = OnceConversation(chat_mode.value()) - if select_param: - if len(chat_mode.param_types()) > 0: - self.current_message.param_type = chat_mode.param_types()[0] - self.current_message.param_value = select_param + self.current_message: OnceConversation = OnceConversation( + self.chat_mode.value() + ) + self.current_message.model_name = self.llm_model + if chat_param["select_param"]: + if len(self.chat_mode.param_types()) > 0: + self.current_message.param_type = self.chat_mode.param_types()[0] + self.current_message.param_value = chat_param["select_param"] self.current_tokens_used: int = 0 class Config: diff --git a/pilot/scene/chat_dashboard/chat.py b/pilot/scene/chat_dashboard/chat.py index 1aeca8406..f6213c292 100644 --- a/pilot/scene/chat_dashboard/chat.py +++ b/pilot/scene/chat_dashboard/chat.py @@ -1,7 +1,7 @@ import json import os import uuid -from typing import List +from typing import List, Dict from pilot.scene.base_chat import BaseChat from pilot.scene.base import ChatScene @@ -21,30 +21,20 @@ class ChatDashboard(BaseChat): report_name: str """Number of results to return from the query""" - def __init__( - self, - chat_session_id, - user_input, - select_param: str = "", - report_name: str = "report", - ): + def __init__(self, chat_param: Dict): """ """ - self.db_name = select_param - super().__init__( - chat_mode=ChatScene.ChatDashboard, - chat_session_id=chat_session_id, - current_user_input=user_input, - select_param=self.db_name, - ) + self.db_name = chat_param["select_param"] + chat_param["chat_mode"] = ChatScene.ChatDashboard + super().__init__(chat_param=chat_param) if not self.db_name: raise ValueError(f"{ChatScene.ChatDashboard.value} mode should choose db!") self.db_name = self.db_name - self.report_name = report_name + self.report_name = chat_param["report_name"] or "report" self.database = CFG.LOCAL_DB_MANAGE.get_connect(self.db_name) self.top_k: int = 5 - self.dashboard_template = self.__load_dashboard_template(report_name) + self.dashboard_template = self.__load_dashboard_template(self.report_name) def __load_dashboard_template(self, template_name): current_dir = os.getcwd() diff --git a/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py b/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py index 1d370c78f..27bdeaec8 100644 --- a/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py +++ b/pilot/scene/chat_data/chat_excel/excel_analyze/chat.py @@ -22,25 +22,22 @@ class ChatExcel(BaseChat): chat_scene: str = ChatScene.ChatExcel.value() chat_retention_rounds = 1 - def __init__(self, chat_session_id, user_input, select_param: str = ""): + def __init__(self, chat_param: Dict): chat_mode = ChatScene.ChatExcel - self.select_param = select_param - if has_path(select_param): - self.excel_reader = ExcelReader(select_param) + self.select_param = chat_param["select_param"] + self.model_name = chat_param["model_name"] + chat_param["chat_mode"] = ChatScene.ChatExcel + if has_path(self.select_param): + self.excel_reader = ExcelReader(self.select_param) else: self.excel_reader = ExcelReader( os.path.join( - KNOWLEDGE_UPLOAD_ROOT_PATH, chat_mode.value(), select_param + KNOWLEDGE_UPLOAD_ROOT_PATH, chat_mode.value(), self.select_param ) ) - super().__init__( - chat_mode=chat_mode, - chat_session_id=chat_session_id, - current_user_input=user_input, - select_param=select_param, - ) + super().__init__(chat_param=chat_param) def _generate_command_string(self, command: Dict[str, Any]) -> str: """ @@ -85,6 +82,7 @@ async def prepare(self): "parent_mode": self.chat_mode, "select_param": self.excel_reader.excel_file_name, "excel_reader": self.excel_reader, + "model_name": self.model_name, } learn_chat = ExcelLearning(**chat_param) result = await learn_chat.nostream_call() diff --git a/pilot/scene/chat_data/chat_excel/excel_learning/chat.py b/pilot/scene/chat_data/chat_excel/excel_learning/chat.py index adb556209..96338589c 100644 --- a/pilot/scene/chat_data/chat_excel/excel_learning/chat.py +++ b/pilot/scene/chat_data/chat_excel/excel_learning/chat.py @@ -30,17 +30,20 @@ def __init__( parent_mode: Any = None, select_param: str = None, excel_reader: Any = None, + model_name: str = None, ): chat_mode = ChatScene.ExcelLearning """ """ self.excel_file_path = select_param self.excel_reader = excel_reader - super().__init__( - chat_mode=chat_mode, - chat_session_id=chat_session_id, - current_user_input=user_input, - select_param=select_param, - ) + chat_param = { + "chat_mode": chat_mode, + "chat_session_id": chat_session_id, + "current_user_input": user_input, + "select_param": select_param, + "model_name": model_name, + } + super().__init__(chat_param=chat_param) if parent_mode: self.current_message.chat_mode = parent_mode.value() diff --git a/pilot/scene/chat_db/auto_execute/chat.py b/pilot/scene/chat_db/auto_execute/chat.py index 689222c0a..4e46dea5d 100644 --- a/pilot/scene/chat_db/auto_execute/chat.py +++ b/pilot/scene/chat_db/auto_execute/chat.py @@ -1,3 +1,5 @@ +from typing import Dict + from pilot.scene.base_chat import BaseChat from pilot.scene.base import ChatScene from pilot.common.sql_database import Database @@ -12,15 +14,13 @@ class ChatWithDbAutoExecute(BaseChat): """Number of results to return from the query""" - def __init__(self, chat_session_id, user_input, select_param: str = ""): + def __init__(self, chat_param: Dict): chat_mode = ChatScene.ChatWithDbExecute - self.db_name = select_param + self.db_name = chat_param["select_param"] + chat_param["chat_mode"] = chat_mode """ """ super().__init__( - chat_mode=chat_mode, - chat_session_id=chat_session_id, - current_user_input=user_input, - select_param=self.db_name, + chat_param=chat_param, ) if not self.db_name: raise ValueError( diff --git a/pilot/scene/chat_db/professional_qa/chat.py b/pilot/scene/chat_db/professional_qa/chat.py index 374131bfe..39f4052a6 100644 --- a/pilot/scene/chat_db/professional_qa/chat.py +++ b/pilot/scene/chat_db/professional_qa/chat.py @@ -1,3 +1,5 @@ +from typing import Dict + from pilot.scene.base_chat import BaseChat from pilot.scene.base import ChatScene from pilot.common.sql_database import Database @@ -12,15 +14,11 @@ class ChatWithDbQA(BaseChat): """Number of results to return from the query""" - def __init__(self, chat_session_id, user_input, select_param: str = ""): + def __init__(self, chat_param: Dict): """ """ - self.db_name = select_param - super().__init__( - chat_mode=ChatScene.ChatWithDbQA, - chat_session_id=chat_session_id, - current_user_input=user_input, - select_param=self.db_name, - ) + self.db_name = chat_param["select_param"] + chat_param["chat_mode"] = ChatScene.ChatWithDbQA + super().__init__(chat_param=chat_param) if self.db_name: self.database = CFG.LOCAL_DB_MANAGE.get_connect(self.db_name) diff --git a/pilot/scene/chat_execution/chat.py b/pilot/scene/chat_execution/chat.py index 031d4afb1..fd18a5564 100644 --- a/pilot/scene/chat_execution/chat.py +++ b/pilot/scene/chat_execution/chat.py @@ -1,4 +1,4 @@ -from typing import List +from typing import List, Dict from pilot.scene.base_chat import BaseChat from pilot.scene.base import ChatScene @@ -15,14 +15,10 @@ class ChatWithPlugin(BaseChat): plugins_prompt_generator: PluginPromptGenerator select_plugin: str = None - def __init__(self, chat_session_id, user_input, select_param: str = None): - self.plugin_selector = select_param - super().__init__( - chat_mode=ChatScene.ChatExecution, - chat_session_id=chat_session_id, - current_user_input=user_input, - select_param=self.plugin_selector, - ) + def __init__(self, chat_param: Dict): + self.plugin_selector = chat_param.select_param + chat_param["chat_mode"] = ChatScene.ChatExecution + super().__init__(chat_param=chat_param) self.plugins_prompt_generator = PluginPromptGenerator() self.plugins_prompt_generator.command_registry = CFG.command_registry # 加载插件中可用命令 diff --git a/pilot/scene/chat_knowledge/v1/chat.py b/pilot/scene/chat_knowledge/v1/chat.py index c41345f1d..3856cfb05 100644 --- a/pilot/scene/chat_knowledge/v1/chat.py +++ b/pilot/scene/chat_knowledge/v1/chat.py @@ -1,3 +1,5 @@ +from typing import Dict + from chromadb.errors import NoIndexException from pilot.scene.base_chat import BaseChat @@ -20,16 +22,15 @@ class ChatKnowledge(BaseChat): """Number of results to return from the query""" - def __init__(self, chat_session_id, user_input, select_param: str = None): + def __init__(self, chat_param: Dict): """ """ from pilot.embedding_engine.embedding_engine import EmbeddingEngine from pilot.embedding_engine.embedding_factory import EmbeddingFactory - self.knowledge_space = select_param + self.knowledge_space = chat_param["select_param"] + chat_param["chat_mode"] = ChatScene.ChatKnowledge super().__init__( - chat_mode=ChatScene.ChatKnowledge, - chat_session_id=chat_session_id, - current_user_input=user_input, + chat_param=chat_param, ) self.space_context = self.get_space_context(self.knowledge_space) self.top_k = ( diff --git a/pilot/scene/chat_normal/chat.py b/pilot/scene/chat_normal/chat.py index 56fca35e5..47d1e70b5 100644 --- a/pilot/scene/chat_normal/chat.py +++ b/pilot/scene/chat_normal/chat.py @@ -1,3 +1,5 @@ +from typing import Dict + from pilot.scene.base_chat import BaseChat from pilot.scene.base import ChatScene from pilot.configs.config import Config @@ -12,12 +14,11 @@ class ChatNormal(BaseChat): """Number of results to return from the query""" - def __init__(self, chat_session_id, user_input, select_param: str = None): + def __init__(self, chat_param: Dict): """ """ + chat_param["chat_mode"] = ChatScene.ChatNormal super().__init__( - chat_mode=ChatScene.ChatNormal, - chat_session_id=chat_session_id, - current_user_input=user_input, + chat_param=chat_param, ) def generate_input_values(self): diff --git a/pilot/scene/message.py b/pilot/scene/message.py index af52780f9..4d5a5c383 100644 --- a/pilot/scene/message.py +++ b/pilot/scene/message.py @@ -23,6 +23,7 @@ def __init__(self, chat_mode): self.messages: List[BaseMessage] = [] self.start_date: str = "" self.chat_order: int = 0 + self.model_name: str = "" self.param_type: str = "" self.param_value: str = "" self.cost: int = 0 @@ -104,6 +105,7 @@ def _conversation_to_dic(once: OnceConversation) -> dict: return { "chat_mode": once.chat_mode, + "model_name": once.model_name, "chat_order": once.chat_order, "start_date": start_str, "cost": once.cost if once.cost else 0, @@ -127,6 +129,7 @@ def conversation_from_dict(once: dict) -> OnceConversation: conversation.chat_order = int(once.get("chat_order")) conversation.param_type = once.get("param_type", "") conversation.param_value = once.get("param_value", "") + conversation.model_name = once.get("model_name", "proxyllm") print(once.get("messages")) conversation.messages = messages_from_dict(once.get("messages", [])) return conversation diff --git a/pilot/server/static/404.html b/pilot/server/static/404.html index 40c72fd52..0025ed2a9 100644 --- a/pilot/server/static/404.html +++ b/pilot/server/static/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/pilot/server/static/404/index.html b/pilot/server/static/404/index.html index 40c72fd52..0025ed2a9 100644 --- a/pilot/server/static/404/index.html +++ b/pilot/server/static/404/index.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/pilot/server/static/_next/static/6KBZVUsQDSTOXHczAINub/_buildManifest.js b/pilot/server/static/_next/static/6KBZVUsQDSTOXHczAINub/_buildManifest.js new file mode 100644 index 000000000..d0c777097 --- /dev/null +++ b/pilot/server/static/_next/static/6KBZVUsQDSTOXHczAINub/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,a,c,t,e,d,n,u,f,i){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[a,"static/chunks/673-9f0ceb79f1535087.js","static/chunks/pages/index-ad9fe4b8efe06ace.js"],"/_error":["static/chunks/pages/_error-dee72aff9b2e2c12.js"],"/chat":["static/chunks/pages/chat-cf7d95f63f5aacee.js"],"/database":[s,c,d,t,"static/chunks/566-493c6126d6ac9745.js","static/chunks/196-48d8c6ab3e99146c.js","static/chunks/pages/database-670b4fa76152da89.js"],"/datastores":[e,s,a,n,u,"static/chunks/241-4117dd68a591b7fa.js","static/chunks/pages/datastores-cc1916d2425430ee.js"],"/datastores/documents":[e,"static/chunks/75fc9c18-a784766a129ec5fb.js",s,a,n,c,f,d,t,i,u,"static/chunks/749-f876c99e30a851b8.js","static/chunks/pages/datastores/documents-6dd307574a33f39c.js"],"/datastores/documents/chunklist":[e,s,c,f,t,i,"static/chunks/pages/datastores/documents/chunklist-0fae5e5132233223.js"],sortedPages:["/","/_app","/_error","/chat","/database","/datastores","/datastores/documents","/datastores/documents/chunklist"]}}("static/chunks/215-c0761f73cb28fff6.js","static/chunks/913-e3ab2daf183d352e.js","static/chunks/902-4b12ce531524546f.js","static/chunks/455-597a8a48388a0d9b.js","static/chunks/29107295-90b90cb30c825230.js","static/chunks/908-33709e71961cb7a1.js","static/chunks/718-ae767ae95bca674e.js","static/chunks/589-8dfb35868cafc00b.js","static/chunks/289-06c0d9f538f77a71.js","static/chunks/34-c924e44753dd2c5b.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/pilot/server/static/_next/static/c9JPLFJPIFJZCqrC_XlGA/_ssgManifest.js b/pilot/server/static/_next/static/6KBZVUsQDSTOXHczAINub/_ssgManifest.js similarity index 100% rename from pilot/server/static/_next/static/c9JPLFJPIFJZCqrC_XlGA/_ssgManifest.js rename to pilot/server/static/_next/static/6KBZVUsQDSTOXHczAINub/_ssgManifest.js diff --git a/pilot/server/static/_next/static/c9JPLFJPIFJZCqrC_XlGA/_buildManifest.js b/pilot/server/static/_next/static/c9JPLFJPIFJZCqrC_XlGA/_buildManifest.js deleted file mode 100644 index cb10d35e8..000000000 --- a/pilot/server/static/_next/static/c9JPLFJPIFJZCqrC_XlGA/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/15-9581813bc8d52fcc.js b/pilot/server/static/_next/static/chunks/15-9581813bc8d52fcc.js deleted file mode 100644 index 7f9552a53..000000000 --- a/pilot/server/static/_next/static/chunks/15-9581813bc8d52fcc.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15],{22046:function(e,t,n){"use strict";n.d(t,{eu:function(){return x},FR:function(){return b},ZP:function(){return S}});var r=n(46750),o=n(40431),a=n(86006),i=n(53832),s=n(44542),l=n(86601),c=n(47562),p=n(50645),u=n(88930),d=n(47093),g=n(326),h=n(18587);function f(e){return(0,h.d6)("MuiTypography",e)}(0,h.sI)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","body1","body2","body3","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var y=n(9268);let m=["color","textColor"],v=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],b=a.createContext(!1),x=a.createContext(!1),N=e=>{let{gutterBottom:t,noWrap:n,level:r,color:o,variant:a}=e,s={root:["root",r,t&&"gutterBottom",n&&"noWrap",o&&`color${(0,i.Z)(o)}`,a&&`variant${(0,i.Z)(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,c.Z)(s,f,{})},Z=(0,p.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({ownerState:e})=>{var t;return(0,o.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),D=(0,p.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})(({ownerState:e})=>{var t;return(0,o.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.endDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),C=(0,p.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r,a,i;return(0,o.Z)({"--Icon-fontSize":"1.25em",margin:"var(--Typography-margin, 0px)"},t.nesting?{display:"inline"}:{fontFamily:e.vars.fontFamily.body,display:"block"},(t.startDecorator||t.endDecorator)&&(0,o.Z)({display:"flex",alignItems:"center"},t.nesting&&(0,o.Z)({display:"inline-flex"},t.startDecorator&&{verticalAlign:"bottom"})),t.level&&"inherit"!==t.level&&e.typography[t.level],{fontSize:`var(--Typography-fontSize, ${t.level&&"inherit"!==t.level&&null!=(n=null==(r=e.typography[t.level])?void 0:r.fontSize)?n:"inherit"})`},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.color&&"context"!==t.color&&{color:`rgba(${null==(a=e.vars.palette[t.color])?void 0:a.mainChannel} / 1)`},t.variant&&(0,o.Z)({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!t.nesting&&{marginInline:"-0.375em"},null==(i=e.variants[t.variant])?void 0:i[t.color]))}),T={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",display1:"h1",display2:"h2",body1:"p",body2:"p",body3:"span",body4:"span",body5:"span",inherit:"p"},I=a.forwardRef(function(e,t){let n=(0,u.Z)({props:e,name:"JoyTypography"}),{color:i,textColor:c}=n,p=(0,r.Z)(n,m),h=a.useContext(b),f=a.useContext(x),I=(0,l.Z)((0,o.Z)({},p,{color:c})),{component:S,gutterBottom:k=!1,noWrap:w=!1,level:E="body1",levelMapping:R={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p",inherit:"p"},children:B,endDecorator:$,startDecorator:z,variant:L,slots:O={},slotProps:j={}}=I,F=(0,r.Z)(I,v),{getColor:P}=(0,d.VT)(L),W=P(e.color,L?null!=i?i:"neutral":i),A=h||f?e.level||"inherit":E,J=S||(h?"span":R[A]||T[A]||"span"),M=(0,o.Z)({},I,{level:A,component:J,color:W,gutterBottom:k,noWrap:w,nesting:h,variant:L}),U=N(M),V=(0,o.Z)({},F,{component:J,slots:O,slotProps:j}),[_,q]=(0,g.Z)("root",{ref:t,className:U.root,elementType:C,externalForwardedProps:V,ownerState:M}),[H,G]=(0,g.Z)("startDecorator",{className:U.startDecorator,elementType:Z,externalForwardedProps:V,ownerState:M}),[K,Y]=(0,g.Z)("endDecorator",{className:U.endDecorator,elementType:D,externalForwardedProps:V,ownerState:M});return(0,y.jsx)(b.Provider,{value:!0,children:(0,y.jsxs)(_,(0,o.Z)({},q,{children:[z&&(0,y.jsx)(H,(0,o.Z)({},G,{children:z})),(0,s.Z)(B,["Skeleton"])?a.cloneElement(B,{variant:B.props.variant||"inline"}):B,$&&(0,y.jsx)(K,(0,o.Z)({},Y,{children:$}))]}))})});var S=I},75478:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},76708:function(e,t,n){"use strict";let r;n.d(t,{Db:function(){return h},$G:function(){return v}});var o=n(86006);n(75478),Object.create(null);let a={};function i(){for(var e=arguments.length,t=Array(e),n=0;n()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}};function l(e,t,n){e.loadNamespaces(t,s(e,n))}function c(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,s(e,r))}let p=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,u={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},d=e=>u[e],g={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(p,d)},h={type:"3rdParty",init(e){!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};g={...g,...e}}(e.options.react),r=e}},f=(0,o.createContext)();class y{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let m=(e,t)=>{let n=(0,o.useRef)();return(0,o.useEffect)(()=>{n.current=t?n.current:e},[e,t]),n.current};function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:n}=t,{i18n:a,defaultNS:s}=(0,o.useContext)(f)||{},p=n||a||r;if(p&&!p.reportNamespaces&&(p.reportNamespaces=new y),!p){i("You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}p.options.react&&void 0!==p.options.react.wait&&i("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let u={...g,...p.options.react,...t},{useSuspense:d,keyPrefix:h}=u,v=e||s||p.options&&p.options.defaultNS;v="string"==typeof v?[v]:v||["translation"],p.reportNamespaces.addUsedNamespaces&&p.reportNamespaces.addUsedNamespaces(v);let b=(p.isInitialized||p.initializedStoreOnce)&&v.every(e=>(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return i("i18n.languages were undefined or empty",t.languages),!0;let r=void 0!==t.options.ignoreJSONStructure;return r?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(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){let 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;let i=(e,n)=>{let r=t.services.backendConnector.state[`${e}|${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)})(e,p,u));function x(){return p.getFixedT(t.lng||null,"fallback"===u.nsMode?v:v[0],h)}let[N,Z]=(0,o.useState)(x),D=v.join();t.lng&&(D=`${t.lng}${D}`);let C=m(D),T=(0,o.useRef)(!0);(0,o.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=u;function r(){T.current&&Z(x)}return T.current=!0,b||d||(t.lng?c(p,t.lng,v,()=>{T.current&&Z(x)}):l(p,v,()=>{T.current&&Z(x)})),b&&C&&C!==D&&T.current&&Z(x),e&&p&&p.on(e,r),n&&p&&p.store.on(n,r),()=>{T.current=!1,e&&p&&e.split(" ").forEach(e=>p.off(e,r)),n&&p&&n.split(" ").forEach(e=>p.store.off(e,r))}},[p,D]);let I=(0,o.useRef)(!0);(0,o.useEffect)(()=>{T.current&&!I.current&&Z(x),I.current=!1},[p,h]);let S=[N,p,b];if(S.t=N,S.i18n=p,S.ready=b,b||!b&&!d)return S;throw new Promise(e=>{t.lng?c(p,t.lng,v,()=>e()):l(p,v,()=>e())})}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/161.a5c14a073f98c4a9.js b/pilot/server/static/_next/static/chunks/161.a5c14a073f98c4a9.js new file mode 100644 index 000000000..b024fe9c4 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/161.a5c14a073f98c4a9.js @@ -0,0 +1,10 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161],{27015:function(e,t,n){var o=n(64836);t.Z=void 0;var r=o(n(64938)),a=n(85893),i=(0,r.default)((0,a.jsx)("path",{d:"M14 2H4c-1.11 0-2 .9-2 2v10h2V4h10V2zm4 4H8c-1.11 0-2 .9-2 2v10h2V8h10V6zm2 4h-8c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z"}),"AutoAwesomeMotion");t.Z=i},63520:function(e,t,n){n.d(t,{Z:function(){return e3}});var o,r,a=n(87462),i=n(4942),d=n(71002),l=n(1413),c=n(74902),s=n(15671),p=n(43144),u=n(97326),f=n(32531),h=n(73568),g=n(67294),v=n(15105),y=n(80334),b=n(64217),k=n(94184),m=n.n(k),x=g.createContext(null),K=n(45987),N=g.memo(function(e){for(var t,n=e.prefixCls,o=e.level,r=e.isStart,a=e.isEnd,d="".concat(n,"-indent-unit"),l=[],c=0;c1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(p,u){for(var f,h=w(o?o.pos:"0",u),g=D(p[a],h),v=0;v1&&void 0!==arguments[1]?arguments[1]:{},h=f.initWrapper,g=f.processEntity,v=f.onProcessFinished,y=f.externalGetKey,b=f.childrenPropName,k=f.fieldNames,m=arguments.length>2?arguments[2]:void 0,x={},K={},N={posEntities:x,keyEntities:K};return h&&(N=h(N)||N),t=function(e){var t=e.node,n=e.index,o=e.pos,r=e.key,a=e.parentPos,i=e.level,d={node:t,nodes:e.nodes,index:n,key:r,pos:o,level:i},l=D(r,o);x[o]=d,K[l]=d,d.parent=x[a],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),g&&g(d,N)},n={externalGetKey:y||m,childrenPropName:b,fieldNames:k},a=(r=("object"===(0,d.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,i=r.externalGetKey,s=(l=Z(r.fieldNames)).key,p=l.children,u=a||p,i?"string"==typeof i?o=function(e){return e[i]}:"function"==typeof i&&(o=function(e){return i(e)}):o=function(e,t){return D(e[s],t)},function n(r,a,i,d){var l=r?r[u]:e,s=r?w(i.pos,a):"0",p=r?[].concat((0,c.Z)(d),[r]):[];if(r){var f=o(r,s);t({node:r,index:a,pos:s,key:f,parentPos:i.node?i.pos:null,level:i.level+1,nodes:p})}l&&l.forEach(function(e,t){n(e,t,{node:r,pos:s,level:i?i.level+1:-1},p)})}(null),v&&v(N),N}function L(e,t){var n=t.expandedKeys,o=t.selectedKeys,r=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,d=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,s=t.keyEntities[e];return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==o.indexOf(e),loaded:-1!==r.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==i.indexOf(e),halfChecked:-1!==d.indexOf(e),pos:String(s?s.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c}}function T(e){var t=e.data,n=e.expanded,o=e.selected,r=e.checked,a=e.loaded,i=e.loading,d=e.halfChecked,c=e.dragOver,s=e.dragOverGapTop,p=e.dragOverGapBottom,u=e.pos,f=e.active,h=e.eventKey,g=(0,l.Z)((0,l.Z)({},t),{},{expanded:n,selected:o,checked:r,loaded:a,loading:i,halfChecked:d,dragOver:c,dragOverGapTop:s,dragOverGapBottom:p,pos:u,active:f,key:h});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,y.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}var I=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],M="open",A="close",R=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;a=0&&n.splice(o,1),n}function z(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function B(e){return e.split("-")}function V(e,t,n,o,r,a,i,d,l,c){var s,p,u=e.clientX,f=e.clientY,h=e.target.getBoundingClientRect(),g=h.top,v=h.height,y=(("rtl"===c?-1:1)*(((null==r?void 0:r.x)||0)-u)-12)/o,b=d[n.props.eventKey];if(f-1.5?a({dragNode:C,dropNode:w,dropPosition:1})?N=1:D=!1:a({dragNode:C,dropNode:w,dropPosition:0})?N=0:a({dragNode:C,dropNode:w,dropPosition:1})?N=1:D=!1:a({dragNode:C,dropNode:w,dropPosition:1})?N=1:D=!1,{dropPosition:N,dropLevelOffset:E,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:K,dropContainerKey:0===N?null:(null===(p=b.parent)||void 0===p?void 0:p.key)||null,dropAllowed:D}}function W(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function _(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,d.Z)(e))return(0,y.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function G(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=t[o];if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,c.Z)(n)}function U(e){if(null==e)throw TypeError("Cannot destructure "+e)}H.displayName="TreeNode",H.isTreeNode=1;var F=n(97685),q=n(8410),X=n(85344),Y=n(82225),J=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Q=function(e,t){var n,o,r,i,d,l=e.className,c=e.style,s=e.motion,p=e.motionNodes,u=e.motionType,f=e.onMotionStart,h=e.onMotionEnd,v=e.active,y=e.treeNodeRequiredProps,b=(0,K.Z)(e,J),k=g.useState(!0),N=(0,F.Z)(k,2),E=N[0],S=N[1],C=g.useContext(x).prefixCls,w=p&&"hide"!==u;(0,q.Z)(function(){p&&w!==E&&S(w)},[p]);var D=g.useRef(!1),Z=function(){p&&!D.current&&(D.current=!0,h())};return(n=function(){p&&f()},o=g.useState(!1),i=(r=(0,F.Z)(o,2))[0],d=r[1],g.useLayoutEffect(function(){if(i)return n(),function(){Z()}},[i]),g.useLayoutEffect(function(){return d(!0),function(){d(!1)}},[]),p)?g.createElement(Y.ZP,(0,a.Z)({ref:t,visible:E},s,{motionAppear:"show"===u,onVisibleChanged:function(e){w===e&&Z()}}),function(e,t){var n=e.className,o=e.style;return g.createElement("div",{ref:t,className:m()("".concat(C,"-treenode-motion"),n),style:o},p.map(function(e){var t=(0,a.Z)({},(U(e.data),e.data)),n=e.title,o=e.key,r=e.isStart,i=e.isEnd;delete t.children;var d=L(o,y);return g.createElement(H,(0,a.Z)({},t,d,{title:n,active:v,data:e.data,key:o,isStart:r,isEnd:i}))}))}):g.createElement(H,(0,a.Z)({domRef:t,className:l,style:c},b,{active:v}))};Q.displayName="MotionTreeNode";var ee=g.forwardRef(Q);function et(e,t,n){var o=e.findIndex(function(e){return e.key===n}),r=e[o+1],a=t.findIndex(function(e){return e.key===n});if(r){var i=t.findIndex(function(e){return e.key===r.key});return t.slice(a+1,i)}return t.slice(a+1)}var en=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],eo={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},er=function(){},ea="RC_TREE_MOTION_".concat(Math.random()),ei={key:ea},ed={key:ea,level:0,index:0,pos:"0",node:ei,nodes:[ei]},el={parent:null,children:[],pos:ed.pos,data:ei,title:null,key:ea,isStart:[],isEnd:[]};function ec(e,t,n,o){return!1!==t&&n?e.slice(0,Math.ceil(n/o)+1):e}function es(e){return D(e.key,e.pos)}var ep=g.forwardRef(function(e,t){var n=e.prefixCls,o=e.data,r=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,d=e.checkedKeys,l=e.loadedKeys,c=e.loadingKeys,s=e.halfCheckedKeys,p=e.keyEntities,u=e.disabled,f=e.dragging,h=e.dragOverNodeKey,v=e.dropPosition,y=e.motion,b=e.height,k=e.itemHeight,m=e.virtual,x=e.focusable,N=e.activeItem,E=e.focused,S=e.tabIndex,C=e.onKeyDown,w=e.onFocus,Z=e.onBlur,$=e.onActiveChange,O=e.onListChangeStart,P=e.onListChangeEnd,T=(0,K.Z)(e,en),I=g.useRef(null),M=g.useRef(null);g.useImperativeHandle(t,function(){return{scrollTo:function(e){I.current.scrollTo(e)},getIndentWidth:function(){return M.current.offsetWidth}}});var A=g.useState(r),R=(0,F.Z)(A,2),H=R[0],j=R[1],z=g.useState(o),B=(0,F.Z)(z,2),V=B[0],W=B[1],_=g.useState(o),G=(0,F.Z)(_,2),Y=G[0],J=G[1],Q=g.useState([]),ei=(0,F.Z)(Q,2),ed=ei[0],ep=ei[1],eu=g.useState(null),ef=(0,F.Z)(eu,2),eh=ef[0],eg=ef[1],ev=g.useRef(o);function ey(){var e=ev.current;W(e),J(e),ep([]),eg(null),P()}ev.current=o,(0,q.Z)(function(){j(r);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,o=t.length;if(1!==Math.abs(n-o))return{add:!1,key:null};function r(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var o=t.filter(function(e){return!n.has(e)});return 1===o.length?o[0]:null}return n ").concat(t);return t}(N)),g.createElement("div",null,g.createElement("input",{style:eo,disabled:!1===x||u,tabIndex:!1!==x?S:null,onKeyDown:C,onFocus:w,onBlur:Z,value:"",onChange:er,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(n,"-indent")},g.createElement("div",{ref:M,className:"".concat(n,"-indent-unit")}))),g.createElement(X.Z,(0,a.Z)({},T,{data:eb,itemKey:es,height:b,fullHeight:!1,virtual:m,itemHeight:k,prefixCls:"".concat(n,"-list"),ref:I,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return es(e)===ea})&&ey()}}),function(e){var t=e.pos,n=(0,a.Z)({},(U(e.data),e.data)),o=e.title,r=e.key,i=e.isStart,d=e.isEnd,l=D(r,t);delete n.key,delete n.children;var c=L(l,ek);return g.createElement(ee,(0,a.Z)({},n,c,{title:o,active:!!N&&r===N.key,pos:t,data:e.data,isStart:i,isEnd:d,motion:y,motionNodes:r===ea?ed:null,motionType:eh,onMotionStart:O,onMotionEnd:ey,treeNodeRequiredProps:ek,onMouseMove:function(){$(null)}}))}))});function eu(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function ef(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function eh(e,t,n,o){var r,a=[];r=o||ef;var i=new Set(e.filter(function(e){var t=!!n[e];return t||a.push(e),t})),d=new Map,l=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=d.get(o);r||(r=new Set,d.set(o,r)),r.add(t),l=Math.max(l,o)}),(0,y.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=new Set(e),a=new Set,i=0;i<=n;i+=1)(t.get(i)||new Set).forEach(function(e){var t=e.key,n=e.node,a=e.children,i=void 0===a?[]:a;r.has(t)&&!o(n)&&i.filter(function(e){return!o(e.node)}).forEach(function(e){r.add(e.key)})});for(var d=new Set,l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||d.has(e.parent.key))){if(o(e.parent.node)){d.add(t.key);return}var n=!0,i=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=r.has(t);n&&!o&&(n=!1),!i&&(o||a.has(t))&&(i=!0)}),n&&r.add(t.key),i&&a.add(t.key),d.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(eu(a,r))}}(i,d,l,r):function(e,t,n,o,r){for(var a=new Set(e),i=new Set(t),d=0;d<=o;d+=1)(n.get(d)||new Set).forEach(function(e){var t=e.key,n=e.node,o=e.children,d=void 0===o?[]:o;a.has(t)||i.has(t)||r(n)||d.filter(function(e){return!r(e.node)}).forEach(function(e){a.delete(e.key)})});i=new Set;for(var l=new Set,c=o;c>=0;c-=1)(n.get(c)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||l.has(e.parent.key))){if(r(e.parent.node)){l.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=a.has(t);n&&!r&&(n=!1),!o&&(r||i.has(t))&&(o=!0)}),n||a.delete(t.key),o&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(eu(i,a))}}(i,t.halfCheckedKeys,d,l,r)}ep.displayName="NodeList";var eg=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var n=t.key,r=t.children;o.push(n),e(r)})}(i[l].children),o),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(c),window.addEventListener("dragend",e.onWindowDragEnd),null==d||d({event:t,node:T(n.props)})},e.onNodeDragEnter=function(t,n){var o=e.state,r=o.expandedKeys,a=o.keyEntities,i=o.dragChildrenKeys,d=o.flattenNodes,l=o.indent,s=e.props,p=s.onDragEnter,f=s.onExpand,h=s.allowDrop,g=s.direction,v=n.props,y=v.pos,b=v.eventKey,k=(0,u.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==b&&(e.currentMouseOverDroppableNodeKey=b),!k){e.resetDragState();return}var m=V(t,k,n,l,e.dragStartMousePosition,h,d,a,r,g),x=m.dropPosition,K=m.dropLevelOffset,N=m.dropTargetKey,E=m.dropContainerKey,S=m.dropTargetPos,C=m.dropAllowed,w=m.dragOverNodeKey;if(-1!==i.indexOf(N)||!C||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(t){clearTimeout(e.delayedDragEnterLogic[t])}),k.props.eventKey!==n.props.eventKey&&(t.persist(),e.delayedDragEnterLogic[y]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var o=(0,c.Z)(r),i=a[n.props.eventKey];i&&(i.children||[]).length&&(o=z(r,n.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(o),null==f||f(o,{node:T(n.props),expanded:!0,nativeEvent:t.nativeEvent})}},800)),k.props.eventKey===N&&0===K)){e.resetDragState();return}e.setState({dragOverNodeKey:w,dropPosition:x,dropLevelOffset:K,dropTargetKey:N,dropContainerKey:E,dropTargetPos:S,dropAllowed:C}),null==p||p({event:t,node:T(n.props),expandedKeys:r})},e.onNodeDragOver=function(t,n){var o=e.state,r=o.dragChildrenKeys,a=o.flattenNodes,i=o.keyEntities,d=o.expandedKeys,l=o.indent,c=e.props,s=c.onDragOver,p=c.allowDrop,f=c.direction,h=(0,u.Z)(e).dragNode;if(h){var g=V(t,h,n,l,e.dragStartMousePosition,p,a,i,d,f),v=g.dropPosition,y=g.dropLevelOffset,b=g.dropTargetKey,k=g.dropContainerKey,m=g.dropAllowed,x=g.dropTargetPos,K=g.dragOverNodeKey;-1===r.indexOf(b)&&m&&(h.props.eventKey===b&&0===y?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():v===e.state.dropPosition&&y===e.state.dropLevelOffset&&b===e.state.dropTargetKey&&k===e.state.dropContainerKey&&x===e.state.dropTargetPos&&m===e.state.dropAllowed&&K===e.state.dragOverNodeKey||e.setState({dropPosition:v,dropLevelOffset:y,dropTargetKey:b,dropContainerKey:k,dropTargetPos:x,dropAllowed:m,dragOverNodeKey:K}),null==s||s({event:t,node:T(n.props)}))}},e.onNodeDragLeave=function(t,n){e.currentMouseOverDroppableNodeKey!==n.props.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var o=e.props.onDragLeave;null==o||o({event:t,node:T(n.props)})},e.onWindowDragEnd=function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(t,n){var o=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==o||o({event:t,node:T(n.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(t,n){var o,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,d=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos;if(a.dropAllowed){var p=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var u=(0,l.Z)((0,l.Z)({},L(c,e.getTreeNodeRequiredProps())),{},{active:(null===(o=e.getActiveItem())||void 0===o?void 0:o.key)===c,data:e.state.keyEntities[c].node}),f=-1!==i.indexOf(c);(0,y.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=B(s),g={event:t,node:T(u),dragNode:e.dragNode?T(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==d,dropPosition:d+Number(h[h.length-1])};r||null==p||p(g),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(t,n){var o=e.state,r=o.expandedKeys,a=o.flattenNodes,i=n.expanded,d=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var c=a.filter(function(e){return e.key===d})[0],s=T((0,l.Z)((0,l.Z)({},L(d,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(i?j(r,d):z(r,d)),e.onNodeExpand(t,s)}},e.onNodeClick=function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeDoubleClick=function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeSelect=function(t,n){var o=e.state.selectedKeys,r=e.state,a=r.keyEntities,i=r.fieldNames,d=e.props,l=d.onSelect,c=d.multiple,s=n.selected,p=n[i.key],u=!s,f=(o=u?c?z(o,p):[p]:j(o,p)).map(function(e){var t=a[e];return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:o}),null==l||l(o,{event:"select",selected:u,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,o){var r,a=e.state,i=a.keyEntities,d=a.checkedKeys,l=a.halfCheckedKeys,s=e.props,p=s.checkStrictly,u=s.onCheck,f=n.key,h={event:"check",node:n,checked:o,nativeEvent:t.nativeEvent};if(p){var g=o?z(d,f):j(d,f);r={checked:g,halfChecked:j(l,f)},h.checkedNodes=g.map(function(e){return i[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:g})}else{var v=eh([].concat((0,c.Z)(d),[f]),!0,i),y=v.checkedKeys,b=v.halfCheckedKeys;if(!o){var k=new Set(y);k.delete(f);var m=eh(Array.from(k),{checked:!1,halfCheckedKeys:b},i);y=m.checkedKeys,b=m.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=i[e];if(t){var n=t.node,o=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:o})}}),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:b})}null==u||u(r,h)},e.onNodeLoad=function(t){var n=t.key,o=new Promise(function(o,r){e.setState(function(a){var i=a.loadedKeys,d=a.loadingKeys,l=void 0===d?[]:d,c=e.props,s=c.loadData,p=c.onLoad;return s&&-1===(void 0===i?[]:i).indexOf(n)&&-1===l.indexOf(n)?(s(t).then(function(){var r=z(e.state.loadedKeys,n);null==p||p(r,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:r}),e.setState(function(e){return{loadingKeys:j(e.loadingKeys,n)}}),o()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:j(e.loadingKeys,n)}}),e.loadingRetryTimes[n]=(e.loadingRetryTimes[n]||0)+1,e.loadingRetryTimes[n]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:z(a,n)}),o()}r(t)}),{loadingKeys:z(l,n)}):null})});return o.catch(function(){}),o},e.onNodeMouseEnter=function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})},e.onNodeContextMenu=function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,o=Array(n),r=0;r1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var r=!1,a=!0,i={};Object.keys(t).forEach(function(n){if(n in e.props){a=!1;return}r=!0,i[n]=t[n]}),r&&(!n||a)&&e.setState((0,l.Z)((0,l.Z)({},i),o))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return(0,p.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t,n=this.state,o=n.focused,r=n.flattenNodes,l=n.keyEntities,c=n.draggingNodeKey,s=n.activeKey,p=n.dropLevelOffset,u=n.dropContainerKey,f=n.dropTargetKey,h=n.dropPosition,v=n.dragOverNodeKey,y=n.indent,k=this.props,K=k.prefixCls,N=k.className,E=k.style,S=k.showLine,C=k.focusable,w=k.tabIndex,D=k.selectable,Z=k.showIcon,$=k.icon,O=k.switcherIcon,P=k.draggable,L=k.checkable,T=k.checkStrictly,I=k.disabled,M=k.motion,A=k.loadData,R=k.filterTreeNode,H=k.height,j=k.itemHeight,z=k.virtual,B=k.titleRender,V=k.dropIndicatorRender,W=k.onContextMenu,_=k.onScroll,G=k.direction,U=k.rootClassName,F=k.rootStyle,q=(0,b.Z)(this.props,{aria:!0,data:!0});return P&&(t="object"===(0,d.Z)(P)?P:"function"==typeof P?{nodeDraggable:P}:{}),g.createElement(x.Provider,{value:{prefixCls:K,selectable:D,showIcon:Z,icon:$,switcherIcon:O,draggable:t,draggingNodeKey:c,checkable:L,checkStrictly:T,disabled:I,keyEntities:l,dropLevelOffset:p,dropContainerKey:u,dropTargetKey:f,dropPosition:h,dragOverNodeKey:v,indent:y,direction:G,dropIndicatorRender:V,loadData:A,filterTreeNode:R,titleRender:B,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},g.createElement("div",{role:"tree",className:m()(K,N,U,(e={},(0,i.Z)(e,"".concat(K,"-show-line"),S),(0,i.Z)(e,"".concat(K,"-focused"),o),(0,i.Z)(e,"".concat(K,"-active-focused"),null!==s),e)),style:F},g.createElement(ep,(0,a.Z)({ref:this.listRef,prefixCls:K,style:E,data:r,disabled:I,selectable:D,checkable:!!L,motion:M,dragging:null!==c,height:H,itemHeight:j,virtual:z,focusable:C,focused:o,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:W,onScroll:_},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,a={prevProps:e};function d(t){return!r&&t in e||r&&r[t]!==e[t]}var c=t.fieldNames;if(d("fieldNames")&&(c=Z(e.fieldNames),a.fieldNames=c),d("treeData")?n=e.treeData:d("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=$(e.children)),n){a.treeData=n;var s=P(n,{fieldNames:c});a.keyEntities=(0,l.Z)((0,i.Z)({},ea,ed),s.keyEntities)}var p=a.keyEntities||t.keyEntities;if(d("expandedKeys")||r&&d("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?G(e.expandedKeys,p):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,l.Z)({},p);delete u[ea],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?G(e.defaultExpandedKeys,p):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,n||a.expandedKeys){var f=O(n||t.treeData,a.expandedKeys||t.expandedKeys,c);a.flattenNodes=f}if(e.selectable&&(d("selectedKeys")?a.selectedKeys=W(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=W(e.defaultSelectedKeys,e))),e.checkable&&(d("checkedKeys")?o=_(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=_(e.defaultCheckedKeys)||{}:n&&(o=_(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var h=o,g=h.checkedKeys,v=void 0===g?[]:g,b=h.halfCheckedKeys,k=void 0===b?[]:b;if(!e.checkStrictly){var m=eh(v,!0,p);v=m.checkedKeys,k=m.halfCheckedKeys}a.checkedKeys=v,a.halfCheckedKeys=k}return d("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),n}(g.Component);eg.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,o=e.indent,r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:r.top=0,r.left=-n*o;break;case 1:r.bottom=0,r.left=-n*o;break;case 0:r.bottom=0,r.left=o}return g.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1},eg.TreeNode=H;var ev={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ey=n(42135),eb=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ev}))}),ek={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},em=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ek}))}),ex={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},eK=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:ex}))}),eN=n(53124),eE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},eS=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eE}))}),eC=n(33603),ew=n(23183),eD=n(14747),eZ=n(45503),e$=n(67968);let eO=e=>{let{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,eD.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,eD.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + ${n}:not(${n}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` + ${n}-checked:not(${n}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function eP(e,t){let n=(0,eZ.TS)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[eO(n)]}(0,e$.Z)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[eP(n,e)]});var eL=n(33507);let eT=new ew.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),eI=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),eM=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),eA=(e,t)=>{let{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a}=t,i=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,eD.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,eD.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:eT,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${o}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},(0,eD.oN)(t)),[`&:not(${o}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:a,lineHeight:`${a}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${o}:hover &`]:{opacity:.45}},[`&${o}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},eI(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,margin:0,lineHeight:`${a}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:a/2*.8,height:a/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:i},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:a,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${a}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,lineHeight:`${a}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${a}px`,userSelect:"none"},eM(e,t)),[`${o}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${a/2}px !important`}}}}})}},eR=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{[` + &:hover::before, + &::before + `]:{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},eH=(e,t)=>{let n=`.${e}`,o=`${n}-treenode`,r=t.paddingXS/2,a=t.controlHeightSM,i=(0,eZ.TS)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a});return[eA(e,i),eR(i)]};var ej=(0,e$.Z)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:eP(`${n}-checkbox`,e)},eH(n,e),(0,eL.Z)(e)]});function ez(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:a="ltr"}=e,i="ltr"===a?"left":"right",d={[i]:-n*r+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:d.top=-3;break;case 1:d.bottom=-3;break;default:d.bottom=-3,d[i]=r+4}return g.createElement("div",{style:d,className:`${o}-drop-indicator`})}var eB={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},eV=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eB}))}),eW=n(50888),e_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},eG=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:e_}))}),eU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},eF=g.forwardRef(function(e,t){return g.createElement(ey.Z,(0,a.Z)({},e,{ref:t,icon:eU}))}),eq=n(96159),eX=e=>{let t;let{prefixCls:n,switcherIcon:o,treeNodeProps:r,showLine:a}=e,{isLeaf:i,expanded:d,loading:l}=r;if(l)return g.createElement(eW.Z,{className:`${n}-switcher-loading-icon`});if(a&&"object"==typeof a&&(t=a.showLeafIcon),i){if(!a)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(r):t,o=`${n}-switcher-line-custom-icon`;return(0,eq.l$)(e)?(0,eq.Tm)(e,{className:m()(e.props.className||"",o)}):e}return t?g.createElement(eb,{className:`${n}-switcher-line-icon`}):g.createElement("span",{className:`${n}-switcher-leaf-line`})}let c=`${n}-switcher-icon`,s="function"==typeof o?o(r):o;return(0,eq.l$)(s)?(0,eq.Tm)(s,{className:m()(s.props.className||"",c)}):void 0!==s?s:a?d?g.createElement(eG,{className:`${n}-switcher-line-icon`}):g.createElement(eF,{className:`${n}-switcher-line-icon`}):g.createElement(eV,{className:c})};let eY=g.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,virtual:r,tree:a}=g.useContext(eN.E_),{prefixCls:i,className:d,showIcon:l=!1,showLine:c,switcherIcon:s,blockNode:p=!1,children:u,checkable:f=!1,selectable:h=!0,draggable:v,motion:y,style:b}=e,k=n("tree",i),x=n(),K=null!=y?y:Object.assign(Object.assign({},(0,eC.Z)(x)),{motionAppear:!1}),N=Object.assign(Object.assign({},e),{checkable:f,selectable:h,showIcon:l,motion:K,blockNode:p,showLine:!!c,dropIndicatorRender:ez}),[E,S]=ej(k),C=g.useMemo(()=>{if(!v)return!1;let e={};switch(typeof v){case"function":e.nodeDraggable=v;break;case"object":e=Object.assign({},v)}return!1!==e.icon&&(e.icon=e.icon||g.createElement(eS,null)),e},[v]);return E(g.createElement(eg,Object.assign({itemHeight:20,ref:t,virtual:r},N,{style:Object.assign(Object.assign({},null==a?void 0:a.style),b),prefixCls:k,className:m()({[`${k}-icon-hide`]:!l,[`${k}-block-node`]:p,[`${k}-unselectable`]:!h,[`${k}-rtl`]:"rtl"===o},null==a?void 0:a.className,d,S),direction:o,checkable:f?g.createElement("span",{className:`${k}-checkbox-inner`}):f,selectable:h,switcherIcon:e=>g.createElement(eX,{prefixCls:k,switcherIcon:s,treeNodeProps:e,showLine:c}),draggable:C}),u))});function eJ(e,t){e.forEach(function(e){let{key:n,children:o}=e;!1!==t(n,e)&&eJ(o||[],t)})}function eQ(e,t){let n=(0,c.Z)(t),o=[];return eJ(e,(e,t)=>{let r=n.indexOf(e);return -1!==r&&(o.push(t),n.splice(r,1)),!!n.length}),o}(o=r||(r={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var e0=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function e1(e){let{isLeaf:t,expanded:n}=e;return t?g.createElement(eb,null):n?g.createElement(em,null):g.createElement(eK,null)}function e2(e){let{treeData:t,children:n}=e;return t||$(n)}let e4=g.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:a}=e,i=e0(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let d=g.useRef(),l=g.useRef(),s=()=>{let{keyEntities:e}=P(e2(i));return n?Object.keys(e):o?G(i.expandedKeys||a||[],e):i.expandedKeys||a},[p,u]=g.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[f,h]=g.useState(()=>s());g.useEffect(()=>{"selectedKeys"in i&&u(i.selectedKeys)},[i.selectedKeys]),g.useEffect(()=>{"expandedKeys"in i&&h(i.expandedKeys)},[i.expandedKeys]);let{getPrefixCls:v,direction:y}=g.useContext(eN.E_),{prefixCls:b,className:k,showIcon:x=!0,expandAction:K="click"}=i,N=e0(i,["prefixCls","className","showIcon","expandAction"]),E=v("tree",b),S=m()(`${E}-directory`,{[`${E}-directory-rtl`]:"rtl"===y},k);return g.createElement(eY,Object.assign({icon:e1,ref:t,blockNode:!0},N,{showIcon:x,expandAction:K,prefixCls:E,className:S,expandedKeys:f,selectedKeys:p,onSelect:(e,t)=>{var n;let o;let{multiple:a}=i,{node:s,nativeEvent:p}=t,{key:h=""}=s,g=e2(i),v=Object.assign(Object.assign({},t),{selected:!0}),y=(null==p?void 0:p.ctrlKey)||(null==p?void 0:p.metaKey),b=null==p?void 0:p.shiftKey;a&&y?(o=e,d.current=h,l.current=o,v.selectedNodes=eQ(g,o)):a&&b?(o=Array.from(new Set([].concat((0,c.Z)(l.current||[]),(0,c.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:a}=e,i=[],d=r.None;return o&&o===a?[o]:o&&a?(eJ(t,e=>{if(d===r.End)return!1;if(e===o||e===a){if(i.push(e),d===r.None)d=r.Start;else if(d===r.Start)return d=r.End,!1}else d===r.Start&&i.push(e);return n.includes(e)}),i):[]}({treeData:g,expandedKeys:f,startKey:h,endKey:d.current}))))),v.selectedNodes=eQ(g,o)):(o=[h],d.current=h,l.current=o,v.selectedNodes=eQ(g,o)),null===(n=i.onSelect)||void 0===n||n.call(i,o,v),"selectedKeys"in i||u(o)},onExpand:(e,t)=>{var n;return"expandedKeys"in i||h(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)}}))});eY.DirectoryTree=e4,eY.TreeNode=H;var e3=eY}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/191-977bd4e61595fb21.js b/pilot/server/static/_next/static/chunks/191-977bd4e61595fb21.js deleted file mode 100644 index 4294f1486..000000000 --- a/pilot/server/static/_next/static/chunks/191-977bd4e61595fb21.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[191],{61191:function(e,t,r){r.d(t,{RV:function(){return o},Rk:function(){return l},Ux:function(){return f},aM:function(){return c},q3:function(){return s},qI:function(){return u}});var n=r(40942),i=r(73234),a=r(86006);let s=a.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),u=a.createContext(null),o=e=>{let t=(0,i.Z)(e,["prefixCls"]);return a.createElement(n.RV,Object.assign({},t))},l=a.createContext({prefixCls:""}),c=a.createContext({}),f=e=>{let{children:t,status:r,override:n}=e,i=(0,a.useContext)(c),s=(0,a.useMemo)(()=>{let e=Object.assign({},i);return n&&delete e.isFormItemInput,r&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[r,n,i]);return a.createElement(c.Provider,{value:s},t)}},40942:function(e,t,r){r.d(t,{gN:function(){return ep},zb:function(){return b},RV:function(){return ek},aV:function(){return em},ZM:function(){return E},ZP:function(){return eR},cI:function(){return eP},qo:function(){return eq}});var n,i=r(86006),a=r(40431),s=r(89301),u=r(65877),o=r(88684),l=r(90151),c=r(18050),f=r(49449),d=r(70184),g=r(43663),h=r(38340),v=r(25912),p=r(5004),m=r(81027),y="RC_FORM_INTERNAL_HOOKS",F=function(){(0,p.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},b=i.createContext({getFieldValue:F,getFieldsValue:F,getFieldError:F,getFieldWarning:F,getFieldsError:F,isFieldsTouched:F,isFieldTouched:F,isFieldValidating:F,isFieldsValidating:F,resetFields:F,setFields:F,setFieldValue:F,setFieldsValue:F,validateFields:F,submit:F,getInternalHooks:function(){return F(),{dispatch:F,initEntityValue:F,registerField:F,useSubscribe:F,setInitialValues:F,destroyForm:F,setCallbacks:F,registerWatch:F,getFields:F,setValidateMessages:F,setPreserve:F,getInitialValue:F}}}),E=i.createContext(null);function w(e){return null==e?[]:Array.isArray(e)?e:[e]}var Z=r(71971),P=r(27859),V=r(52040);function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),n=1;n=a)return e;switch(e){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(e){return"[Circular]"}break;default:return e}}):e}function j(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function M(e,t,r){var n=0,i=e.length;!function a(s){if(s&&s.length){r(s);return}var u=n;n+=1,u()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},L={integer:function(e){return L.number(e)&&parseInt(e,10)===e},float:function(e){return L.number(e)&&!L.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!L.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(U.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(_())},hex:function(e){return"string"==typeof e&&!!e.match(U.hex)}},W="enum",D={required:S,whitespace:function(e,t,r,n,i){(/^\s+$/.test(t)||""===t)&&n.push(N(i.messages.whitespace,e.fullField))},type:function(e,t,r,n,i){if(e.required&&void 0===t){S(e,t,r,n,i);return}var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?L[a](t)||n.push(N(i.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&n.push(N(i.messages.types[a],e.fullField,e.type))},range:function(e,t,r,n,i){var a="number"==typeof e.len,s="number"==typeof e.min,u="number"==typeof e.max,o=t,l=null,c="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(c?l="number":f?l="string":d&&(l="array"),!l)return!1;d&&(o=t.length),f&&(o=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?o!==e.len&&n.push(N(i.messages[l].len,e.fullField,e.len)):s&&!u&&oe.max?n.push(N(i.messages[l].max,e.fullField,e.max)):s&&u&&(oe.max)&&n.push(N(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,r,n,i){e[W]=Array.isArray(e[W])?e[W]:[],-1===e[W].indexOf(t)&&n.push(N(i.messages[W],e.fullField,e[W].join(", ")))},pattern:function(e,t,r,n,i){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||n.push(N(i.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||n.push(N(i.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},H=function(e,t,r,n,i){var a=e.type,s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,a)&&!e.required)return r();D.required(e,t,n,s,i,a),j(t,a)||D.type(e,t,n,s,i)}r(s)},z={string:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,"string")&&!e.required)return r();D.required(e,t,n,a,i,"string"),j(t,"string")||(D.type(e,t,n,a,i),D.range(e,t,n,a,i),D.pattern(e,t,n,a,i),!0===e.whitespace&&D.whitespace(e,t,n,a,i))}r(a)},method:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.type(e,t,n,a,i)}r(a)},number:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},boolean:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.type(e,t,n,a,i)}r(a)},regexp:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),j(t)||D.type(e,t,n,a,i)}r(a)},integer:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},float:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},array:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==t&&!e.required)return r();D.required(e,t,n,a,i,"array"),null!=t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},object:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.type(e,t,n,a,i)}r(a)},enum:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.enum(e,t,n,a,i)}r(a)},pattern:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,"string")&&!e.required)return r();D.required(e,t,n,a,i),j(t,"string")||D.pattern(e,t,n,a,i)}r(a)},date:function(e,t,r,n,i){var a,s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,"date")&&!e.required)return r();D.required(e,t,n,s,i),!j(t,"date")&&(a=t instanceof Date?t:new Date(t),D.type(e,a,n,s,i),a&&D.range(e,a.getTime(),n,s,i))}r(s)},url:H,hex:H,email:H,required:function(e,t,r,n,i){var a=[],s=Array.isArray(t)?"array":typeof t;D.required(e,t,n,a,i,s),r(a)},any:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i)}r(a)}};function J(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var B=J(),K=function(){function e(e){this.rules=null,this._messages=B,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(r){var n=e[r];t.rules[r]=Array.isArray(n)?n:[n]})},t.messages=function(e){return e&&(this._messages=T(J(),e)),this._messages},t.validate=function(t,r,n){var i=this;void 0===r&&(r={}),void 0===n&&(n=function(){});var a=t,s=r,u=n;if("function"==typeof s&&(u=s,s={}),!this.rules||0===Object.keys(this.rules).length)return u&&u(null,a),Promise.resolve(a);if(s.messages){var o=this.messages();o===B&&(o=J()),T(o,s.messages),s.messages=o}else s.messages=this.messages();var l={};(s.keys||Object.keys(this.rules)).forEach(function(e){var r=i.rules[e],n=a[e];r.forEach(function(r){var s=r;"function"==typeof s.transform&&(a===t&&(a=k({},a)),n=a[e]=s.transform(n)),(s="function"==typeof s?{validator:s}:k({},s)).validator=i.getValidationMethod(s),s.validator&&(s.field=e,s.fullField=s.fullField||e,s.type=i.getType(s),l[e]=l[e]||[],l[e].push({rule:s,value:n,source:a,field:e}))})});var c={};return function(e,t,r,n,i){if(t.first){var a=new Promise(function(t,a){var s;M((s=[],Object.keys(e).forEach(function(t){s.push.apply(s,e[t]||[])}),s),r,function(e){return n(e),e.length?a(new I(e,R(e))):t(i)})});return a.catch(function(e){return e}),a}var s=!0===t.firstFields?Object.keys(e):t.firstFields||[],u=Object.keys(e),o=u.length,l=0,c=[],f=new Promise(function(t,a){var f=function(e){if(c.push.apply(c,e),++l===o)return n(c),c.length?a(new I(c,R(c))):t(i)};u.length||(n(c),t(i)),u.forEach(function(t){var n=e[t];-1!==s.indexOf(t)?M(n,r,f):function(e,t,r){var n=[],i=0,a=e.length;function s(e){n.push.apply(n,e||[]),++i===a&&r(n)}e.forEach(function(e){t(e,s)})}(n,r,f)})});return f.catch(function(e){return e}),f}(l,s,function(t,r){var n,i=t.rule,u=("object"===i.type||"array"===i.type)&&("object"==typeof i.fields||"object"==typeof i.defaultField);function o(e,t){return k({},t,{fullField:i.fullField+"."+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function l(n){void 0===n&&(n=[]);var l=Array.isArray(n)?n:[n];!s.suppressWarning&&l.length&&e.warning("async-validator:",l),l.length&&void 0!==i.message&&(l=[].concat(i.message));var f=l.map($(i,a));if(s.first&&f.length)return c[i.field]=1,r(f);if(u){if(i.required&&!t.value)return void 0!==i.message?f=[].concat(i.message).map($(i,a)):s.error&&(f=[s.error(i,N(s.messages.required,i.field))]),r(f);var d={};i.defaultField&&Object.keys(t.value).map(function(e){d[e]=i.defaultField});var g={};Object.keys(d=k({},d,t.rule.fields)).forEach(function(e){var t=d[e],r=Array.isArray(t)?t:[t];g[e]=r.map(o.bind(null,e))});var h=new e(g);h.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),h.validate(t.value,t.rule.options||s,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),r(t.length?t:null)})}else r(f)}if(u=u&&(i.required||!i.required&&t.value),i.field=t.field,i.asyncValidator)n=i.asyncValidator(i,t.value,l,t.source,s);else if(i.validator){try{n=i.validator(i,t.value,l,t.source,s)}catch(e){null==console.error||console.error(e),s.suppressValidatorError||setTimeout(function(){throw e},0),l(e.message)}!0===n?l():!1===n?l("function"==typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+" fails"):n instanceof Array?l(n):n instanceof Error&&l(n.message)}n&&n.then&&n.then(function(){return l()},function(e){return l(e)})},function(e){!function(e){for(var t=[],r={},n=0;n=n||r<0||r>=n)return e;var i=e[t],a=t-r;return a>0?[].concat((0,l.Z)(e.slice(0,r)),[i],(0,l.Z)(e.slice(r,t)),(0,l.Z)(e.slice(t+1,n))):a<0?[].concat((0,l.Z)(e.slice(0,t)),(0,l.Z)(e.slice(t+1,r+1)),[i],(0,l.Z)(e.slice(r+1,n))):e}var ed=["name"],eg=[];function eh(e,t,r,n,i,a){return"function"==typeof e?e(t,r,"source"in a?{source:a.source}:{}):n!==i}var ev=function(e){(0,g.Z)(r,e);var t=(0,h.Z)(r);function r(e){var n;return(0,c.Z)(this,r),(n=t.call(this,e)).state={resetCount:0},n.cancelRegisterFunc=null,n.mounted=!1,n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.prevValidating=void 0,n.errors=eg,n.warnings=eg,n.cancelRegister=function(){var e=n.props,t=e.preserve,r=e.isListField,i=e.name;n.cancelRegisterFunc&&n.cancelRegisterFunc(r,t,es(i)),n.cancelRegisterFunc=null},n.getNamePath=function(){var e=n.props,t=e.name,r=e.fieldContext.prefixName,i=void 0===r?[]:r;return void 0!==t?[].concat((0,l.Z)(i),(0,l.Z)(t)):[]},n.getRules=function(){var e=n.props,t=e.rules,r=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(r):e})},n.refresh=function(){n.mounted&&n.setState(function(e){return{resetCount:e.resetCount+1}})},n.metaCache=null,n.triggerMetaEvent=function(e){var t=n.props.onMetaChange;if(t){var r=(0,o.Z)((0,o.Z)({},n.getMeta()),{},{destroy:e});(0,m.Z)(n.metaCache,r)||t(r),n.metaCache=r}else n.metaCache=null},n.onStoreChange=function(e,t,r){var i=n.props,a=i.shouldUpdate,s=i.dependencies,u=void 0===s?[]:s,o=i.onReset,l=r.store,c=n.getNamePath(),f=n.getValue(e),d=n.getValue(l),g=t&&eo(t,c);switch("valueUpdate"===r.type&&"external"===r.source&&f!==d&&(n.touched=!0,n.dirty=!0,n.validatePromise=null,n.errors=eg,n.warnings=eg,n.triggerMetaEvent()),r.type){case"reset":if(!t||g){n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.errors=eg,n.warnings=eg,n.triggerMetaEvent(),null==o||o(),n.refresh();return}break;case"remove":if(a){n.reRender();return}break;case"setField":if(g){var h=r.data;"touched"in h&&(n.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(n.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(n.errors=h.errors||eg),"warnings"in h&&(n.warnings=h.warnings||eg),n.dirty=!0,n.triggerMetaEvent(),n.reRender();return}if(a&&!c.length&&eh(a,e,l,f,d,r)){n.reRender();return}break;case"dependenciesUpdate":if(u.map(es).some(function(e){return eo(r.relatedFields,e)})){n.reRender();return}break;default:if(g||(!u.length||c.length||a)&&eh(a,e,l,f,d,r)){n.reRender();return}}!0===a&&n.reRender()},n.validateRules=function(e){var t=n.getNamePath(),r=n.getValue(),i=e||{},a=i.triggerName,s=i.validateOnly,u=Promise.resolve().then(function(){if(!n.mounted)return[];var i=n.props,s=i.validateFirst,c=void 0!==s&&s,f=i.messageVariables,d=n.getRules();a&&(d=d.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||w(t).includes(a)}));var g=function(e,t,r,n,i,a){var s,u,l=e.join("."),c=r.map(function(e,t){var r=e.validator,n=(0,o.Z)((0,o.Z)({},e),{},{ruleIndex:t});return r&&(n.validator=function(e,t,n){var i=!1,a=r(e,t,function(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:eg;if(n.validatePromise===u){n.validatePromise=null;var t,r=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,n=e.errors,a=void 0===n?eg:n;t?i.push.apply(i,(0,l.Z)(a)):r.push.apply(r,(0,l.Z)(a))}),n.errors=r,n.warnings=i,n.triggerMetaEvent(),n.reRender()}}),g});return void 0!==s&&s||(n.validatePromise=u,n.dirty=!0,n.errors=eg,n.warnings=eg,n.triggerMetaEvent(),n.reRender()),u},n.isFieldValidating=function(){return!!n.validatePromise},n.isFieldTouched=function(){return n.touched},n.isFieldDirty=function(){return!!n.dirty||void 0!==n.props.initialValue||void 0!==(0,n.props.fieldContext.getInternalHooks(y).getInitialValue)(n.getNamePath())},n.getErrors=function(){return n.errors},n.getWarnings=function(){return n.warnings},n.isListField=function(){return n.props.isListField},n.isList=function(){return n.props.isList},n.isPreserve=function(){return n.props.preserve},n.getMeta=function(){return n.prevValidating=n.isFieldValidating(),{touched:n.isFieldTouched(),validating:n.prevValidating,errors:n.errors,warnings:n.warnings,name:n.getNamePath(),validated:null===n.validatePromise}},n.getOnlyChild=function(e){if("function"==typeof e){var t=n.getMeta();return(0,o.Z)((0,o.Z)({},n.getOnlyChild(e(n.getControlled(),t,n.props.fieldContext))),{},{isFunction:!0})}var r=(0,v.Z)(e);return 1===r.length&&i.isValidElement(r[0])?{child:r[0],isFunction:!1}:{child:r,isFunction:!1}},n.getValue=function(e){var t=n.props.fieldContext.getFieldsValue,r=n.getNamePath();return(0,ea.Z)(e||t(!0),r)},n.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,s=t.normalize,l=t.valuePropName,c=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,g=n.getNamePath(),h=f.getInternalHooks,v=f.getFieldsValue,p=h(y).dispatch,m=n.getValue(),F=c||function(e){return(0,u.Z)({},l,e)},b=e[r],E=(0,o.Z)((0,o.Z)({},e),F(m));return E[r]=function(){n.touched=!0,n.dirty=!0,n.triggerMetaEvent();for(var e,t=arguments.length,r=Array(t),i=0;i=0&&t<=r.length?(d.keys=[].concat((0,l.Z)(d.keys.slice(0,t)),[d.id],(0,l.Z)(d.keys.slice(t))),i([].concat((0,l.Z)(r.slice(0,t)),[e],(0,l.Z)(r.slice(t))))):(d.keys=[].concat((0,l.Z)(d.keys),[d.id]),i([].concat((0,l.Z)(r),[e]))),d.id+=1},remove:function(e){var t=s(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(d.keys=d.keys.filter(function(e,t){return!r.has(t)}),i(t.filter(function(e,t){return!r.has(t)})))},move:function(e,t){if(e!==t){var r=s();e<0||e>=r.length||t<0||t>=r.length||(d.keys=ef(d.keys,e,t),i(ef(r,e,t)))}}},t)})))},ey=r(60456),eF="__@field_split__";function eb(e){return e.map(function(e){return"".concat((0,ei.Z)(e),":").concat(e)}).join(eF)}var eE=function(){function e(){(0,c.Z)(this,e),this.kvs=new Map}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(eb(e),t)}},{key:"get",value:function(e){return this.kvs.get(eb(e))}},{key:"update",value:function(e,t){var r=t(this.get(e));r?this.set(e,r):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eb(e))}},{key:"map",value:function(e){return(0,l.Z)(this.kvs.entries()).map(function(t){var r=(0,ey.Z)(t,2),n=r[0],i=r[1];return e({key:n.split(eF).map(function(e){var t=e.match(/^([^:]*):(.*)$/),r=(0,ey.Z)(t,3),n=r[1],i=r[2];return"number"===n?Number(i):i}),value:i})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var r=t.key,n=t.value;return e[r.join(".")]=n,null}),e}}]),e}(),ew=["name"],eZ=(0,f.Z)(function e(t){var r=this;(0,c.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldWarning:r.getFieldWarning,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldValue:r.setFieldValue,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,_init:!0,getInternalHooks:r.getInternalHooks}},this.getInternalHooks=function(e){return e===y?(r.formHooked=!0,{dispatch:r.dispatch,initEntityValue:r.initEntityValue,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,destroyForm:r.destroyForm,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields,setPreserve:r.setPreserve,getInitialValue:r.getInitialValue,registerWatch:r.registerWatch}):((0,p.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){r.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(r.initialValues=e||{},t){var n,i=(0,Q.T)(e,r.store);null===(n=r.prevWithoutPreserves)||void 0===n||n.map(function(t){var r=t.key;i=(0,Q.Z)(i,r,(0,ea.Z)(e,r))}),r.prevWithoutPreserves=null,r.updateStore(i)}},this.destroyForm=function(){var e=new eE;r.getFieldEntities(!0).forEach(function(t){r.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),r.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=(0,ea.Z)(r.initialValues,e);return e.length?(0,Q.T)(t):t},this.setCallbacks=function(e){r.callbacks=e},this.setValidateMessages=function(e){r.validateMessages=e},this.setPreserve=function(e){r.preserve=e},this.watchList=[],this.registerWatch=function(e){return r.watchList.push(e),function(){r.watchList=r.watchList.filter(function(t){return t!==e})}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.watchList.length){var t=r.getFieldsValue(),n=r.getFieldsValue(!0);r.watchList.forEach(function(r){r(t,n,e)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){r.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?r.fieldEntities.filter(function(e){return e.getNamePath().length}):r.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eE;return r.getFieldEntities(e).forEach(function(e){var r=e.getNamePath();t.set(r,e)}),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return r.getFieldEntities(!0);var t=r.getFieldsMap(!0);return e.map(function(e){var r=es(e);return t.get(r)||{INVALIDATE_NAME_PATH:es(e)}})},this.getFieldsValue=function(e,t){if(r.warningUnhooked(),!0===e||Array.isArray(e)?(n=e,i=t):e&&"object"===(0,ei.Z)(e)&&(a=e.strict,i=e.filter),!0===n&&!i)return r.store;var n,i,a,s=r.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null),u=[];return s.forEach(function(e){var t,r,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(a){if(null===(r=e.isList)||void 0===r?void 0:r.call(e))return}else if(!n&&(null===(t=e.isListField)||void 0===t?void 0:t.call(e)))return;i?i("getMeta"in e?e.getMeta():null)&&u.push(s):u.push(s)}),eu(r.store,u.map(es))},this.getFieldValue=function(e){r.warningUnhooked();var t=es(e);return(0,ea.Z)(r.store,t)},this.getFieldsError=function(e){return r.warningUnhooked(),r.getFieldEntitiesForNamePathList(e).map(function(t,r){return!t||"INVALIDATE_NAME_PATH"in t?{name:es(e[r]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})},this.getFieldError=function(e){r.warningUnhooked();var t=es(e);return r.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){r.warningUnhooked();var t=es(e);return r.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){r.warningUnhooked();for(var e,t=arguments.length,n=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=new eE,i=r.getFieldEntities(!0);i.forEach(function(e){var t=e.props.initialValue,r=e.getNamePath();if(void 0!==t){var i=n.get(r)||new Set;i.add({entity:e,value:t}),n.set(r,i)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var r,i=n.get(t);i&&(r=e).push.apply(r,(0,l.Z)((0,l.Z)(i).map(function(e){return e.entity})))})):e=i,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var i=e.getNamePath();if(void 0!==r.getInitialValue(i))(0,p.ZP)(!1,"Form already set 'initialValues' with path '".concat(i.join("."),"'. Field can not overwrite it."));else{var a=n.get(i);if(a&&a.size>1)(0,p.ZP)(!1,"Multiple Field with path '".concat(i.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(a){var s=r.getFieldValue(i);t.skipExist&&void 0!==s||r.updateStore((0,Q.Z)(r.store,i,(0,l.Z)(a)[0].value))}}}})}(e)},this.resetFields=function(e){r.warningUnhooked();var t=r.store;if(!e){r.updateStore((0,Q.T)(r.initialValues)),r.resetWithFieldInitialValue(),r.notifyObservers(t,null,{type:"reset"}),r.notifyWatch();return}var n=e.map(es);n.forEach(function(e){var t=r.getInitialValue(e);r.updateStore((0,Q.Z)(r.store,e,t))}),r.resetWithFieldInitialValue({namePathList:n}),r.notifyObservers(t,n,{type:"reset"}),r.notifyWatch(n)},this.setFields=function(e){r.warningUnhooked();var t=r.store,n=[];e.forEach(function(e){var i=e.name,a=(0,s.Z)(e,ew),u=es(i);n.push(u),"value"in a&&r.updateStore((0,Q.Z)(r.store,u,a.value)),r.notifyObservers(t,[u],{type:"setField",data:e})}),r.notifyWatch(n)},this.getFields=function(){return r.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),n=e.getMeta(),i=(0,o.Z)((0,o.Z)({},n),{},{name:t,value:r.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i})},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var n=e.getNamePath();void 0===(0,ea.Z)(r.store,n)&&r.updateStore((0,Q.Z)(r.store,n,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:r.preserve;return null==t||t},this.registerField=function(e){r.fieldEntities.push(e);var t=e.getNamePath();if(r.notifyWatch([t]),void 0!==e.props.initialValue){var n=r.store;r.resetWithFieldInitialValue({entities:[e],skipExist:!0}),r.notifyObservers(n,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(n,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(r.fieldEntities=r.fieldEntities.filter(function(t){return t!==e}),!r.isMergedPreserve(i)&&(!n||a.length>1)){var s=n?void 0:r.getInitialValue(t);if(t.length&&r.getFieldValue(t)!==s&&r.fieldEntities.every(function(e){return!el(e.getNamePath(),t)})){var u=r.store;r.updateStore((0,Q.Z)(u,t,s,!0)),r.notifyObservers(u,[t],{type:"remove"}),r.triggerDependenciesUpdate(u,t)}}r.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,n=e.value;r.updateValue(t,n);break;case"validateField":var i=e.namePath,a=e.triggerName;r.validateFields([i],{triggerName:a})}},this.notifyObservers=function(e,t,n){if(r.subscribable){var i=(0,o.Z)((0,o.Z)({},n),{},{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach(function(r){(0,r.onStoreChange)(e,t,i)})}else r.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var n=r.getDependencyChildrenFields(t);return n.length&&r.validateFields(n),r.notifyObservers(e,n,{type:"dependenciesUpdate",relatedFields:[t].concat((0,l.Z)(n))}),n},this.updateValue=function(e,t){var n=es(e),i=r.store;r.updateStore((0,Q.Z)(r.store,n,t)),r.notifyObservers(i,[n],{type:"valueUpdate",source:"internal"}),r.notifyWatch([n]);var a=r.triggerDependenciesUpdate(i,n),s=r.callbacks.onValuesChange;s&&s(eu(r.store,[n]),r.getFieldsValue()),r.triggerOnFieldsChange([n].concat((0,l.Z)(a)))},this.setFieldsValue=function(e){r.warningUnhooked();var t=r.store;if(e){var n=(0,Q.T)(r.store,e);r.updateStore(n)}r.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),r.notifyWatch()},this.setFieldValue=function(e,t){r.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,n=[],i=new eE;return r.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var r=es(t);i.update(r,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(r){(i.get(r)||new Set).forEach(function(r){if(!t.has(r)){t.add(r);var i=r.getNamePath();r.isFieldDirty()&&i.length&&(n.push(i),e(i))}})}(e),n},this.triggerOnFieldsChange=function(e,t){var n=r.callbacks.onFieldsChange;if(n){var i=r.getFields();if(t){var a=new eE;t.forEach(function(e){var t=e.name,r=e.errors;a.set(t,r)}),i.forEach(function(e){e.errors=a.get(e.name)||e.errors})}var s=i.filter(function(t){return eo(e,t.name)});s.length&&n(s,i)}},this.validateFields=function(e,t){r.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(s=e,u=t):u=e;var n,i,a,s,u,c=!!s,f=c?s.map(es):[],d=[],g=String(Date.now()),h=new Set;r.getFieldEntities(!0).forEach(function(e){if(c||f.push(e.getNamePath()),(null===(t=u)||void 0===t?void 0:t.recursive)&&c){var t,n=e.getNamePath();n.every(function(e,t){return s[t]===e||void 0===s[t]})&&f.push(n)}if(e.props.rules&&e.props.rules.length){var i=e.getNamePath();if(h.add(i.join(g)),!c||eo(f,i)){var a=e.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},G),r.validateMessages)},u));d.push(a.then(function(){return{name:i,errors:[],warnings:[]}}).catch(function(e){var t,r=[],n=[];return(null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,i=e.errors;t?n.push.apply(n,(0,l.Z)(i)):r.push.apply(r,(0,l.Z)(i))}),r.length)?Promise.reject({name:i,errors:r,warnings:n}):{name:i,errors:r,warnings:n}}))}}});var v=(n=!1,i=d.length,a=[],d.length?new Promise(function(e,t){d.forEach(function(r,s){r.catch(function(e){return n=!0,e}).then(function(r){i-=1,a[s]=r,i>0||(n&&t(a),e(a))})})}):Promise.resolve([]));r.lastValidatePromise=v,v.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});r.notifyObservers(r.store,t,{type:"validateFinish"}),r.triggerOnFieldsChange(t,e)});var p=v.then(function(){return r.lastValidatePromise===v?Promise.resolve(r.getFieldsValue(f)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:r.getFieldsValue(f),errorFields:t,outOfDate:r.lastValidatePromise!==v})});p.catch(function(e){return e});var m=f.filter(function(e){return h.has(e.join(g))});return r.triggerOnFieldsChange(m),p},this.submit=function(){r.warningUnhooked(),r.validateFields().then(function(e){var t=r.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=r.callbacks.onFinishFailed;t&&t(e)})},this.forceRootUpdate=t}),eP=function(e){var t=i.useRef(),r=i.useState({}),n=(0,ey.Z)(r,2)[1];if(!t.current){if(e)t.current=e;else{var a=new eZ(function(){n({})});t.current=a.getForm()}}return[t.current]},eV=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),ek=function(e){var t=e.validateMessages,r=e.onFormChange,n=e.onFormFinish,a=e.children,s=i.useContext(eV),l=i.useRef({});return i.createElement(eV.Provider,{value:(0,o.Z)((0,o.Z)({},s),{},{validateMessages:(0,o.Z)((0,o.Z)({},s.validateMessages),t),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:l.current}),s.triggerFormChange(e,t)},triggerFormFinish:function(e,t){n&&n(e,{values:t,forms:l.current}),s.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=(0,o.Z)((0,o.Z)({},l.current),{},(0,u.Z)({},e,t))),s.registerForm(e,t)},unregisterForm:function(e){var t=(0,o.Z)({},l.current);delete t[e],l.current=t,s.unregisterForm(e)}})},a)},ex=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function eC(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var eO=function(){},eq=function(){for(var e=arguments.length,t=Array(e),r=0;r1?t-1:0),i=1;i{let{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:a,badgeHeightSm:i,motionDurationSlow:o,badgeStatusSize:l,marginXS:s}=e,c=`${r}-scroll-number`,u=(0,m.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:i,height:i,fontSize:e.badgeFontSizeSm,lineHeight:`${i}px`,borderRadius:i/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`},[`${t}-dot${c}`]:{transition:`background ${o}`},[`${t}-count, ${t}-dot, ${c}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:l,height:l,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:g,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:s,color:e.colorText,fontSize:e.fontSize}}}),u),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:h,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:$,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${c}-custom-component, ${t}-count`]:{transform:"none"},[`${c}-custom-component, ${c}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${c}`]:{overflow:"hidden",[`${c}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${c}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${c}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${c}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},w=e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:a,marginXS:i,colorBorderBg:o}=e,l=Math.round(t*n),s=l-2*a,c=e.colorBgContainer,u=e.colorError,d=e.colorErrorHover,m=(0,p.TS)(e,{badgeFontHeight:l,badgeShadowSize:a,badgeZIndex:"auto",badgeHeight:s,badgeTextColor:c,badgeFontWeight:"normal",badgeFontSize:r,badgeColor:u,badgeColorHover:d,badgeShadowColor:o,badgeHeightSm:t,badgeDotSize:r/2,badgeFontSizeSm:r,badgeStatusSize:r/2,badgeProcessingDuration:"1.2s",badgeRibbonOffset:i,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return m};var E=(0,f.Z)("Badge",e=>{let t=w(e);return[x(t)]});let S=e=>{let{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:a}=e,i=`${t}-ribbon`,o=`${t}-ribbon-wrapper`,l=(0,m.Z)(e,(e,t)=>{let{darkColor:n}=t;return{[`&${i}-color-${e}`]:{background:n,color:n}}});return{[`${o}`]:{position:"relative"},[`${i}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"absolute",top:r,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${n}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${i}-text`]:{color:e.colorTextLightSolid},[`${i}-corner`]:{position:"absolute",top:"100%",width:a,height:a,color:"currentcolor",border:`${a/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${i}-placement-end`]:{insetInlineEnd:-a,borderEndEndRadius:0,[`${i}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${i}-placement-start`]:{insetInlineStart:-a,borderEndStartRadius:0,[`${i}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var O=(0,f.Z)(["Badge","Ribbon"],e=>{let t=w(e);return[S(t)]});function N(e){let t,{prefixCls:n,value:r,current:i,offset:l=0}=e;return l&&(t={position:"absolute",top:`${l}00%`,left:0}),o.createElement("span",{style:t,className:a()(`${n}-only-unit`,{current:i})},r)}function j(e){let t,n;let{prefixCls:r,count:a,value:i}=e,l=Number(i),s=Math.abs(a),[c,u]=o.useState(l),[d,m]=o.useState(s),p=()=>{u(l),m(s)};if(o.useEffect(()=>{let e=setTimeout(()=>{p()},1e3);return()=>{clearTimeout(e)}},[l]),c===l||Number.isNaN(l)||Number.isNaN(c))t=[o.createElement(N,Object.assign({},e,{key:l,current:!0}))],n={transition:"none"};else{t=[];let r=l+10,a=[];for(let e=l;e<=r;e+=1)a.push(e);let i=a.findIndex(e=>e%10===c);t=a.map((t,n)=>o.createElement(N,Object.assign({},e,{key:t,value:t%10,offset:n-i,current:n===i})));let u=dt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let k=o.forwardRef((e,t)=>{let{prefixCls:n,count:r,className:i,motionClassName:l,style:u,title:d,show:m,component:p="sup",children:f}=e,g=C(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:b}=o.useContext(c.E_),h=b("scroll-number",n),v=Object.assign(Object.assign({},g),{"data-show":m,style:u,className:a()(h,i,l),title:d}),$=r;if(r&&Number(r)%1==0){let e=String(r).split("");$=o.createElement("bdi",null,e.map((t,n)=>o.createElement(j,{prefixCls:h,count:Number(r),value:t,key:e.length-n})))}return(u&&u.borderColor&&(v.style=Object.assign(Object.assign({},u),{boxShadow:`0 0 0 1px ${u.borderColor} inset`})),f)?(0,s.Tm)(f,e=>({className:a()(`${h}-custom-component`,null==e?void 0:e.className,l)})):o.createElement(p,Object.assign({},v,{ref:t}),$)});var I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let Z=o.forwardRef((e,t)=>{var n,r,u,d,m;let{prefixCls:p,scrollNumberPrefixCls:f,children:g,status:b,text:h,color:v,count:$=null,overflowCount:y=99,dot:x=!1,size:w="default",title:S,offset:O,style:N,className:j,rootClassName:C,classNames:Z,styles:M,showZero:R=!1}=e,z=I(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:T,direction:D,badge:W}=o.useContext(c.E_),P=T("badge",p),[B,H]=E(P),F=$>y?`${y}+`:$,A="0"===F||0===F,_=null===$||A&&!R,L=(null!=b||null!=v)&&_,q=x&&!A,G=q?"":F,X=(0,o.useMemo)(()=>{let e=null==G||""===G;return(e||A&&!R)&&!q},[G,A,R,q]),V=(0,o.useRef)($);X||(V.current=$);let K=V.current,U=(0,o.useRef)(G);X||(U.current=G);let Y=U.current,Q=(0,o.useRef)(q);X||(Q.current=q);let J=(0,o.useMemo)(()=>{if(!O)return Object.assign(Object.assign({},null==W?void 0:W.style),N);let e={marginTop:O[1]};return"rtl"===D?e.left=parseInt(O[0],10):e.right=-parseInt(O[0],10),Object.assign(Object.assign(Object.assign({},e),null==W?void 0:W.style),N)},[D,O,N,null==W?void 0:W.style]),ee=null!=S?S:"string"==typeof K||"number"==typeof K?K:void 0,et=X||!h?null:o.createElement("span",{className:`${P}-status-text`},h),en=K&&"object"==typeof K?(0,s.Tm)(K,e=>({style:Object.assign(Object.assign({},J),e.style)})):void 0,er=(0,l.o2)(v,!1),ea=a()(null==Z?void 0:Z.indicator,null===(n=null==W?void 0:W.classNames)||void 0===n?void 0:n.indicator,{[`${P}-status-dot`]:L,[`${P}-status-${b}`]:!!b,[`${P}-color-${v}`]:er}),ei={};v&&!er&&(ei.color=v,ei.background=v);let eo=a()(P,{[`${P}-status`]:L,[`${P}-not-a-wrapper`]:!g,[`${P}-rtl`]:"rtl"===D},j,C,null==W?void 0:W.className,null===(r=null==W?void 0:W.classNames)||void 0===r?void 0:r.root,null==Z?void 0:Z.root,H);if(!g&&L){let e=J.color;return B(o.createElement("span",Object.assign({},z,{className:eo,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null===(u=null==W?void 0:W.styles)||void 0===u?void 0:u.root),J)}),o.createElement("span",{className:ea,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(d=null==W?void 0:W.styles)||void 0===d?void 0:d.indicator),ei)}),h&&o.createElement("span",{style:{color:e},className:`${P}-status-text`},h)))}return B(o.createElement("span",Object.assign({ref:t},z,{className:eo,style:Object.assign(Object.assign({},null===(m=null==W?void 0:W.styles)||void 0===m?void 0:m.root),null==M?void 0:M.root)}),g,o.createElement(i.ZP,{visible:!X,motionName:`${P}-zoom`,motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:r,ref:i}=e,l=T("scroll-number",f),s=Q.current,c=a()(null==Z?void 0:Z.indicator,null===(t=null==W?void 0:W.classNames)||void 0===t?void 0:t.indicator,{[`${P}-dot`]:s,[`${P}-count`]:!s,[`${P}-count-sm`]:"small"===w,[`${P}-multiple-words`]:!s&&Y&&Y.toString().length>1,[`${P}-status-${b}`]:!!b,[`${P}-color-${v}`]:er}),u=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(n=null==W?void 0:W.styles)||void 0===n?void 0:n.indicator),J);return v&&!er&&((u=u||{}).background=v),o.createElement(k,{prefixCls:l,show:!X,motionClassName:r,className:c,count:Y,title:ee,style:u,key:"scrollNumber",ref:i},en)}),et))});Z.Ribbon=e=>{let{className:t,prefixCls:n,style:r,color:i,children:s,text:u,placement:d="end"}=e,{getPrefixCls:m,direction:p}=o.useContext(c.E_),f=m("ribbon",n),g=(0,l.o2)(i,!1),b=a()(f,`${f}-placement-${d}`,{[`${f}-rtl`]:"rtl"===p,[`${f}-color-${i}`]:g},t),[h,v]=O(f),$={},y={};return i&&!g&&($.background=i,y.color=i),h(o.createElement("div",{className:a()(`${f}-wrapper`,v)},s,o.createElement("div",{className:a()(b,v),style:Object.assign(Object.assign({},$),r)},o.createElement("span",{className:`${f}-text`},u),o.createElement("div",{className:`${f}-corner`,style:y}))))};var M=Z},85813:function(e,t,n){n.d(t,{Z:function(){return Q}});var r=n(94184),a=n.n(r),i=n(98423),o=n(67294),l=n(53124),s=n(98675),c=e=>{let{prefixCls:t,className:n,style:r,size:i,shape:l}=e,s=a()({[`${t}-lg`]:"large"===i,[`${t}-sm`]:"small"===i}),c=a()({[`${t}-circle`]:"circle"===l,[`${t}-square`]:"square"===l,[`${t}-round`]:"round"===l}),u=o.useMemo(()=>"number"==typeof i?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return o.createElement("span",{className:a()(t,s,c,n),style:Object.assign(Object.assign({},u),r)})},u=n(23183),d=n(67968),m=n(45503);let p=new u.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),f=e=>({height:e,lineHeight:`${e}px`}),g=e=>Object.assign({width:e},f(e)),b=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),h=e=>Object.assign({width:5*e,minWidth:5*e},f(e)),v=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},g(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},g(a)),[`${t}${t}-sm`]:Object.assign({},g(i))}},$=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},h(t)),[`${r}-lg`]:Object.assign({},h(a)),[`${r}-sm`]:Object.assign({},h(i))}},y=e=>Object.assign({width:e},f(e)),x=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},y(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},y(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},w=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},E=e=>Object.assign({width:2*e,minWidth:2*e},f(e)),S=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:2*r,minWidth:2*r},E(r))},w(e,r,n)),{[`${n}-lg`]:Object.assign({},E(a))}),w(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},E(i))}),w(e,i,`${n}-sm`))},O=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:o,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:m,marginSM:p,borderRadius:f,titleHeight:h,blockRadius:y,paragraphLiHeight:w,controlHeightXS:E,paragraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},g(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},g(c)),[`${n}-sm`]:Object.assign({},g(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:h,background:d,borderRadius:y,[`+ ${a}`]:{marginBlockStart:u}},[`${a}`]:{padding:0,"> li":{width:"100%",height:w,listStyle:"none",background:d,borderRadius:y,"+ li":{marginBlockStart:E}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:f}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${a}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},S(e)),v(e)),$(e)),x(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${o}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${a} > li, + ${n}, + ${i}, + ${o}, + ${l} + `]:Object.assign({},b(e))}}};var N=(0,d.Z)("Skeleton",e=>{let{componentCls:t}=e,n=(0,m.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[O(n)]},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),j=n(87462),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},k=n(42135),I=o.forwardRef(function(e,t){return o.createElement(k.Z,(0,j.Z)({},e,{ref:t,icon:C}))}),Z=n(74902),M=e=>{let t=t=>{let{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:i,rows:l}=e,s=(0,Z.Z)(Array(l)).map((e,n)=>o.createElement("li",{key:n,style:{width:t(n)}}));return o.createElement("ul",{className:a()(n,r),style:i},s)},R=e=>{let{prefixCls:t,className:n,width:r,style:i}=e;return o.createElement("h3",{className:a()(t,n),style:Object.assign({width:r},i)})};function z(e){return e&&"object"==typeof e?e:{}}let T=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:i,style:s,children:u,avatar:d=!1,title:m=!0,paragraph:p=!0,active:f,round:g}=e,{getPrefixCls:b,direction:h,skeleton:v}=o.useContext(l.E_),$=b("skeleton",t),[y,x]=N($);if(n||!("loading"in e)){let e,t;let n=!!d,l=!!m,u=!!p;if(n){let t=Object.assign(Object.assign({prefixCls:`${$}-avatar`},l&&!u?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),z(d));e=o.createElement("div",{className:`${$}-header`},o.createElement(c,Object.assign({},t)))}if(l||u){let e,r;if(l){let t=Object.assign(Object.assign({prefixCls:`${$}-title`},!n&&u?{width:"38%"}:n&&u?{width:"50%"}:{}),z(m));e=o.createElement(R,Object.assign({},t))}if(u){let e=Object.assign(Object.assign({prefixCls:`${$}-paragraph`},function(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}(n,l)),z(p));r=o.createElement(M,Object.assign({},e))}t=o.createElement("div",{className:`${$}-content`},e,r)}let b=a()($,{[`${$}-with-avatar`]:n,[`${$}-active`]:f,[`${$}-rtl`]:"rtl"===h,[`${$}-round`]:g},null==v?void 0:v.className,r,i,x);return y(o.createElement("div",{className:b,style:Object.assign(Object.assign({},null==v?void 0:v.style),s)},e,t))}return void 0!==u?u:null};T.Button=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u=!1,size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-button`,size:d},b))))},T.Avatar=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,shape:u="circle",size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls","className"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-avatar`,shape:u,size:d},b))))},T.Input=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u,size:d="default"}=e,{getPrefixCls:m}=o.useContext(l.E_),p=m("skeleton",t),[f,g]=N(p),b=(0,i.Z)(e,["prefixCls"]),h=a()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${p}-input`,size:d},b))))},T.Image=e=>{let{prefixCls:t,className:n,rootClassName:r,style:i,active:s}=e,{getPrefixCls:c}=o.useContext(l.E_),u=c("skeleton",t),[d,m]=N(u),p=a()(u,`${u}-element`,{[`${u}-active`]:s},n,r,m);return d(o.createElement("div",{className:p},o.createElement("div",{className:a()(`${u}-image`,n),style:i},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},o.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},T.Node=e=>{let{prefixCls:t,className:n,rootClassName:r,style:i,active:s,children:c}=e,{getPrefixCls:u}=o.useContext(l.E_),d=u("skeleton",t),[m,p]=N(d),f=a()(d,`${d}-element`,{[`${d}-active`]:s},p,n,r),g=null!=c?c:o.createElement(I,null);return m(o.createElement("div",{className:f},o.createElement("div",{className:a()(`${d}-image`,n),style:i},g)))};var D=n(65908),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},P=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,i=W(e,["prefixCls","className","hoverable"]);let{getPrefixCls:s}=o.useContext(l.E_),c=s("card",t),u=a()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:r});return o.createElement("div",Object.assign({},i,{className:u}))},B=n(14747);let H=e=>{let{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${a}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,B.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},B.vS),{[` + > ${n}-typography, + > ${n}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},F=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${a}px 0 0 0 ${n}, + 0 ${a}px 0 0 ${n}, + ${a}px ${a}px 0 0 ${n}, + ${a}px 0 0 0 ${n} inset, + 0 ${a}px 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},A=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${e.lineWidth}px ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,B.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:`${a*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${i}`}}})},_=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,B.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},B.vS),"&-description":{color:e.colorTextDescription}}),L=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},q=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},G=e=>{let{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:a,colorBorderSecondary:i,boxShadowTertiary:o,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},(0,B.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:o},[`${n}-head`]:H(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,B.dF)()),[`${n}-grid`]:F(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${n}-actions`]:A(e),[`${n}-meta`]:_(e)}),[`${n}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{paddingTop:a}}},[`${n}-type-inner`]:L(e),[`${n}-loading`]:q(e),[`${n}-rtl`]:{direction:"rtl"}}},X=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}};var V=(0,d.Z)("Card",e=>{let t=(0,m.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[G(t),X(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let U=o.forwardRef((e,t)=>{let n;let{prefixCls:r,className:c,rootClassName:u,style:d,extra:m,headStyle:p={},bodyStyle:f={},title:g,loading:b,bordered:h=!0,size:v,type:$,cover:y,actions:x,tabList:w,children:E,activeTabKey:S,defaultActiveTabKey:O,tabBarExtraContent:N,hoverable:j,tabProps:C={}}=e,k=K(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:I,direction:Z,card:M}=o.useContext(l.E_),R=o.useMemo(()=>{let e=!1;return o.Children.forEach(E,t=>{t&&t.type&&t.type===P&&(e=!0)}),e},[E]),z=I("card",r),[W,B]=V(z),H=o.createElement(T,{loading:!0,active:!0,paragraph:{rows:4},title:!1},E),F=void 0!==S,A=Object.assign(Object.assign({},C),{[F?"activeKey":"defaultActiveKey"]:F?S:O,tabBarExtraContent:N}),_=(0,s.Z)(v),L=w?o.createElement(D.Z,Object.assign({size:_&&"default"!==_?_:"large"},A,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:w.map(e=>{var{tab:t}=e;return Object.assign({label:t},K(e,["tab"]))})})):null;(g||m||L)&&(n=o.createElement("div",{className:`${z}-head`,style:p},o.createElement("div",{className:`${z}-head-wrapper`},g&&o.createElement("div",{className:`${z}-head-title`},g),m&&o.createElement("div",{className:`${z}-extra`},m)),L));let q=y?o.createElement("div",{className:`${z}-cover`},y):null,G=o.createElement("div",{className:`${z}-body`,style:f},b?H:E),X=x&&x.length?o.createElement("ul",{className:`${z}-actions`},x.map((e,t)=>o.createElement("li",{style:{width:`${100/x.length}%`},key:`action-${t}`},o.createElement("span",null,e)))):null,U=(0,i.Z)(k,["onTabChange"]),Y=a()(z,null==M?void 0:M.className,{[`${z}-loading`]:b,[`${z}-bordered`]:h,[`${z}-hoverable`]:j,[`${z}-contain-grid`]:R,[`${z}-contain-tabs`]:w&&w.length,[`${z}-${_}`]:_,[`${z}-type-${$}`]:!!$,[`${z}-rtl`]:"rtl"===Z},c,u,B),Q=Object.assign(Object.assign({},null==M?void 0:M.style),d);return W(o.createElement("div",Object.assign({ref:t},U,{className:Y,style:Q}),n,q,G,X))});var Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};U.Grid=P,U.Meta=e=>{let{prefixCls:t,className:n,avatar:r,title:i,description:s}=e,c=Y(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=o.useContext(l.E_),d=u("card",t),m=a()(`${d}-meta`,n),p=r?o.createElement("div",{className:`${d}-meta-avatar`},r):null,f=i?o.createElement("div",{className:`${d}-meta-title`},i):null,g=s?o.createElement("div",{className:`${d}-meta-description`},s):null,b=f||g?o.createElement("div",{className:`${d}-meta-detail`},f,g):null;return o.createElement("div",Object.assign({},c,{className:m}),p,b)};var Q=U},85265:function(e,t,n){n.d(t,{Z:function(){return D}});var r=n(94184),a=n.n(r),i=n(1413),o=n(97685),l=n(67294),s=n(54535),c=n(8410),u=n(4942),d=n(87462),m=n(82225),p=n(15105),f=n(64217),g=l.createContext(null),b=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,s=e.containerRef,c=e.onMouseEnter,u=e.onMouseOver,m=e.onMouseLeave,p=e.onClick,f=e.onKeyDown,g=e.onKeyUp;return l.createElement(l.Fragment,null,l.createElement("div",(0,d.Z)({className:a()("".concat(t,"-content"),n),style:(0,i.Z)({},r),"aria-modal":"true",role:"dialog",ref:s},{onMouseEnter:c,onMouseOver:u,onMouseLeave:m,onClick:p,onKeyDown:f,onKeyUp:g}),o))},h=n(80334);function v(e){return"string"==typeof e&&String(Number(e))===e?((0,h.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var $={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},y=l.forwardRef(function(e,t){var n,r,s,c,h=e.prefixCls,y=e.open,x=e.placement,w=e.inline,E=e.push,S=e.forceRender,O=e.autoFocus,N=e.keyboard,j=e.rootClassName,C=e.rootStyle,k=e.zIndex,I=e.className,Z=e.style,M=e.motion,R=e.width,z=e.height,T=e.children,D=e.contentWrapperStyle,W=e.mask,P=e.maskClosable,B=e.maskMotion,H=e.maskClassName,F=e.maskStyle,A=e.afterOpenChange,_=e.onClose,L=e.onMouseEnter,q=e.onMouseOver,G=e.onMouseLeave,X=e.onClick,V=e.onKeyDown,K=e.onKeyUp,U=l.useRef(),Y=l.useRef(),Q=l.useRef();l.useImperativeHandle(t,function(){return U.current}),l.useEffect(function(){if(y&&O){var e;null===(e=U.current)||void 0===e||e.focus({preventScroll:!0})}},[y]);var J=l.useState(!1),ee=(0,o.Z)(J,2),et=ee[0],en=ee[1],er=l.useContext(g),ea=null!==(n=null!==(r=null===(s=!1===E?{distance:0}:!0===E?{}:E||{})||void 0===s?void 0:s.distance)&&void 0!==r?r:null==er?void 0:er.pushDistance)&&void 0!==n?n:180,ei=l.useMemo(function(){return{pushDistance:ea,push:function(){en(!0)},pull:function(){en(!1)}}},[ea]);l.useEffect(function(){var e,t;y?null==er||null===(e=er.push)||void 0===e||e.call(er):null==er||null===(t=er.pull)||void 0===t||t.call(er)},[y]),l.useEffect(function(){return function(){var e;null==er||null===(e=er.pull)||void 0===e||e.call(er)}},[]);var eo=W&&l.createElement(m.ZP,(0,d.Z)({key:"mask"},B,{visible:y}),function(e,t){var n=e.className,r=e.style;return l.createElement("div",{className:a()("".concat(h,"-mask"),n,H),style:(0,i.Z)((0,i.Z)({},r),F),onClick:P&&y?_:void 0,ref:t})}),el="function"==typeof M?M(x):M,es={};if(et&&ea)switch(x){case"top":es.transform="translateY(".concat(ea,"px)");break;case"bottom":es.transform="translateY(".concat(-ea,"px)");break;case"left":es.transform="translateX(".concat(ea,"px)");break;default:es.transform="translateX(".concat(-ea,"px)")}"left"===x||"right"===x?es.width=v(R):es.height=v(z);var ec={onMouseEnter:L,onMouseOver:q,onMouseLeave:G,onClick:X,onKeyDown:V,onKeyUp:K},eu=l.createElement(m.ZP,(0,d.Z)({key:"panel"},el,{visible:y,forceRender:S,onVisibleChanged:function(e){null==A||A(e)},removeOnLeave:!1,leavedClassName:"".concat(h,"-content-wrapper-hidden")}),function(t,n){var r=t.className,o=t.style;return l.createElement("div",(0,d.Z)({className:a()("".concat(h,"-content-wrapper"),r),style:(0,i.Z)((0,i.Z)((0,i.Z)({},es),o),D)},(0,f.Z)(e,{data:!0})),l.createElement(b,(0,d.Z)({containerRef:n,prefixCls:h,className:I,style:Z},ec),T))}),ed=(0,i.Z)({},C);return k&&(ed.zIndex=k),l.createElement(g.Provider,{value:ei},l.createElement("div",{className:a()(h,"".concat(h,"-").concat(x),j,(c={},(0,u.Z)(c,"".concat(h,"-open"),y),(0,u.Z)(c,"".concat(h,"-inline"),w),c)),style:ed,tabIndex:-1,ref:U,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case p.Z.TAB:r===p.Z.TAB&&(a||document.activeElement!==Q.current?a&&document.activeElement===Y.current&&(null===(n=Q.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=Y.current)||void 0===t||t.focus({preventScroll:!0}));break;case p.Z.ESC:_&&N&&(e.stopPropagation(),_(e))}}},eo,l.createElement("div",{tabIndex:0,ref:Y,style:$,"aria-hidden":"true","data-sentinel":"start"}),eu,l.createElement("div",{tabIndex:0,ref:Q,style:$,"aria-hidden":"true","data-sentinel":"end"})))}),x=function(e){var t=e.open,n=e.prefixCls,r=e.placement,a=e.autoFocus,u=e.keyboard,d=e.width,m=e.mask,p=void 0===m||m,f=e.maskClosable,g=e.getContainer,b=e.forceRender,h=e.afterOpenChange,v=e.destroyOnClose,$=e.onMouseEnter,x=e.onMouseOver,w=e.onMouseLeave,E=e.onClick,S=e.onKeyDown,O=e.onKeyUp,N=l.useState(!1),j=(0,o.Z)(N,2),C=j[0],k=j[1],I=l.useState(!1),Z=(0,o.Z)(I,2),M=Z[0],R=Z[1];(0,c.Z)(function(){R(!0)},[]);var z=!!M&&void 0!==t&&t,T=l.useRef(),D=l.useRef();if((0,c.Z)(function(){z&&(D.current=document.activeElement)},[z]),!b&&!C&&!z&&v)return null;var W=(0,i.Z)((0,i.Z)({},e),{},{open:z,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===r?"right":r,autoFocus:void 0===a||a,keyboard:void 0===u||u,width:void 0===d?378:d,mask:p,maskClosable:void 0===f||f,inline:!1===g,afterOpenChange:function(e){var t,n;k(e),null==h||h(e),e||!D.current||(null===(t=T.current)||void 0===t?void 0:t.contains(D.current))||null===(n=D.current)||void 0===n||n.focus({preventScroll:!0})},ref:T},{onMouseEnter:$,onMouseOver:x,onMouseLeave:w,onClick:E,onKeyDown:S,onKeyUp:O});return l.createElement(s.Z,{open:z||b||C,autoDestroy:!1,getContainer:g,autoLock:p&&(z||C)},l.createElement(y,W))},w=n(33603),E=n(53124),S=n(65223),O=n(69760),N=e=>{let{prefixCls:t,title:n,footer:r,extra:i,closeIcon:o,closable:s,onClose:c,headerStyle:u,drawerStyle:d,bodyStyle:m,footerStyle:p,children:f}=e,g=l.useCallback(e=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${t}-close`},e),[c]),[b,h]=(0,O.Z)(s,o,g,void 0,!0),v=l.useMemo(()=>n||b?l.createElement("div",{style:u,className:a()(`${t}-header`,{[`${t}-header-close-only`]:b&&!n&&!i})},l.createElement("div",{className:`${t}-header-title`},h,n&&l.createElement("div",{className:`${t}-title`},n)),i&&l.createElement("div",{className:`${t}-extra`},i)):null,[b,h,i,u,t,n]),$=l.useMemo(()=>{if(!r)return null;let e=`${t}-footer`;return l.createElement("div",{className:e,style:p},r)},[r,p,t]);return l.createElement("div",{className:`${t}-wrapper-body`,style:d},v,l.createElement("div",{className:`${t}-body`,style:m},f),$)},j=n(4173),C=n(67968),k=n(45503),I=e=>{let{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};let Z=e=>{let{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:a,motionDurationSlow:i,motionDurationMid:o,padding:l,paddingLG:s,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:m,colorSplit:p,marginSM:f,colorIcon:g,colorIconHover:b,colorText:h,fontWeightStrong:v,footerPaddingBlock:$,footerPaddingInline:y}=e,x=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:a,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${m} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:f,color:g,fontWeight:v,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${o}`,textRendering:"auto","&:focus, &:hover":{color:b,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:h,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${$}px ${y}px`,borderTop:`${d}px ${m} ${p}`},"&-rtl":{direction:"rtl"}}}};var M=(0,C.Z)("Drawer",e=>{let t=(0,k.TS)(e,{});return[Z(t),I(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let z={distance:180},T=e=>{let{rootClassName:t,width:n,height:r,size:i="default",mask:o=!0,push:s=z,open:c,afterOpenChange:u,onClose:d,prefixCls:m,getContainer:p,style:f,className:g,visible:b,afterVisibleChange:h}=e,v=R(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:$,getPrefixCls:y,direction:O,drawer:C}=l.useContext(E.E_),k=y("drawer",m),[I,Z]=M(k),T=a()({"no-mask":!o,[`${k}-rtl`]:"rtl"===O},t,Z),D=l.useMemo(()=>null!=n?n:"large"===i?736:378,[n,i]),W=l.useMemo(()=>null!=r?r:"large"===i?736:378,[r,i]),P={motionName:(0,w.m)(k,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return I(l.createElement(j.BR,null,l.createElement(S.Ux,{status:!0,override:!0},l.createElement(x,Object.assign({prefixCls:k,onClose:d,maskMotion:P,motion:e=>({motionName:(0,w.m)(k,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},v,{open:null!=c?c:b,mask:o,push:s,width:D,height:W,style:Object.assign(Object.assign({},null==C?void 0:C.style),f),className:a()(null==C?void 0:C.className,g),rootClassName:T,getContainer:void 0===p&&$?()=>$(document.body):p,afterOpenChange:null!=u?u:h}),l.createElement(N,Object.assign({prefixCls:k},v,{onClose:d}))))))};T._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:i="right"}=e,o=R(e,["prefixCls","style","className","placement"]),{getPrefixCls:s}=l.useContext(E.E_),c=s("drawer",t),[u,d]=M(c),m=a()(c,`${c}-pure`,`${c}-${i}`,d,r);return u(l.createElement("div",{className:m,style:n},l.createElement(N,Object.assign({prefixCls:c},o))))};var D=T},73314:function(e,t,n){n.d(t,{Z:function(){return eG}});var r=n(74902),a=n(94184),i=n.n(a),o=n(82225),l=n(67294),s=n(33603),c=n(65223);function u(e){let[t,n]=l.useState(e);return l.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var d=n(14747),m=n(50438),p=n(33507),f=n(45503),g=n(67968),b=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};let h=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, + input[type='radio']:focus, + input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),v=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},$=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),h(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},v(e,e.controlHeightSM)),"&-large":Object.assign({},v(e,e.controlHeightLG))})}},y=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a}=e;return{[t]:Object.assign(Object.assign({},(0,d.Wf)(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${a}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:m.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},x=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},w=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},E=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),S=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:E(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},O=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${r}-col-24${n}-label, + .${r}-col-xl-24${n}-label`]:E(e),[`@media (max-width: ${e.screenXSMax}px)`]:[S(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:E(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:E(e)}}}},N=(e,t)=>{let n=(0,f.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});return n};var j=(0,g.Z)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=N(e,n);return[$(r),y(r),b(r),x(r),w(r),O(r),(0,p.Z)(r),m.kr]},null,{order:-1e3});let C=[];function k(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}var I=e=>{let{help:t,helpStatus:n,errors:a=C,warnings:d=C,className:m,fieldId:p,onVisibleChanged:f}=e,{prefixCls:g}=l.useContext(c.Rk),b=`${g}-item-explain`,[,h]=j(g),v=(0,l.useMemo)(()=>(0,s.Z)(g),[g]),$=u(a),y=u(d),x=l.useMemo(()=>null!=t?[k(t,"help",n)]:[].concat((0,r.Z)($.map((e,t)=>k(e,"error","error",t))),(0,r.Z)(y.map((e,t)=>k(e,"warning","warning",t)))),[t,n,$,y]),w={};return p&&(w.id=`${p}_help`),l.createElement(o.ZP,{motionDeadline:v.motionDeadline,motionName:`${g}-show-help`,visible:!!x.length,onVisibleChanged:f},e=>{let{className:t,style:n}=e;return l.createElement("div",Object.assign({},w,{className:i()(b,t,m,h),style:n,role:"alert"}),l.createElement(o.V4,Object.assign({keys:x},(0,s.Z)(g),{motionName:`${g}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:a,style:o}=e;return l.createElement("div",{key:t,className:i()(a,{[`${b}-${r}`]:r}),style:o},n)}))})},Z=n(43589),M=n(53124),R=n(98866),z=n(97647),T=n(98675);let D=e=>"object"==typeof e&&null!=e&&1===e.nodeType,W=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,P=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&o=t&&l>=n?i-e-r:o>t&&ln?o-t+a:0,H=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},F=(e,t)=>{var n,r,a,i;if("undefined"==typeof document)return[];let{scrollMode:o,block:l,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!D(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,p=[],f=e;for(;D(f)&&d(f);){if((f=H(f))===m){p.push(f);break}null!=f&&f===document.body&&P(f)&&!P(document.documentElement)||null!=f&&P(f,u)&&p.push(f)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,b=null!=(i=null==(a=window.visualViewport)?void 0:a.height)?i:innerHeight,{scrollX:h,scrollY:v}=window,{height:$,width:y,top:x,right:w,bottom:E,left:S}=e.getBoundingClientRect(),O="start"===l||"nearest"===l?x:"end"===l?E:x+$/2,N="center"===s?S+y/2:"end"===s?w:S,j=[];for(let e=0;e=0&&S>=0&&E<=b&&w<=g&&x>=a&&E<=c&&S>=u&&w<=i)break;let d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),C=parseInt(d.borderTopWidth,10),k=parseInt(d.borderRightWidth,10),I=parseInt(d.borderBottomWidth,10),Z=0,M=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-k:0,z="offsetHeight"in t?t.offsetHeight-t.clientHeight-C-I:0,T="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,D="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(m===t)Z="start"===l?O:"end"===l?O-b:"nearest"===l?B(v,v+b,b,C,I,v+O,v+O+$,$):O-b/2,M="start"===s?N:"center"===s?N-g/2:"end"===s?N-g:B(h,h+g,g,f,k,h+N,h+N+y,y),Z=Math.max(0,Z+v),M=Math.max(0,M+h);else{Z="start"===l?O-a-C:"end"===l?O-c+I+z:"nearest"===l?B(a,c,n,C,I+z,O,O+$,$):O-(a+n/2)+z/2,M="start"===s?N-u-f:"center"===s?N-(u+r/2)+R/2:"end"===s?N-i+k+R:B(u,i,r,f,k+R,N,N+y,y);let{scrollLeft:e,scrollTop:o}=t;Z=Math.max(0,Math.min(o+Z/D,t.scrollHeight-n/D+z)),M=Math.max(0,Math.min(e+M/T,t.scrollWidth-r/T+R)),O+=o-Z,N+=e-M}j.push({el:t,top:Z,left:M})}return j},A=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},_=["parentNode"];function L(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function q(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=_.includes(n);return r?`form_item_${n}`:n}function G(e){let t=L(e);return t.join("_")}function X(e){let[t]=(0,Z.cI)(),n=l.useRef({}),r=l.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=G(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=L(e),a=q(n,r.__INTERNAL__.name),i=a?document.getElementById(a):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(F(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:a,left:i}of F(e,A(t)))r.scroll({top:a,left:i,behavior:n})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=G(e);return n.current[t]}}),[e,t]);return[r]}var V=n(37920),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let U=l.forwardRef((e,t)=>{let n=l.useContext(R.Z),{getPrefixCls:r,direction:a,form:o}=l.useContext(M.E_),{prefixCls:s,className:u,rootClassName:d,size:m,disabled:p=n,form:f,colon:g,labelAlign:b,labelWrap:h,labelCol:v,wrapperCol:$,hideRequiredMark:y,layout:x="horizontal",scrollToFirstError:w,requiredMark:E,onFinishFailed:S,name:O,style:N}=e,C=K(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),k=(0,T.Z)(m),I=l.useContext(V.Z),D=(0,l.useMemo)(()=>void 0!==E?E:o&&void 0!==o.requiredMark?o.requiredMark:!y,[y,E,o]),W=null!=g?g:null==o?void 0:o.colon,P=r("form",s),[B,H]=j(P),F=i()(P,`${P}-${x}`,{[`${P}-hide-required-mark`]:!1===D,[`${P}-rtl`]:"rtl"===a,[`${P}-${k}`]:k},H,null==o?void 0:o.className,u,d),[A]=X(f),{__INTERNAL__:_}=A;_.name=O;let L=(0,l.useMemo)(()=>({name:O,labelAlign:b,labelCol:v,labelWrap:h,wrapperCol:$,vertical:"vertical"===x,colon:W,requiredMark:D,itemRef:_.itemRef,form:A}),[O,b,v,$,x,W,D,A]);l.useImperativeHandle(t,()=>A);let q=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),A.scrollToField(t,n)}};return B(l.createElement(R.n,{disabled:p},l.createElement(z.q,{size:k},l.createElement(c.RV,{validateMessages:I},l.createElement(c.q3.Provider,{value:L},l.createElement(Z.ZP,Object.assign({id:O},C,{name:O,onFinishFailed:e=>{if(null==S||S(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==w){q(w,t);return}o&&void 0!==o.scrollToFirstError&&q(o.scrollToFirstError,t)}},form:A,style:Object.assign(Object.assign({},null==o?void 0:o.style),N),className:F})))))))});var Y=n(30470),Q=n(42550),J=n(96159);let ee=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,l.useContext)(c.aM);return{status:e,errors:t,warnings:n}};ee.Context=c.aM;var et=n(75164),en=n(89739),er=n(4340),ea=n(21640),ei=n(50888),eo=n(8410),el=n(5110),es=n(98423),ec=n(31808),eu=()=>{let[e,t]=l.useState(!1);return l.useEffect(()=>{t((0,ec.fk)())},[]),e},ed=n(74443);let em=(0,l.createContext)({}),ep=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},ef=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},eg=(e,t)=>{let{componentCls:n,gridColumns:r}=e,a={};for(let e=r;e>=0;e--)0===e?(a[`${n}${t}-${e}`]={display:"none"},a[`${n}-push-${e}`]={insetInlineStart:"auto"},a[`${n}-pull-${e}`]={insetInlineEnd:"auto"},a[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},a[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},a[`${n}${t}-offset-${e}`]={marginInlineStart:0},a[`${n}${t}-order-${e}`]={order:0}):(a[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],a[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},a[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},a[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},a[`${n}${t}-order-${e}`]={order:e});return a},eb=(e,t)=>eg(e,t),eh=(e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},eb(e,n))}),ev=(0,g.Z)("Grid",e=>[ep(e)]),e$=(0,g.Z)("Grid",e=>{let t=(0,f.TS)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[ef(t),eb(t,""),eb(t,"-xs"),Object.keys(n).map(e=>eh(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]});var ey=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function ex(e,t){let[n,r]=l.useState("string"==typeof e?e:""),a=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{a()},[JSON.stringify(e),t]),n}let ew=l.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:a,className:o,style:s,children:c,gutter:u=0,wrap:d}=e,m=ey(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:f}=l.useContext(M.E_),[g,b]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,v]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),$=ex(a,h),y=ex(r,h),x=eu(),w=l.useRef(u),E=(0,ed.Z)();l.useEffect(()=>{let e=E.subscribe(e=>{v(e);let t=w.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>E.unsubscribe(e)},[]);let S=p("row",n),[O,N]=ev(S),j=(()=>{let e=[void 0,void 0],t=Array.isArray(u)?u:[u,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(j[0]/2):void 0,Z=null!=j[1]&&j[1]>0?-(j[1]/2):void 0;I&&(k.marginLeft=I,k.marginRight=I),x?[,k.rowGap]=j:Z&&(k.marginTop=Z,k.marginBottom=Z);let[R,z]=j,T=l.useMemo(()=>({gutter:[R,z],wrap:d,supportFlexGap:x}),[R,z,d,x]);return O(l.createElement(em.Provider,{value:T},l.createElement("div",Object.assign({},m,{className:C,style:Object.assign(Object.assign({},k),s),ref:t}),c)))});var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let eS=["xs","sm","md","lg","xl","xxl"],eO=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=l.useContext(M.E_),{gutter:a,wrap:o,supportFlexGap:s}=l.useContext(em),{prefixCls:c,span:u,order:d,offset:m,push:p,pull:f,className:g,children:b,flex:h,style:v}=e,$=eE(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",c),[x,w]=e$(y),E={};eS.forEach(t=>{let n={},a=e[t];"number"==typeof a?n.span=a:"object"==typeof a&&(n=a||{}),delete $[t],E=Object.assign(Object.assign({},E),{[`${y}-${t}-${n.span}`]:void 0!==n.span,[`${y}-${t}-order-${n.order}`]:n.order||0===n.order,[`${y}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${y}-${t}-push-${n.push}`]:n.push||0===n.push,[`${y}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${y}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${y}-rtl`]:"rtl"===r})});let S=i()(y,{[`${y}-${u}`]:void 0!==u,[`${y}-order-${d}`]:d,[`${y}-offset-${m}`]:m,[`${y}-push-${p}`]:p,[`${y}-pull-${f}`]:f},g,E,w),O={};if(a&&a[0]>0){let e=a[0]/2;O.paddingLeft=e,O.paddingRight=e}if(a&&a[1]>0&&!s){let e=a[1]/2;O.paddingTop=e,O.paddingBottom=e}return h&&(O.flex="number"==typeof h?`${h} ${h} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(h)?`0 0 ${h}`:h,!1!==o||O.minWidth||(O.minWidth=0)),x(l.createElement("div",Object.assign({},$,{style:Object.assign(Object.assign({},O),v),className:S,ref:t}),b))}),eN=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var ej=(0,g.b)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t,r=N(e,n);return[eN(r)]}),eC=e=>{let{prefixCls:t,status:n,wrapperCol:r,children:a,errors:o,warnings:s,_internalItemRender:u,extra:d,help:m,fieldId:p,marginBottom:f,onErrorVisibleChanged:g}=e,b=`${t}-item`,h=l.useContext(c.q3),v=r||h.wrapperCol||{},$=i()(`${b}-control`,v.className),y=l.useMemo(()=>Object.assign({},h),[h]);delete y.labelCol,delete y.wrapperCol;let x=l.createElement("div",{className:`${b}-control-input`},l.createElement("div",{className:`${b}-control-input-content`},a)),w=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),E=null!==f||o.length||s.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(c.Rk.Provider,{value:w},l.createElement(I,{fieldId:p,errors:o,warnings:s,help:m,helpStatus:n,className:`${b}-explain-connected`,onVisibleChanged:g})),!!f&&l.createElement("div",{style:{width:0,height:f}})):null,S={};p&&(S.id=`${p}_extra`);let O=d?l.createElement("div",Object.assign({},S,{className:`${b}-extra`}),d):null,N=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:E,extra:O}):l.createElement(l.Fragment,null,x,E,O);return l.createElement(c.q3.Provider,{value:y},l.createElement(eO,Object.assign({},v,{className:$}),N),l.createElement(ej,{prefixCls:t}))},ek=n(87462),eI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},eZ=n(42135),eM=l.forwardRef(function(e,t){return l.createElement(eZ.Z,(0,ek.Z)({},e,{ref:t,icon:eI}))}),eR=n(88526),ez=n(10110),eT=n(94139),eD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},eW=e=>{var t;let{prefixCls:n,label:r,htmlFor:a,labelCol:o,labelAlign:s,colon:u,required:d,requiredMark:m,tooltip:p}=e,[f]=(0,ez.Z)("Form"),{vertical:g,labelAlign:b,labelCol:h,labelWrap:v,colon:$}=l.useContext(c.q3);if(!r)return null;let y=o||h||{},x=`${n}-item-label`,w=i()(x,"left"===(s||b)&&`${x}-left`,y.className,{[`${x}-wrap`]:!!v}),E=r,S=!0===u||!1!==$&&!1!==u;S&&!g&&"string"==typeof r&&""!==r.trim()&&(E=r.replace(/[:|:]\s*$/,""));let O=p?"object"!=typeof p||l.isValidElement(p)?{title:p}:p:null;if(O){let{icon:e=l.createElement(eM,null)}=O,t=eD(O,["icon"]),r=l.createElement(eT.Z,Object.assign({},t),l.cloneElement(e,{className:`${n}-item-tooltip`,title:""}));E=l.createElement(l.Fragment,null,E,r)}"optional"!==m||d||(E=l.createElement(l.Fragment,null,E,l.createElement("span",{className:`${n}-item-optional`,title:""},(null==f?void 0:f.optional)||(null===(t=eR.Z.Form)||void 0===t?void 0:t.optional))));let N=i()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:"optional"===m,[`${n}-item-no-colon`]:!S});return l.createElement(eO,Object.assign({},y,{className:w}),l.createElement("label",{htmlFor:a,className:N,title:"string"==typeof r?r:""},E))},eP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let eB={success:en.Z,warning:ea.Z,error:er.Z,validating:ei.Z};function eH(e){let{prefixCls:t,className:n,rootClassName:r,style:a,help:o,errors:s,warnings:d,validateStatus:m,meta:p,hasFeedback:f,hidden:g,children:b,fieldId:h,required:v,isRequired:$,onSubItemMetaChange:y}=e,x=eP(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),w=`${t}-item`,{requiredMark:E}=l.useContext(c.q3),S=l.useRef(null),O=u(s),N=u(d),j=null!=o,C=!!(j||s.length||d.length),k=!!S.current&&(0,el.Z)(S.current),[I,Z]=l.useState(null);(0,eo.Z)(()=>{if(C&&S.current){let e=getComputedStyle(S.current);Z(parseInt(e.marginBottom,10))}},[C,k]);let M=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="",n=e?O:p.errors,r=e?N:p.warnings;return void 0!==m?t=m:p.validating?t="validating":n.length?t="error":r.length?t="warning":(p.touched||f&&p.validated)&&(t="success"),t}(),R=l.useMemo(()=>{let e;if(f){let t=M&&eB[M];e=t?l.createElement("span",{className:i()(`${w}-feedback-icon`,`${w}-feedback-icon-${M}`)},l.createElement(t,null)):null}return{status:M,errors:s,warnings:d,hasFeedback:f,feedbackIcon:e,isFormItemInput:!0}},[M,f]),z=i()(w,n,r,{[`${w}-with-help`]:j||O.length||N.length,[`${w}-has-feedback`]:M&&f,[`${w}-has-success`]:"success"===M,[`${w}-has-warning`]:"warning"===M,[`${w}-has-error`]:"error"===M,[`${w}-is-validating`]:"validating"===M,[`${w}-hidden`]:g});return l.createElement("div",{className:z,style:a,ref:S},l.createElement(ew,Object.assign({className:`${w}-row`},(0,es.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),l.createElement(eW,Object.assign({htmlFor:h},e,{requiredMark:E,required:null!=v?v:$,prefixCls:t})),l.createElement(eC,Object.assign({},e,p,{errors:O,warnings:N,prefixCls:t,status:M,help:o,marginBottom:I,onErrorVisibleChanged:e=>{e||Z(null)}}),l.createElement(c.qI.Provider,{value:y},l.createElement(c.aM.Provider,{value:R},b)))),!!I&&l.createElement("div",{className:`${w}-margin-offset`,style:{marginBottom:-I}}))}var eF=n(50344);let eA=l.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function e_(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eL=function(e){let{name:t,noStyle:n,className:a,dependencies:o,prefixCls:s,shouldUpdate:u,rules:d,children:m,required:p,label:f,messageVariables:g,trigger:b="onChange",validateTrigger:h,hidden:v,help:$}=e,{getPrefixCls:y}=l.useContext(M.E_),{name:x}=l.useContext(c.q3),w=function(e){if("function"==typeof e)return e;let t=(0,eF.Z)(e);return t.length<=1?t[0]:t}(m),E="function"==typeof w,S=l.useContext(c.qI),{validateTrigger:O}=l.useContext(Z.zb),N=void 0!==h?h:O,C=null!=t,k=y("form",s),[I,R]=j(k),z=l.useContext(Z.ZM),T=l.useRef(),[D,W]=function(e){let[t,n]=l.useState(e),r=(0,l.useRef)(null),a=(0,l.useRef)([]),i=(0,l.useRef)(!1);return l.useEffect(()=>(i.current=!1,()=>{i.current=!0,et.Z.cancel(r.current),r.current=null}),[]),[t,function(e){i.current||(null===r.current&&(a.current=[],r.current=(0,et.Z)(()=>{r.current=null,n(e=>{let t=e;return a.current.forEach(e=>{t=e(t)}),t})})),a.current.push(e))}]}({}),[P,B]=(0,Y.Z)(()=>e_()),H=(e,t)=>{W(n=>{let a=Object.assign({},n),i=[].concat((0,r.Z)(e.name.slice(0,-1)),(0,r.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete a[o]:a[o]=e,a})},[F,A]=l.useMemo(()=>{let e=(0,r.Z)(P.errors),t=(0,r.Z)(P.warnings);return Object.values(D).forEach(n=>{e.push.apply(e,(0,r.Z)(n.errors||[])),t.push.apply(t,(0,r.Z)(n.warnings||[]))}),[e,t]},[D,P.errors,P.warnings]),_=function(){let{itemRef:e}=l.useContext(c.q3),t=l.useRef({});return function(n,r){let a=r&&"object"==typeof r&&r.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=(0,Q.sQ)(e(n),a)),t.current.ref}}();function G(t,r,o){return n&&!v?t:l.createElement(eH,Object.assign({key:"row"},e,{className:i()(a,R),prefixCls:k,fieldId:r,isRequired:o,errors:F,warnings:A,meta:P,onSubItemMetaChange:H}),t)}if(!C&&!E&&!o)return I(G(w));let X={};return"string"==typeof f?X.label=f:t&&(X.label=String(t)),g&&(X=Object.assign(Object.assign({},X),g)),I(l.createElement(Z.gN,Object.assign({},e,{messageVariables:X,trigger:b,validateTrigger:N,onMetaChange:e=>{let t=null==z?void 0:z.getKey(e.name);if(B(e.destroy?e_():e,!0),n&&!1!==$&&S){let n=e.name;if(e.destroy)n=T.current||n;else if(void 0!==t){let[e,a]=t;n=[e].concat((0,r.Z)(a)),T.current=n}S(e,n)}}}),(n,a,i)=>{let s=L(t).length&&a?a.name:[],c=q(s,x),m=void 0!==p?p:!!(d&&d.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(i);return t&&t.required&&!t.warningOnly}return!1})),f=Object.assign({},n),g=null;if(Array.isArray(w)&&C)g=w;else if(E&&(!(u||o)||C));else if(!o||E||C){if((0,J.l$)(w)){let t=Object.assign(Object.assign({},w.props),f);if(t.id||(t.id=c),$||F.length>0||A.length>0||e.extra){let n=[];($||F.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}F.length>0&&(t["aria-invalid"]="true"),m&&(t["aria-required"]="true"),(0,Q.Yr)(w)&&(t.ref=_(s,w));let n=new Set([].concat((0,r.Z)(L(b)),(0,r.Z)(L(N))));n.forEach(e=>{t[e]=function(){for(var t,n,r,a=arguments.length,i=Array(a),o=0;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};U.Item=eL,U.List=e=>{var{prefixCls:t,children:n}=e,r=eq(e,["prefixCls","children"]);let{getPrefixCls:a}=l.useContext(M.E_),i=a("form",t),o=l.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return l.createElement(Z.aV,Object.assign({},r),(e,t,r)=>l.createElement(c.Rk.Provider,{value:o},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))},U.ErrorList=I,U.useForm=X,U.useFormInstance=function(){let{form:e}=(0,l.useContext)(c.q3);return e},U.useWatch=Z.qo,U.Provider=c.RV,U.create=()=>{};var eG=U},48928:function(e,t,n){n.d(t,{Z:function(){return es}});var r=n(80882),a=n(87462),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},l=n(42135),s=i.forwardRef(function(e,t){return i.createElement(l.Z,(0,a.Z)({},e,{ref:t,icon:o}))}),c=n(94184),u=n.n(c),d=n(4942),m=n(71002),p=n(97685),f=n(45987),g=n(15671),b=n(43144);function h(){return"function"==typeof BigInt}function v(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function $(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";"0"===i&&"0"===o&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(l).concat(r)}}function y(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function x(e){var t=String(e);if(y(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&E(t)?t.length-t.indexOf(".")-1:0}function w(e){var t=String(e);if(y(e)){if(e>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":$("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),O=function(){function e(t){if((0,g.Z)(this,e),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),v(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,b.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":w(this.number):this.origin}}]),e}();function N(e){return h()?new S(e):new O(e)}function j(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var a=$(e),i=a.negativeStr,o=a.integerStr,l=a.decimalStr,s="".concat(t).concat(l),c="".concat(i).concat(o);if(n>=0){var u=Number(l[n]);return u>=5&&!r?j(N(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?c:"".concat(c).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===s?c:"".concat(c).concat(s)}var C=n(67656),k=n(8410),I=n(42550),Z=n(80334),M=n(31131),R=function(){var e=(0,i.useState)(!1),t=(0,p.Z)(e,2),n=t[0],r=t[1];return(0,k.Z)(function(){r((0,M.Z)())},[]),n},z=n(75164);function T(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,l=e.downDisabled,s=e.onStep,c=i.useRef(),m=i.useRef([]),p=i.useRef();p.current=s;var f=function(){clearTimeout(c.current)},g=function(e,t){e.preventDefault(),f(),p.current(t),c.current=setTimeout(function e(){p.current(t),c.current=setTimeout(e,200)},600)};if(i.useEffect(function(){return function(){f(),m.current.forEach(function(e){return z.Z.cancel(e)})}},[]),R())return null;var b="".concat(t,"-handler"),h=u()(b,"".concat(b,"-up"),(0,d.Z)({},"".concat(b,"-up-disabled"),o)),v=u()(b,"".concat(b,"-down"),(0,d.Z)({},"".concat(b,"-down-disabled"),l)),$=function(){return m.current.push((0,z.Z)(f))},y={unselectable:"on",role:"button",onMouseUp:$,onMouseLeave:$};return i.createElement("div",{className:"".concat(b,"-wrap")},i.createElement("span",(0,a.Z)({},y,{onMouseDown:function(e){g(e,!0)},"aria-label":"Increase Value","aria-disabled":o,className:h}),n||i.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),i.createElement("span",(0,a.Z)({},y,{onMouseDown:function(e){g(e,!1)},"aria-label":"Decrease Value","aria-disabled":l,className:v}),r||i.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function D(e){var t="number"==typeof e?w(e):$(e).fullStr;return t.includes(".")?$(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var W=n(87887),P=function(){var e=(0,i.useRef)(0),t=function(){z.Z.cancel(e.current)};return(0,i.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,z.Z)(function(){n()})}},B=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],H=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],F=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},A=function(e){var t=N(e);return t.isInvalidate()?null:t},_=i.forwardRef(function(e,t){var n,r,o,l=e.prefixCls,s=void 0===l?"rc-input-number":l,c=e.className,g=e.style,b=e.min,h=e.max,v=e.step,$=void 0===v?1:v,y=e.defaultValue,S=e.value,O=e.disabled,C=e.readOnly,M=e.upHandler,R=e.downHandler,z=e.keyboard,W=e.controls,H=void 0===W||W,_=e.classNames,L=e.stringMode,q=e.parser,G=e.formatter,X=e.precision,V=e.decimalSeparator,K=e.onChange,U=e.onInput,Y=e.onPressEnter,Q=e.onStep,J=(0,f.Z)(e,B),ee="".concat(s,"-input"),et=i.useRef(null),en=i.useState(!1),er=(0,p.Z)(en,2),ea=er[0],ei=er[1],eo=i.useRef(!1),el=i.useRef(!1),es=i.useRef(!1),ec=i.useState(function(){return N(null!=S?S:y)}),eu=(0,p.Z)(ec,2),ed=eu[0],em=eu[1],ep=i.useCallback(function(e,t){return t?void 0:X>=0?X:Math.max(x(e),x($))},[X,$]),ef=i.useCallback(function(e){var t=String(e);if(q)return q(t);var n=t;return V&&(n=n.replace(V,".")),n.replace(/[^\w.-]+/g,"")},[q,V]),eg=i.useRef(""),eb=i.useCallback(function(e,t){if(G)return G(e,{userTyping:t,input:String(eg.current)});var n="number"==typeof e?w(e):e;if(!t){var r=ep(n,t);E(n)&&(V||r>=0)&&(n=j(n,V||".",r))}return n},[G,ep,V]),eh=i.useState(function(){var e=null!=y?y:S;return ed.isInvalidate()&&["string","number"].includes((0,m.Z)(e))?Number.isNaN(e)?"":e:eb(ed.toString(),!1)}),ev=(0,p.Z)(eh,2),e$=ev[0],ey=ev[1];function ex(e,t){ey(eb(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eg.current=e$;var ew=i.useMemo(function(){return A(h)},[h,X]),eE=i.useMemo(function(){return A(b)},[b,X]),eS=i.useMemo(function(){return!(!ew||!ed||ed.isInvalidate())&&ew.lessEquals(ed)},[ew,ed]),eO=i.useMemo(function(){return!(!eE||!ed||ed.isInvalidate())&&ed.lessEquals(eE)},[eE,ed]),eN=(n=et.current,r=(0,i.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,a=n.value,i=a.substring(0,e),o=a.substring(t);r.current={start:e,end:t,value:a,beforeTxt:i,afterTxt:o}}catch(e){}},function(){if(n&&r.current&&ea)try{var e=n.value,t=r.current,a=t.beforeTxt,i=t.afterTxt,o=t.start,l=e.length;if(e.endsWith(i))l=e.length-r.current.afterTxt.length;else if(e.startsWith(a))l=a.length;else{var s=a[o-1],c=e.indexOf(s,o-1);-1!==c&&(l=c+1)}n.setSelectionRange(l,l)}catch(e){(0,Z.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]),ej=(0,p.Z)(eN,2),eC=ej[0],ek=ej[1],eI=function(e){return ew&&!e.lessEquals(ew)?ew:eE&&!eE.lessEquals(e)?eE:null},eZ=function(e){return!eI(e)},eM=function(e,t){var n=e,r=eZ(n)||n.isEmpty();if(n.isEmpty()||t||(n=eI(n)||n,r=!0),!C&&!O&&r){var a,i=n.toString(),o=ep(i,t);return o>=0&&!eZ(n=N(j(i,".",o)))&&(n=N(j(i,".",o,!0))),n.equals(ed)||(a=n,void 0===S&&em(a),null==K||K(n.isEmpty()?null:F(L,n)),void 0===S&&ex(n,t)),n}return ed},eR=P(),ez=function e(t){if(eC(),eg.current=t,ey(t),!el.current){var n=N(ef(t));n.isNaN()||eM(n,!0)}null==U||U(t),eR(function(){var n=t;q||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eT=function(e){if((!e||!eS)&&(e||!eO)){eo.current=!1;var t,n=N(es.current?D($):$);e||(n=n.negate());var r=eM((ed||N(0)).add(n.toString()),!1);null==Q||Q(F(L,r),{offset:es.current?D($):$,type:e?"up":"down"}),null===(t=et.current)||void 0===t||t.focus()}},eD=function(e){var t=N(ef(e$)),n=t;n=t.isNaN()?eM(ed,e):eM(t,e),void 0!==S?ex(ed,!1):n.isNaN()||ex(n,!1)};return(0,k.o)(function(){ed.isInvalidate()||ex(ed,!1)},[X]),(0,k.o)(function(){var e=N(S);em(e);var t=N(ef(e$));e.equals(t)&&eo.current&&!G||ex(e,eo.current)},[S]),(0,k.o)(function(){G&&ek()},[e$]),i.createElement("div",{className:u()(s,null==_?void 0:_.input,c,(o={},(0,d.Z)(o,"".concat(s,"-focused"),ea),(0,d.Z)(o,"".concat(s,"-disabled"),O),(0,d.Z)(o,"".concat(s,"-readonly"),C),(0,d.Z)(o,"".concat(s,"-not-a-number"),ed.isNaN()),(0,d.Z)(o,"".concat(s,"-out-of-range"),!ed.isInvalidate()&&!eZ(ed)),o)),style:g,onFocus:function(){ei(!0)},onBlur:function(){eD(!1),ei(!1),eo.current=!1},onKeyDown:function(e){var t=e.key,n=e.shiftKey;eo.current=!0,es.current=n,"Enter"===t&&(el.current||(eo.current=!1),eD(!1),null==Y||Y(e)),!1!==z&&!el.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(eT("Up"===t||"ArrowUp"===t),e.preventDefault())},onKeyUp:function(){eo.current=!1,es.current=!1},onCompositionStart:function(){el.current=!0},onCompositionEnd:function(){el.current=!1,ez(et.current.value)},onBeforeInput:function(){eo.current=!0}},H&&i.createElement(T,{prefixCls:s,upNode:M,downNode:R,upDisabled:eS,downDisabled:eO,onStep:eT}),i.createElement("div",{className:"".concat(ee,"-wrap")},i.createElement("input",(0,a.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":b,"aria-valuemax":h,"aria-valuenow":ed.isInvalidate()?null:ed.toString(),step:$},J,{ref:(0,I.sQ)(et,t),className:ee,value:e$,onChange:function(e){ez(e.target.value)},disabled:O,readOnly:C}))))}),L=i.forwardRef(function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,l=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,m=e.classes,p=e.className,g=e.classNames,b=(0,f.Z)(e,H),h=i.useRef(null);return i.createElement(C.Q,{inputElement:i.createElement(_,(0,a.Z)({prefixCls:o,disabled:n,classNames:g,ref:(0,I.sQ)(h,t)},b)),className:p,triggerFocus:function(e){h.current&&(0,W.nH)(h.current,e)},prefixCls:o,value:l,disabled:n,style:r,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classes:m,classNames:g,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});L.displayName="InputNumber";var q=n(9708),G=n(53124),X=n(46735),V=n(98866),K=n(98675),U=n(65223),Y=n(4173),Q=n(47673),J=n(14747),ee=n(80110),et=n(67968);let en=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e,i="lg"===t?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},er=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorBorder:a,borderRadius:i,fontSizeLG:o,controlHeightLG:l,controlHeightSM:s,colorError:c,inputPaddingHorizontalSM:u,colorTextDescription:d,motionDurationMid:m,colorPrimary:p,inputPaddingHorizontal:f,inputPaddingVertical:g,colorBgContainer:b,colorTextDisabled:h,borderRadiusSM:v,borderRadiusLG:$,controlWidth:y,handleVisible:x}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.ik)(e)),(0,Q.bi)(e,t)),{display:"inline-block",width:y,margin:0,padding:0,border:`${n}px ${r} ${a}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,borderRadius:$,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:v,[`input${t}-input`]:{height:s-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},(0,Q.pU)(e)),"&-focused":Object.assign({},(0,Q.M1)(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.s7)(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:$,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:v}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},(0,Q.Xy)(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),{width:"100%",padding:`${g}px ${f}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Q.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:b,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:!0===x?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${m} linear ${m}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${a}`,transition:`all ${m} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{color:p}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,J.Ro)()),{color:d,transition:`all ${m} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${a}`,borderEndEndRadius:i}},en(e,"lg")),en(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + ${t}-handler-up-disabled, + ${t}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${t}-handler-up-disabled:hover &-handler-up-inner, + ${t}-handler-down-disabled:hover &-handler-down-inner + `]:{color:h}})},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},ea=e=>{let{componentCls:t,inputPaddingVertical:n,inputPaddingHorizontal:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Q.ik)(e)),(0,Q.bi)(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o},"&-sm":{borderRadius:l},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Q.pU)(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:a}}})}};var ei=(0,et.Z)("InputNumber",e=>{let t=(0,Q.e5)(e);return[er(t),ea(t),(0,ee.c)(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto"})),eo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let el=i.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a}=i.useContext(G.E_),o=i.useRef(null);i.useImperativeHandle(t,()=>o.current);let{className:l,rootClassName:c,size:d,disabled:m,prefixCls:p,addonBefore:f,addonAfter:g,prefix:b,bordered:h=!0,readOnly:v,status:$,controls:y}=e,x=eo(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),w=n("input-number",p),[E,S]=ei(w),{compactSize:O,compactItemClassnames:N}=(0,Y.ri)(w,a),j=i.createElement(s,{className:`${w}-handler-up-inner`}),C=i.createElement(r.Z,{className:`${w}-handler-down-inner`});"object"==typeof y&&(j=void 0===y.upIcon?j:i.createElement("span",{className:`${w}-handler-up-inner`},y.upIcon),C=void 0===y.downIcon?C:i.createElement("span",{className:`${w}-handler-down-inner`},y.downIcon));let{hasFeedback:k,status:I,isFormItemInput:Z,feedbackIcon:M}=i.useContext(U.aM),R=(0,q.F)(I,$),z=(0,K.Z)(e=>{var t;return null!==(t=null!=d?d:O)&&void 0!==t?t:e}),T=i.useContext(V.Z),D=null!=m?m:T,W=u()({[`${w}-lg`]:"large"===z,[`${w}-sm`]:"small"===z,[`${w}-rtl`]:"rtl"===a,[`${w}-borderless`]:!h,[`${w}-in-form-item`]:Z},(0,q.Z)(w,R),N,S),P=`${w}-group`,B=i.createElement(L,Object.assign({ref:o,disabled:D,className:u()(l,c),upHandler:j,downHandler:C,prefixCls:w,readOnly:v,controls:"boolean"==typeof y?y:void 0,prefix:b,suffix:k&&M,addonAfter:g&&i.createElement(Y.BR,null,i.createElement(U.Ux,{override:!0,status:!0},g)),addonBefore:f&&i.createElement(Y.BR,null,i.createElement(U.Ux,{override:!0,status:!0},f)),classNames:{input:W},classes:{affixWrapper:u()((0,q.Z)(`${w}-affix-wrapper`,R,k),{[`${w}-affix-wrapper-sm`]:"small"===z,[`${w}-affix-wrapper-lg`]:"large"===z,[`${w}-affix-wrapper-rtl`]:"rtl"===a,[`${w}-affix-wrapper-borderless`]:!h},S),wrapper:u()({[`${P}-rtl`]:"rtl"===a,[`${w}-wrapper-disabled`]:D},S),group:u()({[`${w}-group-wrapper-sm`]:"small"===z,[`${w}-group-wrapper-lg`]:"large"===z,[`${w}-group-wrapper-rtl`]:"rtl"===a},(0,q.Z)(`${w}-group-wrapper`,R,k),S)}},x));return E(B)});el._InternalPanelDoNotUseOrYouWillBeFired=e=>i.createElement(X.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},i.createElement(el,Object.assign({},e)));var es=el},33507:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/196-876de32c0e3c3c98.js b/pilot/server/static/_next/static/chunks/196-876de32c0e3c3c98.js deleted file mode 100644 index 47594c712..000000000 --- a/pilot/server/static/_next/static/chunks/196-876de32c0e3c3c98.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[196],{11196:function(n,t,e){"use strict";e.d(t,{Z:function(){return L}});var r,i=e(78466),o=e(86006),u=(r=o.useEffect,function(n,t){var e=(0,o.useRef)(!1);r(function(){return function(){e.current=!1}},[]),r(function(){if(e.current)return n();e.current=!0},t)}),a=function(n,t){var e=t.manual,r=t.ready,a=void 0===r||r,c=t.defaultParams,f=void 0===c?[]:c,l=t.refreshDeps,s=void 0===l?[]:l,v=t.refreshDepsAction,d=(0,o.useRef)(!1);return d.current=!1,u(function(){!e&&a&&(d.current=!0,n.run.apply(n,(0,i.ev)([],(0,i.CR)(f),!1)))},[a]),u(function(){!d.current&&(e||(d.current=!0,v?v():n.refresh()))},(0,i.ev)([],(0,i.CR)(s),!1)),{onBefore:function(){if(!a)return{stopNow:!0}}}};function c(n,t){var e=(0,o.useRef)({deps:t,obj:void 0,initialized:!1}).current;return(!1===e.initialized||!function(n,t){if(n===t)return!0;for(var e=0;e-1&&(o=setTimeout(function(){v.delete(n)},t)),v.set(n,(0,i.pi)((0,i.pi)({},e),{timer:o}))},p=new Map,h=function(n,t){p.set(n,t),t.then(function(t){return p.delete(n),t}).catch(function(){p.delete(n)})},y={},m=function(n,t){y[n]&&y[n].forEach(function(n){return n(t)})},g=function(n,t){return y[n]||(y[n]=[]),y[n].push(t),function(){var e=y[n].indexOf(t);y[n].splice(e,1)}},b=function(n,t){var e=t.cacheKey,r=t.cacheTime,u=void 0===r?3e5:r,a=t.staleTime,f=void 0===a?0:a,l=t.setCache,y=t.getCache,b=(0,o.useRef)(),w=(0,o.useRef)(),R=function(n,t){l?l(t):d(n,u,t),m(n,t.data)},x=function(n,t){return(void 0===t&&(t=[]),y)?y(t):v.get(n)};return(c(function(){if(e){var t=x(e);t&&Object.hasOwnProperty.call(t,"data")&&(n.state.data=t.data,n.state.params=t.params,(-1===f||new Date().getTime()-t.time<=f)&&(n.state.loading=!1)),b.current=g(e,function(t){n.setState({data:t})})}},[]),s(function(){var n;null===(n=b.current)||void 0===n||n.call(b)}),e)?{onBefore:function(n){var t=x(e,n);return t&&Object.hasOwnProperty.call(t,"data")?-1===f||new Date().getTime()-t.time<=f?{loading:!1,data:null==t?void 0:t.data,error:void 0,returnNow:!0}:{data:null==t?void 0:t.data,error:void 0}:{}},onRequest:function(n,t){var r=p.get(e);return r&&r!==w.current||(r=n.apply(void 0,(0,i.ev)([],(0,i.CR)(t),!1)),w.current=r,h(e,r)),{servicePromise:r}},onSuccess:function(t,r){var i;e&&(null===(i=b.current)||void 0===i||i.call(b),R(e,{data:t,params:r,time:new Date().getTime()}),b.current=g(e,function(t){n.setState({data:t})}))},onMutate:function(t){var r;e&&(null===(r=b.current)||void 0===r||r.call(b),R(e,{data:t,params:n.state.params,time:new Date().getTime()}),b.current=g(e,function(t){n.setState({data:t})}))}}:{}},w=e(56762),R=e.n(w),x=function(n,t){var e=t.debounceWait,r=t.debounceLeading,u=t.debounceTrailing,a=t.debounceMaxWait,c=(0,o.useRef)(),f=(0,o.useMemo)(function(){var n={};return void 0!==r&&(n.leading=r),void 0!==u&&(n.trailing=u),void 0!==a&&(n.maxWait=a),n},[r,u,a]);return((0,o.useEffect)(function(){if(e){var t=n.runAsync.bind(n);return c.current=R()(function(n){n()},e,f),n.runAsync=function(){for(var n=[],e=0;e-1&&E.splice(n,1)})}return function(){c()}},[e,u]),s(function(){c()}),{}},M=function(n,t){var e=t.retryInterval,r=t.retryCount,i=(0,o.useRef)(),u=(0,o.useRef)(0),a=(0,o.useRef)(!1);return r?{onBefore:function(){a.current||(u.current=0),a.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){u.current=0},onError:function(){if(u.current+=1,-1===r||u.current<=r){var t=null!=e?e:Math.min(1e3*Math.pow(2,u.current),3e4);i.current=setTimeout(function(){a.current=!0,n.refresh()},t)}else u.current=0},onCancel:function(){u.current=0,i.current&&clearTimeout(i.current)}}:{}},H=e(25832),k=e.n(H),B=function(n,t){var e=t.throttleWait,r=t.throttleLeading,u=t.throttleTrailing,a=(0,o.useRef)(),c={};return(void 0!==r&&(c.leading=r),void 0!==u&&(c.trailing=u),(0,o.useEffect)(function(){if(e){var t=n.runAsync.bind(n);return a.current=k()(function(n){n()},e,c),n.runAsync=function(){for(var n=[],e=0;e=t||e<0||y&&r>=l}function w(){var n,e,r,o=i();if(b(o))return R(o);v=setTimeout(w,(n=o-d,e=o-p,r=t-n,y?a(r,l-e):r))}function R(n){return(v=void 0,m&&c)?g(n):(c=f=void 0,s)}function x(){var n,e=i(),r=b(e);if(c=arguments,f=this,d=e,r){if(void 0===v)return p=n=d,v=setTimeout(w,t),h?g(n):s;if(y)return clearTimeout(v),v=setTimeout(w,t),g(d)}return void 0===v&&(v=setTimeout(w,t)),s}return t=o(t)||0,r(e)&&(h=!!e.leading,l=(y="maxWait"in e)?u(o(e.maxWait)||0,t):l,m="trailing"in e?!!e.trailing:m),x.cancel=function(){void 0!==v&&clearTimeout(v),p=0,c=d=f=v=void 0},x.flush=function(){return void 0===v?s:R(i())},x}},74331:function(n){n.exports=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}},60655:function(n){n.exports=function(n){return null!=n&&"object"==typeof n}},50246:function(n,t,e){var r=e(48276),i=e(60655);n.exports=function(n){return"symbol"==typeof n||i(n)&&"[object Symbol]"==r(n)}},49552:function(n,t,e){var r=e(41314);n.exports=function(){return r.Date.now()}},25832:function(n,t,e){var r=e(56762),i=e(74331);n.exports=function(n,t,e){var o=!0,u=!0;if("function"!=typeof n)throw TypeError("Expected a function");return i(e)&&(o="leading"in e?!!e.leading:o,u="trailing"in e?!!e.trailing:u),r(n,t,{leading:o,maxWait:t,trailing:u})}},64528:function(n,t,e){var r=e(84886),i=e(74331),o=e(50246),u=0/0,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,l=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(o(n))return u;if(i(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=i(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=r(n);var e=c.test(n);return e||f.test(n)?l(n.slice(2),e?2:8):a.test(n)?u:+n}},78466:function(n,t,e){"use strict";e.d(t,{CR:function(){return a},Jh:function(){return u},_T:function(){return i},ev:function(){return c},mG:function(){return o},pi:function(){return r}});var r=function(){return(r=Object.assign||function(n){for(var t,e=1,r=arguments.length;et.indexOf(r)&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(n);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]]);return e}function o(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.next(n))}catch(n){o(n)}}function a(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){var t;n.done?i(n.value):((t=n.value)instanceof e?t:new e(function(n){n(t)})).then(u,a)}c((r=r.apply(n,t||[])).next())})}function u(n,t){var e,r,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(e)throw TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(u=0)),u;)try{if(e=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(i=(i=u.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){u=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0)&&!(r=o.next()).done;)u.push(r.value)}catch(n){i={error:n}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return u}function c(n,t,e){if(e||2==arguments.length)for(var r,i=0,o=t.length;i1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function O(t){return E(parseFloat(t),0)}function C(t,e){var n=(0,o.Z)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)){var e=k(t).getComputedStyle(t),o=e.overflow,r=e.overflowClipMargin,i=e.borderTopWidth,a=e.borderBottomWidth,s=e.borderLeftWidth,l=e.borderRightWidth,c=t.getBoundingClientRect(),u=t.offsetHeight,f=t.clientHeight,p=t.offsetWidth,d=t.clientWidth,h=O(i),m=O(a),v=O(s),g=O(l),b=E(Math.round(c.width/p*1e3)/1e3),y=E(Math.round(c.height/u*1e3)/1e3),w=h*y,_=v*b,x=0,C=0;if("clip"===o){var Z=O(r);x=Z*b,C=Z*y}var M=c.x+_-x,R=c.y+w-C,A=M+c.width+2*x-_-g*b-(p-d-v-g)*b,S=R+c.height+2*C-w-m*y-(u-f-h-m)*y;n.left=Math.max(n.left,M),n.top=Math.max(n.top,R),n.right=Math.min(n.right,A),n.bottom=Math.min(n.bottom,S)}}),n}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(e),o=n.match(/^(.*)\%$/);return o?t*(parseFloat(o[1])/100):parseFloat(n)}function M(t,e){var n=(0,r.Z)(e||[],2),o=n[0],i=n[1];return[Z(t.width,o),Z(t.height,i)]}function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function A(t,e){var n,o=e[0],r=e[1];return n="t"===o?t.y:"b"===o?t.y+t.height:t.y+t.height/2,{x:"l"===r?t.x:"r"===r?t.x+t.width:t.x+t.width/2,y:n}}function S(t,e){var n={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,o){return o===e?n[t]||"c":t}).join("")}var $=n(74902);n(56790);var j=n(75164),T=n(87462),P=n(82225),N=n(42550);function L(t){var e=t.prefixCls,n=t.align,o=t.arrow,r=t.arrowPos,i=o||{},a=i.className,s=i.content,c=r.x,u=r.y,f=v.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],h=n.points[1],m=d[0],g=d[1],b=h[0],y=h[1];m!==b&&["t","b"].includes(m)?"t"===m?p.top=0:p.bottom=0:p.top=void 0===u?0:u,g!==y&&["l","r"].includes(g)?"l"===g?p.left=0:p.right=0:p.left=void 0===c?0:c}return v.createElement("div",{ref:f,className:l()("".concat(e,"-arrow"),a),style:p},s)}function z(t){var e=t.prefixCls,n=t.open,o=t.zIndex,r=t.mask,i=t.motion;return r?v.createElement(P.ZP,(0,T.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(t){var n=t.className;return v.createElement("div",{style:{zIndex:o},className:l()("".concat(e,"-mask"),n)})}):null}var B=v.memo(function(t){return t.children},function(t,e){return e.cache}),D=v.forwardRef(function(t,e){var n=t.popup,i=t.className,a=t.prefixCls,s=t.style,u=t.target,f=t.onVisibleChanged,p=t.open,d=t.keepDom,m=t.onClick,g=t.mask,b=t.arrow,y=t.arrowPos,w=t.align,_=t.motion,k=t.maskMotion,x=t.forceRender,E=t.getPopupContainer,O=t.autoDestroy,C=t.portal,Z=t.zIndex,M=t.onMouseEnter,R=t.onMouseLeave,A=t.onPointerEnter,S=t.ready,$=t.offsetX,j=t.offsetY,D=t.offsetR,V=t.offsetB,H=t.onAlign,X=t.onPrepare,W=t.stretch,I=t.targetWidth,Y=t.targetHeight,F="function"==typeof n?n():n,q=(null==E?void 0:E.length)>0,G=v.useState(!E||!q),Q=(0,r.Z)(G,2),U=Q[0],J=Q[1];if((0,h.Z)(function(){!U&&q&&u&&J(!0)},[U,q,u]),!U)return null;var K="auto",tt={left:"-1000vw",top:"-1000vh",right:K,bottom:K};if(S||!p){var te=w.points,tn=w._experimental,to=null==tn?void 0:tn.dynamicInset,tr=to&&"r"===te[0][1],ti=to&&"b"===te[0][0];tr?(tt.right=D,tt.left=K):(tt.left=$,tt.right=K),ti?(tt.bottom=V,tt.top=K):(tt.top=j,tt.bottom=K)}var ta={};return W&&(W.includes("height")&&Y?ta.height=Y:W.includes("minHeight")&&Y&&(ta.minHeight=Y),W.includes("width")&&I?ta.width=I:W.includes("minWidth")&&I&&(ta.minWidth=I)),p||(ta.pointerEvents="none"),v.createElement(C,{open:x||p||d,getContainer:E&&function(){return E(u)},autoDestroy:O},v.createElement(z,{prefixCls:a,open:p,zIndex:Z,mask:g,motion:k}),v.createElement(c.Z,{onResize:H,disabled:!p},function(t){return v.createElement(P.ZP,(0,T.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:x,leavedClassName:"".concat(a,"-hidden")},_,{onAppearPrepare:X,onEnterPrepare:X,visible:p,onVisibleChanged:function(t){var e;null==_||null===(e=_.onVisibleChanged)||void 0===e||e.call(_,t),f(t)}}),function(n,r){var c=n.className,u=n.style,f=l()(a,c,i);return v.createElement("div",{ref:(0,N.sQ)(t,e,r),className:f,style:(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},tt),ta),u),{},{boxSizing:"border-box",zIndex:Z},s),onMouseEnter:M,onMouseLeave:R,onPointerEnter:A,onClick:m},b&&v.createElement(L,{prefixCls:a,arrow:b,arrowPos:y,align:w}),v.createElement(B,{cache:!p},F))})}))}),V=v.forwardRef(function(t,e){var n=t.children,o=t.getTriggerDOMNode,r=(0,N.Yr)(n),i=v.useCallback(function(t){(0,N.mH)(e,o?o(t):t)},[o]),a=(0,N.x1)(i,n.ref);return r?v.cloneElement(n,{ref:a}):n}),H=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],X=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return v.forwardRef(function(e,n){var a,s,O,Z,T,P,N,L,z,B,X,W,I,Y,F,q,G,Q=e.prefixCls,U=void 0===Q?"rc-trigger-popup":Q,J=e.children,K=e.action,tt=e.showAction,te=e.hideAction,tn=e.popupVisible,to=e.defaultPopupVisible,tr=e.onPopupVisibleChange,ti=e.afterPopupVisibleChange,ta=e.mouseEnterDelay,ts=e.mouseLeaveDelay,tl=void 0===ts?.1:ts,tc=e.focusDelay,tu=e.blurDelay,tf=e.mask,tp=e.maskClosable,td=e.getPopupContainer,th=e.forceRender,tm=e.autoDestroy,tv=e.destroyPopupOnHide,tg=e.popup,tb=e.popupClassName,ty=e.popupStyle,tw=e.popupPlacement,t_=e.builtinPlacements,tk=void 0===t_?{}:t_,tx=e.popupAlign,tE=e.zIndex,tO=e.stretch,tC=e.getPopupClassNameFromAlign,tZ=e.alignPoint,tM=e.onPopupClick,tR=e.onPopupAlign,tA=e.arrow,tS=e.popupMotion,t$=e.maskMotion,tj=e.popupTransitionName,tT=e.popupAnimation,tP=e.maskTransitionName,tN=e.maskAnimation,tL=e.className,tz=e.getTriggerDOMNode,tB=(0,i.Z)(e,H),tD=v.useState(!1),tV=(0,r.Z)(tD,2),tH=tV[0],tX=tV[1];(0,h.Z)(function(){tX((0,m.Z)())},[]);var tW=v.useRef({}),tI=v.useContext(b),tY=v.useMemo(function(){return{registerSubPopup:function(t,e){tW.current[t]=e,null==tI||tI.registerSubPopup(t,e)}}},[tI]),tF=(0,d.Z)(),tq=v.useState(null),tG=(0,r.Z)(tq,2),tQ=tG[0],tU=tG[1],tJ=(0,p.Z)(function(t){(0,u.S)(t)&&tQ!==t&&tU(t),null==tI||tI.registerSubPopup(tF,t)}),tK=v.useState(null),t0=(0,r.Z)(tK,2),t1=t0[0],t2=t0[1],t4=(0,p.Z)(function(t){(0,u.S)(t)&&t1!==t&&t2(t)}),t3=v.Children.only(J),t5=(null==t3?void 0:t3.props)||{},t7={},t6=(0,p.Z)(function(t){var e,n;return(null==t1?void 0:t1.contains(t))||(null===(e=(0,f.A)(t1))||void 0===e?void 0:e.host)===t||t===t1||(null==tQ?void 0:tQ.contains(t))||(null===(n=(0,f.A)(tQ))||void 0===n?void 0:n.host)===t||t===tQ||Object.values(tW.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t8=_(U,tS,tT,tj),t9=_(U,t$,tN,tP),et=v.useState(to||!1),ee=(0,r.Z)(et,2),en=ee[0],eo=ee[1],er=null!=tn?tn:en,ei=(0,p.Z)(function(t){void 0===tn&&eo(t)});(0,h.Z)(function(){eo(tn||!1)},[tn]);var ea=v.useRef(er);ea.current=er;var es=(0,p.Z)(function(t){(0,g.flushSync)(function(){er!==t&&(ei(t),null==tr||tr(t))})}),el=v.useRef(),ec=function(){clearTimeout(el.current)},eu=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ec(),0===e?es(t):el.current=setTimeout(function(){es(t)},1e3*e)};v.useEffect(function(){return ec},[]);var ef=v.useState(!1),ep=(0,r.Z)(ef,2),ed=ep[0],eh=ep[1];(0,h.Z)(function(t){(!t||er)&&eh(!0)},[er]);var em=v.useState(null),ev=(0,r.Z)(em,2),eg=ev[0],eb=ev[1],ey=v.useState([0,0]),ew=(0,r.Z)(ey,2),e_=ew[0],ek=ew[1],ex=function(t){ek([t.clientX,t.clientY])},eE=(a=tZ?e_:t1,s=v.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:tk[tw]||{}}),Z=(O=(0,r.Z)(s,2))[0],T=O[1],P=v.useRef(0),N=v.useMemo(function(){return tQ?x(tQ):[]},[tQ]),L=v.useRef({}),er||(L.current={}),z=(0,p.Z)(function(){if(tQ&&a&&er){var t,e,n,i,s,l,c,f=tQ.ownerDocument,p=k(tQ).getComputedStyle(tQ),d=p.width,h=p.height,m=p.position,v=tQ.style.left,g=tQ.style.top,b=tQ.style.right,y=tQ.style.bottom,_=(0,o.Z)((0,o.Z)({},tk[tw]),tx),x=f.createElement("div");if(null===(t=tQ.parentElement)||void 0===t||t.appendChild(x),x.style.left="".concat(tQ.offsetLeft,"px"),x.style.top="".concat(tQ.offsetTop,"px"),x.style.position=m,x.style.height="".concat(tQ.offsetHeight,"px"),x.style.width="".concat(tQ.offsetWidth,"px"),tQ.style.left="0",tQ.style.top="0",tQ.style.right="auto",tQ.style.bottom="auto",Array.isArray(a))n={x:a[0],y:a[1],width:0,height:0};else{var O=a.getBoundingClientRect();n={x:O.x,y:O.y,width:O.width,height:O.height}}var Z=tQ.getBoundingClientRect(),$=f.documentElement,j=$.clientWidth,P=$.clientHeight,z=$.scrollWidth,B=$.scrollHeight,D=$.scrollTop,V=$.scrollLeft,H=Z.height,X=Z.width,W=n.height,I=n.width,Y=_.htmlRegion,F="visible",q="visibleFirst";"scroll"!==Y&&Y!==q&&(Y=F);var G=Y===q,Q=C({left:-V,top:-D,right:z-V,bottom:B-D},N),U=C({left:0,top:0,right:j,bottom:P},N),J=Y===F?U:Q,K=G?U:J;tQ.style.left="auto",tQ.style.top="auto",tQ.style.right="0",tQ.style.bottom="0";var tt=tQ.getBoundingClientRect();tQ.style.left=v,tQ.style.top=g,tQ.style.right=b,tQ.style.bottom=y,null===(e=tQ.parentElement)||void 0===e||e.removeChild(x);var te=E(Math.round(X/parseFloat(d)*1e3)/1e3),tn=E(Math.round(H/parseFloat(h)*1e3)/1e3);if(!(0===te||0===tn||(0,u.S)(a)&&!(0,w.Z)(a))){var to=_.offset,tr=_.targetOffset,ti=M(Z,to),ta=(0,r.Z)(ti,2),ts=ta[0],tl=ta[1],tc=M(n,tr),tu=(0,r.Z)(tc,2),tf=tu[0],tp=tu[1];n.x-=tf,n.y-=tp;var td=_.points||[],th=(0,r.Z)(td,2),tm=th[0],tv=R(th[1]),tg=R(tm),tb=A(n,tv),ty=A(Z,tg),t_=(0,o.Z)({},_),tE=tb.x-ty.x+ts,tO=tb.y-ty.y+tl,tC=et(tE,tO),tZ=et(tE,tO,U),tM=A(n,["t","l"]),tA=A(Z,["t","l"]),tS=A(n,["b","r"]),t$=A(Z,["b","r"]),tj=_.overflow||{},tT=tj.adjustX,tP=tj.adjustY,tN=tj.shiftX,tL=tj.shiftY,tz=function(t){return"boolean"==typeof t?t:t>=0};ee();var tB=tz(tP),tD=tg[0]===tv[0];if(tB&&"t"===tg[0]&&(s>K.bottom||L.current.bt)){var tV=tO;tD?tV-=H-W:tV=tM.y-t$.y-tl;var tH=et(tE,tV),tX=et(tE,tV,U);tH>tC||tH===tC&&(!G||tX>=tZ)?(L.current.bt=!0,tO=tV,tl=-tl,t_.points=[S(tg,0),S(tv,0)]):L.current.bt=!1}if(tB&&"b"===tg[0]&&(itC||tI===tC&&(!G||tY>=tZ)?(L.current.tb=!0,tO=tW,tl=-tl,t_.points=[S(tg,0),S(tv,0)]):L.current.tb=!1}var tF=tz(tT),tq=tg[1]===tv[1];if(tF&&"l"===tg[1]&&(c>K.right||L.current.rl)){var tG=tE;tq?tG-=X-I:tG=tM.x-t$.x-ts;var tU=et(tG,tO),tJ=et(tG,tO,U);tU>tC||tU===tC&&(!G||tJ>=tZ)?(L.current.rl=!0,tE=tG,ts=-ts,t_.points=[S(tg,1),S(tv,1)]):L.current.rl=!1}if(tF&&"r"===tg[1]&&(ltC||t0===tC&&(!G||t1>=tZ)?(L.current.lr=!0,tE=tK,ts=-ts,t_.points=[S(tg,1),S(tv,1)]):L.current.lr=!1}ee();var t2=!0===tN?0:tN;"number"==typeof t2&&(lU.right&&(tE-=c-U.right-ts,n.x>U.right-t2&&(tE+=n.x-U.right+t2)));var t4=!0===tL?0:tL;"number"==typeof t4&&(iU.bottom&&(tO-=s-U.bottom-tl,n.y>U.bottom-t4&&(tO+=n.y-U.bottom+t4)));var t3=Z.x+tE,t5=Z.y+tO,t7=n.x,t6=n.y;null==tR||tR(tQ,t_);var t8=tt.right-Z.x-(tE+Z.width),t9=tt.bottom-Z.y-(tO+Z.height);T({ready:!0,offsetX:tE/te,offsetY:tO/tn,offsetR:t8/te,offsetB:t9/tn,arrowX:((Math.max(t3,t7)+Math.min(t3+X,t7+I))/2-t3)/te,arrowY:((Math.max(t5,t6)+Math.min(t5+H,t6+W))/2-t5)/tn,scaleX:te,scaleY:tn,align:t_})}function et(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J,o=Z.x+t,r=Z.y+e,i=Math.max(o,n.left),a=Math.max(r,n.top);return Math.max(0,(Math.min(o+X,n.right)-i)*(Math.min(r+H,n.bottom)-a))}function ee(){s=(i=Z.y+tO)+H,c=(l=Z.x+tE)+X}}}),B=function(){T(function(t){return(0,o.Z)((0,o.Z)({},t),{},{ready:!1})})},(0,h.Z)(B,[tw]),(0,h.Z)(function(){er||B()},[er]),[Z.ready,Z.offsetX,Z.offsetY,Z.offsetR,Z.offsetB,Z.arrowX,Z.arrowY,Z.scaleX,Z.scaleY,Z.align,function(){P.current+=1;var t=P.current;Promise.resolve().then(function(){P.current===t&&z()})}]),eO=(0,r.Z)(eE,11),eC=eO[0],eZ=eO[1],eM=eO[2],eR=eO[3],eA=eO[4],eS=eO[5],e$=eO[6],ej=eO[7],eT=eO[8],eP=eO[9],eN=eO[10],eL=(X=void 0===K?"hover":K,v.useMemo(function(){var t=y(null!=tt?tt:X),e=y(null!=te?te:X),n=new Set(t),o=new Set(e);return tH&&(n.has("hover")&&(n.delete("hover"),n.add("click")),o.has("hover")&&(o.delete("hover"),o.add("click"))),[n,o]},[tH,X,tt,te])),ez=(0,r.Z)(eL,2),eB=ez[0],eD=ez[1],eV=eB.has("click"),eH=eD.has("click")||eD.has("contextMenu"),eX=(0,p.Z)(function(){ed||eN()});W=function(){ea.current&&tZ&&eH&&eu(!1)},(0,h.Z)(function(){if(er&&t1&&tQ){var t=x(t1),e=x(tQ),n=k(tQ),o=new Set([n].concat((0,$.Z)(t),(0,$.Z)(e)));function r(){eX(),W()}return o.forEach(function(t){t.addEventListener("scroll",r,{passive:!0})}),n.addEventListener("resize",r,{passive:!0}),eX(),function(){o.forEach(function(t){t.removeEventListener("scroll",r),n.removeEventListener("resize",r)})}}},[er,t1,tQ]),(0,h.Z)(function(){eX()},[e_,tw]),(0,h.Z)(function(){er&&!(null!=tk&&tk[tw])&&eX()},[JSON.stringify(tx)]);var eW=v.useMemo(function(){var t=function(t,e,n,o){for(var r=n.points,i=Object.keys(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null===(s=t[l])||void 0===s?void 0:s.points,r,o))return"".concat(e,"-placement-").concat(l)}return""}(tk,U,eP,tZ);return l()(t,null==tC?void 0:tC(eP))},[eP,tC,tk,U,tZ]);v.useImperativeHandle(n,function(){return{forceAlign:eX}});var eI=v.useState(0),eY=(0,r.Z)(eI,2),eF=eY[0],eq=eY[1],eG=v.useState(0),eQ=(0,r.Z)(eG,2),eU=eQ[0],eJ=eQ[1],eK=function(){if(tO&&t1){var t=t1.getBoundingClientRect();eq(t.width),eJ(t.height)}};function e0(t,e,n,o){t7[t]=function(r){var i;null==o||o(r),eu(e,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l1?n-1:0),r=1;r1?n-1:0),r=1;r`${t}-inverse`);function a(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?[].concat((0,o.Z)(i),(0,o.Z)(r.i)).includes(t):r.i.includes(t)}},77786:function(t,e,n){n.d(e,{qN:function(){return r},ZP:function(){return a},fS:function(){return i}});let o=(t,e,n,o,r)=>{let i=t/2,a=1*n/Math.sqrt(2),s=i-n*(1-1/Math.sqrt(2)),l=i-e*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+e*(1/Math.sqrt(2)),u=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),f=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:t/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${f}px 100%, 50% ${f}px, ${2*i-f}px 100%, ${f}px 100%)`,`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${s} L ${l} ${c} A ${e} ${e} 0 0 1 ${2*i-l} ${c} L ${2*i-a} ${s} A ${n} ${n} 0 0 0 ${2*i-0} ${i} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${e}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},r=8;function i(t){let{contentRadius:e,limitVerticalRadius:n}=t,o=e>12?e+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:n?r:o}}function a(t,e){var n,r,a,s,l,c,u,f;let{componentCls:p,sizePopupArrow:d,borderRadiusXS:h,borderRadiusOuter:m,boxShadowPopoverArrow:v}=t,{colorBg:g,contentRadius:b=t.borderRadiusLG,limitVerticalRadius:y,arrowDistance:w=0,arrowPlacement:_={left:!0,right:!0,top:!0,bottom:!0}}=e,{dropdownArrowOffsetVertical:k,dropdownArrowOffset:x}=i({contentRadius:b,limitVerticalRadius:y});return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({[`${p}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},o(d,h,m,g,v)),{"&:before":{background:g}})]},(n=!!_.top,r={[`&-placement-top ${p}-arrow,&-placement-topLeft ${p}-arrow,&-placement-topRight ${p}-arrow`]:{bottom:w,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:x}},[`&-placement-topRight ${p}-arrow`]:{right:{_skip_check_:!0,value:x}}},n?r:{})),(a=!!_.bottom,s={[`&-placement-bottom ${p}-arrow,&-placement-bottomLeft ${p}-arrow,&-placement-bottomRight ${p}-arrow`]:{top:w,transform:"translateY(-100%)"},[`&-placement-bottom ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:x}},[`&-placement-bottomRight ${p}-arrow`]:{right:{_skip_check_:!0,value:x}}},a?s:{})),(l=!!_.left,c={[`&-placement-left ${p}-arrow,&-placement-leftTop ${p}-arrow,&-placement-leftBottom ${p}-arrow`]:{right:{_skip_check_:!0,value:w},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${p}-arrow`]:{top:k},[`&-placement-leftBottom ${p}-arrow`]:{bottom:k}},l?c:{})),(u=!!_.right,f={[`&-placement-right ${p}-arrow,&-placement-rightTop ${p}-arrow,&-placement-rightBottom ${p}-arrow`]:{left:{_skip_check_:!0,value:w},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${p}-arrow`]:{top:k},[`&-placement-rightBottom ${p}-arrow`]:{bottom:k}},u?f:{}))}}},8796:function(t,e,n){n.d(e,{i:function(){return o}});let o=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},98719:function(t,e,n){n.d(e,{Z:function(){return r}});var o=n(8796);function r(t,e){return o.i.reduce((n,o)=>{let r=t[`${o}1`],i=t[`${o}3`],a=t[`${o}6`],s=t[`${o}7`];return Object.assign(Object.assign({},n),e(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:s}))},{})}},94139:function(t,e,n){n.d(e,{Z:function(){return I}});var o=n(94184),r=n.n(o),i=n(92419),a=n(21770),s=n(67294),l=n(33603),c=n(77786);let u={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},f={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},p=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);var d=n(96159),h=n(53124),m=n(4173),v=n(23183),g=n(67164),b=n(2790),y=n(1393),w=n(25976),_=n(33083),k=n(372),x=n(98378),E=n(16397),O=n(57),C=n(10274);let Z=(t,e)=>new C.C(t).setAlpha(e).toRgbString(),M=(t,e)=>{let n=new C.C(t);return n.lighten(e).toHexString()},R=t=>{let e=(0,E.R_)(t,{theme:"dark"});return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[6],6:e[5],7:e[4],8:e[6],9:e[5],10:e[4]}},A=(t,e)=>{let n=t||"#000",o=e||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:Z(o,.85),colorTextSecondary:Z(o,.65),colorTextTertiary:Z(o,.45),colorTextQuaternary:Z(o,.25),colorFill:Z(o,.18),colorFillSecondary:Z(o,.12),colorFillTertiary:Z(o,.08),colorFillQuaternary:Z(o,.04),colorBgElevated:M(n,12),colorBgContainer:M(n,8),colorBgLayout:M(n,0),colorBgSpotlight:M(n,26),colorBorder:M(n,26),colorBorderSecondary:M(n,19)}};var S={defaultConfig:_.u_,defaultSeed:_.u_.token,useToken:function(){let[t,e,n]=(0,w.Z)();return{theme:t,token:e,hashId:n}},defaultAlgorithm:g.Z,darkAlgorithm:(t,e)=>{let n=Object.keys(b.M).map(e=>{let n=(0,E.R_)(t[e],{theme:"dark"});return Array(10).fill(1).reduce((t,o,r)=>(t[`${e}-${r+1}`]=n[r],t[`${e}${r+1}`]=n[r],t),{})}).reduce((t,e)=>t=Object.assign(Object.assign({},t),e),{}),o=null!=e?e:(0,g.Z)(t);return Object.assign(Object.assign(Object.assign({},o),n),(0,O.Z)(t,{generateColorPalettes:R,generateNeutralColorPalettes:A}))},compactAlgorithm:(t,e)=>{let n=null!=e?e:(0,g.Z)(t),o=n.fontSizeSM,r=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(t){let{sizeUnit:e,sizeStep:n}=t,o=n-2;return{sizeXXL:e*(o+10),sizeXL:e*(o+6),sizeLG:e*(o+2),sizeMD:e*(o+2),sizeMS:e*(o+1),size:e*o,sizeSM:e*o,sizeXS:e*(o-1),sizeXXS:e*(o-1)}}(null!=e?e:t)),(0,x.Z)(o)),{controlHeight:r}),(0,k.Z)(Object.assign(Object.assign({},n),{controlHeight:r})))},getDesignToken:t=>{let e=(null==t?void 0:t.algorithm)?(0,v.jG)(t.algorithm):(0,v.jG)(g.Z),n=Object.assign(Object.assign({},b.Z),null==t?void 0:t.token);return(0,v.t2)(n,{override:null==t?void 0:t.token},e,y.Z)}},$=n(14747),j=n(50438),T=n(98719),P=n(45503),N=n(67968);let L=t=>{let{componentCls:e,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:f,tooltipRadiusOuter:p}=t;return[{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$.Wf)(t)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${e}-inner`]:{minWidth:s,minHeight:s,padding:`${u/2}px ${f}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${e}-inner`]:{borderRadius:Math.min(i,c.qN)}},[`${e}-content`]:{position:"relative"}}),(0,T.Z)(t,(t,n)=>{let{darkColor:o}=n;return{[`&${e}-${t}`]:{[`${e}-inner`]:{backgroundColor:o},[`${e}-arrow`]:{"--antd-arrow-background-color":o}}}})),{"&-rtl":{direction:"rtl"}})},(0,c.ZP)((0,P.TS)(t,{borderRadiusOuter:p}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${e}-pure`]:{position:"relative",maxWidth:"none",margin:t.sizePopupArrow}}]};var z=(t,e)=>{let n=(0,N.Z)("Tooltip",t=>{if(!1===e)return[];let{borderRadius:n,colorTextLightSolid:o,colorBgDefault:r,borderRadiusOuter:i}=t,a=(0,P.TS)(t,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:n,tooltipBg:r,tooltipRadiusOuter:i>4?4:i});return[L(a),(0,j._y)(t,"zoom-big-fast")]},t=>{let{zIndexPopupBase:e,colorBgSpotlight:n}=t;return{zIndexPopup:e+70,colorBgDefault:n}},{resetStyle:!1});return n(t)},B=n(98787);function D(t,e){let n=(0,B.o2)(e),o=r()({[`${t}-${e}`]:e&&n}),i={},a={};return e&&!n&&(i.background=e,a["--antd-arrow-background-color"]=e),{className:o,overlayStyle:i,arrowStyle:a}}var V=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);re.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let{useToken:H}=S,X=(t,e)=>{let n={},o=Object.assign({},t);return e.forEach(e=>{t&&e in t&&(n[e]=t[e],delete o[e])}),{picked:n,omitted:o}},W=s.forwardRef((t,e)=>{var n,o;let{prefixCls:v,openClassName:g,getTooltipContainer:b,overlayClassName:y,color:w,overlayInnerStyle:_,children:k,afterOpenChange:x,afterVisibleChange:E,destroyTooltipOnHide:O,arrow:C=!0,title:Z,overlay:M,builtinPlacements:R,arrowPointAtCenter:A=!1,autoAdjustOverflow:S=!0}=t,$=!!C,{token:j}=H(),{getPopupContainer:T,getPrefixCls:P,direction:N}=s.useContext(h.E_),L=s.useRef(null),B=()=>{var t;null===(t=L.current)||void 0===t||t.forceAlign()};s.useImperativeHandle(e,()=>({forceAlign:B,forcePopupAlign:()=>{B()}}));let[W,I]=(0,a.Z)(!1,{value:null!==(n=t.open)&&void 0!==n?n:t.visible,defaultValue:null!==(o=t.defaultOpen)&&void 0!==o?o:t.defaultVisible}),Y=!Z&&!M&&0!==Z,F=s.useMemo(()=>{var t,e;let n=A;return"object"==typeof C&&(n=null!==(e=null!==(t=C.pointAtCenter)&&void 0!==t?t:C.arrowPointAtCenter)&&void 0!==e?e:A),R||function(t){let{arrowWidth:e,autoAdjustOverflow:n,arrowPointAtCenter:o,offset:r,borderRadius:i,visibleFirst:a}=t,s=e/2,l={};return Object.keys(u).forEach(t=>{let d=o&&f[t]||u[t],h=Object.assign(Object.assign({},d),{offset:[0,0]});switch(l[t]=h,p.has(t)&&(h.autoArrow=!1),t){case"top":case"topLeft":case"topRight":h.offset[1]=-s-r;break;case"bottom":case"bottomLeft":case"bottomRight":h.offset[1]=s+r;break;case"left":case"leftTop":case"leftBottom":h.offset[0]=-s-r;break;case"right":case"rightTop":case"rightBottom":h.offset[0]=s+r}let m=(0,c.fS)({contentRadius:i,limitVerticalRadius:!0});if(o)switch(t){case"topLeft":case"bottomLeft":h.offset[0]=-m.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":h.offset[0]=m.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":h.offset[1]=-m.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":h.offset[1]=m.dropdownArrowOffset+s}h.overflow=function(t,e,n,o){if(!1===o)return{adjustX:!1,adjustY:!1};let r=o&&"object"==typeof o?o:{},i={};switch(t){case"top":case"bottom":i.shiftX=2*e.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*e.dropdownArrowOffsetVertical+n}let a=Object.assign(Object.assign({},i),r);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(t,m,e,n),a&&(h.htmlRegion="visibleFirst")}),l}({arrowPointAtCenter:n,autoAdjustOverflow:S,arrowWidth:$?j.sizePopupArrow:0,borderRadius:j.borderRadius,offset:j.marginXXS,visibleFirst:!0})},[A,C,R,j]),q=s.useMemo(()=>0===Z?Z:M||Z||"",[M,Z]),G=s.createElement(m.BR,null,"function"==typeof q?q():q),{getPopupContainer:Q,placement:U="top",mouseEnterDelay:J=.1,mouseLeaveDelay:K=.1,overlayStyle:tt,rootClassName:te}=t,tn=V(t,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),to=P("tooltip",v),tr=P(),ti=t["data-popover-inject"],ta=W;"open"in t||"visible"in t||!Y||(ta=!1);let ts=function(t,e){let n=t.type;if((!0===n.__ANT_BUTTON||"button"===t.type)&&t.props.disabled||!0===n.__ANT_SWITCH&&(t.props.disabled||t.props.loading)||!0===n.__ANT_RADIO&&t.props.disabled){let{picked:n,omitted:o}=X(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),i=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:t.props.block?"100%":void 0}),a=Object.assign(Object.assign({},o),{pointerEvents:"none"}),l=(0,d.Tm)(t,{style:a,className:null});return s.createElement("span",{style:i,className:r()(t.props.className,`${e}-disabled-compatible-wrapper`)},l)}return t}((0,d.l$)(k)&&!(0,d.M2)(k)?k:s.createElement("span",null,k),to),tl=ts.props,tc=tl.className&&"string"!=typeof tl.className?tl.className:r()(tl.className,g||`${to}-open`),[tu,tf]=z(to,!ti),tp=D(to,w),td=tp.arrowStyle,th=Object.assign(Object.assign({},_),tp.overlayStyle),tm=r()(y,{[`${to}-rtl`]:"rtl"===N},tp.className,te,tf);return tu(s.createElement(i.Z,Object.assign({},tn,{showArrow:$,placement:U,mouseEnterDelay:J,mouseLeaveDelay:K,prefixCls:to,overlayClassName:tm,overlayStyle:Object.assign(Object.assign({},td),tt),getTooltipContainer:Q||b||T,ref:L,builtinPlacements:F,overlay:G,visible:ta,onVisibleChange:e=>{var n,o;I(!Y&&e),Y||(null===(n=t.onOpenChange)||void 0===n||n.call(t,e),null===(o=t.onVisibleChange)||void 0===o||o.call(t,e))},afterVisibleChange:null!=x?x:E,overlayInnerStyle:th,arrowContent:s.createElement("span",{className:`${to}-arrow-content`}),motion:{motionName:(0,l.m)(tr,"zoom-big-fast",t.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!O}),ta?(0,d.Tm)(ts,{className:tc}):ts))});W._InternalPanelDoNotUseOrYouWillBeFired=t=>{let{prefixCls:e,className:n,placement:o="top",title:a,color:l,overlayInnerStyle:c}=t,{getPrefixCls:u}=s.useContext(h.E_),f=u("tooltip",e),[p,d]=z(f,!0),m=D(f,l),v=m.arrowStyle,g=Object.assign(Object.assign({},c),m.overlayStyle),b=r()(d,f,`${f}-pure`,`${f}-placement-${o}`,n,m.className);return p(s.createElement("div",{className:b,style:v},s.createElement("div",{className:`${f}-arrow`}),s.createElement(i.G,Object.assign({},t,{className:d,prefixCls:f,overlayInnerStyle:g}),a)))};var I=W},9220:function(t,e,n){n.d(e,{Z:function(){return B}});var o=n(87462),r=n(67294),i=n(50344);n(80334);var a=n(1413),s=n(42550),l=n(34203),c=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,o){return t[0]===e&&(n=o,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),o=this.__entries__[n];return o&&o[1]},e.prototype.set=function(e,n){var o=t(this.__entries__,e);~o?this.__entries__[o][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,o=t(n,e);~o&&n.splice(o,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,o=this.__entries__;n0},t.prototype.connect_=function(){u&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){u&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;d.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),v=function(t,e){for(var n=0,o=Object.keys(e);n0},t}(),C="undefined"!=typeof WeakMap?new WeakMap:new c,Z=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=m.getInstance(),o=new O(e,n,this);C.set(this,o)};["observe","unobserve","disconnect"].forEach(function(t){Z.prototype[t]=function(){var e;return(e=C.get(this))[t].apply(e,arguments)}});var M=void 0!==f.ResizeObserver?f.ResizeObserver:Z,R=new Map,A=new M(function(t){t.forEach(function(t){var e,n=t.target;null===(e=R.get(n))||void 0===e||e.forEach(function(t){return t(n)})})}),S=n(15671),$=n(43144),j=n(32531),T=n(73568),P=function(t){(0,j.Z)(n,t);var e=(0,T.Z)(n);function n(){return(0,S.Z)(this,n),e.apply(this,arguments)}return(0,$.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component),N=r.createContext(null),L=r.forwardRef(function(t,e){var n=t.children,o=t.disabled,i=r.useRef(null),c=r.useRef(null),u=r.useContext(N),f="function"==typeof n,p=f?n(i):n,d=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!f&&r.isValidElement(p)&&(0,s.Yr)(p),m=h?p.ref:null,v=r.useMemo(function(){return(0,s.sQ)(m,i)},[m,i]),g=function(){return(0,l.Z)(i.current)||(0,l.Z)(c.current)};r.useImperativeHandle(e,function(){return g()});var b=r.useRef(t);b.current=t;var y=r.useCallback(function(t){var e=b.current,n=e.onResize,o=e.data,r=t.getBoundingClientRect(),i=r.width,s=r.height,l=t.offsetWidth,c=t.offsetHeight,f=Math.floor(i),p=Math.floor(s);if(d.current.width!==f||d.current.height!==p||d.current.offsetWidth!==l||d.current.offsetHeight!==c){var h={width:f,height:p,offsetWidth:l,offsetHeight:c};d.current=h;var m=l===Math.round(i)?i:l,v=c===Math.round(s)?s:c,g=(0,a.Z)((0,a.Z)({},h),{},{offsetWidth:m,offsetHeight:v});null==u||u(g,t,o),n&&Promise.resolve().then(function(){n(g,t)})}},[]);return r.useEffect(function(){var t=g();return t&&!o&&(R.has(t)||(R.set(t,new Set),A.observe(t)),R.get(t).add(y)),function(){R.has(t)&&(R.get(t).delete(y),R.get(t).size||(A.unobserve(t),R.delete(t)))}},[i.current,o]),r.createElement(P,{ref:c},h?r.cloneElement(p,{ref:v}):p)}),z=r.forwardRef(function(t,e){var n=t.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return r.createElement(L,(0,o.Z)({},t,{key:a,ref:0===i?e:void 0}),n)})});z.Collection=function(t){var e=t.children,n=t.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(N),s=r.useCallback(function(t,e,r){o.current+=1;var s=o.current;i.current.push({size:t,element:e,data:r}),Promise.resolve().then(function(){s===o.current&&(null==n||n(i.current),i.current=[])}),null==a||a(t,e,r)},[n,a]);return r.createElement(N.Provider,{value:s},e)};var B=z},92419:function(t,e,n){n.d(e,{G:function(){return h},Z:function(){return v}});var o=n(87462),r=n(1413),i=n(45987),a=n(40228),s=n(67294),l={shiftX:64,adjustY:1},c={adjustX:1,shiftY:!0},u=[0,0],f={left:{points:["cr","cl"],overflow:c,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:c,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:c,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:c,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:c,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:c,offset:[-4,0],targetOffset:u}},p=n(94184),d=n.n(p);function h(t){var e=t.children,n=t.prefixCls,o=t.id,r=t.overlayInnerStyle,i=t.className,a=t.style;return s.createElement("div",{className:d()("".concat(n,"-content"),i),style:a},s.createElement("div",{className:"".concat(n,"-inner"),id:o,role:"tooltip",style:r},"function"==typeof e?e():e))}var m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],v=(0,s.forwardRef)(function(t,e){var n=t.overlayClassName,l=t.trigger,c=t.mouseEnterDelay,u=t.mouseLeaveDelay,p=t.overlayStyle,d=t.prefixCls,v=void 0===d?"rc-tooltip":d,g=t.children,b=t.onVisibleChange,y=t.afterVisibleChange,w=t.transitionName,_=t.animation,k=t.motion,x=t.placement,E=t.align,O=t.destroyTooltipOnHide,C=t.defaultVisible,Z=t.getTooltipContainer,M=t.overlayInnerStyle,R=(t.arrowContent,t.overlay),A=t.id,S=t.showArrow,$=(0,i.Z)(t,m),j=(0,s.useRef)(null);(0,s.useImperativeHandle)(e,function(){return j.current});var T=(0,r.Z)({},$);return"visible"in t&&(T.popupVisible=t.visible),s.createElement(a.Z,(0,o.Z)({popupClassName:n,prefixCls:v,popup:function(){return s.createElement(h,{key:"content",prefixCls:v,id:A,overlayInnerStyle:M},R)},action:void 0===l?["hover"]:l,builtinPlacements:f,popupPlacement:void 0===x?"right":x,ref:j,popupAlign:void 0===E?{}:E,getPopupContainer:Z,onPopupVisibleChange:b,afterPopupVisibleChange:y,popupTransitionName:w,popupAnimation:_,popupMotion:k,defaultPopupVisible:C,autoDestroy:void 0!==O&&O,mouseLeaveDelay:void 0===u?.1:u,popupStyle:p,mouseEnterDelay:void 0===c?0:c,arrow:void 0===S||S},T),g)})},31131:function(t,e){e.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==t?void 0:t.substr(0,4))}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/230-62e75b5eb2fd3838.js b/pilot/server/static/_next/static/chunks/230-62e75b5eb2fd3838.js deleted file mode 100644 index f86aaf02b..000000000 --- a/pilot/server/static/_next/static/chunks/230-62e75b5eb2fd3838.js +++ /dev/null @@ -1,4 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[230],{73811:function(r,e,t){"use strict";t.d(e,{Z:function(){return l}});var n=t(40431),o=t(86006),i=t(21454),a=t(99179),s=t(50487);function l(r={}){let{disabled:e=!1,focusableWhenDisabled:t,href:l,rootRef:c,tabIndex:u,to:d,type:f}=r,g=o.useRef(),[p,v]=o.useState(!1),{isFocusVisibleRef:m,onFocus:h,onBlur:b,ref:Z}=(0,i.Z)(),[y,k]=o.useState(!1);e&&!t&&y&&k(!1),o.useEffect(()=>{m.current=y},[y,m]);let[x,C]=o.useState(""),z=r=>e=>{var t;y&&e.preventDefault(),null==(t=r.onMouseLeave)||t.call(r,e)},S=r=>e=>{var t;b(e),!1===m.current&&k(!1),null==(t=r.onBlur)||t.call(r,e)},P=r=>e=>{var t,n;g.current||(g.current=e.currentTarget),h(e),!0===m.current&&(k(!0),null==(n=r.onFocusVisible)||n.call(r,e)),null==(t=r.onFocus)||t.call(r,e)},T=()=>{let r=g.current;return"BUTTON"===x||"INPUT"===x&&["button","submit","reset"].includes(null==r?void 0:r.type)||"A"===x&&(null==r?void 0:r.href)},$=r=>t=>{if(!e){var n;null==(n=r.onClick)||n.call(r,t)}},I=r=>t=>{var n;e||(v(!0),document.addEventListener("mouseup",()=>{v(!1)},{once:!0})),null==(n=r.onMouseDown)||n.call(r,t)},w=r=>t=>{var n,o;null==(n=r.onKeyDown)||n.call(r,t),!t.defaultMuiPrevented&&(t.target!==t.currentTarget||T()||" "!==t.key||t.preventDefault(),t.target!==t.currentTarget||" "!==t.key||e||v(!0),t.target!==t.currentTarget||T()||"Enter"!==t.key||e||(null==(o=r.onClick)||o.call(r,t),t.preventDefault()))},_=r=>t=>{var n,o;t.target===t.currentTarget&&v(!1),null==(n=r.onKeyUp)||n.call(r,t),t.target!==t.currentTarget||T()||e||" "!==t.key||t.defaultMuiPrevented||null==(o=r.onClick)||o.call(r,t)},A=o.useCallback(r=>{var e;C(null!=(e=null==r?void 0:r.tagName)?e:"")},[]),B=(0,a.Z)(A,c,Z,g),R={};return"BUTTON"===x?(R.type=null!=f?f:"button",t?R["aria-disabled"]=e:R.disabled=e):""!==x&&(l||d||(R.role="button",R.tabIndex=null!=u?u:0),e&&(R["aria-disabled"]=e,R.tabIndex=t?null!=u?u:0:-1)),{getRootProps:(e={})=>{let t=(0,s.Z)(r),o=(0,n.Z)({},t,e);return delete o.onFocusVisible,(0,n.Z)({type:f},o,R,{onBlur:S(o),onClick:$(o),onFocus:P(o),onKeyDown:w(o),onKeyUp:_(o),onMouseDown:I(o),onMouseLeave:z(o),ref:B})},focusVisible:y,setFocusVisible:k,active:p,rootRef:B}}},76906:function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=t(16806)},53113:function(r,e,t){"use strict";var n=t(46750),o=t(40431),i=t(86006),a=t(73811),s=t(47562),l=t(53832),c=t(99179),u=t(50645),d=t(88930),f=t(47093),g=t(326),p=t(94244),v=t(77614),m=t(42858),h=t(9268);let b=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],Z=r=>{let{color:e,disabled:t,focusVisible:n,focusVisibleClassName:o,fullWidth:i,size:a,variant:c,loading:u}=r,d={root:["root",t&&"disabled",n&&"focusVisible",i&&"fullWidth",c&&`variant${(0,l.Z)(c)}`,e&&`color${(0,l.Z)(e)}`,a&&`size${(0,l.Z)(a)}`,u&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},f=(0,s.Z)(d,v.F,{});return n&&o&&(f.root+=` ${o}`),f},y=(0,u.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(r,e)=>e.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),k=(0,u.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(r,e)=>e.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),x=(0,u.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(r,e)=>e.loadingIndicatorCenter})(({theme:r,ownerState:e})=>{var t,n;return(0,o.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(t=r.variants[e.variant])||null==(t=t[e.color])?void 0:t.color},e.disabled&&{color:null==(n=r.variants[`${e.variant}Disabled`])||null==(n=n[e.color])?void 0:n.color})}),C=(0,u.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(r,e)=>e.root})(({theme:r,ownerState:e})=>{var t,n,i,a;return[(0,o.Z)({"--Icon-margin":"initial"},"sm"===e.size&&{"--Icon-fontSize":"1.25rem","--CircularProgress-size":"20px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:r.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===e.size&&{"--Icon-fontSize":"1.5rem","--CircularProgress-size":"24px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:r.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===e.size&&{"--Icon-fontSize":"1.75rem","--CircularProgress-size":"28px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:r.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${r.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:r.vars.fontFamily.body,fontWeight:r.vars.fontWeight.lg,lineHeight:1},e.fullWidth&&{width:"100%"},{[r.focus.selector]:r.focus.default}),null==(t=r.variants[e.variant])?void 0:t[e.color],{"&:hover":{"@media (hover: hover)":null==(n=r.variants[`${e.variant}Hover`])?void 0:n[e.color]}},{"&:active":null==(i=r.variants[`${e.variant}Active`])?void 0:i[e.color]},(0,o.Z)({[`&.${v.Z.disabled}`]:null==(a=r.variants[`${e.variant}Disabled`])?void 0:a[e.color]},"center"===e.loadingPosition&&{[`&.${v.Z.loading}`]:{color:"transparent"}})]}),z=i.forwardRef(function(r,e){var t;let s=(0,d.Z)({props:r,name:"JoyButton"}),{children:l,action:u,color:v="primary",variant:z="solid",size:S="md",fullWidth:P=!1,startDecorator:T,endDecorator:$,loading:I=!1,loadingPosition:w="center",loadingIndicator:_,disabled:A,component:B,slots:R={},slotProps:D={}}=s,M=(0,n.Z)(s,b),N=i.useContext(m.Z),O=r.variant||N.variant||z,W=r.size||N.size||S,{getColor:F}=(0,f.VT)(O),j=F(r.color,N.color||v),E=null!=(t=r.disabled)?t:N.disabled||A||I,H=i.useRef(null),V=(0,c.Z)(H,e),{focusVisible:J,setFocusVisible:L,getRootProps:U}=(0,a.Z)((0,o.Z)({},s,{disabled:E,rootRef:V})),K=null!=_?_:(0,h.jsx)(p.Z,(0,o.Z)({},"context"!==j&&{color:j},{thickness:{sm:2,md:3,lg:4}[W]||3}));i.useImperativeHandle(u,()=>({focusVisible:()=>{var r;L(!0),null==(r=H.current)||r.focus()}}),[L]);let q=(0,o.Z)({},s,{color:j,fullWidth:P,variant:O,size:W,focusVisible:J,loading:I,loadingPosition:w,disabled:E}),G=Z(q),X=(0,o.Z)({},M,{component:B,slots:R,slotProps:D}),[Q,Y]=(0,g.Z)("root",{ref:e,className:G.root,elementType:C,externalForwardedProps:X,getSlotProps:U,ownerState:q}),[rr,re]=(0,g.Z)("startDecorator",{className:G.startDecorator,elementType:y,externalForwardedProps:X,ownerState:q}),[rt,rn]=(0,g.Z)("endDecorator",{className:G.endDecorator,elementType:k,externalForwardedProps:X,ownerState:q}),[ro,ri]=(0,g.Z)("loadingIndicatorCenter",{className:G.loadingIndicatorCenter,elementType:x,externalForwardedProps:X,ownerState:q});return(0,h.jsxs)(Q,(0,o.Z)({},Y,{children:[(T||I&&"start"===w)&&(0,h.jsx)(rr,(0,o.Z)({},re,{children:I&&"start"===w?K:T})),l,I&&"center"===w&&(0,h.jsx)(ro,(0,o.Z)({},ri,{children:K})),($||I&&"end"===w)&&(0,h.jsx)(rt,(0,o.Z)({},rn,{children:I&&"end"===w?K:$}))]}))});z.muiName="Button",e.Z=z},77614:function(r,e,t){"use strict";t.d(e,{F:function(){return o}});var n=t(18587);function o(r){return(0,n.d6)("MuiButton",r)}let i=(0,n.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);e.Z=i},42858:function(r,e,t){"use strict";var n=t(86006);let o=n.createContext({});e.Z=o},94244:function(r,e,t){"use strict";t.d(e,{Z:function(){return $}});var n=t(40431),o=t(46750),i=t(86006),a=t(89791),s=t(53832),l=t(47562),c=t(72120),u=t(50645),d=t(88930),f=t(47093),g=t(326),p=t(18587);function v(r){return(0,p.d6)("MuiCircularProgress",r)}(0,p.sI)("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=t(9268);let h=r=>r,b,Z=["color","backgroundColor"],y=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],k=(0,c.F4)({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}}),x=r=>{let{determinate:e,color:t,variant:n,size:o}=r,i={root:["root",e&&"determinate",t&&`color${(0,s.Z)(t)}`,n&&`variant${(0,s.Z)(n)}`,o&&`size${(0,s.Z)(o)}`],svg:["svg"],track:["track"],progress:["progress"]};return(0,l.Z)(i,v,{})},C=(0,u.Z)("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(r,e)=>e.root})(({ownerState:r,theme:e})=>{var t;let i=(null==(t=e.variants[r.variant])?void 0:t[r.color])||{},{color:a,backgroundColor:s}=i,l=(0,o.Z)(i,Z);return(0,n.Z)({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":s,"--CircularProgress-progressColor":a,"--CircularProgress-percent":r.value,"--CircularProgress-linecap":"round"},"sm"===r.size&&{"--CircularProgress-trackThickness":"3px","--CircularProgress-progressThickness":"3px","--_root-size":"var(--CircularProgress-size, 24px)"},"sm"===r.instanceSize&&{"--CircularProgress-size":"24px"},"md"===r.size&&{"--CircularProgress-trackThickness":"6px","--CircularProgress-progressThickness":"6px","--_root-size":"var(--CircularProgress-size, 40px)"},"md"===r.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===r.size&&{"--CircularProgress-trackThickness":"8px","--CircularProgress-progressThickness":"8px","--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===r.instanceSize&&{"--CircularProgress-size":"64px"},r.thickness&&{"--CircularProgress-trackThickness":`${r.thickness}px`,"--CircularProgress-progressThickness":`${r.thickness}px`},{"--_thickness-diff":"calc(var(--CircularProgress-trackThickness) - var(--CircularProgress-progressThickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--CircularProgress-trackThickness), var(--CircularProgress-progressThickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:a},r.children&&{fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},l,"outlined"===r.variant&&{"&:before":(0,n.Z)({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},l)})}),z=(0,u.Z)("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(r,e)=>e.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),S=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(r,e)=>e.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--CircularProgress-trackThickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--CircularProgress-trackThickness)",stroke:"var(--CircularProgress-trackColor)"}),P=(0,u.Z)("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(r,e)=>e.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--CircularProgress-progressThickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--CircularProgress-progressThickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},({ownerState:r})=>!r.determinate&&(0,c.iv)(b||(b=h` - animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running) - ${0}; - `),k)),T=i.forwardRef(function(r,e){let t=(0,d.Z)({props:r,name:"JoyCircularProgress"}),{children:i,className:s,color:l="primary",size:c="md",variant:u="soft",thickness:p,determinate:v=!1,value:h=v?0:25,component:b,slots:Z={},slotProps:k={}}=t,T=(0,o.Z)(t,y),{getColor:$}=(0,f.VT)(u),I=$(r.color,l),w=(0,n.Z)({},t,{color:I,size:c,variant:u,thickness:p,value:h,determinate:v,instanceSize:r.size}),_=x(w),A=(0,n.Z)({},T,{component:b,slots:Z,slotProps:k}),[B,R]=(0,g.Z)("root",{ref:e,className:(0,a.Z)(_.root,s),elementType:C,externalForwardedProps:A,ownerState:w,additionalProps:(0,n.Z)({role:"progressbar",style:{"--CircularProgress-percent":h}},h&&v&&{"aria-valuenow":"number"==typeof h?Math.round(h):Math.round(Number(h||0))})}),[D,M]=(0,g.Z)("svg",{className:_.svg,elementType:z,externalForwardedProps:A,ownerState:w}),[N,O]=(0,g.Z)("track",{className:_.track,elementType:S,externalForwardedProps:A,ownerState:w}),[W,F]=(0,g.Z)("progress",{className:_.progress,elementType:P,externalForwardedProps:A,ownerState:w});return(0,m.jsxs)(B,(0,n.Z)({},R,{children:[(0,m.jsxs)(D,(0,n.Z)({},M,{children:[(0,m.jsx)(N,(0,n.Z)({},O)),(0,m.jsx)(W,(0,n.Z)({},F))]})),i]}))});var $=T},16806:function(r,e,t){"use strict";t.r(e),t.d(e,{capitalize:function(){return o},createChainedFunction:function(){return i},createSvgIcon:function(){return rr},debounce:function(){return re},deprecatedPropType:function(){return rt},isMuiElement:function(){return rn},ownerDocument:function(){return ro},ownerWindow:function(){return ri},requirePropFactory:function(){return ra},setRef:function(){return rs},unstable_ClassNameGenerator:function(){return rv},unstable_useEnhancedEffect:function(){return rl},unstable_useId:function(){return rc},unsupportedProp:function(){return ru},useControlled:function(){return rd},useEventCallback:function(){return rf},useForkRef:function(){return rg},useIsFocusVisible:function(){return rp}});var n=t(47327),o=t(53832).Z,i=function(...r){return r.reduce((r,e)=>null==e?r:function(...t){r.apply(this,t),e.apply(this,t)},()=>{})},a=t(40431),s=t(86006),l=t(46750),c=function(){for(var r,e,t=0,n="";t=t?$.text.primary:T.text.primary;return e}let m=({color:r,name:e,mainShade:t=500,lightShade:o=300,darkShade:i=700})=>{if(!(r=(0,a.Z)({},r)).main&&r[t]&&(r.main=r[t]),!r.hasOwnProperty("main"))throw Error((0,f.Z)(11,e?` (${e})`:"",t));if("string"!=typeof r.main)throw Error((0,f.Z)(12,e?` (${e})`:"",JSON.stringify(r.main)));return I(r,"light",o,n),I(r,"dark",i,n),r.contrastText||(r.contrastText=v(r.main)),r},w=(0,g.Z)((0,a.Z)({common:(0,a.Z)({},b),mode:e,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:p,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:d,name:"success"}),grey:Z,contrastThreshold:t,getContrastText:v,augmentColor:m,tonalOffset:n},{dark:$,light:T}[e]),o);return w}(n),u=(0,p.Z)(r),d=(0,g.Z)(u,{mixins:(e=u.breakpoints,(0,a.Z)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)),palette:c,shadows:R.slice(),typography:function(r,e){let t="function"==typeof e?e(r):e,{fontFamily:n=A,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:p}=t,v=(0,l.Z)(t,w),m=o/14,h=p||(r=>`${r/d*m}rem`),b=(r,e,t,o,i)=>(0,a.Z)({fontFamily:n,fontWeight:r,fontSize:h(e),lineHeight:t},n===A?{letterSpacing:`${Math.round(1e5*(o/e))/1e5}em`}:{},i,f),Z={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(s,48,1.167,0),h4:b(s,34,1.235,.25),h5:b(s,24,1.334,0),h6:b(c,20,1.6,.15),subtitle1:b(s,16,1.75,.15),subtitle2:b(c,14,1.57,.1),body1:b(s,16,1.5,.15),body2:b(s,14,1.43,.15),button:b(c,14,1.75,.4,_),caption:b(s,12,1.66,.4),overline:b(s,12,2.66,1,_),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,g.Z)((0,a.Z)({htmlFontSize:d,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:c,fontWeightBold:u},Z),v,{clone:!1})}(c,i),transitions:function(r){let e=(0,a.Z)({},M,r.easing),t=(0,a.Z)({},N,r.duration);return(0,a.Z)({getAutoHeightDuration:W,create:(r=["all"],n={})=>{let{duration:o=t.standard,easing:i=e.easeInOut,delay:a=0}=n;return(0,l.Z)(n,D),(Array.isArray(r)?r:[r]).map(r=>`${r} ${"string"==typeof o?o:O(o)} ${i} ${"string"==typeof a?a:O(a)}`).join(",")}},r,{easing:e,duration:t})}(o),zIndex:(0,a.Z)({},F)});return(d=[].reduce((r,e)=>(0,g.Z)(r,e),d=(0,g.Z)(d,s))).unstable_sxConfig=(0,a.Z)({},v.Z,null==s?void 0:s.unstable_sxConfig),d.unstable_sx=function(r){return(0,m.Z)({sx:r,theme:this})},d}();var H="$$material",V=t(9312);let J=(0,V.ZP)({themeId:H,defaultTheme:E,rootShouldForwardProp:r=>(0,V.x9)(r)&&"classes"!==r});var L=t(88539),U=t(13809);function K(r){return(0,U.Z)("MuiSvgIcon",r)}(0,L.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var q=t(9268);let G=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],X=r=>{let{color:e,fontSize:t,classes:n}=r,i={root:["root","inherit"!==e&&`color${o(e)}`,`fontSize${o(t)}`]};return(0,u.Z)(i,K,n)},Q=J("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(r,e)=>{let{ownerState:t}=r;return[e.root,"inherit"!==t.color&&e[`color${o(t.color)}`],e[`fontSize${o(t.fontSize)}`]]}})(({theme:r,ownerState:e})=>{var t,n,o,i,a,s,l,c,u,d,f,g,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=r.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(o=r.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(i=r.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=r.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=r.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[e.fontSize],color:null!=(d=null==(f=(r.vars||r).palette)||null==(f=f[e.color])?void 0:f.main)?d:({action:null==(g=(r.vars||r).palette)||null==(g=g.action)?void 0:g.active,disabled:null==(p=(r.vars||r).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0})[e.color]}}),Y=s.forwardRef(function(r,e){let t=function({props:r,name:e}){return(0,d.Z)({props:r,name:e,defaultTheme:E,themeId:H})}({props:r,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:u="svg",fontSize:f="medium",htmlColor:g,inheritViewBox:p=!1,titleAccess:v,viewBox:m="0 0 24 24"}=t,h=(0,l.Z)(t,G),b=s.isValidElement(n)&&"svg"===n.type,Z=(0,a.Z)({},t,{color:i,component:u,fontSize:f,instanceFontSize:r.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:b}),y={};p||(y.viewBox=m);let k=X(Z);return(0,q.jsxs)(Q,(0,a.Z)({as:u,className:c(k.root,o),focusable:"false",color:g,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:e},y,h,b&&n.props,{ownerState:Z,children:[b?n.props.children:n,v?(0,q.jsx)("title",{children:v}):null]}))});function rr(r,e){function t(t,n){return(0,q.jsx)(Y,(0,a.Z)({"data-testid":`${e}Icon`,ref:n},t,{children:r}))}return t.muiName=Y.muiName,s.memo(s.forwardRef(t))}Y.muiName="SvgIcon";var re=t(22099).Z,rt=function(r,e){return()=>null},rn=t(44542).Z,ro=t(47375).Z,ri=t(30165).Z,ra=function(r,e){return()=>null},rs=t(65464).Z,rl=t(11059).Z,rc=t(49657).Z,ru=function(r,e,t,n,o){return null},rd=t(24263).Z,rf=t(66519).Z,rg=t(99179).Z,rp=t(21454).Z;let rv={configure:r=>{n.Z.configure(r)}}},22099:function(r,e,t){"use strict";function n(r,e=166){let t;function n(...o){clearTimeout(t),t=setTimeout(()=>{r.apply(this,o)},e)}return n.clear=()=>{clearTimeout(t)},n}t.d(e,{Z:function(){return n}})},47375:function(r,e,t){"use strict";function n(r){return r&&r.ownerDocument||document}t.d(e,{Z:function(){return n}})},30165:function(r,e,t){"use strict";t.d(e,{Z:function(){return o}});var n=t(47375);function o(r){let e=(0,n.Z)(r);return e.defaultView||window}},24263:function(r,e,t){"use strict";t.d(e,{Z:function(){return o}});var n=t(86006);function o({controlled:r,default:e,name:t,state:o="value"}){let{current:i}=n.useRef(void 0!==r),[a,s]=n.useState(e),l=i?r:a,c=n.useCallback(r=>{i||s(r)},[]);return[l,c]}},11059:function(r,e,t){"use strict";var n=t(86006);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;e.Z=o},66519:function(r,e,t){"use strict";var n=t(86006),o=t(11059);e.Z=function(r){let e=n.useRef(r);return(0,o.Z)(()=>{e.current=r}),n.useCallback((...r)=>(0,e.current)(...r),[])}},49657:function(r,e,t){"use strict";t.d(e,{Z:function(){return s}});var n,o=t(86006);let i=0,a=(n||(n=t.t(o,2)))["useId".toString()];function s(r){if(void 0!==a){let e=a();return null!=r?r:e}return function(r){let[e,t]=o.useState(r),n=r||e;return o.useEffect(()=>{null==e&&t(`mui-${i+=1}`)},[e]),n}(r)}},78997:function(r){r.exports=function(r){return r&&r.__esModule?r:{default:r}},r.exports.__esModule=!0,r.exports.default=r.exports}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/241-4117dd68a591b7fa.js b/pilot/server/static/_next/static/chunks/241-4117dd68a591b7fa.js new file mode 100644 index 000000000..3cae3eaf6 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/241-4117dd68a591b7fa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[241],{65077:function(i,e,o){var a=o(64836);e.Z=void 0;var r=a(o(64938)),t=o(85893),n=(0,r.default)([(0,t.jsx)("path",{d:"M5 5h2v3h10V5h2v5h2V5c0-1.1-.9-2-2-2h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v-2H5V5zm7-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z"},"0"),(0,t.jsx)("path",{d:"M20.3 18.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S12 14 12 16.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l2.7 2.7 1.4-1.4-2.7-2.7zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z"},"1")],"ContentPasteSearchOutlined");e.Z=n},6775:function(i,e,o){var a=o(64836);e.Z=void 0;var r=a(o(64938)),t=o(85893),n=(0,r.default)((0,t.jsx)("path",{d:"M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"}),"WarningRounded");e.Z=n},52254:function(i,e,o){o.d(e,{Z:function(){return M}});var a=o(63366),r=o(87462),t=o(67294),n=o(86010),l=o(14142),s=o(94780),d=o(74312),c=o(20407),v=o(26821);function p(i){return(0,v.d6)("MuiDivider",i)}(0,v.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);var g=o(30220),u=o(85893);let f=["className","children","component","inset","orientation","role","slots","slotProps"],m=i=>{let{orientation:e,inset:o}=i,a={root:["root",e,o&&`inset${(0,l.Z)(o)}`]};return(0,s.Z)(a,p,{})},D=(0,d.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(i,e)=>e.root})(({theme:i,ownerState:e})=>(0,r.Z)({"--Divider-thickness":"1px","--Divider-lineColor":i.vars.palette.divider},"none"===e.inset&&{"--_Divider-inset":"0px"},"context"===e.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===e.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===e.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},e.children?{"--Divider-gap":i.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===e.orientation?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0,fontFamily:i.vars.fontFamily.body,fontSize:i.vars.fontSize.sm,"&::before, &::after":{position:"relative",inlineSize:"vertical"===e.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===e.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===e.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===e.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===e.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===e.orientation?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}:{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:"vertical"===e.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===e.orientation?"initial":"var(--Divider-thickness)"})),h=t.forwardRef(function(i,e){let o=(0,c.Z)({props:i,name:"JoyDivider"}),{className:t,children:l,component:s=null!=l?"div":"hr",inset:d,orientation:v="horizontal",role:p="hr"!==s?"separator":void 0,slots:h={},slotProps:M={}}=o,y=(0,a.Z)(o,f),Z=(0,r.Z)({},o,{inset:d,role:p,orientation:v,component:s}),b=m(Z),x=(0,r.Z)({},y,{component:s,slots:h,slotProps:M}),[S,z]=(0,g.Z)("root",{ref:e,className:(0,n.Z)(b.root,t),elementType:D,externalForwardedProps:x,ownerState:Z,additionalProps:(0,r.Z)({as:s,role:p},"separator"===p&&"vertical"===v&&{"aria-orientation":"vertical"})});return(0,u.jsx)(S,(0,r.Z)({},z,{children:l}))});h.muiName="Divider";var M=h},43458:function(i,e,o){o.d(e,{Z:function(){return S}});var a=o(63366),r=o(87462),t=o(67294),n=o(86010),l=o(94780),s=o(14142),d=o(18719),c=o(74312),v=o(20407),p=o(78653),g=o(3414),u=o(26821);function f(i){return(0,u.d6)("MuiModalDialog",i)}(0,u.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);let m=t.createContext(void 0),D=t.createContext(void 0);var h=o(30220),M=o(85893);let y=["className","children","color","component","variant","size","layout","slots","slotProps"],Z=i=>{let{variant:e,color:o,size:a,layout:r}=i,t={root:["root",e&&`variant${(0,s.Z)(e)}`,o&&`color${(0,s.Z)(o)}`,a&&`size${(0,s.Z)(a)}`,r&&`layout${(0,s.Z)(r)}`]};return(0,l.Z)(t,f,{})},b=(0,c.Z)(g.U,{name:"JoyModalDialog",slot:"Root",overridesResolver:(i,e)=>e.root})(({theme:i,ownerState:e})=>(0,r.Z)({"--Divider-inset":"calc(-1 * var(--ModalDialog-padding))","--ModalClose-radius":"max((var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===e.size&&{"--ModalDialog-padding":i.spacing(2),"--ModalDialog-radius":i.vars.radius.sm,"--ModalDialog-gap":i.spacing(.75),"--ModalDialog-titleOffset":i.spacing(.25),"--ModalDialog-descriptionOffset":i.spacing(.25),"--ModalClose-inset":i.spacing(1.25),fontSize:i.vars.fontSize.sm},"md"===e.size&&{"--ModalDialog-padding":i.spacing(2.5),"--ModalDialog-radius":i.vars.radius.md,"--ModalDialog-gap":i.spacing(1.5),"--ModalDialog-titleOffset":i.spacing(.25),"--ModalDialog-descriptionOffset":i.spacing(.75),"--ModalClose-inset":i.spacing(1.5),fontSize:i.vars.fontSize.md},"lg"===e.size&&{"--ModalDialog-padding":i.spacing(3),"--ModalDialog-radius":i.vars.radius.md,"--ModalDialog-gap":i.spacing(2),"--ModalDialog-titleOffset":i.spacing(.75),"--ModalDialog-descriptionOffset":i.spacing(1),"--ModalClose-inset":i.spacing(1.5),fontSize:i.vars.fontSize.lg},{boxSizing:"border-box",boxShadow:i.shadow.md,borderRadius:"var(--ModalDialog-radius)",fontFamily:i.vars.fontFamily.body,lineHeight:i.vars.lineHeight.md,padding:"var(--ModalDialog-padding)",minWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute",display:"flex",flexDirection:"column"},"fullscreen"===e.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===e.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--ModalDialog-padding))"},{[`& [id="${e["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${e["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${e["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),x=t.forwardRef(function(i,e){let o=(0,v.Z)({props:i,name:"JoyModalDialog"}),{className:l,children:s,color:c="neutral",component:g="div",variant:u="outlined",size:f="md",layout:x="center",slots:S={},slotProps:z={}}=o,k=(0,a.Z)(o,y),{getColor:C}=(0,p.VT)(u),P=C(i.color,c),w=(0,r.Z)({},o,{color:P,component:g,layout:x,size:f,variant:u}),O=Z(w),R=(0,r.Z)({},k,{component:g,slots:S,slotProps:z}),j=t.useMemo(()=>({variant:u,color:"context"===P?void 0:P}),[P,u]),[N,$]=(0,h.Z)("root",{ref:e,className:(0,n.Z)(O.root,l),elementType:b,externalForwardedProps:R,ownerState:w,additionalProps:{as:g,role:"dialog","aria-modal":"true"}});return(0,M.jsx)(m.Provider,{value:f,children:(0,M.jsx)(D.Provider,{value:j,children:(0,M.jsx)(N,(0,r.Z)({},$,{children:t.Children.map(s,i=>{if(!t.isValidElement(i))return i;if((0,d.Z)(i,["Divider"])){let e={};return e.inset="inset"in i.props?i.props.inset:"context",t.cloneElement(i,e)}return i})}))})})});var S=x},70702:function(i,e,o){o.d(e,{Z:function(){return k}});var a=o(63366),r=o(87462),t=o(67294),n=o(70828),l=o(59766),s=o(94780),d=o(34867),c=o(13264),v=o(39214),p=o(39707),g=o(88647),u=o(95408),f=o(98700),m=o(85893);let D=["component","direction","spacing","divider","children","className","useFlexGap"],h=(0,g.Z)(),M=(0,c.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(i,e)=>e.root});function y(i){return(0,v.Z)({props:i,name:"MuiStack",defaultTheme:h})}let Z=i=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[i],b=({ownerState:i,theme:e})=>{let o=(0,r.Z)({display:"flex",flexDirection:"column"},(0,u.k9)({theme:e},(0,u.P$)({values:i.direction,breakpoints:e.breakpoints.values}),i=>({flexDirection:i})));if(i.spacing){let a=(0,f.hB)(e),r=Object.keys(e.breakpoints.values).reduce((e,o)=>(("object"==typeof i.spacing&&null!=i.spacing[o]||"object"==typeof i.direction&&null!=i.direction[o])&&(e[o]=!0),e),{}),t=(0,u.P$)({values:i.direction,base:r}),n=(0,u.P$)({values:i.spacing,base:r});"object"==typeof t&&Object.keys(t).forEach((i,e,o)=>{let a=t[i];if(!a){let a=e>0?t[o[e-1]]:"column";t[i]=a}}),o=(0,l.Z)(o,(0,u.k9)({theme:e},n,(e,o)=>i.useFlexGap?{gap:(0,f.NA)(a,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Z(o?t[o]:i.direction)}`]:(0,f.NA)(a,e)}}))}return(0,u.dt)(e.breakpoints,o)};var x=o(74312),S=o(20407);let z=function(i={}){let{createStyledComponent:e=M,useThemeProps:o=y,componentName:l="MuiStack"}=i,c=()=>(0,s.Z)({root:["root"]},i=>(0,d.Z)(l,i),{}),v=e(b),g=t.forwardRef(function(i,e){let l=o(i),s=(0,p.Z)(l),{component:d="div",direction:g="column",spacing:u=0,divider:f,children:h,className:M,useFlexGap:y=!1}=s,Z=(0,a.Z)(s,D),b=c();return(0,m.jsx)(v,(0,r.Z)({as:d,ownerState:{direction:g,spacing:u,useFlexGap:y},ref:e,className:(0,n.Z)(b.root,M)},Z,{children:f?function(i,e){let o=t.Children.toArray(i).filter(Boolean);return o.reduce((i,a,r)=>(i.push(a),re.root}),useThemeProps:i=>(0,S.Z)({props:i,name:"JoyStack"})});var k=z}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/289-06c0d9f538f77a71.js b/pilot/server/static/_next/static/chunks/289-06c0d9f538f77a71.js new file mode 100644 index 000000000..36ca0ae56 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/289-06c0d9f538f77a71.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[289],{2166:function(e,t,o){o.d(t,{Z:function(){return S}});var r=o(63366),l=o(87462),a=o(67294),n=o(94780),i=o(14142),d=o(99962),s=o(33703),c=o(18719),b=o(39707),v=o(74312),p=o(20407),u=o(78653),h=o(30220),g=o(26821);function f(e){return(0,g.d6)("MuiLink",e)}let y=(0,g.sI)("MuiLink",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","variantPlain","variantOutlined","variantSoft","variantSolid","underlineNone","underlineHover","underlineAlways","h1","h2","h3","h4","h5","h6","body1","body2","body3","startDecorator","endDecorator"]);var m=o(40911),C=o(85893);let x=["color","textColor","variant"],T=["children","disabled","onBlur","onFocus","level","overlay","underline","endDecorator","startDecorator","component","slots","slotProps"],R=e=>{let{level:t,color:o,variant:r,underline:l,focusVisible:a,disabled:d}=e,s={root:["root",o&&`color${(0,i.Z)(o)}`,d&&"disabled",a&&"focusVisible",t,l&&`underline${(0,i.Z)(l)}`,r&&`variant${(0,i.Z)(r)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,n.Z)(s,f,{})},k=(0,v.Z)("span",{name:"JoyLink",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({ownerState:e})=>{var t;return(0,l.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Link-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),Z=(0,v.Z)("span",{name:"JoyLink",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})(({ownerState:e})=>{var t;return(0,l.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Link-gap, 0.25em), 0.5rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),w=(0,v.Z)("a",{name:"JoyLink",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var o,r,a,n,i,d,s;return[(0,l.Z)({"--Icon-fontSize":"1.25em"},t.level&&"inherit"!==t.level&&e.typography[t.level],"inherit"===t.level&&{fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecorationLine:"underline"}},"always"===t.underline&&{textDecoration:"underline"},t.startDecorator&&{verticalAlign:"bottom"},{display:"inline-flex",alignItems:"center",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:e.vars.radius.xs,padding:0,cursor:"pointer"},"context"!==t.color&&{textDecorationColor:`rgba(${null==(o=e.vars.palette[t.color])?void 0:o.mainChannel} / var(--Link-underlineOpacity, 0.72))`},t.variant?(0,l.Z)({paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!t.nesting&&{marginInline:"-0.375em"}):(0,l.Z)({},"context"!==t.color&&{color:`rgba(${null==(r=e.vars.palette[t.color])?void 0:r.mainChannel} / 1)`},{[`&.${y.disabled}`]:(0,l.Z)({pointerEvents:"none"},"context"!==t.color&&{color:`rgba(${null==(a=e.vars.palette[t.color])?void 0:a.mainChannel} / 0.6)`})}),{userSelect:"none",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},t.overlay?{position:"initial","&::after":{content:'""',display:"block",position:"absolute",top:0,left:0,bottom:0,right:0,borderRadius:"var(--unstable_actionRadius, inherit)",margin:"var(--unstable_actionMargin)"},[`${e.focus.selector}`]:{"&::after":e.focus.default}}:{position:"relative",[e.focus.selector]:e.focus.default}),t.variant&&(0,l.Z)({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],"&:active":null==(d=e.variants[`${t.variant}Active`])?void 0:d[t.color],[`&.${y.disabled}`]:null==(s=e.variants[`${t.variant}Disabled`])?void 0:s[t.color]})]}),B=a.forwardRef(function(e,t){let o=(0,p.Z)({props:e,name:"JoyLink"}),{color:n="primary",textColor:i,variant:v}=o,g=(0,r.Z)(o,x),{getColor:f}=(0,u.VT)(v),y=f(e.color,n),B=a.useContext(m.FR),S=a.useContext(m.eu),D=(0,b.Z)((0,l.Z)({},g,{color:i})),{children:$,disabled:W=!1,onBlur:A,onFocus:z,level:F="body1",overlay:L=!1,underline:H="hover",endDecorator:I,startDecorator:_,component:N,slots:E={},slotProps:O={}}=D,M=(0,r.Z)(D,T),P=B||S?e.level||"inherit":F,{isFocusVisibleRef:X,onBlur:Y,onFocus:j,ref:J}=(0,d.Z)(),[V,U]=a.useState(!1),q=(0,s.Z)(t,J),G=(0,l.Z)({},D,{color:y,disabled:W,focusVisible:V,underline:H,variant:v,level:P,overlay:L,nesting:B}),K=R(G),Q=(0,l.Z)({},M,{component:N,slots:E,slotProps:O}),[ee,et]=(0,h.Z)("root",{additionalProps:{onBlur:e=>{Y(e),!1===X.current&&U(!1),A&&A(e)},onFocus:e=>{j(e),!0===X.current&&U(!0),z&&z(e)}},ref:q,className:K.root,elementType:w,externalForwardedProps:Q,ownerState:G}),[eo,er]=(0,h.Z)("startDecorator",{className:K.startDecorator,elementType:k,externalForwardedProps:Q,ownerState:G}),[el,ea]=(0,h.Z)("endDecorator",{className:K.endDecorator,elementType:Z,externalForwardedProps:Q,ownerState:G});return(0,C.jsx)(m.FR.Provider,{value:!0,children:(0,C.jsxs)(ee,(0,l.Z)({},et,{children:[_&&(0,C.jsx)(eo,(0,l.Z)({},er,{children:_})),(0,c.Z)($,["Skeleton"])?a.cloneElement($,{variant:$.props.variant||"inline"}):$,I&&(0,C.jsx)(el,(0,l.Z)({},ea,{children:I}))]}))})});var S=B},61685:function(e,t,o){o.d(t,{Z:function(){return T}});var r=o(63366),l=o(87462),a=o(67294),n=o(86010),i=o(14142),d=o(94780),s=o(20407),c=o(78653),b=o(74312),v=o(26821);function p(e){return(0,v.d6)("MuiTable",e)}(0,v.sI)("MuiTable",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","stickyHeader","stickyFooter","noWrap","hoverRow","borderAxisNone","borderAxisX","borderAxisXBetween","borderAxisY","borderAxisYBetween","borderAxisBoth","borderAxisBothBetween"]);var u=o(40911),h=o(30220),g=o(85893);let f=["className","component","children","borderAxis","hoverRow","noWrap","size","variant","color","stripe","stickyHeader","stickyFooter","slots","slotProps"],y=e=>{let{size:t,variant:o,color:r,borderAxis:l,stickyHeader:a,stickyFooter:n,noWrap:s,hoverRow:c}=e,b={root:["root",a&&"stickyHeader",n&&"stickyFooter",s&&"noWrap",c&&"hoverRow",l&&`borderAxis${(0,i.Z)(l)}`,o&&`variant${(0,i.Z)(o)}`,r&&`color${(0,i.Z)(r)}`,t&&`size${(0,i.Z)(t)}`]};return(0,d.Z)(b,p,{})},m={getColumnExceptFirst:()=>"& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th",getCell:()=>"& th, & td",getHeadCell:()=>"& th",getHeaderCell:()=>"& thead th",getHeaderCellOfRow:e=>`& thead tr:nth-of-type(${e}) th`,getBottomHeaderCell:()=>"& thead th:not([colspan])",getHeaderNestedFirstColumn:()=>"& thead tr:not(:first-of-type) th:not([colspan]):first-of-type",getDataCell:()=>"& td",getDataCellExceptLastRow:()=>"& tr:not(:last-of-type) > td",getBodyCellExceptLastRow(){return`${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`},getBodyCellOfRow:e=>"number"==typeof e&&e<0?`& tbody tr:nth-last-of-type(${Math.abs(e)}) td, & tbody tr:nth-last-of-type(${Math.abs(e)}) th[scope="row"]`:`& tbody tr:nth-of-type(${e}) td, & tbody tr:nth-of-type(${e}) th[scope="row"]`,getBodyRow:e=>void 0===e?"& tbody tr":`& tbody tr:nth-of-type(${e})`,getFooterCell:()=>"& tfoot th, & tfoot td",getFooterFirstRowCell:()=>"& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td"},C=(0,b.Z)("table",{name:"JoyTable",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var o,r,a,n,i,d,s;let c=null==(o=e.variants[t.variant])?void 0:o[t.color];return[(0,l.Z)({"--Table-headerUnderlineThickness":"2px","--TableCell-borderColor":null!=(r=null==c?void 0:c.borderColor)?r:e.vars.palette.divider,"--TableCell-headBackground":`var(--Sheet-background, ${e.vars.palette.background.surface})`},"sm"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 32px)","--TableCell-paddingX":"0.25rem","--TableCell-paddingY":"0.25rem",fontSize:e.vars.fontSize.xs},"md"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 40px)","--TableCell-paddingX":"0.5rem","--TableCell-paddingY":"0.375rem",fontSize:e.vars.fontSize.sm},"lg"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 48px)","--TableCell-paddingX":"0.75rem","--TableCell-paddingY":"0.5rem",fontSize:e.vars.fontSize.md},{tableLayout:"fixed",width:"100%",borderSpacing:"0px",borderCollapse:"separate",borderRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))",color:e.vars.palette.text.primary},null==(a=e.variants[t.variant])?void 0:a[t.color],{"& caption":{color:e.vars.palette.text.tertiary,padding:"calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"},[m.getDataCell()]:(0,l.Z)({padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",height:"var(--unstable_TableCell-height)",borderColor:"var(--TableCell-borderColor)",backgroundColor:"var(--TableCell-dataBackground)"},t.noWrap&&{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),[m.getHeadCell()]:{textAlign:"left",padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",backgroundColor:"var(--TableCell-headBackground)",height:"var(--unstable_TableCell-height)",fontWeight:e.vars.fontWeight.lg,borderColor:"var(--TableCell-borderColor)",color:e.vars.palette.text.secondary,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},[m.getHeaderCell()]:{verticalAlign:"bottom","&:first-of-type":{borderTopLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderTopRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}},"& tfoot tr > *":{backgroundColor:`var(--TableCell-footBackground, ${e.vars.palette.background.level1})`,"&:first-of-type":{borderBottomLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderBottomRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}}}),((null==(n=t.borderAxis)?void 0:n.startsWith("x"))||(null==(i=t.borderAxis)?void 0:i.startsWith("both")))&&{[m.getHeaderCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getBottomHeaderCell()]:{borderBottomWidth:"var(--Table-headerUnderlineThickness)",borderBottomStyle:"solid"},[m.getBodyCellExceptLastRow()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getFooterCell()]:{borderTopWidth:1,borderTopStyle:"solid"}},((null==(d=t.borderAxis)?void 0:d.startsWith("y"))||(null==(s=t.borderAxis)?void 0:s.startsWith("both")))&&{[`${m.getColumnExceptFirst()}, ${m.getHeaderNestedFirstColumn()}`]:{borderLeftWidth:1,borderLeftStyle:"solid"}},("x"===t.borderAxis||"both"===t.borderAxis)&&{[m.getHeaderCellOfRow(1)]:{borderTopWidth:1,borderTopStyle:"solid"},[m.getBodyCellOfRow(-1)]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getFooterCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"}},("y"===t.borderAxis||"both"===t.borderAxis)&&{"& tr > *:first-of-type":{borderLeftWidth:1,borderLeftStyle:"solid"},"& tr > *:last-of-type:not(:first-of-type)":{borderRightWidth:1,borderRightStyle:"solid"}},t.stripe&&{[m.getBodyRow(t.stripe)]:{background:`var(--TableRow-stripeBackground, ${e.vars.palette.background.level1})`,color:e.vars.palette.text.primary}},t.hoverRow&&{[m.getBodyRow()]:{"&:hover":{background:`var(--TableRow-hoverBackground, ${e.vars.palette.background.level2})`}}},t.stickyHeader&&{[m.getHeaderCell()]:{position:"sticky",top:0,zIndex:e.vars.zIndex.table},[m.getHeaderCellOfRow(2)]:{top:"var(--unstable_TableCell-height)"}},t.stickyFooter&&{[m.getFooterCell()]:{position:"sticky",bottom:0,zIndex:e.vars.zIndex.table,color:e.vars.palette.text.secondary,fontWeight:e.vars.fontWeight.lg},[m.getFooterFirstRowCell()]:{bottom:"var(--unstable_TableCell-height)"}}]}),x=a.forwardRef(function(e,t){let o=(0,s.Z)({props:e,name:"JoyTable"}),{className:a,component:i,children:d,borderAxis:b="xBetween",hoverRow:v=!1,noWrap:p=!1,size:m="md",variant:x="plain",color:T="neutral",stripe:R,stickyHeader:k=!1,stickyFooter:Z=!1,slots:w={},slotProps:B={}}=o,S=(0,r.Z)(o,f),{getColor:D}=(0,c.VT)(x),$=D(e.color,T),W=(0,l.Z)({},o,{borderAxis:b,hoverRow:v,noWrap:p,component:i,size:m,color:$,variant:x,stripe:R,stickyHeader:k,stickyFooter:Z}),A=y(W),z=(0,l.Z)({},S,{component:i,slots:w,slotProps:B}),[F,L]=(0,h.Z)("root",{ref:t,className:(0,n.Z)(A.root,a),elementType:C,externalForwardedProps:z,ownerState:W});return(0,g.jsx)(u.eu.Provider,{value:!0,children:(0,g.jsx)(F,(0,l.Z)({},L,{children:d}))})});var T=x}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/0e02fca3-615d0d51fa074d92.js b/pilot/server/static/_next/static/chunks/29107295-90b90cb30c825230.js similarity index 96% rename from pilot/server/static/_next/static/chunks/0e02fca3-615d0d51fa074d92.js rename to pilot/server/static/_next/static/chunks/29107295-90b90cb30c825230.js index 1201ad672..f5146214d 100644 --- a/pilot/server/static/_next/static/chunks/0e02fca3-615d0d51fa074d92.js +++ b/pilot/server/static/_next/static/chunks/29107295-90b90cb30c825230.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[180],{84835:function(n,t,r){var e;n=r.nmd(n),(function(){var u,i="Expected a function",o="__lodash_hash_undefined__",f="__lodash_placeholder__",a=1/0,c=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",h="[object Array]",p="[object Boolean]",v="[object Date]",_="[object Error]",g="[object Function]",y="[object GeneratorFunction]",d="[object Map]",b="[object Number]",w="[object Object]",m="[object Promise]",x="[object RegExp]",j="[object Set]",A="[object String]",k="[object Symbol]",O="[object WeakMap]",I="[object ArrayBuffer]",E="[object DataView]",R="[object Float32Array]",z="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",W="[object Int32Array]",L="[object Uint8Array]",U="[object Uint8ClampedArray]",B="[object Uint16Array]",T="[object Uint32Array]",$=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,M=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,N=/[&<>"']/g,P=RegExp(F.source),q=RegExp(N.source),Z=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Y.source),X=/^\s+/,nn=/\s/,nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nr=/\{\n\/\* \[wrapped with (.+)\] \*/,ne=/,? & /,nu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ni=/[()=,{}\[\]\/\s]/,no=/\\(\\)?/g,nf=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,na=/\w*$/,nc=/^[-+]0x[0-9a-f]+$/i,nl=/^0b[01]+$/i,ns=/^\[object .+?Constructor\]$/,nh=/^0o[0-7]+$/i,np=/^(?:0|[1-9]\d*)$/,nv=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n_=/($^)/,ng=/['\n\r\u2028\u2029\\]/g,ny="\ud800-\udfff",nd="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nb="\\u2700-\\u27bf",nw="a-z\\xdf-\\xf6\\xf8-\\xff",nm="A-Z\\xc0-\\xd6\\xd8-\\xde",nx="\\ufe0e\\ufe0f",nj="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nA="['’]",nk="["+nj+"]",nO="["+nd+"]",nI="["+nw+"]",nE="[^"+ny+nj+"\\d+"+nb+nw+nm+"]",nR="\ud83c[\udffb-\udfff]",nz="[^"+ny+"]",nS="(?:\ud83c[\udde6-\uddff]){2}",nC="[\ud800-\udbff][\udc00-\udfff]",nW="["+nm+"]",nL="\\u200d",nU="(?:"+nI+"|"+nE+")",nB="(?:"+nA+"(?:d|ll|m|re|s|t|ve))?",nT="(?:"+nA+"(?:D|LL|M|RE|S|T|VE))?",n$="(?:"+nO+"|"+nR+")?",nD="["+nx+"]?",nM="(?:"+nL+"(?:"+[nz,nS,nC].join("|")+")"+nD+n$+")*",nF=nD+n$+nM,nN="(?:"+["["+nb+"]",nS,nC].join("|")+")"+nF,nP="(?:"+[nz+nO+"?",nO,nS,nC,"["+ny+"]"].join("|")+")",nq=RegExp(nA,"g"),nZ=RegExp(nO,"g"),nK=RegExp(nR+"(?="+nR+")|"+nP+nF,"g"),nV=RegExp([nW+"?"+nI+"+"+nB+"(?="+[nk,nW,"$"].join("|")+")","(?:"+nW+"|"+nE+")+"+nT+"(?="+[nk,nW+nU,"$"].join("|")+")",nW+"?"+nU+"+"+nB,nW+"+"+nT,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",nN].join("|"),"g"),nG=RegExp("["+nL+ny+nd+nx+"]"),nH=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nY=-1,nQ={};nQ[R]=nQ[z]=nQ[S]=nQ[C]=nQ[W]=nQ[L]=nQ[U]=nQ[B]=nQ[T]=!0,nQ[s]=nQ[h]=nQ[I]=nQ[p]=nQ[E]=nQ[v]=nQ[_]=nQ[g]=nQ[d]=nQ[b]=nQ[w]=nQ[x]=nQ[j]=nQ[A]=nQ[O]=!1;var nX={};nX[s]=nX[h]=nX[I]=nX[E]=nX[p]=nX[v]=nX[R]=nX[z]=nX[S]=nX[C]=nX[W]=nX[d]=nX[b]=nX[w]=nX[x]=nX[j]=nX[A]=nX[k]=nX[L]=nX[U]=nX[B]=nX[T]=!0,nX[_]=nX[g]=nX[O]=!1;var n0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n1=parseFloat,n2=parseInt,n9="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,n3="object"==typeof self&&self&&self.Object===Object&&self,n4=n9||n3||Function("return this")(),n8=t&&!t.nodeType&&t,n7=n8&&n&&!n.nodeType&&n,n6=n7&&n7.exports===n8,n5=n6&&n9.process,tn=function(){try{var n=n7&&n7.require&&n7.require("util").types;if(n)return n;return n5&&n5.binding&&n5.binding("util")}catch(n){}}(),tt=tn&&tn.isArrayBuffer,tr=tn&&tn.isDate,te=tn&&tn.isMap,tu=tn&&tn.isRegExp,ti=tn&&tn.isSet,to=tn&&tn.isTypedArray;function tf(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function ta(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function tv(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function tT(n,t){for(var r=n.length;r--&&tj(t,n[r],0)>-1;);return r}var t$=tE({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tD=tE({"&":"&","<":"<",">":">",'"':""","'":"'"});function tM(n){return"\\"+n0[n]}function tF(n){return nG.test(n)}function tN(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function tP(n,t){return function(r){return n(t(r))}}function tq(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"}),tJ=function n(t){var r,e,nn,ny,nd=(t=null==t?n4:tJ.defaults(n4.Object(),t,tJ.pick(n4,nJ))).Array,nb=t.Date,nw=t.Error,nm=t.Function,nx=t.Math,nj=t.Object,nA=t.RegExp,nk=t.String,nO=t.TypeError,nI=nd.prototype,nE=nm.prototype,nR=nj.prototype,nz=t["__core-js_shared__"],nS=nE.toString,nC=nR.hasOwnProperty,nW=0,nL=(r=/[^.]+$/.exec(nz&&nz.keys&&nz.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",nU=nR.toString,nB=nS.call(nj),nT=n4._,n$=nA("^"+nS.call(nC).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nD=n6?t.Buffer:u,nM=t.Symbol,nF=t.Uint8Array,nN=nD?nD.allocUnsafe:u,nP=tP(nj.getPrototypeOf,nj),nK=nj.create,nG=nR.propertyIsEnumerable,n0=nI.splice,n9=nM?nM.isConcatSpreadable:u,n3=nM?nM.iterator:u,n8=nM?nM.toStringTag:u,n7=function(){try{var n=ud(nj,"defineProperty");return n({},"",{}),n}catch(n){}}(),n5=t.clearTimeout!==n4.clearTimeout&&t.clearTimeout,tn=nb&&nb.now!==n4.Date.now&&nb.now,tw=t.setTimeout!==n4.setTimeout&&t.setTimeout,tE=nx.ceil,tY=nx.floor,tQ=nj.getOwnPropertySymbols,tX=nD?nD.isBuffer:u,t0=t.isFinite,t1=nI.join,t2=tP(nj.keys,nj),t9=nx.max,t3=nx.min,t4=nb.now,t8=t.parseInt,t7=nx.random,t6=nI.reverse,t5=ud(t,"DataView"),rn=ud(t,"Map"),rt=ud(t,"Promise"),rr=ud(t,"Set"),re=ud(t,"WeakMap"),ru=ud(nj,"create"),ri=re&&new re,ro={},rf=uP(t5),ra=uP(rn),rc=uP(rt),rl=uP(rr),rs=uP(re),rh=nM?nM.prototype:u,rp=rh?rh.valueOf:u,rv=rh?rh.toString:u;function r_(n){if(iQ(n)&&!iF(n)&&!(n instanceof rb)){if(n instanceof rd)return n;if(nC.call(n,"__wrapped__"))return uq(n)}return new rd(n)}var rg=function(){function n(){}return function(t){if(!iY(t))return{};if(nK)return nK(t);n.prototype=t;var r=new n;return n.prototype=u,r}}();function ry(){}function rd(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=u}function rb(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function rw(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function rT(n,t,r,e,i,o){var f,a=1&t,c=2&t,l=4&t;if(r&&(f=i?r(n,e,i,o):r(n)),u!==f)return f;if(!iY(n))return n;var h=iF(n);if(h){if(_=n.length,m=new n.constructor(_),_&&"string"==typeof n[0]&&nC.call(n,"index")&&(m.index=n.index,m.input=n.input),f=m,!a)return eK(n,f)}else{var _,m,O,$,D,M=um(n),F=M==g||M==y;if(iZ(n))return eM(n,a);if(M==w||M==s||F&&!i){if(f=c||F?{}:uj(n),!a)return c?(O=(D=f)&&eV(n,ob(n),D),eV(n,uw(n),O)):($=rW(f,n),eV(n,ub(n),$))}else{if(!nX[M])return i?n:{};f=function(n,t,r){var e,u,i=n.constructor;switch(t){case I:return eF(n);case p:case v:return new i(+n);case E:return e=r?eF(n.buffer):n.buffer,new n.constructor(e,n.byteOffset,n.byteLength);case R:case z:case S:case C:case W:case L:case U:case B:case T:return eN(n,r);case d:return new i;case b:case A:return new i(n);case x:return(u=new n.constructor(n.source,na.exec(n))).lastIndex=n.lastIndex,u;case j:return new i;case k:return rp?nj(rp.call(n)):{}}}(n,M,a)}}o||(o=new rA);var N=o.get(n);if(N)return N;o.set(n,f),i9(n)?n.forEach(function(e){f.add(rT(e,t,r,e,n,o))}):iX(n)&&n.forEach(function(e,u){f.set(u,rT(e,t,r,u,n,o))});var P=l?c?us:ul:c?ob:od,q=h?u:P(n);return tc(q||n,function(e,u){q&&(e=n[u=e]),rz(f,u,rT(e,t,r,u,n,o))}),f}function r$(n,t,r){var e=r.length;if(null==n)return!e;for(n=nj(n);e--;){var i=r[e],o=t[i],f=n[i];if(u===f&&!(i in n)||!o(f))return!1}return!0}function rD(n,t,r){if("function"!=typeof n)throw new nO(i);return uB(function(){n.apply(u,r)},t)}function rM(n,t,r,e){var u=-1,i=tp,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=t_(t,tW(r))),e?(i=tv,o=!1):t.length>=200&&(i=tU,o=!1,t=new rj(t));n:for(;++u-1},rm.prototype.set=function(n,t){var r=this.__data__,e=rS(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},rx.prototype.clear=function(){this.size=0,this.__data__={hash:new rw,map:new(rn||rm),string:new rw}},rx.prototype.delete=function(n){var t=ug(this,n).delete(n);return this.size-=t?1:0,t},rx.prototype.get=function(n){return ug(this,n).get(n)},rx.prototype.has=function(n){return ug(this,n).has(n)},rx.prototype.set=function(n,t){var r=ug(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},rj.prototype.add=rj.prototype.push=function(n){return this.__data__.set(n,o),this},rj.prototype.has=function(n){return this.__data__.has(n)},rA.prototype.clear=function(){this.__data__=new rm,this.size=0},rA.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},rA.prototype.get=function(n){return this.__data__.get(n)},rA.prototype.has=function(n){return this.__data__.has(n)},rA.prototype.set=function(n,t){var r=this.__data__;if(r instanceof rm){var e=r.__data__;if(!rn||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new rx(e)}return r.set(n,t),this.size=r.size,this};var rF=eJ(rH),rN=eJ(rJ,!0);function rP(n,t){var r=!0;return rF(n,function(n,e,u){return r=!!t(n,e,u)}),r}function rq(n,t,r){for(var e=-1,i=n.length;++e0&&r(f)?t>1?rK(f,t-1,r,e,u):tg(u,f):e||(u[u.length]=f)}return u}var rV=eY(),rG=eY(!0);function rH(n,t){return n&&rV(n,t,od)}function rJ(n,t){return n&&rG(n,t,od)}function rY(n,t){return th(t,function(t){return iG(n[t])})}function rQ(n,t){t=eT(t,n);for(var r=0,e=t.length;null!=n&&rt}function r2(n,t){return null!=n&&nC.call(n,t)}function r9(n,t){return null!=n&&t in nj(n)}function r3(n,t,r){for(var e=r?tv:tp,i=n[0].length,o=n.length,f=o,a=nd(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=t_(s,tW(t))),c=t3(s.length,c),a[f]=!r&&(t||i>=120&&s.length>=120)?new rj(f&&s):u}s=n[0];var h=-1,p=a[0];n:for(;++h=f)return a;return a*("desc"==r[e]?-1:1)}}return n.index-t.index}(n,t,r)})}function ec(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)f!==n&&n0.call(f,a,1),n0.call(n,a,1);return n}function es(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;uk(u)?n0.call(n,u,1):eR(n,u)}}return n}function eh(n,t){return n+tY(t7()*(t-n+1))}function ep(n,t){var r="";if(!n||t<1||t>9007199254740991)return r;do t%2&&(r+=n),(t=tY(t/2))&&(n+=n);while(t);return r}function ev(n,t){return uT(uC(n,t,oq),n+"")}function e_(n){return rO(oI(n))}function eg(n,t){var r=oI(n);return uM(r,rB(t,0,r.length))}function ey(n,t,r,e){if(!iY(n))return n;t=eT(t,n);for(var i=-1,o=t.length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=nd(u);++e>>1,o=n[i];null!==o&&!i4(o)&&(r?o<=t:o=200){var c=t?null:ur(n);if(c)return tZ(c);o=!1,u=tU,a=new rj}else a=t?[]:f;n:for(;++e=e?n:em(n,t,r)}var eD=n5||function(n){return n4.clearTimeout(n)};function eM(n,t){if(t)return n.slice();var r=n.length,e=nN?nN(r):new n.constructor(r);return n.copy(e),e}function eF(n){var t=new n.constructor(n.byteLength);return new nF(t).set(new nF(n)),t}function eN(n,t){var r=t?eF(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function eP(n,t){if(n!==t){var r=u!==n,e=null===n,i=n==n,o=i4(n),f=u!==t,a=null===t,c=t==t,l=i4(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||e&&f&&c||!r&&c||!i)return 1;if(!e&&!o&&!l&&n1?r[i-1]:u,f=i>2?r[2]:u;for(o=n.length>3&&"function"==typeof o?(i--,o):u,f&&uO(r[0],r[1],f)&&(o=i<3?u:o,i=1),t=nj(t);++e-1?i[o?t[f]:f]:u}}function e2(n){return uc(function(t){var r=t.length,e=r,o=rd.prototype.thru;for(n&&t.reverse();e--;){var f=t[e];if("function"!=typeof f)throw new nO(i);if(o&&!a&&"wrapper"==up(f))var a=new rd([],!0)}for(e=a?e:r;++e1&&b.reverse(),s&&ca))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new rj:u;for(o.set(n,t),o.set(t,n);++h-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(nt,"{\n/* [wrapped with "+t+"] */\n")}(i,(e=(u=i.match(nr))?u[1].split(ne):[],tc(l,function(n){var t="_."+n[0];r&n[1]&&!tp(e,t)&&e.push(t)}),e.sort())))}function uD(n){var t=0,r=0;return function(){var e=t4(),i=16-(e-r);if(r=e,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(u,arguments)}}function uM(n,t){var r=-1,e=n.length,i=e-1;for(t=u===t?e:t;++r1?n[t-1]:u;return r="function"==typeof r?(n.pop(),r):u,it(n,r)});function ic(n){var t=r_(n);return t.__chain__=!0,t}function il(n,t){return t(n)}var is=uc(function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,i=function(t){return rU(t,n)};return!(t>1)&&!this.__actions__.length&&e instanceof rb&&uk(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:il,args:[i],thisArg:u}),new rd(e,this.__chain__).thru(function(n){return t&&!n.length&&n.push(u),n})):this.thru(i)}),ih=eG(function(n,t,r){nC.call(n,r)?++n[r]:rL(n,r,1)}),ip=e1(uG),iv=e1(uH);function i_(n,t){return(iF(n)?tc:rF)(n,u_(t,3))}function ig(n,t){return(iF(n)?tl:rN)(n,u_(t,3))}var iy=eG(function(n,t,r){nC.call(n,r)?n[r].push(t):rL(n,r,[t])}),id=ev(function(n,t,r){var e=-1,u="function"==typeof t,i=iP(n)?nd(n.length):[];return rF(n,function(n){i[++e]=u?tf(t,n,r):r4(n,t,r)}),i}),ib=eG(function(n,t,r){rL(n,r,t)});function iw(n,t){return(iF(n)?t_:ee)(n,u_(t,3))}var im=eG(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),ix=ev(function(n,t){if(null==n)return[];var r=t.length;return r>1&&uO(n,t[0],t[1])?t=[]:r>2&&uO(t[0],t[1],t[2])&&(t=[t[0]]),ea(n,rK(t,1),[])}),ij=tn||function(){return n4.Date.now()};function iA(n,t,r){return t=r?u:t,t=n&&null==t?n.length:t,uu(n,128,u,u,u,u,t)}function ik(n,t){var r;if("function"!=typeof t)throw new nO(i);return n=ot(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=u),r}}var iO=ev(function(n,t,r){var e=1;if(r.length){var u=tq(r,uv(iO));e|=32}return uu(n,e,t,r,u)}),iI=ev(function(n,t,r){var e=3;if(r.length){var u=tq(r,uv(iI));e|=32}return uu(t,e,n,r,u)});function iE(n,t,r){var e,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new nO(i);function _(t){var r=e,i=o;return e=o=u,s=t,a=n.apply(i,r)}function g(n){var r=n-l,e=n-s;return u===l||r>=t||r<0||p&&e>=f}function y(){var n,r,e,u=ij();if(g(u))return d(u);c=uB(y,(n=u-l,r=u-s,e=t-n,p?t3(e,f-r):e))}function d(n){return(c=u,v&&e)?_(n):(e=o=u,a)}function b(){var n,r=ij(),i=g(r);if(e=arguments,o=this,l=r,i){if(u===c)return s=n=l,c=uB(y,t),h?_(n):a;if(p)return eD(c),c=uB(y,t),_(l)}return u===c&&(c=uB(y,t)),a}return t=oe(t)||0,iY(r)&&(h=!!r.leading,f=(p="maxWait"in r)?t9(oe(r.maxWait)||0,t):f,v="trailing"in r?!!r.trailing:v),b.cancel=function(){u!==c&&eD(c),s=0,e=l=o=c=u},b.flush=function(){return u===c?a:d(ij())},b}var iR=ev(function(n,t){return rD(n,1,t)}),iz=ev(function(n,t,r){return rD(n,oe(t)||0,r)});function iS(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new nO(i);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(iS.Cache||rx),r}function iC(n){if("function"!=typeof n)throw new nO(i);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}iS.Cache=rx;var iW=ev(function(n,t){var r=(t=1==t.length&&iF(t[0])?t_(t[0],tW(u_())):t_(rK(t,1),tW(u_()))).length;return ev(function(e){for(var u=-1,i=t3(e.length,r);++u=t}),iM=r8(function(){return arguments}())?r8:function(n){return iQ(n)&&nC.call(n,"callee")&&!nG.call(n,"callee")},iF=nd.isArray,iN=tt?tW(tt):function(n){return iQ(n)&&r0(n)==I};function iP(n){return null!=n&&iJ(n.length)&&!iG(n)}function iq(n){return iQ(n)&&iP(n)}var iZ=tX||o9,iK=tr?tW(tr):function(n){return iQ(n)&&r0(n)==v};function iV(n){if(!iQ(n))return!1;var t=r0(n);return t==_||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!i1(n)}function iG(n){if(!iY(n))return!1;var t=r0(n);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iH(n){return"number"==typeof n&&n==ot(n)}function iJ(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}function iY(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function iQ(n){return null!=n&&"object"==typeof n}var iX=te?tW(te):function(n){return iQ(n)&&um(n)==d};function i0(n){return"number"==typeof n||iQ(n)&&r0(n)==b}function i1(n){if(!iQ(n)||r0(n)!=w)return!1;var t=nP(n);if(null===t)return!0;var r=nC.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&nS.call(r)==nB}var i2=tu?tW(tu):function(n){return iQ(n)&&r0(n)==x},i9=ti?tW(ti):function(n){return iQ(n)&&um(n)==j};function i3(n){return"string"==typeof n||!iF(n)&&iQ(n)&&r0(n)==A}function i4(n){return"symbol"==typeof n||iQ(n)&&r0(n)==k}var i8=to?tW(to):function(n){return iQ(n)&&iJ(n.length)&&!!nQ[r0(n)]},i7=e5(er),i6=e5(function(n,t){return n<=t});function i5(n){if(!n)return[];if(iP(n))return i3(n)?tV(n):eK(n);if(n3&&n[n3])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[n3]());var t=um(n);return(t==d?tN:t==j?tZ:oI)(n)}function on(n){return n?(n=oe(n))===a||n===-a?(n<0?-1:1)*17976931348623157e292:n==n?n:0:0===n?n:0}function ot(n){var t=on(n),r=t%1;return t==t?r?t-r:t:0}function or(n){return n?rB(ot(n),0,4294967295):0}function oe(n){if("number"==typeof n)return n;if(i4(n))return c;if(iY(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=iY(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=tC(n);var r=nl.test(n);return r||nh.test(n)?n2(n.slice(2),r?2:8):nc.test(n)?c:+n}function ou(n){return eV(n,ob(n))}function oi(n){return null==n?"":eI(n)}var oo=eH(function(n,t){if(uz(t)||iP(t)){eV(t,od(t),n);return}for(var r in t)nC.call(t,r)&&rz(n,r,t[r])}),of=eH(function(n,t){eV(t,ob(t),n)}),oa=eH(function(n,t,r,e){eV(t,ob(t),n,e)}),oc=eH(function(n,t,r,e){eV(t,od(t),n,e)}),ol=uc(rU),os=ev(function(n,t){n=nj(n);var r=-1,e=t.length,i=e>2?t[2]:u;for(i&&uO(t[0],t[1],i)&&(e=1);++r1),t}),eV(n,us(n),r),e&&(r=rT(r,7,uf));for(var u=t.length;u--;)eR(r,t[u]);return r}),oj=uc(function(n,t){return null==n?{}:ec(n,t,function(t,r){return ov(n,r)})});function oA(n,t){if(null==n)return{};var r=t_(us(n),function(n){return[n]});return t=u_(t),ec(n,r,function(n,r){return t(n,r[0])})}var ok=ue(od),oO=ue(ob);function oI(n){return null==n?[]:tL(n,od(n))}var oE=eX(function(n,t,r){return t=t.toLowerCase(),n+(r?oR(t):t)});function oR(n){return oT(oi(n).toLowerCase())}function oz(n){return(n=oi(n))&&n.replace(nv,t$).replace(nZ,"")}var oS=eX(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),oC=eX(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),oW=eQ("toLowerCase"),oL=eX(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),oU=eX(function(n,t,r){return n+(r?" ":"")+oT(t)}),oB=eX(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),oT=eQ("toUpperCase");function o$(n,t,r){if(n=oi(n),t=r?u:t,u===t){var e;return(e=n,nH.test(e))?n.match(nV)||[]:n.match(nu)||[]}return n.match(t)||[]}var oD=ev(function(n,t){try{return tf(n,u,t)}catch(n){return iV(n)?n:new nw(n)}}),oM=uc(function(n,t){return tc(t,function(t){rL(n,t=uN(t),iO(n[t],n))}),n});function oF(n){return function(){return n}}var oN=e2(),oP=e2(!0);function oq(n){return n}function oZ(n){return en("function"==typeof n?n:rT(n,1))}var oK=ev(function(n,t){return function(r){return r4(r,n,t)}}),oV=ev(function(n,t){return function(r){return r4(n,r,t)}});function oG(n,t,r){var e=od(t),u=rY(t,e);null!=r||iY(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=rY(t,od(t)));var i=!(iY(r)&&"chain"in r)||!!r.chain,o=iG(n);return tc(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=eK(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,tg([this.value()],arguments))})}),n}function oH(){}var oJ=e8(t_),oY=e8(ts),oQ=e8(tb);function oX(n){return uI(n)?tI(uN(n)):function(t){return rQ(t,n)}}var o0=e6(),o1=e6(!0);function o2(){return[]}function o9(){return!1}var o3=e4(function(n,t){return n+t},0),o4=ut("ceil"),o8=e4(function(n,t){return n/t},1),o7=ut("floor"),o6=e4(function(n,t){return n*t},1),o5=ut("round"),fn=e4(function(n,t){return n-t},0);return r_.after=function(n,t){if("function"!=typeof t)throw new nO(i);return n=ot(n),function(){if(--n<1)return t.apply(this,arguments)}},r_.ary=iA,r_.assign=oo,r_.assignIn=of,r_.assignInWith=oa,r_.assignWith=oc,r_.at=ol,r_.before=ik,r_.bind=iO,r_.bindAll=oM,r_.bindKey=iI,r_.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return iF(n)?n:[n]},r_.chain=ic,r_.chunk=function(n,t,r){t=(r?uO(n,t,r):u===t)?1:t9(ot(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var i=0,o=0,f=nd(tE(e/t));ii?0:i+r),(e=u===e||e>i?i:ot(e))<0&&(e+=i),e=r>e?0:or(e);r>>0)?(n=oi(n))&&("string"==typeof t||null!=t&&!i2(t))&&!(t=eI(t))&&tF(n)?e$(tV(n),0,r):n.split(t,r):[]},r_.spread=function(n,t){if("function"!=typeof n)throw new nO(i);return t=null==t?0:t9(ot(t),0),ev(function(r){var e=r[t],u=e$(r,0,t);return e&&tg(u,e),tf(n,this,u)})},r_.tail=function(n){var t=null==n?0:n.length;return t?em(n,1,t):[]},r_.take=function(n,t,r){return n&&n.length?em(n,0,(t=r||u===t?1:ot(t))<0?0:t):[]},r_.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?em(n,(t=e-(t=r||u===t?1:ot(t)))<0?0:t,e):[]},r_.takeRightWhile=function(n,t){return n&&n.length?eS(n,u_(t,3),!1,!0):[]},r_.takeWhile=function(n,t){return n&&n.length?eS(n,u_(t,3)):[]},r_.tap=function(n,t){return t(n),n},r_.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new nO(i);return iY(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),iE(n,t,{leading:e,maxWait:t,trailing:u})},r_.thru=il,r_.toArray=i5,r_.toPairs=ok,r_.toPairsIn=oO,r_.toPath=function(n){return iF(n)?t_(n,uN):i4(n)?[n]:eK(uF(oi(n)))},r_.toPlainObject=ou,r_.transform=function(n,t,r){var e=iF(n),u=e||iZ(n)||i8(n);if(t=u_(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:iY(n)&&iG(i)?rg(nP(n)):{}}return(u?tc:rH)(n,function(n,e,u){return t(r,n,e,u)}),r},r_.unary=function(n){return iA(n,1)},r_.union=u8,r_.unionBy=u7,r_.unionWith=u6,r_.uniq=function(n){return n&&n.length?eE(n):[]},r_.uniqBy=function(n,t){return n&&n.length?eE(n,u_(t,2)):[]},r_.uniqWith=function(n,t){return t="function"==typeof t?t:u,n&&n.length?eE(n,u,t):[]},r_.unset=function(n,t){return null==n||eR(n,t)},r_.unzip=u5,r_.unzipWith=it,r_.update=function(n,t,r){return null==n?n:ez(n,t,eB(r))},r_.updateWith=function(n,t,r,e){return e="function"==typeof e?e:u,null==n?n:ez(n,t,eB(r),e)},r_.values=oI,r_.valuesIn=function(n){return null==n?[]:tL(n,ob(n))},r_.without=ir,r_.words=o$,r_.wrap=function(n,t){return iL(eB(t),n)},r_.xor=ie,r_.xorBy=iu,r_.xorWith=ii,r_.zip=io,r_.zipObject=function(n,t){return eL(n||[],t||[],rz)},r_.zipObjectDeep=function(n,t){return eL(n||[],t||[],ey)},r_.zipWith=ia,r_.entries=ok,r_.entriesIn=oO,r_.extend=of,r_.extendWith=oa,oG(r_,r_),r_.add=o3,r_.attempt=oD,r_.camelCase=oE,r_.capitalize=oR,r_.ceil=o4,r_.clamp=function(n,t,r){return u===r&&(r=t,t=u),u!==r&&(r=(r=oe(r))==r?r:0),u!==t&&(t=(t=oe(t))==t?t:0),rB(oe(n),t,r)},r_.clone=function(n){return rT(n,4)},r_.cloneDeep=function(n){return rT(n,5)},r_.cloneDeepWith=function(n,t){return rT(n,5,t="function"==typeof t?t:u)},r_.cloneWith=function(n,t){return rT(n,4,t="function"==typeof t?t:u)},r_.conformsTo=function(n,t){return null==t||r$(n,t,od(t))},r_.deburr=oz,r_.defaultTo=function(n,t){return null==n||n!=n?t:n},r_.divide=o8,r_.endsWith=function(n,t,r){n=oi(n),t=eI(t);var e=n.length,i=r=u===r?e:rB(ot(r),0,e);return(r-=t.length)>=0&&n.slice(r,i)==t},r_.eq=iT,r_.escape=function(n){return(n=oi(n))&&q.test(n)?n.replace(N,tD):n},r_.escapeRegExp=function(n){return(n=oi(n))&&Q.test(n)?n.replace(Y,"\\$&"):n},r_.every=function(n,t,r){var e=iF(n)?ts:rP;return r&&uO(n,t,r)&&(t=u),e(n,u_(t,3))},r_.find=ip,r_.findIndex=uG,r_.findKey=function(n,t){return tm(n,u_(t,3),rH)},r_.findLast=iv,r_.findLastIndex=uH,r_.findLastKey=function(n,t){return tm(n,u_(t,3),rJ)},r_.floor=o7,r_.forEach=i_,r_.forEachRight=ig,r_.forIn=function(n,t){return null==n?n:rV(n,u_(t,3),ob)},r_.forInRight=function(n,t){return null==n?n:rG(n,u_(t,3),ob)},r_.forOwn=function(n,t){return n&&rH(n,u_(t,3))},r_.forOwnRight=function(n,t){return n&&rJ(n,u_(t,3))},r_.get=op,r_.gt=i$,r_.gte=iD,r_.has=function(n,t){return null!=n&&ux(n,t,r2)},r_.hasIn=ov,r_.head=uY,r_.identity=oq,r_.includes=function(n,t,r,e){n=iP(n)?n:oI(n),r=r&&!e?ot(r):0;var u=n.length;return r<0&&(r=t9(u+r,0)),i3(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&tj(n,t,r)>-1},r_.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var u=null==r?0:ot(r);return u<0&&(u=t9(e+u,0)),tj(n,t,u)},r_.inRange=function(n,t,r){var e,i,o;return t=on(t),u===r?(r=t,t=0):r=on(r),(e=n=oe(n))>=t3(i=t,o=r)&&e=-9007199254740991&&n<=9007199254740991},r_.isSet=i9,r_.isString=i3,r_.isSymbol=i4,r_.isTypedArray=i8,r_.isUndefined=function(n){return u===n},r_.isWeakMap=function(n){return iQ(n)&&um(n)==O},r_.isWeakSet=function(n){return iQ(n)&&"[object WeakSet]"==r0(n)},r_.join=function(n,t){return null==n?"":t1.call(n,t)},r_.kebabCase=oS,r_.last=u1,r_.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var i=e;return u!==r&&(i=(i=ot(r))<0?t9(e+i,0):t3(i,e-1)),t==t?function(n,t,r){for(var e=r+1;e--&&n[e]!==t;);return e}(n,t,i):tx(n,tk,i,!0)},r_.lowerCase=oC,r_.lowerFirst=oW,r_.lt=i7,r_.lte=i6,r_.max=function(n){return n&&n.length?rq(n,oq,r1):u},r_.maxBy=function(n,t){return n&&n.length?rq(n,u_(t,2),r1):u},r_.mean=function(n){return tO(n,oq)},r_.meanBy=function(n,t){return tO(n,u_(t,2))},r_.min=function(n){return n&&n.length?rq(n,oq,er):u},r_.minBy=function(n,t){return n&&n.length?rq(n,u_(t,2),er):u},r_.stubArray=o2,r_.stubFalse=o9,r_.stubObject=function(){return{}},r_.stubString=function(){return""},r_.stubTrue=function(){return!0},r_.multiply=o6,r_.nth=function(n,t){return n&&n.length?ef(n,ot(t)):u},r_.noConflict=function(){return n4._===this&&(n4._=nT),this},r_.noop=oH,r_.now=ij,r_.pad=function(n,t,r){n=oi(n);var e=(t=ot(t))?tK(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return e7(tY(u),r)+n+e7(tE(u),r)},r_.padEnd=function(n,t,r){n=oi(n);var e=(t=ot(t))?tK(n):0;return t&&et){var e=n;n=t,t=e}if(r||n%1||t%1){var i=t7();return t3(n+i*(t-n+n1("1e-"+((i+"").length-1))),t)}return eh(n,t)},r_.reduce=function(n,t,r){var e=iF(n)?ty:tR,u=arguments.length<3;return e(n,u_(t,4),r,u,rF)},r_.reduceRight=function(n,t,r){var e=iF(n)?td:tR,u=arguments.length<3;return e(n,u_(t,4),r,u,rN)},r_.repeat=function(n,t,r){return t=(r?uO(n,t,r):u===t)?1:ot(t),ep(oi(n),t)},r_.replace=function(){var n=arguments,t=oi(n[0]);return n.length<3?t:t.replace(n[1],n[2])},r_.result=function(n,t,r){t=eT(t,n);var e=-1,i=t.length;for(i||(i=1,n=u);++e9007199254740991)return[];var r=4294967295,e=t3(n,4294967295);t=u_(t),n-=4294967295;for(var u=tS(e,t);++r=o)return n;var a=r-tK(e);if(a<1)return e;var c=f?e$(f,0,a).join(""):n.slice(0,a);if(u===i)return c+e;if(f&&(a+=c.length-a),i2(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=nA(i.source,oi(na.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,u===h?a:h)}}else if(n.indexOf(eI(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},r_.unescape=function(n){return(n=oi(n))&&P.test(n)?n.replace(F,tH):n},r_.uniqueId=function(n){var t=++nW;return oi(n)+t},r_.upperCase=oB,r_.upperFirst=oT,r_.each=i_,r_.eachRight=ig,r_.first=uY,oG(r_,(ny={},rH(r_,function(n,t){nC.call(r_.prototype,t)||(ny[t]=n)}),ny),{chain:!1}),r_.VERSION="4.17.21",tc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){r_[n].placeholder=r_}),tc(["drop","take"],function(n,t){rb.prototype[n]=function(r){r=u===r?1:t9(ot(r),0);var e=this.__filtered__&&!t?new rb(this):this.clone();return e.__filtered__?e.__takeCount__=t3(r,e.__takeCount__):e.__views__.push({size:t3(r,4294967295),type:n+(e.__dir__<0?"Right":"")}),e},rb.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),tc(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;rb.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:u_(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),tc(["head","last"],function(n,t){var r="take"+(t?"Right":"");rb.prototype[n]=function(){return this[r](1).value()[0]}}),tc(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");rb.prototype[n]=function(){return this.__filtered__?new rb(this):this[r](1)}}),rb.prototype.compact=function(){return this.filter(oq)},rb.prototype.find=function(n){return this.filter(n).head()},rb.prototype.findLast=function(n){return this.reverse().find(n)},rb.prototype.invokeMap=ev(function(n,t){return"function"==typeof n?new rb(this):this.map(function(r){return r4(r,n,t)})}),rb.prototype.reject=function(n){return this.filter(iC(u_(n)))},rb.prototype.slice=function(n,t){n=ot(n);var r=this;return r.__filtered__&&(n>0||t<0)?new rb(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),u!==t&&(r=(t=ot(t))<0?r.dropRight(-t):r.take(t-n)),r)},rb.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},rb.prototype.toArray=function(){return this.take(4294967295)},rH(rb.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),i=r_[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);i&&(r_.prototype[t]=function(){var t=this.__wrapped__,f=e?[1]:arguments,a=t instanceof rb,c=f[0],l=a||iF(t),s=function(n){var t=i.apply(r_,tg([n],f));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new rb(this);var g=n.apply(t,f);return g.__actions__.push({func:il,args:[s],thisArg:u}),new rd(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?e?g.value()[0]:g.value():g)})}),tc(["pop","push","shift","sort","splice","unshift"],function(n){var t=nI[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);r_.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(iF(u)?u:[],n)}return this[r](function(r){return t.apply(iF(r)?r:[],n)})}}),rH(rb.prototype,function(n,t){var r=r_[t];if(r){var e=r.name+"";nC.call(ro,e)||(ro[e]=[]),ro[e].push({name:t,func:r})}}),ro[e9(u,2).name]=[{name:"wrapper",func:u}],rb.prototype.clone=function(){var n=new rb(this.__wrapped__);return n.__actions__=eK(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=eK(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=eK(this.__views__),n},rb.prototype.reverse=function(){if(this.__filtered__){var n=new rb(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n},rb.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=iF(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e=this.__values__.length,t=n?u:this.__values__[this.__index__++];return{done:n,value:t}},r_.prototype.plant=function(n){for(var t,r=this;r instanceof ry;){var e=uq(r);e.__index__=0,e.__values__=u,t?i.__wrapped__=e:t=e;var i=e;r=r.__wrapped__}return i.__wrapped__=n,t},r_.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof rb){var t=n;return this.__actions__.length&&(t=new rb(this)),(t=t.reverse()).__actions__.push({func:il,args:[u4],thisArg:u}),new rd(t,this.__chain__)}return this.thru(u4)},r_.prototype.toJSON=r_.prototype.valueOf=r_.prototype.value=function(){return eC(this.__wrapped__,this.__actions__)},r_.prototype.first=r_.prototype.head,n3&&(r_.prototype[n3]=function(){return this}),r_}();n4._=tJ,e=(function(){return tJ}).call(t,r,t,n),u!==e&&(n.exports=e)}).call(this)}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[662],{96486:function(n,t,r){var e;n=r.nmd(n),(function(){var u,i="Expected a function",o="__lodash_hash_undefined__",f="__lodash_placeholder__",a=1/0,c=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",h="[object Array]",p="[object Boolean]",v="[object Date]",_="[object Error]",g="[object Function]",y="[object GeneratorFunction]",d="[object Map]",b="[object Number]",w="[object Object]",m="[object Promise]",x="[object RegExp]",j="[object Set]",A="[object String]",k="[object Symbol]",O="[object WeakMap]",I="[object ArrayBuffer]",E="[object DataView]",R="[object Float32Array]",z="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",W="[object Int32Array]",L="[object Uint8Array]",U="[object Uint8ClampedArray]",B="[object Uint16Array]",T="[object Uint32Array]",$=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,M=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,N=/[&<>"']/g,P=RegExp(F.source),q=RegExp(N.source),Z=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Y.source),X=/^\s+/,nn=/\s/,nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nr=/\{\n\/\* \[wrapped with (.+)\] \*/,ne=/,? & /,nu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ni=/[()=,{}\[\]\/\s]/,no=/\\(\\)?/g,nf=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,na=/\w*$/,nc=/^[-+]0x[0-9a-f]+$/i,nl=/^0b[01]+$/i,ns=/^\[object .+?Constructor\]$/,nh=/^0o[0-7]+$/i,np=/^(?:0|[1-9]\d*)$/,nv=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n_=/($^)/,ng=/['\n\r\u2028\u2029\\]/g,ny="\ud800-\udfff",nd="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nb="\\u2700-\\u27bf",nw="a-z\\xdf-\\xf6\\xf8-\\xff",nm="A-Z\\xc0-\\xd6\\xd8-\\xde",nx="\\ufe0e\\ufe0f",nj="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nA="['’]",nk="["+nj+"]",nO="["+nd+"]",nI="["+nw+"]",nE="[^"+ny+nj+"\\d+"+nb+nw+nm+"]",nR="\ud83c[\udffb-\udfff]",nz="[^"+ny+"]",nS="(?:\ud83c[\udde6-\uddff]){2}",nC="[\ud800-\udbff][\udc00-\udfff]",nW="["+nm+"]",nL="\\u200d",nU="(?:"+nI+"|"+nE+")",nB="(?:"+nA+"(?:d|ll|m|re|s|t|ve))?",nT="(?:"+nA+"(?:D|LL|M|RE|S|T|VE))?",n$="(?:"+nO+"|"+nR+")?",nD="["+nx+"]?",nM="(?:"+nL+"(?:"+[nz,nS,nC].join("|")+")"+nD+n$+")*",nF=nD+n$+nM,nN="(?:"+["["+nb+"]",nS,nC].join("|")+")"+nF,nP="(?:"+[nz+nO+"?",nO,nS,nC,"["+ny+"]"].join("|")+")",nq=RegExp(nA,"g"),nZ=RegExp(nO,"g"),nK=RegExp(nR+"(?="+nR+")|"+nP+nF,"g"),nV=RegExp([nW+"?"+nI+"+"+nB+"(?="+[nk,nW,"$"].join("|")+")","(?:"+nW+"|"+nE+")+"+nT+"(?="+[nk,nW+nU,"$"].join("|")+")",nW+"?"+nU+"+"+nB,nW+"+"+nT,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",nN].join("|"),"g"),nG=RegExp("["+nL+ny+nd+nx+"]"),nH=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nY=-1,nQ={};nQ[R]=nQ[z]=nQ[S]=nQ[C]=nQ[W]=nQ[L]=nQ[U]=nQ[B]=nQ[T]=!0,nQ[s]=nQ[h]=nQ[I]=nQ[p]=nQ[E]=nQ[v]=nQ[_]=nQ[g]=nQ[d]=nQ[b]=nQ[w]=nQ[x]=nQ[j]=nQ[A]=nQ[O]=!1;var nX={};nX[s]=nX[h]=nX[I]=nX[E]=nX[p]=nX[v]=nX[R]=nX[z]=nX[S]=nX[C]=nX[W]=nX[d]=nX[b]=nX[w]=nX[x]=nX[j]=nX[A]=nX[k]=nX[L]=nX[U]=nX[B]=nX[T]=!0,nX[_]=nX[g]=nX[O]=!1;var n0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n1=parseFloat,n2=parseInt,n9="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,n3="object"==typeof self&&self&&self.Object===Object&&self,n4=n9||n3||Function("return this")(),n6=t&&!t.nodeType&&t,n7=n6&&n&&!n.nodeType&&n,n8=n7&&n7.exports===n6,n5=n8&&n9.process,tn=function(){try{var n=n7&&n7.require&&n7.require("util").types;if(n)return n;return n5&&n5.binding&&n5.binding("util")}catch(n){}}(),tt=tn&&tn.isArrayBuffer,tr=tn&&tn.isDate,te=tn&&tn.isMap,tu=tn&&tn.isRegExp,ti=tn&&tn.isSet,to=tn&&tn.isTypedArray;function tf(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function ta(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function tv(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function tT(n,t){for(var r=n.length;r--&&tj(t,n[r],0)>-1;);return r}var t$=tE({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tD=tE({"&":"&","<":"<",">":">",'"':""","'":"'"});function tM(n){return"\\"+n0[n]}function tF(n){return nG.test(n)}function tN(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function tP(n,t){return function(r){return n(t(r))}}function tq(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"}),tJ=function n(t){var r,e,nn,ny,nd=(t=null==t?n4:tJ.defaults(n4.Object(),t,tJ.pick(n4,nJ))).Array,nb=t.Date,nw=t.Error,nm=t.Function,nx=t.Math,nj=t.Object,nA=t.RegExp,nk=t.String,nO=t.TypeError,nI=nd.prototype,nE=nm.prototype,nR=nj.prototype,nz=t["__core-js_shared__"],nS=nE.toString,nC=nR.hasOwnProperty,nW=0,nL=(r=/[^.]+$/.exec(nz&&nz.keys&&nz.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",nU=nR.toString,nB=nS.call(nj),nT=n4._,n$=nA("^"+nS.call(nC).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nD=n8?t.Buffer:u,nM=t.Symbol,nF=t.Uint8Array,nN=nD?nD.allocUnsafe:u,nP=tP(nj.getPrototypeOf,nj),nK=nj.create,nG=nR.propertyIsEnumerable,n0=nI.splice,n9=nM?nM.isConcatSpreadable:u,n3=nM?nM.iterator:u,n6=nM?nM.toStringTag:u,n7=function(){try{var n=ud(nj,"defineProperty");return n({},"",{}),n}catch(n){}}(),n5=t.clearTimeout!==n4.clearTimeout&&t.clearTimeout,tn=nb&&nb.now!==n4.Date.now&&nb.now,tw=t.setTimeout!==n4.setTimeout&&t.setTimeout,tE=nx.ceil,tY=nx.floor,tQ=nj.getOwnPropertySymbols,tX=nD?nD.isBuffer:u,t0=t.isFinite,t1=nI.join,t2=tP(nj.keys,nj),t9=nx.max,t3=nx.min,t4=nb.now,t6=t.parseInt,t7=nx.random,t8=nI.reverse,t5=ud(t,"DataView"),rn=ud(t,"Map"),rt=ud(t,"Promise"),rr=ud(t,"Set"),re=ud(t,"WeakMap"),ru=ud(nj,"create"),ri=re&&new re,ro={},rf=uP(t5),ra=uP(rn),rc=uP(rt),rl=uP(rr),rs=uP(re),rh=nM?nM.prototype:u,rp=rh?rh.valueOf:u,rv=rh?rh.toString:u;function r_(n){if(iQ(n)&&!iF(n)&&!(n instanceof rb)){if(n instanceof rd)return n;if(nC.call(n,"__wrapped__"))return uq(n)}return new rd(n)}var rg=function(){function n(){}return function(t){if(!iY(t))return{};if(nK)return nK(t);n.prototype=t;var r=new n;return n.prototype=u,r}}();function ry(){}function rd(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=u}function rb(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function rw(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function rT(n,t,r,e,i,o){var f,a=1&t,c=2&t,l=4&t;if(r&&(f=i?r(n,e,i,o):r(n)),u!==f)return f;if(!iY(n))return n;var h=iF(n);if(h){if(_=n.length,m=new n.constructor(_),_&&"string"==typeof n[0]&&nC.call(n,"index")&&(m.index=n.index,m.input=n.input),f=m,!a)return eK(n,f)}else{var _,m,O,$,D,M=um(n),F=M==g||M==y;if(iZ(n))return eM(n,a);if(M==w||M==s||F&&!i){if(f=c||F?{}:uj(n),!a)return c?(O=(D=f)&&eV(n,ob(n),D),eV(n,uw(n),O)):($=rW(f,n),eV(n,ub(n),$))}else{if(!nX[M])return i?n:{};f=function(n,t,r){var e,u,i=n.constructor;switch(t){case I:return eF(n);case p:case v:return new i(+n);case E:return e=r?eF(n.buffer):n.buffer,new n.constructor(e,n.byteOffset,n.byteLength);case R:case z:case S:case C:case W:case L:case U:case B:case T:return eN(n,r);case d:return new i;case b:case A:return new i(n);case x:return(u=new n.constructor(n.source,na.exec(n))).lastIndex=n.lastIndex,u;case j:return new i;case k:return rp?nj(rp.call(n)):{}}}(n,M,a)}}o||(o=new rA);var N=o.get(n);if(N)return N;o.set(n,f),i9(n)?n.forEach(function(e){f.add(rT(e,t,r,e,n,o))}):iX(n)&&n.forEach(function(e,u){f.set(u,rT(e,t,r,u,n,o))});var P=l?c?us:ul:c?ob:od,q=h?u:P(n);return tc(q||n,function(e,u){q&&(e=n[u=e]),rz(f,u,rT(e,t,r,u,n,o))}),f}function r$(n,t,r){var e=r.length;if(null==n)return!e;for(n=nj(n);e--;){var i=r[e],o=t[i],f=n[i];if(u===f&&!(i in n)||!o(f))return!1}return!0}function rD(n,t,r){if("function"!=typeof n)throw new nO(i);return uB(function(){n.apply(u,r)},t)}function rM(n,t,r,e){var u=-1,i=tp,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=t_(t,tW(r))),e?(i=tv,o=!1):t.length>=200&&(i=tU,o=!1,t=new rj(t));n:for(;++u-1},rm.prototype.set=function(n,t){var r=this.__data__,e=rS(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},rx.prototype.clear=function(){this.size=0,this.__data__={hash:new rw,map:new(rn||rm),string:new rw}},rx.prototype.delete=function(n){var t=ug(this,n).delete(n);return this.size-=t?1:0,t},rx.prototype.get=function(n){return ug(this,n).get(n)},rx.prototype.has=function(n){return ug(this,n).has(n)},rx.prototype.set=function(n,t){var r=ug(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},rj.prototype.add=rj.prototype.push=function(n){return this.__data__.set(n,o),this},rj.prototype.has=function(n){return this.__data__.has(n)},rA.prototype.clear=function(){this.__data__=new rm,this.size=0},rA.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},rA.prototype.get=function(n){return this.__data__.get(n)},rA.prototype.has=function(n){return this.__data__.has(n)},rA.prototype.set=function(n,t){var r=this.__data__;if(r instanceof rm){var e=r.__data__;if(!rn||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new rx(e)}return r.set(n,t),this.size=r.size,this};var rF=eJ(rH),rN=eJ(rJ,!0);function rP(n,t){var r=!0;return rF(n,function(n,e,u){return r=!!t(n,e,u)}),r}function rq(n,t,r){for(var e=-1,i=n.length;++e0&&r(f)?t>1?rK(f,t-1,r,e,u):tg(u,f):e||(u[u.length]=f)}return u}var rV=eY(),rG=eY(!0);function rH(n,t){return n&&rV(n,t,od)}function rJ(n,t){return n&&rG(n,t,od)}function rY(n,t){return th(t,function(t){return iG(n[t])})}function rQ(n,t){t=eT(t,n);for(var r=0,e=t.length;null!=n&&rt}function r2(n,t){return null!=n&&nC.call(n,t)}function r9(n,t){return null!=n&&t in nj(n)}function r3(n,t,r){for(var e=r?tv:tp,i=n[0].length,o=n.length,f=o,a=nd(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=t_(s,tW(t))),c=t3(s.length,c),a[f]=!r&&(t||i>=120&&s.length>=120)?new rj(f&&s):u}s=n[0];var h=-1,p=a[0];n:for(;++h=f)return a;return a*("desc"==r[e]?-1:1)}}return n.index-t.index}(n,t,r)})}function ec(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)f!==n&&n0.call(f,a,1),n0.call(n,a,1);return n}function es(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;uk(u)?n0.call(n,u,1):eR(n,u)}}return n}function eh(n,t){return n+tY(t7()*(t-n+1))}function ep(n,t){var r="";if(!n||t<1||t>9007199254740991)return r;do t%2&&(r+=n),(t=tY(t/2))&&(n+=n);while(t);return r}function ev(n,t){return uT(uC(n,t,oq),n+"")}function e_(n){return rO(oI(n))}function eg(n,t){var r=oI(n);return uM(r,rB(t,0,r.length))}function ey(n,t,r,e){if(!iY(n))return n;t=eT(t,n);for(var i=-1,o=t.length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=nd(u);++e>>1,o=n[i];null!==o&&!i4(o)&&(r?o<=t:o=200){var c=t?null:ur(n);if(c)return tZ(c);o=!1,u=tU,a=new rj}else a=t?[]:f;n:for(;++e=e?n:em(n,t,r)}var eD=n5||function(n){return n4.clearTimeout(n)};function eM(n,t){if(t)return n.slice();var r=n.length,e=nN?nN(r):new n.constructor(r);return n.copy(e),e}function eF(n){var t=new n.constructor(n.byteLength);return new nF(t).set(new nF(n)),t}function eN(n,t){var r=t?eF(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function eP(n,t){if(n!==t){var r=u!==n,e=null===n,i=n==n,o=i4(n),f=u!==t,a=null===t,c=t==t,l=i4(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||e&&f&&c||!r&&c||!i)return 1;if(!e&&!o&&!l&&n1?r[i-1]:u,f=i>2?r[2]:u;for(o=n.length>3&&"function"==typeof o?(i--,o):u,f&&uO(r[0],r[1],f)&&(o=i<3?u:o,i=1),t=nj(t);++e-1?i[o?t[f]:f]:u}}function e2(n){return uc(function(t){var r=t.length,e=r,o=rd.prototype.thru;for(n&&t.reverse();e--;){var f=t[e];if("function"!=typeof f)throw new nO(i);if(o&&!a&&"wrapper"==up(f))var a=new rd([],!0)}for(e=a?e:r;++e1&&b.reverse(),s&&ca))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new rj:u;for(o.set(n,t),o.set(t,n);++h-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(nt,"{\n/* [wrapped with "+t+"] */\n")}(i,(e=(u=i.match(nr))?u[1].split(ne):[],tc(l,function(n){var t="_."+n[0];r&n[1]&&!tp(e,t)&&e.push(t)}),e.sort())))}function uD(n){var t=0,r=0;return function(){var e=t4(),i=16-(e-r);if(r=e,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(u,arguments)}}function uM(n,t){var r=-1,e=n.length,i=e-1;for(t=u===t?e:t;++r1?n[t-1]:u;return r="function"==typeof r?(n.pop(),r):u,it(n,r)});function ic(n){var t=r_(n);return t.__chain__=!0,t}function il(n,t){return t(n)}var is=uc(function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,i=function(t){return rU(t,n)};return!(t>1)&&!this.__actions__.length&&e instanceof rb&&uk(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:il,args:[i],thisArg:u}),new rd(e,this.__chain__).thru(function(n){return t&&!n.length&&n.push(u),n})):this.thru(i)}),ih=eG(function(n,t,r){nC.call(n,r)?++n[r]:rL(n,r,1)}),ip=e1(uG),iv=e1(uH);function i_(n,t){return(iF(n)?tc:rF)(n,u_(t,3))}function ig(n,t){return(iF(n)?tl:rN)(n,u_(t,3))}var iy=eG(function(n,t,r){nC.call(n,r)?n[r].push(t):rL(n,r,[t])}),id=ev(function(n,t,r){var e=-1,u="function"==typeof t,i=iP(n)?nd(n.length):[];return rF(n,function(n){i[++e]=u?tf(t,n,r):r4(n,t,r)}),i}),ib=eG(function(n,t,r){rL(n,r,t)});function iw(n,t){return(iF(n)?t_:ee)(n,u_(t,3))}var im=eG(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),ix=ev(function(n,t){if(null==n)return[];var r=t.length;return r>1&&uO(n,t[0],t[1])?t=[]:r>2&&uO(t[0],t[1],t[2])&&(t=[t[0]]),ea(n,rK(t,1),[])}),ij=tn||function(){return n4.Date.now()};function iA(n,t,r){return t=r?u:t,t=n&&null==t?n.length:t,uu(n,128,u,u,u,u,t)}function ik(n,t){var r;if("function"!=typeof t)throw new nO(i);return n=ot(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=u),r}}var iO=ev(function(n,t,r){var e=1;if(r.length){var u=tq(r,uv(iO));e|=32}return uu(n,e,t,r,u)}),iI=ev(function(n,t,r){var e=3;if(r.length){var u=tq(r,uv(iI));e|=32}return uu(t,e,n,r,u)});function iE(n,t,r){var e,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new nO(i);function _(t){var r=e,i=o;return e=o=u,s=t,a=n.apply(i,r)}function g(n){var r=n-l,e=n-s;return u===l||r>=t||r<0||p&&e>=f}function y(){var n,r,e,u=ij();if(g(u))return d(u);c=uB(y,(n=u-l,r=u-s,e=t-n,p?t3(e,f-r):e))}function d(n){return(c=u,v&&e)?_(n):(e=o=u,a)}function b(){var n,r=ij(),i=g(r);if(e=arguments,o=this,l=r,i){if(u===c)return s=n=l,c=uB(y,t),h?_(n):a;if(p)return eD(c),c=uB(y,t),_(l)}return u===c&&(c=uB(y,t)),a}return t=oe(t)||0,iY(r)&&(h=!!r.leading,f=(p="maxWait"in r)?t9(oe(r.maxWait)||0,t):f,v="trailing"in r?!!r.trailing:v),b.cancel=function(){u!==c&&eD(c),s=0,e=l=o=c=u},b.flush=function(){return u===c?a:d(ij())},b}var iR=ev(function(n,t){return rD(n,1,t)}),iz=ev(function(n,t,r){return rD(n,oe(t)||0,r)});function iS(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new nO(i);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(iS.Cache||rx),r}function iC(n){if("function"!=typeof n)throw new nO(i);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}iS.Cache=rx;var iW=ev(function(n,t){var r=(t=1==t.length&&iF(t[0])?t_(t[0],tW(u_())):t_(rK(t,1),tW(u_()))).length;return ev(function(e){for(var u=-1,i=t3(e.length,r);++u=t}),iM=r6(function(){return arguments}())?r6:function(n){return iQ(n)&&nC.call(n,"callee")&&!nG.call(n,"callee")},iF=nd.isArray,iN=tt?tW(tt):function(n){return iQ(n)&&r0(n)==I};function iP(n){return null!=n&&iJ(n.length)&&!iG(n)}function iq(n){return iQ(n)&&iP(n)}var iZ=tX||o9,iK=tr?tW(tr):function(n){return iQ(n)&&r0(n)==v};function iV(n){if(!iQ(n))return!1;var t=r0(n);return t==_||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!i1(n)}function iG(n){if(!iY(n))return!1;var t=r0(n);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iH(n){return"number"==typeof n&&n==ot(n)}function iJ(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}function iY(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function iQ(n){return null!=n&&"object"==typeof n}var iX=te?tW(te):function(n){return iQ(n)&&um(n)==d};function i0(n){return"number"==typeof n||iQ(n)&&r0(n)==b}function i1(n){if(!iQ(n)||r0(n)!=w)return!1;var t=nP(n);if(null===t)return!0;var r=nC.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&nS.call(r)==nB}var i2=tu?tW(tu):function(n){return iQ(n)&&r0(n)==x},i9=ti?tW(ti):function(n){return iQ(n)&&um(n)==j};function i3(n){return"string"==typeof n||!iF(n)&&iQ(n)&&r0(n)==A}function i4(n){return"symbol"==typeof n||iQ(n)&&r0(n)==k}var i6=to?tW(to):function(n){return iQ(n)&&iJ(n.length)&&!!nQ[r0(n)]},i7=e5(er),i8=e5(function(n,t){return n<=t});function i5(n){if(!n)return[];if(iP(n))return i3(n)?tV(n):eK(n);if(n3&&n[n3])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[n3]());var t=um(n);return(t==d?tN:t==j?tZ:oI)(n)}function on(n){return n?(n=oe(n))===a||n===-a?(n<0?-1:1)*17976931348623157e292:n==n?n:0:0===n?n:0}function ot(n){var t=on(n),r=t%1;return t==t?r?t-r:t:0}function or(n){return n?rB(ot(n),0,4294967295):0}function oe(n){if("number"==typeof n)return n;if(i4(n))return c;if(iY(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=iY(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=tC(n);var r=nl.test(n);return r||nh.test(n)?n2(n.slice(2),r?2:8):nc.test(n)?c:+n}function ou(n){return eV(n,ob(n))}function oi(n){return null==n?"":eI(n)}var oo=eH(function(n,t){if(uz(t)||iP(t)){eV(t,od(t),n);return}for(var r in t)nC.call(t,r)&&rz(n,r,t[r])}),of=eH(function(n,t){eV(t,ob(t),n)}),oa=eH(function(n,t,r,e){eV(t,ob(t),n,e)}),oc=eH(function(n,t,r,e){eV(t,od(t),n,e)}),ol=uc(rU),os=ev(function(n,t){n=nj(n);var r=-1,e=t.length,i=e>2?t[2]:u;for(i&&uO(t[0],t[1],i)&&(e=1);++r1),t}),eV(n,us(n),r),e&&(r=rT(r,7,uf));for(var u=t.length;u--;)eR(r,t[u]);return r}),oj=uc(function(n,t){return null==n?{}:ec(n,t,function(t,r){return ov(n,r)})});function oA(n,t){if(null==n)return{};var r=t_(us(n),function(n){return[n]});return t=u_(t),ec(n,r,function(n,r){return t(n,r[0])})}var ok=ue(od),oO=ue(ob);function oI(n){return null==n?[]:tL(n,od(n))}var oE=eX(function(n,t,r){return t=t.toLowerCase(),n+(r?oR(t):t)});function oR(n){return oT(oi(n).toLowerCase())}function oz(n){return(n=oi(n))&&n.replace(nv,t$).replace(nZ,"")}var oS=eX(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),oC=eX(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),oW=eQ("toLowerCase"),oL=eX(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),oU=eX(function(n,t,r){return n+(r?" ":"")+oT(t)}),oB=eX(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),oT=eQ("toUpperCase");function o$(n,t,r){if(n=oi(n),t=r?u:t,u===t){var e;return(e=n,nH.test(e))?n.match(nV)||[]:n.match(nu)||[]}return n.match(t)||[]}var oD=ev(function(n,t){try{return tf(n,u,t)}catch(n){return iV(n)?n:new nw(n)}}),oM=uc(function(n,t){return tc(t,function(t){rL(n,t=uN(t),iO(n[t],n))}),n});function oF(n){return function(){return n}}var oN=e2(),oP=e2(!0);function oq(n){return n}function oZ(n){return en("function"==typeof n?n:rT(n,1))}var oK=ev(function(n,t){return function(r){return r4(r,n,t)}}),oV=ev(function(n,t){return function(r){return r4(n,r,t)}});function oG(n,t,r){var e=od(t),u=rY(t,e);null!=r||iY(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=rY(t,od(t)));var i=!(iY(r)&&"chain"in r)||!!r.chain,o=iG(n);return tc(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=eK(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,tg([this.value()],arguments))})}),n}function oH(){}var oJ=e6(t_),oY=e6(ts),oQ=e6(tb);function oX(n){return uI(n)?tI(uN(n)):function(t){return rQ(t,n)}}var o0=e8(),o1=e8(!0);function o2(){return[]}function o9(){return!1}var o3=e4(function(n,t){return n+t},0),o4=ut("ceil"),o6=e4(function(n,t){return n/t},1),o7=ut("floor"),o8=e4(function(n,t){return n*t},1),o5=ut("round"),fn=e4(function(n,t){return n-t},0);return r_.after=function(n,t){if("function"!=typeof t)throw new nO(i);return n=ot(n),function(){if(--n<1)return t.apply(this,arguments)}},r_.ary=iA,r_.assign=oo,r_.assignIn=of,r_.assignInWith=oa,r_.assignWith=oc,r_.at=ol,r_.before=ik,r_.bind=iO,r_.bindAll=oM,r_.bindKey=iI,r_.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return iF(n)?n:[n]},r_.chain=ic,r_.chunk=function(n,t,r){t=(r?uO(n,t,r):u===t)?1:t9(ot(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var i=0,o=0,f=nd(tE(e/t));ii?0:i+r),(e=u===e||e>i?i:ot(e))<0&&(e+=i),e=r>e?0:or(e);r>>0)?(n=oi(n))&&("string"==typeof t||null!=t&&!i2(t))&&!(t=eI(t))&&tF(n)?e$(tV(n),0,r):n.split(t,r):[]},r_.spread=function(n,t){if("function"!=typeof n)throw new nO(i);return t=null==t?0:t9(ot(t),0),ev(function(r){var e=r[t],u=e$(r,0,t);return e&&tg(u,e),tf(n,this,u)})},r_.tail=function(n){var t=null==n?0:n.length;return t?em(n,1,t):[]},r_.take=function(n,t,r){return n&&n.length?em(n,0,(t=r||u===t?1:ot(t))<0?0:t):[]},r_.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?em(n,(t=e-(t=r||u===t?1:ot(t)))<0?0:t,e):[]},r_.takeRightWhile=function(n,t){return n&&n.length?eS(n,u_(t,3),!1,!0):[]},r_.takeWhile=function(n,t){return n&&n.length?eS(n,u_(t,3)):[]},r_.tap=function(n,t){return t(n),n},r_.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new nO(i);return iY(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),iE(n,t,{leading:e,maxWait:t,trailing:u})},r_.thru=il,r_.toArray=i5,r_.toPairs=ok,r_.toPairsIn=oO,r_.toPath=function(n){return iF(n)?t_(n,uN):i4(n)?[n]:eK(uF(oi(n)))},r_.toPlainObject=ou,r_.transform=function(n,t,r){var e=iF(n),u=e||iZ(n)||i6(n);if(t=u_(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:iY(n)&&iG(i)?rg(nP(n)):{}}return(u?tc:rH)(n,function(n,e,u){return t(r,n,e,u)}),r},r_.unary=function(n){return iA(n,1)},r_.union=u6,r_.unionBy=u7,r_.unionWith=u8,r_.uniq=function(n){return n&&n.length?eE(n):[]},r_.uniqBy=function(n,t){return n&&n.length?eE(n,u_(t,2)):[]},r_.uniqWith=function(n,t){return t="function"==typeof t?t:u,n&&n.length?eE(n,u,t):[]},r_.unset=function(n,t){return null==n||eR(n,t)},r_.unzip=u5,r_.unzipWith=it,r_.update=function(n,t,r){return null==n?n:ez(n,t,eB(r))},r_.updateWith=function(n,t,r,e){return e="function"==typeof e?e:u,null==n?n:ez(n,t,eB(r),e)},r_.values=oI,r_.valuesIn=function(n){return null==n?[]:tL(n,ob(n))},r_.without=ir,r_.words=o$,r_.wrap=function(n,t){return iL(eB(t),n)},r_.xor=ie,r_.xorBy=iu,r_.xorWith=ii,r_.zip=io,r_.zipObject=function(n,t){return eL(n||[],t||[],rz)},r_.zipObjectDeep=function(n,t){return eL(n||[],t||[],ey)},r_.zipWith=ia,r_.entries=ok,r_.entriesIn=oO,r_.extend=of,r_.extendWith=oa,oG(r_,r_),r_.add=o3,r_.attempt=oD,r_.camelCase=oE,r_.capitalize=oR,r_.ceil=o4,r_.clamp=function(n,t,r){return u===r&&(r=t,t=u),u!==r&&(r=(r=oe(r))==r?r:0),u!==t&&(t=(t=oe(t))==t?t:0),rB(oe(n),t,r)},r_.clone=function(n){return rT(n,4)},r_.cloneDeep=function(n){return rT(n,5)},r_.cloneDeepWith=function(n,t){return rT(n,5,t="function"==typeof t?t:u)},r_.cloneWith=function(n,t){return rT(n,4,t="function"==typeof t?t:u)},r_.conformsTo=function(n,t){return null==t||r$(n,t,od(t))},r_.deburr=oz,r_.defaultTo=function(n,t){return null==n||n!=n?t:n},r_.divide=o6,r_.endsWith=function(n,t,r){n=oi(n),t=eI(t);var e=n.length,i=r=u===r?e:rB(ot(r),0,e);return(r-=t.length)>=0&&n.slice(r,i)==t},r_.eq=iT,r_.escape=function(n){return(n=oi(n))&&q.test(n)?n.replace(N,tD):n},r_.escapeRegExp=function(n){return(n=oi(n))&&Q.test(n)?n.replace(Y,"\\$&"):n},r_.every=function(n,t,r){var e=iF(n)?ts:rP;return r&&uO(n,t,r)&&(t=u),e(n,u_(t,3))},r_.find=ip,r_.findIndex=uG,r_.findKey=function(n,t){return tm(n,u_(t,3),rH)},r_.findLast=iv,r_.findLastIndex=uH,r_.findLastKey=function(n,t){return tm(n,u_(t,3),rJ)},r_.floor=o7,r_.forEach=i_,r_.forEachRight=ig,r_.forIn=function(n,t){return null==n?n:rV(n,u_(t,3),ob)},r_.forInRight=function(n,t){return null==n?n:rG(n,u_(t,3),ob)},r_.forOwn=function(n,t){return n&&rH(n,u_(t,3))},r_.forOwnRight=function(n,t){return n&&rJ(n,u_(t,3))},r_.get=op,r_.gt=i$,r_.gte=iD,r_.has=function(n,t){return null!=n&&ux(n,t,r2)},r_.hasIn=ov,r_.head=uY,r_.identity=oq,r_.includes=function(n,t,r,e){n=iP(n)?n:oI(n),r=r&&!e?ot(r):0;var u=n.length;return r<0&&(r=t9(u+r,0)),i3(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&tj(n,t,r)>-1},r_.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var u=null==r?0:ot(r);return u<0&&(u=t9(e+u,0)),tj(n,t,u)},r_.inRange=function(n,t,r){var e,i,o;return t=on(t),u===r?(r=t,t=0):r=on(r),(e=n=oe(n))>=t3(i=t,o=r)&&e=-9007199254740991&&n<=9007199254740991},r_.isSet=i9,r_.isString=i3,r_.isSymbol=i4,r_.isTypedArray=i6,r_.isUndefined=function(n){return u===n},r_.isWeakMap=function(n){return iQ(n)&&um(n)==O},r_.isWeakSet=function(n){return iQ(n)&&"[object WeakSet]"==r0(n)},r_.join=function(n,t){return null==n?"":t1.call(n,t)},r_.kebabCase=oS,r_.last=u1,r_.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var i=e;return u!==r&&(i=(i=ot(r))<0?t9(e+i,0):t3(i,e-1)),t==t?function(n,t,r){for(var e=r+1;e--&&n[e]!==t;);return e}(n,t,i):tx(n,tk,i,!0)},r_.lowerCase=oC,r_.lowerFirst=oW,r_.lt=i7,r_.lte=i8,r_.max=function(n){return n&&n.length?rq(n,oq,r1):u},r_.maxBy=function(n,t){return n&&n.length?rq(n,u_(t,2),r1):u},r_.mean=function(n){return tO(n,oq)},r_.meanBy=function(n,t){return tO(n,u_(t,2))},r_.min=function(n){return n&&n.length?rq(n,oq,er):u},r_.minBy=function(n,t){return n&&n.length?rq(n,u_(t,2),er):u},r_.stubArray=o2,r_.stubFalse=o9,r_.stubObject=function(){return{}},r_.stubString=function(){return""},r_.stubTrue=function(){return!0},r_.multiply=o8,r_.nth=function(n,t){return n&&n.length?ef(n,ot(t)):u},r_.noConflict=function(){return n4._===this&&(n4._=nT),this},r_.noop=oH,r_.now=ij,r_.pad=function(n,t,r){n=oi(n);var e=(t=ot(t))?tK(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return e7(tY(u),r)+n+e7(tE(u),r)},r_.padEnd=function(n,t,r){n=oi(n);var e=(t=ot(t))?tK(n):0;return t&&et){var e=n;n=t,t=e}if(r||n%1||t%1){var i=t7();return t3(n+i*(t-n+n1("1e-"+((i+"").length-1))),t)}return eh(n,t)},r_.reduce=function(n,t,r){var e=iF(n)?ty:tR,u=arguments.length<3;return e(n,u_(t,4),r,u,rF)},r_.reduceRight=function(n,t,r){var e=iF(n)?td:tR,u=arguments.length<3;return e(n,u_(t,4),r,u,rN)},r_.repeat=function(n,t,r){return t=(r?uO(n,t,r):u===t)?1:ot(t),ep(oi(n),t)},r_.replace=function(){var n=arguments,t=oi(n[0]);return n.length<3?t:t.replace(n[1],n[2])},r_.result=function(n,t,r){t=eT(t,n);var e=-1,i=t.length;for(i||(i=1,n=u);++e9007199254740991)return[];var r=4294967295,e=t3(n,4294967295);t=u_(t),n-=4294967295;for(var u=tS(e,t);++r=o)return n;var a=r-tK(e);if(a<1)return e;var c=f?e$(f,0,a).join(""):n.slice(0,a);if(u===i)return c+e;if(f&&(a+=c.length-a),i2(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=nA(i.source,oi(na.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,u===h?a:h)}}else if(n.indexOf(eI(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},r_.unescape=function(n){return(n=oi(n))&&P.test(n)?n.replace(F,tH):n},r_.uniqueId=function(n){var t=++nW;return oi(n)+t},r_.upperCase=oB,r_.upperFirst=oT,r_.each=i_,r_.eachRight=ig,r_.first=uY,oG(r_,(ny={},rH(r_,function(n,t){nC.call(r_.prototype,t)||(ny[t]=n)}),ny),{chain:!1}),r_.VERSION="4.17.21",tc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){r_[n].placeholder=r_}),tc(["drop","take"],function(n,t){rb.prototype[n]=function(r){r=u===r?1:t9(ot(r),0);var e=this.__filtered__&&!t?new rb(this):this.clone();return e.__filtered__?e.__takeCount__=t3(r,e.__takeCount__):e.__views__.push({size:t3(r,4294967295),type:n+(e.__dir__<0?"Right":"")}),e},rb.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),tc(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;rb.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:u_(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),tc(["head","last"],function(n,t){var r="take"+(t?"Right":"");rb.prototype[n]=function(){return this[r](1).value()[0]}}),tc(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");rb.prototype[n]=function(){return this.__filtered__?new rb(this):this[r](1)}}),rb.prototype.compact=function(){return this.filter(oq)},rb.prototype.find=function(n){return this.filter(n).head()},rb.prototype.findLast=function(n){return this.reverse().find(n)},rb.prototype.invokeMap=ev(function(n,t){return"function"==typeof n?new rb(this):this.map(function(r){return r4(r,n,t)})}),rb.prototype.reject=function(n){return this.filter(iC(u_(n)))},rb.prototype.slice=function(n,t){n=ot(n);var r=this;return r.__filtered__&&(n>0||t<0)?new rb(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),u!==t&&(r=(t=ot(t))<0?r.dropRight(-t):r.take(t-n)),r)},rb.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},rb.prototype.toArray=function(){return this.take(4294967295)},rH(rb.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),i=r_[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);i&&(r_.prototype[t]=function(){var t=this.__wrapped__,f=e?[1]:arguments,a=t instanceof rb,c=f[0],l=a||iF(t),s=function(n){var t=i.apply(r_,tg([n],f));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new rb(this);var g=n.apply(t,f);return g.__actions__.push({func:il,args:[s],thisArg:u}),new rd(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?e?g.value()[0]:g.value():g)})}),tc(["pop","push","shift","sort","splice","unshift"],function(n){var t=nI[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);r_.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(iF(u)?u:[],n)}return this[r](function(r){return t.apply(iF(r)?r:[],n)})}}),rH(rb.prototype,function(n,t){var r=r_[t];if(r){var e=r.name+"";nC.call(ro,e)||(ro[e]=[]),ro[e].push({name:t,func:r})}}),ro[e9(u,2).name]=[{name:"wrapper",func:u}],rb.prototype.clone=function(){var n=new rb(this.__wrapped__);return n.__actions__=eK(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=eK(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=eK(this.__views__),n},rb.prototype.reverse=function(){if(this.__filtered__){var n=new rb(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n},rb.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=iF(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e=this.__values__.length,t=n?u:this.__values__[this.__index__++];return{done:n,value:t}},r_.prototype.plant=function(n){for(var t,r=this;r instanceof ry;){var e=uq(r);e.__index__=0,e.__values__=u,t?i.__wrapped__=e:t=e;var i=e;r=r.__wrapped__}return i.__wrapped__=n,t},r_.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof rb){var t=n;return this.__actions__.length&&(t=new rb(this)),(t=t.reverse()).__actions__.push({func:il,args:[u4],thisArg:u}),new rd(t,this.__chain__)}return this.thru(u4)},r_.prototype.toJSON=r_.prototype.valueOf=r_.prototype.value=function(){return eC(this.__wrapped__,this.__actions__)},r_.prototype.first=r_.prototype.head,n3&&(r_.prototype[n3]=function(){return this}),r_}();n4._=tJ,e=(function(){return tJ}).call(t,r,t,n),u!==e&&(n.exports=e)}).call(this)}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/318-1ce0dc97025124f8.js b/pilot/server/static/_next/static/chunks/318-1ce0dc97025124f8.js deleted file mode 100644 index 048e5c310..000000000 --- a/pilot/server/static/_next/static/chunks/318-1ce0dc97025124f8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[318],{72474:function(e,r,t){t.d(r,{Z:function(){return l}});var a=t(40431),o=t(86006),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},n=t(1240),l=o.forwardRef(function(e,r){return o.createElement(n.Z,(0,a.Z)({},e,{ref:r,icon:i}))})},59534:function(e,r,t){var a=t(78997);r.Z=void 0;var o=a(t(76906)),i=t(9268),n=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlined");r.Z=n},68949:function(e,r,t){var a=t(78997);r.Z=void 0;var o=a(t(76906)),i=t(9268),n=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline");r.Z=n},47611:function(e,r,t){t.d(r,{Z:function(){return B}});var a=t(46750),o=t(40431),i=t(86006),n=t(53832),l=t(47562),c=t(24263),d=t(21454),s=t(99179),u=t(50645),h=t(88930),v=t(47093),m=t(326),p=t(18587);function x(e){return(0,p.d6)("MuiSwitch",e)}let g=(0,p.sI)("MuiSwitch",["root","checked","disabled","action","input","thumb","track","focusVisible","readOnly","colorPrimary","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantOutlined","variantSoft","variantSolid","startDecorator","endDecorator"]);var f=t(31857),b=t(9268);let S=["checked","defaultChecked","disabled","onBlur","onChange","onFocus","onFocusVisible","readOnly","required","id","color","variant","size","startDecorator","endDecorator","component","slots","slotProps"],w=e=>{let{checked:r,disabled:t,focusVisible:a,readOnly:o,color:i,variant:c}=e,d={root:["root",r&&"checked",t&&"disabled",a&&"focusVisible",o&&"readOnly",c&&`variant${(0,n.Z)(c)}`,i&&`color${(0,n.Z)(i)}`],thumb:["thumb",r&&"checked"],track:["track",r&&"checked"],action:["action",a&&"focusVisible"],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(d,x,{})},k=({theme:e,ownerState:r})=>(t={})=>{var a;let o=(null==(a=e.variants[`${r.variant}${t.state||""}`])?void 0:a[r.color])||{};return{"--Switch-trackBackground":o.backgroundColor,"--Switch-trackColor":o.color,"--Switch-trackBorderColor":"outlined"===r.variant?o.borderColor:"currentColor","--Switch-thumbBackground":o.color,"--Switch-thumbColor":o.backgroundColor}},T=(0,u.Z)("div",{name:"JoySwitch",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t;let a=k({theme:e,ownerState:r});return(0,o.Z)({"--variant-borderWidth":null==(t=e.variants[r.variant])||null==(t=t[r.color])?void 0:t["--variant-borderWidth"],"--Switch-trackRadius":e.vars.radius.lg,"--Switch-thumbShadow":"soft"===r.variant?"none":"0 0 0 1px var(--Switch-trackBackground)"},"sm"===r.size&&{"--Switch-trackWidth":"40px","--Switch-trackHeight":"20px","--Switch-thumbSize":"12px","--Switch-gap":"6px",fontSize:e.vars.fontSize.sm},"md"===r.size&&{"--Switch-trackWidth":"48px","--Switch-trackHeight":"24px","--Switch-thumbSize":"16px","--Switch-gap":"8px",fontSize:e.vars.fontSize.md},"lg"===r.size&&{"--Switch-trackWidth":"64px","--Switch-trackHeight":"32px","--Switch-thumbSize":"24px","--Switch-gap":"12px"},{"--unstable_paddingBlock":"max((var(--Switch-trackHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Switch-thumbSize)) / 2, 0px)","--Switch-thumbRadius":"max(var(--Switch-trackRadius) - var(--unstable_paddingBlock), min(var(--unstable_paddingBlock) / 2, var(--Switch-trackRadius) / 2))","--Switch-thumbWidth":"var(--Switch-thumbSize)","--Switch-thumbOffset":"max((var(--Switch-trackHeight) - var(--Switch-thumbSize)) / 2, 0px)"},a(),{"&:hover":(0,o.Z)({},a({state:"Hover"})),[`&.${g.checked}`]:(0,o.Z)({},a(),{"&:hover":(0,o.Z)({},a({state:"Hover"}))}),[`&.${g.disabled}`]:(0,o.Z)({pointerEvents:"none",color:e.vars.palette.text.tertiary},a({state:"Disabled"})),display:"inline-flex",alignItems:"center",alignSelf:"center",fontFamily:e.vars.fontFamily.body,position:"relative",padding:"calc((var(--Switch-thumbSize) / 2) - (var(--Switch-trackHeight) / 2)) calc(-1 * var(--Switch-thumbOffset))",backgroundColor:"initial",border:"none",margin:"var(--unstable_Switch-margin)"})}),y=(0,u.Z)("div",{name:"JoySwitch",slot:"Action",overridesResolver:(e,r)=>r.action})(({theme:e})=>({borderRadius:"var(--Switch-trackRadius)",position:"absolute",top:0,left:0,bottom:0,right:0,[e.focus.selector]:e.focus.default})),Z=(0,u.Z)("input",{name:"JoySwitch",slot:"Input",overridesResolver:(e,r)=>r.input})({margin:0,height:"100%",width:"100%",opacity:0,position:"absolute",cursor:"pointer"}),z=(0,u.Z)("span",{name:"JoySwitch",slot:"Track",overridesResolver:(e,r)=>r.track})(({theme:e,ownerState:r})=>(0,o.Z)({position:"relative",color:"var(--Switch-trackColor)",height:"var(--Switch-trackHeight)",width:"var(--Switch-trackWidth)",display:"flex",flexShrink:0,justifyContent:"space-between",alignItems:"center",boxSizing:"border-box",border:"var(--variant-borderWidth, 0px) solid",borderColor:"var(--Switch-trackBorderColor)",backgroundColor:"var(--Switch-trackBackground)",borderRadius:"var(--Switch-trackRadius)",fontFamily:e.vars.fontFamily.body},"sm"===r.size&&{fontSize:e.vars.fontSize.xs},"md"===r.size&&{fontSize:e.vars.fontSize.sm},"lg"===r.size&&{fontSize:e.vars.fontSize.md})),C=(0,u.Z)("span",{name:"JoySwitch",slot:"Thumb",overridesResolver:(e,r)=>r.thumb})({"--Icon-fontSize":"calc(var(--Switch-thumbSize) * 0.75)",display:"inline-flex",justifyContent:"center",alignItems:"center",position:"absolute",top:"50%",left:"calc(50% - var(--Switch-trackWidth) / 2 + var(--Switch-thumbWidth) / 2 + var(--Switch-thumbOffset))",transform:"translate(-50%, -50%)",width:"var(--Switch-thumbWidth)",height:"var(--Switch-thumbSize)",borderRadius:"var(--Switch-thumbRadius)",boxShadow:"var(--Switch-thumbShadow)",color:"var(--Switch-thumbColor)",backgroundColor:"var(--Switch-thumbBackground)",[`&.${g.checked}`]:{left:"calc(50% + var(--Switch-trackWidth) / 2 - var(--Switch-thumbWidth) / 2 - var(--Switch-thumbOffset))"}}),H=(0,u.Z)("span",{name:"JoySwitch",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})({display:"inline-flex",marginInlineEnd:"var(--Switch-gap)"}),R=(0,u.Z)("span",{name:"JoySwitch",slot:"EndDecorator",overridesResolver:(e,r)=>r.endDecorator})({display:"inline-flex",marginInlineStart:"var(--Switch-gap)"}),D=i.forwardRef(function(e,r){var t,n,l,u,p;let x=(0,h.Z)({props:e,name:"JoySwitch"}),{checked:g,defaultChecked:k,disabled:D,onBlur:B,onChange:I,onFocus:W,onFocusVisible:O,readOnly:j,id:E,color:N,variant:F="solid",size:P="md",startDecorator:M,endDecorator:V,component:$,slots:J={},slotProps:_={}}=x,L=(0,a.Z)(x,S),q=i.useContext(f.Z),A=null!=(t=null!=(n=e.disabled)?n:null==q?void 0:q.disabled)?t:D,G=null!=(l=null!=(u=e.size)?u:null==q?void 0:q.size)?l:P,{getColor:K}=(0,v.VT)(F),Q=K(e.color,null!=q&&q.error?"danger":null!=(p=null==q?void 0:q.color)?p:N),{getInputProps:U,checked:X,disabled:Y,focusVisible:ee,readOnly:er}=function(e){let{checked:r,defaultChecked:t,disabled:a,onBlur:n,onChange:l,onFocus:u,onFocusVisible:h,readOnly:v,required:m}=e,[p,x]=(0,c.Z)({controlled:r,default:!!t,name:"Switch",state:"checked"}),g=e=>r=>{var t;r.nativeEvent.defaultPrevented||(x(r.target.checked),null==l||l(r),null==(t=e.onChange)||t.call(e,r))},{isFocusVisibleRef:f,onBlur:b,onFocus:S,ref:w}=(0,d.Z)(),[k,T]=i.useState(!1);a&&k&&T(!1),i.useEffect(()=>{f.current=k},[k,f]);let y=i.useRef(null),Z=e=>r=>{var t;y.current||(y.current=r.currentTarget),S(r),!0===f.current&&(T(!0),null==h||h(r)),null==u||u(r),null==(t=e.onFocus)||t.call(e,r)},z=e=>r=>{var t;b(r),!1===f.current&&T(!1),null==n||n(r),null==(t=e.onBlur)||t.call(e,r)},C=(0,s.Z)(w,y);return{checked:p,disabled:!!a,focusVisible:k,getInputProps:(e={})=>(0,o.Z)({checked:r,defaultChecked:t,disabled:a,readOnly:v,ref:C,required:m,type:"checkbox"},e,{onChange:g(e),onFocus:Z(e),onBlur:z(e)}),inputRef:C,readOnly:!!v}}({checked:g,defaultChecked:k,disabled:A,onBlur:B,onChange:I,onFocus:W,onFocusVisible:O,readOnly:j}),et=(0,o.Z)({},x,{id:E,checked:X,disabled:Y,focusVisible:ee,readOnly:er,color:X?Q||"primary":Q||"neutral",variant:F,size:G}),ea=w(et),eo=(0,o.Z)({},L,{component:$,slots:J,slotProps:_}),[ei,en]=(0,m.Z)("root",{ref:r,className:ea.root,elementType:T,externalForwardedProps:eo,ownerState:et}),[el,ec]=(0,m.Z)("startDecorator",{additionalProps:{"aria-hidden":!0},className:ea.startDecorator,elementType:H,externalForwardedProps:eo,ownerState:et}),[ed,es]=(0,m.Z)("endDecorator",{additionalProps:{"aria-hidden":!0},className:ea.endDecorator,elementType:R,externalForwardedProps:eo,ownerState:et}),[eu,eh]=(0,m.Z)("track",{className:ea.track,elementType:z,externalForwardedProps:eo,ownerState:et}),[ev,em]=(0,m.Z)("thumb",{className:ea.thumb,elementType:C,externalForwardedProps:eo,ownerState:et}),[ep,ex]=(0,m.Z)("action",{className:ea.action,elementType:y,externalForwardedProps:eo,ownerState:et}),[eg,ef]=(0,m.Z)("input",{additionalProps:{id:null!=E?E:null==q?void 0:q.htmlFor,"aria-describedby":null==q?void 0:q["aria-describedby"]},className:ea.input,elementType:Z,externalForwardedProps:eo,getSlotProps:U,ownerState:et});return(0,b.jsxs)(ei,(0,o.Z)({},en,{children:[M&&(0,b.jsx)(el,(0,o.Z)({},ec,{children:"function"==typeof M?M(et):M})),(0,b.jsxs)(eu,(0,o.Z)({},eh,{children:[null==eh?void 0:eh.children,(0,b.jsx)(ev,(0,o.Z)({},em))]})),(0,b.jsx)(ep,(0,o.Z)({},ex,{children:(0,b.jsx)(eg,(0,o.Z)({},ef))})),V&&(0,b.jsx)(ed,(0,o.Z)({},es,{children:"function"==typeof V?V(et):V}))]}))});var B=D},96323:function(e,r,t){t.d(r,{Z:function(){return O}});var a=t(46750),o=t(40431),i=t(86006),n=t(53832),l=t(47562),c=t(8431),d=t(99179),s=t(30165),u=t(22099),h=t(11059),v=t(9268);let m=["onChange","maxRows","minRows","style","value"];function p(e){return parseInt(e,10)||0}let x={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function g(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}let f=i.forwardRef(function(e,r){let{onChange:t,maxRows:n,minRows:l=1,style:f,value:b}=e,S=(0,a.Z)(e,m),{current:w}=i.useRef(null!=b),k=i.useRef(null),T=(0,d.Z)(r,k),y=i.useRef(null),Z=i.useRef(0),[z,C]=i.useState({outerHeightStyle:0}),H=i.useCallback(()=>{let r=k.current,t=(0,s.Z)(r),a=t.getComputedStyle(r);if("0px"===a.width)return{outerHeightStyle:0};let o=y.current;o.style.width=a.width,o.value=r.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");let i=a.boxSizing,c=p(a.paddingBottom)+p(a.paddingTop),d=p(a.borderBottomWidth)+p(a.borderTopWidth),u=o.scrollHeight;o.value="x";let h=o.scrollHeight,v=u;l&&(v=Math.max(Number(l)*h,v)),n&&(v=Math.min(Number(n)*h,v)),v=Math.max(v,h);let m=v+("border-box"===i?c+d:0),x=1>=Math.abs(v-u);return{outerHeightStyle:m,overflow:x}},[n,l,e.placeholder]),R=(e,r)=>{let{outerHeightStyle:t,overflow:a}=r;return Z.current<20&&(t>0&&Math.abs((e.outerHeightStyle||0)-t)>1||e.overflow!==a)?(Z.current+=1,{overflow:a,outerHeightStyle:t}):e},D=i.useCallback(()=>{let e=H();g(e)||C(r=>R(r,e))},[H]),B=()=>{let e=H();g(e)||c.flushSync(()=>{C(r=>R(r,e))})};return i.useEffect(()=>{let e;let r=(0,u.Z)(()=>{Z.current=0,k.current&&B()}),t=k.current,a=(0,s.Z)(t);return a.addEventListener("resize",r),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(r)).observe(t),()=>{r.clear(),a.removeEventListener("resize",r),e&&e.disconnect()}}),(0,h.Z)(()=>{D()}),i.useEffect(()=>{Z.current=0},[b]),(0,v.jsxs)(i.Fragment,{children:[(0,v.jsx)("textarea",(0,o.Z)({value:b,onChange:e=>{Z.current=0,w||D(),t&&t(e)},ref:T,rows:l,style:(0,o.Z)({height:z.outerHeightStyle,overflow:z.overflow?"hidden":void 0},f)},S)),(0,v.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:(0,o.Z)({},x.shadow,f,{paddingTop:0,paddingBottom:0})})]})});var b=t(50645),S=t(88930),w=t(47093),k=t(326),T=t(18587);function y(e){return(0,T.d6)("MuiTextarea",e)}let Z=(0,T.sI)("MuiTextarea",["root","textarea","startDecorator","endDecorator","formControl","disabled","error","focused","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft"]);var z=t(17795);let C=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","size","color","variant","startDecorator","endDecorator","minRows","maxRows","component","slots","slotProps"],H=e=>{let{disabled:r,variant:t,color:a,size:o}=e,i={root:["root",r&&"disabled",t&&`variant${(0,n.Z)(t)}`,a&&`color${(0,n.Z)(a)}`,o&&`size${(0,n.Z)(o)}`],textarea:["textarea"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(i,y,{})},R=(0,b.Z)("div",{name:"JoyTextarea",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,a,i,n,l;let c=null==(t=e.variants[`${r.variant}`])?void 0:t[r.color];return[(0,o.Z)({"--Textarea-radius":e.vars.radius.sm,"--Textarea-gap":"0.5rem","--Textarea-placeholderColor":"inherit","--Textarea-placeholderOpacity":.5,"--Textarea-focused":"0","--Textarea-focusedThickness":e.vars.focus.thickness},"context"===r.color?{"--Textarea-focusedHighlight":e.vars.palette.focusVisible}:{"--Textarea-focusedHighlight":null==(a=e.vars.palette["neutral"===r.color?"primary":r.color])?void 0:a[500]},"sm"===r.size&&{"--Textarea-minHeight":"2rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.5rem","--Textarea-decoratorChildHeight":"min(1.5rem, var(--Textarea-minHeight))","--Icon-fontSize":"1.25rem"},"md"===r.size&&{"--Textarea-minHeight":"2.5rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.75rem","--Textarea-decoratorChildHeight":"min(2rem, var(--Textarea-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===r.size&&{"--Textarea-minHeight":"3rem","--Textarea-paddingBlock":"calc(0.75rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"1rem","--Textarea-gap":"0.75rem","--Textarea-decoratorChildHeight":"min(2.375rem, var(--Textarea-minHeight))","--Icon-fontSize":"1.75rem"},{"--_Textarea-paddingBlock":"max((var(--Textarea-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Textarea-decoratorChildHeight)) / 2, 0px)","--Textarea-decoratorChildRadius":"max(var(--Textarea-radius) - var(--variant-borderWidth, 0px) - var(--_Textarea-paddingBlock), min(var(--_Textarea-paddingBlock) + var(--variant-borderWidth, 0px), var(--Textarea-radius) / 2))","--Button-minHeight":"var(--Textarea-decoratorChildHeight)","--IconButton-size":"var(--Textarea-decoratorChildHeight)","--Button-radius":"var(--Textarea-decoratorChildRadius)","--IconButton-radius":"var(--Textarea-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Textarea-minHeight)",cursor:"text",position:"relative",display:"flex",flexDirection:"column",paddingInlineStart:"var(--Textarea-paddingInline)",paddingBlock:"var(--Textarea-paddingBlock)",borderRadius:"var(--Textarea-radius)",fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md,lineHeight:e.vars.lineHeight.md},"sm"===r.size&&{fontSize:e.vars.fontSize.sm,lineHeight:e.vars.lineHeight.sm},{"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Textarea-focusedInset, inset) 0 0 0 calc(var(--Textarea-focused) * var(--Textarea-focusedThickness)) var(--Textarea-focusedHighlight)"}}),(0,o.Z)({},c,{backgroundColor:null!=(i=null==c?void 0:c.backgroundColor)?i:e.vars.palette.background.surface,"&:hover":(0,o.Z)({},null==(n=e.variants[`${r.variant}Hover`])?void 0:n[r.color],{backgroundColor:null,cursor:"text"}),[`&.${Z.disabled}`]:null==(l=e.variants[`${r.variant}Disabled`])?void 0:l[r.color],"&:focus-within::before":{"--Textarea-focused":"1"}})]}),D=(0,b.Z)(f,{name:"JoyTextarea",slot:"Textarea",overridesResolver:(e,r)=>r.textarea})({resize:"none",border:"none",minWidth:0,outline:0,padding:0,paddingInlineEnd:"var(--Textarea-paddingInline)",flex:"auto",alignSelf:"stretch",color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit","&::-webkit-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"}}),B=(0,b.Z)("div",{name:"JoyTextarea",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})(({theme:e})=>({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockEnd:"var(--Textarea-gap)",color:e.vars.palette.text.tertiary,cursor:"initial"})),I=(0,b.Z)("div",{name:"JoyTextarea",slot:"EndDecorator",overridesResolver:(e,r)=>r.endDecorator})(({theme:e})=>({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockStart:"var(--Textarea-gap)",color:e.vars.palette.text.tertiary,cursor:"initial"})),W=i.forwardRef(function(e,r){var t,i,n,l,c,d,s;let u=(0,S.Z)({props:e,name:"JoyTextarea"}),h=(0,z.Z)(u,Z),{propsToForward:m,rootStateClasses:p,inputStateClasses:x,getRootProps:g,getInputProps:f,formControl:b,focused:T,error:y=!1,disabled:W=!1,size:O="md",color:j="neutral",variant:E="outlined",startDecorator:N,endDecorator:F,minRows:P,maxRows:M,component:V,slots:$={},slotProps:J={}}=h,_=(0,a.Z)(h,C),L=null!=(t=null!=(i=e.disabled)?i:null==b?void 0:b.disabled)?t:W,q=null!=(n=null!=(l=e.error)?l:null==b?void 0:b.error)?n:y,A=null!=(c=null!=(d=e.size)?d:null==b?void 0:b.size)?c:O,{getColor:G}=(0,w.VT)(E),K=G(e.color,q?"danger":null!=(s=null==b?void 0:b.color)?s:j),Q=(0,o.Z)({},u,{color:K,disabled:L,error:q,focused:T,size:A,variant:E}),U=H(Q),X=(0,o.Z)({},_,{component:V,slots:$,slotProps:J}),[Y,ee]=(0,k.Z)("root",{ref:r,className:[U.root,p],elementType:R,externalForwardedProps:X,getSlotProps:g,ownerState:Q}),[er,et]=(0,k.Z)("textarea",{additionalProps:{id:null==b?void 0:b.htmlFor,"aria-describedby":null==b?void 0:b["aria-describedby"]},className:[U.textarea,x],elementType:D,internalForwardedProps:(0,o.Z)({},m,{minRows:P,maxRows:M}),externalForwardedProps:X,getSlotProps:f,ownerState:Q}),[ea,eo]=(0,k.Z)("startDecorator",{className:U.startDecorator,elementType:B,externalForwardedProps:X,ownerState:Q}),[ei,en]=(0,k.Z)("endDecorator",{className:U.endDecorator,elementType:I,externalForwardedProps:X,ownerState:Q});return(0,v.jsxs)(Y,(0,o.Z)({},ee,{children:[N&&(0,v.jsx)(ea,(0,o.Z)({},eo,{children:N})),(0,v.jsx)(er,(0,o.Z)({},et)),F&&(0,v.jsx)(ei,(0,o.Z)({},en,{children:F}))]}))});var O=W}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/332-ec398b4402e46d25.js b/pilot/server/static/_next/static/chunks/332-ec398b4402e46d25.js deleted file mode 100644 index 229697dad..000000000 --- a/pilot/server/static/_next/static/chunks/332-ec398b4402e46d25.js +++ /dev/null @@ -1,80 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[332],{81616:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(40431),r=n(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},o=n(1240),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},24946:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(40431),r=n(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},o=n(1240),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},98479:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(40431),r=n(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=n(1240),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},71990:function(e,t,n){"use strict";async function a(e,t){let n;let a=e.getReader();for(;!(n=await a.read()).done;)t(n.value)}function r(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return o},L:function(){return l}});var i=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:c,onmessage:d,onclose:u,onerror:T,openWhenHidden:p,fetch:S}=t,R=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let A;let I=Object.assign({},l);function N(){A.abort(),document.hidden||L()}I.accept||(I.accept=o),p||document.addEventListener("visibilitychange",N);let O=1e3,g=0;function m(){document.removeEventListener("visibilitychange",N),window.clearTimeout(g),A.abort()}null==n||n.addEventListener("abort",()=>{m(),t()});let C=null!=S?S:window.fetch,_=null!=c?c:E;async function L(){var n,o;A=new AbortController;try{let n,i,l,E;let c=await C(e,Object.assign(Object.assign({},R),{headers:I,signal:A.signal}));await _(c),await a(c.body,(o=function(e,t,n){let a=r(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(a),a=r();else if(s>0){let n=i.decode(o.subarray(0,s)),r=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(r));switch(n){case"data":a.data=a.data?a.data+"\n"+l:l;break;case"event":a.event=l;break;case"id":e(a.id=l);break;case"retry":let E=parseInt(l,10);isNaN(E)||t(a.retry=E)}}}}(e=>{e?I[s]=e:delete I[s]},e=>{O=e},d),E=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,a=0;for(;i{let n=new Map(t);return n.delete(e),n})},[]),i=a.useCallback(function(e,a){let i;return i="function"==typeof e?e(n.current):e,n.current.add(i),t(e=>{let t=new Map(e);return t.set(i,a),t}),{id:i,deregister:()=>r(i)}},[r]),o=a.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let n=e.get(t);return{key:t,subitem:n}});return t.sort((e,t)=>{let n=e.subitem.ref.current,a=t.subitem.ref.current;return null===n||null===a||n===a?0:n.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),s=a.useCallback(function(e){return Array.from(o.keys()).indexOf(e)},[o]),l=a.useMemo(()=>({getItemIndex:s,registerItem:i,totalSubitemCount:e.size}),[s,i,e.size]);return{contextValue:l,subitems:o}}r.displayName="CompoundComponentContext"},97237:function(e,t,n){"use strict";var a=n(78997);t.Z=void 0;var r=a(n(76906)),i=n(9268),o=(0,r.default)((0,i.jsx)("path",{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"}),"AutoAwesome");t.Z=o},48755:function(e,t,n){"use strict";var a=n(78997);t.Z=void 0;var r=a(n(76906)),i=n(9268),o=(0,r.default)((0,i.jsx)("path",{d:"M14 2H4c-1.11 0-2 .9-2 2v10h2V4h10V2zm4 4H8c-1.11 0-2 .9-2 2v10h2V8h10V6zm2 4h-8c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z"}),"AutoAwesomeMotion");t.Z=o},32093:function(e,t,n){"use strict";var a=n(78997);t.Z=void 0;var r=a(n(76906)),i=n(9268),o=(0,r.default)((0,i.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");t.Z=o},55749:function(e,t,n){"use strict";var a=n(78997);t.Z=void 0;var r=a(n(76906)),i=n(9268),o=(0,r.default)([(0,i.jsx)("path",{d:"M19.89 10.75c.07.41.11.82.11 1.25 0 4.41-3.59 8-8 8s-8-3.59-8-8c0-.05.01-.1 0-.14 2.6-.98 4.69-2.99 5.74-5.55 3.38 4.14 7.97 3.73 8.99 3.61l-.89-1.93c-.13.01-4.62.38-7.18-3.86 1.01-.16 1.71-.15 2.59-.01 2.52-1.15 1.93-.89 2.76-1.26C14.78 2.3 13.43 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.43-.3-2.78-.84-4.01l-1.27 2.76zM8.08 5.03C7.45 6.92 6.13 8.5 4.42 9.47 5.05 7.58 6.37 6 8.08 5.03z"},"0"),(0,i.jsx)("circle",{cx:"15",cy:"13",r:"1.25"},"1"),(0,i.jsx)("circle",{cx:"9",cy:"13",r:"1.25"},"2"),(0,i.jsx)("path",{d:"m23 4.5-2.4-1.1L19.5 1l-1.1 2.4L16 4.5l2.4 1.1L19.5 8l1.1-2.4z"},"3")],"FaceRetouchingNaturalOutlined");t.Z=o},70781:function(e,t,n){"use strict";var a=n(78997);t.Z=void 0;var r=a(n(76906)),i=n(9268),o=(0,r.default)((0,i.jsx)("path",{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zm-2 10H6V7h12v12zm-9-6c-.83 0-1.5-.67-1.5-1.5S8.17 10 9 10s1.5.67 1.5 1.5S9.83 13 9 13zm7.5-1.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5zM8 15h8v2H8v-2z"}),"SmartToyOutlined");t.Z=o},97287:function(e,t,n){"use strict";var a=n(40431),r=n(46750),i=n(86006),o=n(47562),s=n(53832),l=n(88930),E=n(326),c=n(50645),d=n(47093),u=n(73141),T=n(9268);let p=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","slots","slotProps"],S=e=>{let{variant:t,color:n}=e,a={root:["root"],content:["content",t&&`variant${(0,s.Z)(t)}`,n&&`color${(0,s.Z)(n)}`]};return(0,o.Z)(a,u.x,{})},R=(0,c.Z)("div",{name:"JoyAspectRatio",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>{let t="number"==typeof e.minHeight?`${e.minHeight}px`:e.minHeight,n="number"==typeof e.maxHeight?`${e.maxHeight}px`:e.maxHeight;return{"--AspectRatio-paddingBottom":`clamp(var(--AspectRatio-minHeight), calc(100% / (${e.ratio})), var(--AspectRatio-maxHeight))`,"--AspectRatio-maxHeight":n||"9999px","--AspectRatio-minHeight":t||"0px",borderRadius:"var(--AspectRatio-radius)",flexDirection:"column",margin:"var(--AspectRatio-margin)"}}),A=(0,c.Z)("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return[{flex:1,position:"relative",borderRadius:"inherit",height:0,paddingBottom:"calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",overflow:"hidden",transition:"inherit","& [data-first-child]":{display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",position:"absolute",width:"100%",height:"100%",objectFit:t.objectFit,margin:0,padding:0,"& > img":{width:"100%",height:"100%",objectFit:t.objectFit}}},null==(n=e.variants[t.variant])?void 0:n[t.color]]}),I=i.forwardRef(function(e,t){let n=(0,l.Z)({props:e,name:"JoyAspectRatio"}),{children:o,ratio:s="16 / 9",minHeight:c,maxHeight:u,objectFit:I="cover",color:N="neutral",variant:O="soft",component:g,slots:m={},slotProps:C={}}=n,_=(0,r.Z)(n,p),{getColor:L}=(0,d.VT)(O),b=L(e.color,N),f=(0,a.Z)({},n,{minHeight:c,maxHeight:u,objectFit:I,ratio:s,color:b,variant:O}),h=S(f),D=(0,a.Z)({},_,{component:g,slots:m,slotProps:C}),[y,P]=(0,E.Z)("root",{ref:t,className:h.root,elementType:R,externalForwardedProps:D,ownerState:f}),[M,U]=(0,E.Z)("content",{className:h.content,elementType:A,externalForwardedProps:D,ownerState:f});return(0,T.jsx)(y,(0,a.Z)({},P,{children:(0,T.jsx)(M,(0,a.Z)({},U,{children:i.Children.map(o,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)}))}))});t.Z=I},73141:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var a=n(18587);function r(e){return(0,a.d6)("MuiAspectRatio",e)}let i=(0,a.sI)("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);t.Z=i},90022:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var a=n(46750),r=n(40431),i=n(86006),o=n(89791),s=n(47562),l=n(53832),E=n(44542),c=n(88930),d=n(50645),u=n(47093),T=n(18587);function p(e){return(0,T.d6)("MuiCard",e)}(0,T.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var S=n(81439),R=n(326),A=n(9268);let I=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],N=e=>{let{size:t,variant:n,color:a,orientation:r}=e,i={root:["root",r,n&&`variant${(0,l.Z)(n)}`,a&&`color${(0,l.Z)(a)}`,t&&`size${(0,l.Z)(t)}`]};return(0,s.Z)(i,p,{})},O=(0,d.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,a;return[(0,r.Z)({"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":(0,S.V)({theme:e,ownerState:t},"borderRadius","var(--Card-radius)"),"--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===t.size&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.5rem",gap:"0.375rem 0.5rem"},"md"===t.size&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===t.size&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",boxShadow:e.shadow.sm,backgroundColor:e.vars.palette.background.surface,fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md,position:"relative",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"}),null==(n=e.variants[t.variant])?void 0:n[t.color],"context"!==t.color&&t.invertedColors&&(null==(a=e.colorInversion[t.variant])?void 0:a[t.color])]}),g=i.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoyCard"}),{className:s,color:l="neutral",component:d="div",invertedColors:T=!1,size:p="md",variant:S="plain",children:g,orientation:m="vertical",slots:C={},slotProps:_={}}=n,L=(0,a.Z)(n,I),{getColor:b}=(0,u.VT)(S),f=b(e.color,l),h=(0,r.Z)({},n,{color:f,component:d,orientation:m,size:p,variant:S}),D=N(h),y=(0,r.Z)({},L,{component:d,slots:C,slotProps:_}),[P,M]=(0,R.Z)("root",{ref:t,className:(0,o.Z)(D.root,s),elementType:O,externalForwardedProps:y,ownerState:h}),U=(0,A.jsx)(P,(0,r.Z)({},M,{children:i.Children.map(g,(e,t)=>{if(!i.isValidElement(e))return e;let n={};if((0,E.Z)(e,["Divider"])){n.inset="inset"in e.props?e.props.inset:"context";let t="vertical"===m?"horizontal":"vertical";n.orientation="orientation"in e.props?e.props.orientation:t}return(0,E.Z)(e,["CardOverflow"])&&("horizontal"===m&&(n["data-parent"]="Card-horizontal"),"vertical"===m&&(n["data-parent"]="Card-vertical")),0===t&&(n["data-first-child"]=""),t===i.Children.count(g)-1&&(n["data-last-child"]=""),i.cloneElement(e,n)})}));return T?(0,A.jsx)(u.do,{variant:S,children:U}):U});var m=g},8997:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var a=n(40431),r=n(46750),i=n(86006),o=n(89791),s=n(47562),l=n(88930),E=n(50645),c=n(18587);function d(e){return(0,c.d6)("MuiCardContent",e)}(0,c.sI)("MuiCardContent",["root"]);let u=(0,c.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var T=n(326),p=n(9268);let S=["className","component","children","orientation","slots","slotProps"],R=()=>(0,s.Z)({root:["root"]},d,{}),A=(0,E.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>({display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column",flex:1,zIndex:1,columnGap:"calc(0.75 * var(--Card-padding))",padding:"var(--unstable_padding)",[`.${u.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),I=i.forwardRef(function(e,t){let n=(0,l.Z)({props:e,name:"JoyCardContent"}),{className:i,component:s="div",children:E,orientation:c="vertical",slots:d={},slotProps:u={}}=n,I=(0,r.Z)(n,S),N=(0,a.Z)({},I,{component:s,slots:d,slotProps:u}),O=(0,a.Z)({},n,{component:s,orientation:c}),g=R(),[m,C]=(0,T.Z)("root",{ref:t,className:(0,o.Z)(g.root,i),elementType:A,externalForwardedProps:N,ownerState:O});return(0,p.jsx)(m,(0,a.Z)({},C,{children:E}))});var N=I},45642:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var a=n(40431),r=n(46750),i=n(86006),o=n(73702),s=n(47562),l=n(13809),E=n(44542),c=n(96263),d=n(38295),u=n(95887),T=n(86601),p=n(89587);let S=(e,t)=>e.filter(e=>t.includes(e)),R=(e,t,n)=>{let a=e.keys[0];if(Array.isArray(t))t.forEach((t,a)=>{n((t,n)=>{a<=e.keys.length-1&&(0===a?Object.assign(t,n):t[e.up(e.keys[a])]=n)},t)});else if(t&&"object"==typeof t){let r=Object.keys(t).length>e.keys.length?e.keys:S(e.keys,Object.keys(t));r.forEach(r=>{if(-1!==e.keys.indexOf(r)){let i=t[r];void 0!==i&&n((t,n)=>{a===r?Object.assign(t,n):t[e.up(r)]=n},i)}})}else("number"==typeof t||"string"==typeof t)&&n((e,t)=>{Object.assign(e,t)},t)};function A(e){return e?`Level${e}`:""}function I(e){return e.unstable_level>0&&e.container}function N(e){return function(t){return`var(--Grid-${t}Spacing${A(e.unstable_level)})`}}function O(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${A(e.unstable_level-1)})`}}function g(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${A(e.unstable_level-1)})`}let m=({theme:e,ownerState:t})=>{let n=N(t),a={};return R(e.breakpoints,t.gridSize,(e,r)=>{let i={};!0===r&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===r&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof r&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${r} / ${g(t)}${I(t)?` + ${n("column")}`:""})`}),e(a,i)}),a},C=({theme:e,ownerState:t})=>{let n={};return R(e.breakpoints,t.gridOffset,(e,a)=>{let r={};"auto"===a&&(r={marginLeft:"auto"}),"number"==typeof a&&(r={marginLeft:0===a?"0px":`calc(100% * ${a} / ${g(t)})`}),e(n,r)}),n},_=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=I(t)?{[`--Grid-columns${A(t.unstable_level)}`]:g(t)}:{"--Grid-columns":12};return R(e.breakpoints,t.columns,(e,a)=>{e(n,{[`--Grid-columns${A(t.unstable_level)}`]:a})}),n},L=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=O(t),a=I(t)?{[`--Grid-rowSpacing${A(t.unstable_level)}`]:n("row")}:{};return R(e.breakpoints,t.rowSpacing,(n,r)=>{var i;n(a,{[`--Grid-rowSpacing${A(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},b=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=O(t),a=I(t)?{[`--Grid-columnSpacing${A(t.unstable_level)}`]:n("column")}:{};return R(e.breakpoints,t.columnSpacing,(n,r)=>{var i;n(a,{[`--Grid-columnSpacing${A(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},f=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return R(e.breakpoints,t.direction,(e,t)=>{e(n,{flexDirection:t})}),n},h=({ownerState:e})=>{let t=N(e),n=O(e);return(0,a.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,a.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||I(e))&&(0,a.Z)({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},D=e=>{let t=[];return Object.entries(e).forEach(([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)}),t},y=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,a])=>{n(a)&&t.push(`spacing-${e}-${String(a)}`)}),t}return[]},P=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var M=n(9268);let U=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],v=(0,p.Z)(),k=(0,c.Z)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function w(e){return(0,d.Z)({props:e,name:"MuiGrid",defaultTheme:v})}var x=n(50645),G=n(88930);let F=function(e={}){let{createStyledComponent:t=k,useThemeProps:n=w,componentName:c="MuiGrid"}=e,d=i.createContext(void 0),p=(e,t)=>{let{container:n,direction:a,spacing:r,wrap:i,gridSize:o}=e,E={root:["root",n&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...P(a),...D(o),...n?y(r,t.breakpoints.keys[0]):[]]};return(0,s.Z)(E,e=>(0,l.Z)(c,e),{})},S=t(_,b,L,m,f,h,C),R=i.forwardRef(function(e,t){var s,l,c,R,A,I,N,O;let g=(0,u.Z)(),m=n(e),C=(0,T.Z)(m),_=i.useContext(d),{className:L,children:b,columns:f=12,container:h=!1,component:D="div",direction:y="row",wrap:P="wrap",spacing:v=0,rowSpacing:k=v,columnSpacing:w=v,disableEqualOverflow:x,unstable_level:G=0}=C,F=(0,r.Z)(C,U),B=x;G&&void 0!==x&&(B=e.disableEqualOverflow);let H={},Y={},V={};Object.entries(F).forEach(([e,t])=>{void 0!==g.breakpoints.values[e]?H[e]=t:void 0!==g.breakpoints.values[e.replace("Offset","")]?Y[e.replace("Offset","")]=t:V[e]=t});let W=null!=(s=e.columns)?s:G?void 0:f,$=null!=(l=e.spacing)?l:G?void 0:v,K=null!=(c=null!=(R=e.rowSpacing)?R:e.spacing)?c:G?void 0:k,X=null!=(A=null!=(I=e.columnSpacing)?I:e.spacing)?A:G?void 0:w,z=(0,a.Z)({},C,{level:G,columns:W,container:h,direction:y,wrap:P,spacing:$,rowSpacing:K,columnSpacing:X,gridSize:H,gridOffset:Y,disableEqualOverflow:null!=(N=null!=(O=B)?O:_)&&N,parentDisableEqualOverflow:_}),Z=p(z,g),j=(0,M.jsx)(S,(0,a.Z)({ref:t,as:D,ownerState:z,className:(0,o.Z)(Z.root,L)},V,{children:i.Children.map(b,e=>{if(i.isValidElement(e)&&(0,E.Z)(e,["Grid"])){var t;return i.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:G+1})}return e})}));return void 0!==B&&B!==(null!=_&&_)&&(j=(0,M.jsx)(d.Provider,{value:B,children:j})),j});return R.muiName="Grid",R}({createStyledComponent:(0,x.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,G.Z)({props:e,name:"JoyGrid"})});var B=F},82144:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var a=n(46750),r=n(40431),i=n(86006),o=n(89791),s=n(47562),l=n(53832),E=n(44542),c=n(50645),d=n(88930),u=n(47093),T=n(5737),p=n(18587);function S(e){return(0,p.d6)("MuiModalDialog",e)}(0,p.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);let R=i.createContext(void 0),A=i.createContext(void 0);var I=n(326),N=n(9268);let O=["className","children","color","component","variant","size","layout","slots","slotProps"],g=e=>{let{variant:t,color:n,size:a,layout:r}=e,i={root:["root",t&&`variant${(0,l.Z)(t)}`,n&&`color${(0,l.Z)(n)}`,a&&`size${(0,l.Z)(a)}`,r&&`layout${(0,l.Z)(r)}`]};return(0,s.Z)(i,S,{})},m=(0,c.Z)(T.U,{name:"JoyModalDialog",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,r.Z)({"--Divider-inset":"calc(-1 * var(--ModalDialog-padding))","--ModalClose-radius":"max((var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===t.size&&{"--ModalDialog-padding":e.spacing(2),"--ModalDialog-radius":e.vars.radius.sm,"--ModalDialog-gap":e.spacing(.75),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.25),"--ModalClose-inset":e.spacing(1.25),fontSize:e.vars.fontSize.sm},"md"===t.size&&{"--ModalDialog-padding":e.spacing(2.5),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(1.5),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.75),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.md},"lg"===t.size&&{"--ModalDialog-padding":e.spacing(3),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(2),"--ModalDialog-titleOffset":e.spacing(.75),"--ModalDialog-descriptionOffset":e.spacing(1),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.lg},{boxSizing:"border-box",boxShadow:e.shadow.md,borderRadius:"var(--ModalDialog-radius)",fontFamily:e.vars.fontFamily.body,lineHeight:e.vars.lineHeight.md,padding:"var(--ModalDialog-padding)",minWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute",display:"flex",flexDirection:"column"},"fullscreen"===t.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===t.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--ModalDialog-padding))"},{[`& [id="${t["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${t["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${t["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),C=i.forwardRef(function(e,t){let n=(0,d.Z)({props:e,name:"JoyModalDialog"}),{className:s,children:l,color:c="neutral",component:T="div",variant:p="outlined",size:S="md",layout:C="center",slots:_={},slotProps:L={}}=n,b=(0,a.Z)(n,O),{getColor:f}=(0,u.VT)(p),h=f(e.color,c),D=(0,r.Z)({},n,{color:h,component:T,layout:C,size:S,variant:p}),y=g(D),P=(0,r.Z)({},b,{component:T,slots:_,slotProps:L}),M=i.useMemo(()=>({variant:p,color:"context"===h?void 0:h}),[h,p]),[U,v]=(0,I.Z)("root",{ref:t,className:(0,o.Z)(y.root,s),elementType:m,externalForwardedProps:P,ownerState:D,additionalProps:{as:T,role:"dialog","aria-modal":"true"}});return(0,N.jsx)(R.Provider,{value:S,children:(0,N.jsx)(A.Provider,{value:M,children:(0,N.jsx)(U,(0,r.Z)({},v,{children:i.Children.map(l,e=>{if(!i.isValidElement(e))return e;if((0,E.Z)(e,["Divider"])){let t={};return t.inset="inset"in e.props?e.props.inset:"context",i.cloneElement(e,t)}return e})}))})})});var _=C},24857:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var a=n(40431),r=n(46750),i=n(86006),o=n(47562),s=n(49657),l=n(99179),E=n(11059),c=n(30461),d=n(18414),u=n(76563),T=n(326),p=n(70092),S=n(50645),R=n(88930),A=n(47093),I=n(18587);function N(e){return(0,I.d6)("MuiOption",e)}let O=(0,I.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var g=n(76620),m=n(9268);let C=["component","children","disabled","value","label","variant","color","slots","slotProps"],_=e=>{let{disabled:t,highlighted:n,selected:a}=e;return(0,o.Z)({root:["root",t&&"disabled",n&&"highlighted",a&&"selected"]},N,{})},L=(0,S.Z)(p.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n;let a=null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color];return{[`&.${O.highlighted}`]:{backgroundColor:null==a?void 0:a.backgroundColor}}}),b=i.forwardRef(function(e,t){var n;let o=(0,R.Z)({props:e,name:"JoyOption"}),{component:p="li",children:S,disabled:I=!1,value:N,label:O,variant:b="plain",color:f="neutral",slots:h={},slotProps:D={}}=o,y=(0,r.Z)(o,C),P=i.useContext(g.Z),M=i.useRef(null),U=(0,l.Z)(M,t),v=null!=O?O:"string"==typeof S?S:null==(n=M.current)?void 0:n.innerText,{getRootProps:k,selected:w,highlighted:x,index:G}=function(e){let{value:t,label:n,disabled:r,rootRef:o,id:T}=e,{getRootProps:p,rootRef:S,highlighted:R,selected:A}=function(e){let t;let{handlePointerOverEvents:n=!1,item:r,rootRef:o}=e,s=i.useRef(null),u=(0,l.Z)(s,o),T=i.useContext(d.Z);if(!T)throw Error("useListItem must be used within a ListProvider");let{dispatch:p,getItemState:S,registerHighlightChangeHandler:R,registerSelectionChangeHandler:A}=T,{highlighted:I,selected:N,focusable:O}=S(r),g=function(){let[,e]=i.useState({});return i.useCallback(()=>{e({})},[])}();(0,E.Z)(()=>R(function(e){e!==r||I?e!==r&&I&&g():g()})),(0,E.Z)(()=>A(function(e){N?e.includes(r)||g():e.includes(r)&&g()}),[A,g,N,r]);let m=i.useCallback(e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.defaultPrevented||p({type:c.F.itemClick,item:r,event:t})},[p,r]),C=i.useCallback(e=>t=>{var n;null==(n=e.onMouseOver)||n.call(e,t),t.defaultPrevented||p({type:c.F.itemHover,item:r,event:t})},[p,r]);return O&&(t=I?0:-1),{getRootProps:(e={})=>(0,a.Z)({},e,{onClick:m(e),onPointerOver:n?C(e):void 0,ref:u,tabIndex:t}),highlighted:I,rootRef:u,selected:N}}({item:t}),I=(0,s.Z)(T),N=i.useRef(null),O=i.useMemo(()=>({disabled:r,label:n,value:t,ref:N,id:I}),[r,n,t,I]),{index:g}=function(e,t){let n=i.useContext(u.s);if(null===n)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:a}=n,[r,o]=i.useState("function"==typeof e?void 0:e);return(0,E.Z)(()=>{let{id:n,deregister:r}=a(e,t);return o(n),r},[a,t,e]),{id:r,index:void 0!==r?n.getItemIndex(r):-1,totalItemCount:n.totalSubitemCount}}(t,O),m=(0,l.Z)(o,N,S);return{getRootProps:(e={})=>(0,a.Z)({},e,p(e),{id:I,ref:m,role:"option","aria-selected":A}),highlighted:R,index:g,selected:A,rootRef:m}}({disabled:I,label:v,value:N,rootRef:U}),{getColor:F}=(0,A.VT)(b),B=F(e.color,w?"primary":f),H=(0,a.Z)({},o,{disabled:I,selected:w,highlighted:x,index:G,component:p,variant:b,color:B,row:P}),Y=_(H),V=(0,a.Z)({},y,{component:p,slots:h,slotProps:D}),[W,$]=(0,T.Z)("root",{ref:t,getSlotProps:k,elementType:L,externalForwardedProps:V,className:Y.root,ownerState:H});return(0,m.jsx)(W,(0,a.Z)({},$,{children:S}))});var f=b},56456:function(e,t,n){"use strict";n.d(t,{Z:function(){return eN}});var a,r=n(46750),i=n(40431),o=n(86006),s=n(89791),l=n(53832),E=n(99179),c=n(67222),d=n(49657),u=n(11059),T=n(73811);let p={buttonClick:"buttonClick"};var S=n(30461);function R(e,t,n){var a;let r,i;let{items:o,isItemDisabled:s,disableListWrap:l,disabledItemsFocusable:E,itemComparer:c,focusManagement:d}=n,u=o.length-1,T=null==e?-1:o.findIndex(t=>c(t,e)),p=!l;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;r=0,i="next",p=!1;break;case"start":r=0,i="next",p=!1;break;case"end":r=u,i="previous",p=!1;break;default:{let e=T+t;e<0?!p&&-1!==T||Math.abs(t)>1?(r=0,i="next"):(r=u,i="previous"):e>u?!p||Math.abs(t)>1?(r=u,i="previous"):(r=0,i="next"):(r=e,i=t>=0?"next":"previous")}}let S=function(e,t,n,a,r,i){if(0===n.length||!a&&n.every((e,t)=>r(e,t)))return -1;let o=e;for(;;){if(!i&&"next"===t&&o===n.length||!i&&"previous"===t&&-1===o)return -1;let e=!a&&r(n[o],o);if(!e)return o;o+="next"===t?1:-1,i&&(o=(o+n.length)%n.length)}}(r,i,o,E,s,p);return -1!==S||null===e||s(e,T)?null!=(a=o[S])?a:null:e}function A(e,t,n){let{itemComparer:a,isItemDisabled:r,selectionMode:o,items:s}=n,{selectedValues:l}=t,E=s.findIndex(t=>a(e,t));if(r(e,E))return t;let c="none"===o?[]:"single"===o?a(l[0],e)?l:[e]:l.some(t=>a(t,e))?l.filter(t=>!a(t,e)):[...l,e];return(0,i.Z)({},t,{selectedValues:c,highlightedValue:e})}function I(e,t){let{type:n,context:a}=t;switch(n){case S.F.keyDown:return function(e,t,n){let a=t.highlightedValue,{orientation:r,pageSize:o}=n;switch(e){case"Home":return(0,i.Z)({},t,{highlightedValue:R(a,"start",n)});case"End":return(0,i.Z)({},t,{highlightedValue:R(a,"end",n)});case"PageUp":return(0,i.Z)({},t,{highlightedValue:R(a,-o,n)});case"PageDown":return(0,i.Z)({},t,{highlightedValue:R(a,o,n)});case"ArrowUp":if("vertical"!==r)break;return(0,i.Z)({},t,{highlightedValue:R(a,-1,n)});case"ArrowDown":if("vertical"!==r)break;return(0,i.Z)({},t,{highlightedValue:R(a,1,n)});case"ArrowLeft":if("vertical"===r)break;return(0,i.Z)({},t,{highlightedValue:R(a,"horizontal-ltr"===r?-1:1,n)});case"ArrowRight":if("vertical"===r)break;return(0,i.Z)({},t,{highlightedValue:R(a,"horizontal-ltr"===r?1:-1,n)});case"Enter":case" ":if(null===t.highlightedValue)break;return A(t.highlightedValue,t,n)}return t}(t.key,e,a);case S.F.itemClick:return A(t.item,e,a);case S.F.blur:return"DOM"===a.focusManagement?e:(0,i.Z)({},e,{highlightedValue:null});case S.F.textNavigation:return function(e,t,n){let{items:a,isItemDisabled:r,disabledItemsFocusable:o,getItemAsString:s}=n,l=t.length>1,E=l?e.highlightedValue:R(e.highlightedValue,1,n);for(let c=0;cs(e,n.highlightedValue)))?o:null:"DOM"===l&&0===t.length&&(E=R(null,"reset",a));let c=null!=(r=n.selectedValues)?r:[],d=c.filter(t=>e.some(e=>s(e,t)));return(0,i.Z)({},n,{highlightedValue:E,selectedValues:d})}(t.items,t.previousItems,e,a);case S.F.resetHighlight:return(0,i.Z)({},e,{highlightedValue:R(null,"reset",a)});default:return e}}let N="select:change-selection",O="select:change-highlight";function g(e,t){return e===t}let m={},C=()=>{};function _(e,t){let n=(0,i.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(n[e]=t[e])}),n}function L(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,a)=>n(e,t[a]))}function b(e,t){let n=o.useRef(e);return o.useEffect(()=>{n.current=e},null!=t?t:[e]),n}let f={},h=()=>{},D=(e,t)=>e===t,y=()=>!1,P=e=>"string"==typeof e?e:String(e),M=()=>({highlightedValue:null,selectedValues:[]});var U=function(e){let{controlledProps:t=f,disabledItemsFocusable:n=!1,disableListWrap:a=!1,focusManagement:r="activeDescendant",getInitialState:s=M,getItemDomElement:l,getItemId:c,isItemDisabled:d=y,rootRef:u,onStateChange:T=h,items:p,itemComparer:R=D,getItemAsString:A=P,onChange:U,onHighlightChange:v,onItemsChange:k,orientation:w="vertical",pageSize:x=5,reducerActionContext:G=f,selectionMode:F="single",stateReducer:B}=e,H=o.useRef(null),Y=(0,E.Z)(u,H),V=o.useCallback((e,t,n)=>{if(null==v||v(e,t,n),"DOM"===r&&null!=t&&(n===S.F.itemClick||n===S.F.keyDown||n===S.F.textNavigation)){var a;null==l||null==(a=l(t))||a.focus()}},[l,v,r]),W=o.useMemo(()=>({highlightedValue:R,selectedValues:(e,t)=>L(e,t,R)}),[R]),$=o.useCallback((e,t,n,a,r)=>{switch(null==T||T(e,t,n,a,r),t){case"highlightedValue":V(e,n,a);break;case"selectedValues":null==U||U(e,n,a)}},[V,U,T]),K=o.useMemo(()=>({disabledItemsFocusable:n,disableListWrap:a,focusManagement:r,isItemDisabled:d,itemComparer:R,items:p,getItemAsString:A,onHighlightChange:V,orientation:w,pageSize:x,selectionMode:F,stateComparers:W}),[n,a,r,d,R,p,A,V,w,x,F,W]),X=s(),z=o.useMemo(()=>(0,i.Z)({},G,K),[G,K]),[Z,j]=function(e){let t=o.useRef(null),{reducer:n,initialState:a,controlledProps:r=m,stateComparers:s=m,onStateChange:l=C,actionContext:E}=e,c=o.useCallback((e,a)=>{t.current=a;let i=_(e,r),o=n(i,a);return o},[r,n]),[d,u]=o.useReducer(c,a),T=o.useCallback(e=>{u((0,i.Z)({},e,{context:E}))},[E]);return!function(e){let{nextState:t,initialState:n,stateComparers:a,onStateChange:r,controlledProps:i,lastActionRef:s}=e,l=o.useRef(n);o.useEffect(()=>{if(null===s.current)return;let e=_(l.current,i);Object.keys(t).forEach(n=>{var i,o,l;let E=null!=(i=a[n])?i:g,c=t[n],d=e[n];(null!=d||null==c)&&(null==d||null!=c)&&(null==d||null==c||E(c,d))||null==r||r(null!=(o=s.current.event)?o:null,n,c,null!=(l=s.current.type)?l:"",t)}),l.current=t,s.current=null},[l,t,s,r,a,i])}({nextState:d,initialState:a,stateComparers:null!=s?s:m,onStateChange:null!=l?l:C,controlledProps:r,lastActionRef:t}),[_(d,r),T]}({reducer:null!=B?B:I,actionContext:z,initialState:X,controlledProps:t,stateComparers:W,onStateChange:$}),{highlightedValue:q,selectedValues:J}=Z,Q=function(e){let t=o.useRef({searchString:"",lastTime:null});return o.useCallback(n=>{if(1===n.key.length&&" "!==n.key){let a=t.current,r=n.key.toLowerCase(),i=performance.now();a.searchString.length>0&&a.lastTime&&i-a.lastTime>500?a.searchString=r:(1!==a.searchString.length||r!==a.searchString)&&(a.searchString+=r),a.lastTime=i,e(a.searchString,n)}},[e])}((e,t)=>j({type:S.F.textNavigation,event:t,searchString:e})),ee=b(J),et=b(q),en=o.useRef([]);o.useEffect(()=>{L(en.current,p,R)||(j({type:S.F.itemsChange,event:null,items:p,previousItems:en.current}),en.current=p,null==k||k(p))},[p,R,j,k]);let{notifySelectionChanged:ea,notifyHighlightChanged:er,registerHighlightChangeHandler:ei,registerSelectionChangeHandler:eo}=function(){let e=function(){let e=o.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,n){let a=e.get(t);return a?a.add(n):(a=new Set([n]),e.set(t,a)),()=>{a.delete(n),0===a.size&&e.delete(t)}},publish:function(t,...n){let a=e.get(t);a&&a.forEach(e=>e(...n))}}}()),e.current}(),t=o.useCallback(t=>{e.publish(N,t)},[e]),n=o.useCallback(t=>{e.publish(O,t)},[e]),a=o.useCallback(t=>e.subscribe(N,t),[e]),r=o.useCallback(t=>e.subscribe(O,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:n,registerSelectionChangeHandler:a,registerHighlightChangeHandler:r}}();o.useEffect(()=>{ea(J)},[J,ea]),o.useEffect(()=>{er(q)},[q,er]);let es=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;let a=["Home","End","PageUp","PageDown"];"vertical"===w?a.push("ArrowUp","ArrowDown"):a.push("ArrowLeft","ArrowRight"),"activeDescendant"===r&&a.push(" ","Enter"),a.includes(t.key)&&t.preventDefault(),j({type:S.F.keyDown,key:t.key,event:t}),Q(t)},el=e=>t=>{var n,a;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||null!=(a=H.current)&&a.contains(t.relatedTarget)||j({type:S.F.blur,event:t})},eE=o.useCallback(e=>{var t;let n=p.findIndex(t=>R(t,e)),a=(null!=(t=ee.current)?t:[]).some(t=>null!=t&&R(e,t)),i=d(e,n),o=null!=et.current&&R(e,et.current),s="DOM"===r;return{disabled:i,focusable:s,highlighted:o,index:n,selected:a}},[p,d,R,ee,et,r]),ec=o.useMemo(()=>({dispatch:j,getItemState:eE,registerHighlightChangeHandler:ei,registerSelectionChangeHandler:eo}),[j,eE,ei,eo]);return o.useDebugValue({state:Z}),{contextValue:ec,dispatch:j,getRootProps:(e={})=>(0,i.Z)({},e,{"aria-activedescendant":"activeDescendant"===r&&null!=q?c(q):void 0,onBlur:el(e),onKeyDown:es(e),tabIndex:"DOM"===r?-1:0,ref:Y}),rootRef:Y,state:Z}},v=e=>{let{label:t,value:n}=e;return"string"==typeof t?t:"string"==typeof n?n:String(e)},k=n(76563);function w(e,t){var n,a,r;let{open:o}=e,{context:{selectionMode:s}}=t;if(t.type===p.buttonClick){let a=null!=(n=e.selectedValues[0])?n:R(null,"start",t.context);return(0,i.Z)({},e,{open:!o,highlightedValue:o?null:a})}let l=I(e,t);switch(t.type){case S.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===s&&("Enter"===t.event.key||" "===t.event.key))return(0,i.Z)({},l,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,i.Z)({},e,{open:!0,highlightedValue:null!=(a=e.selectedValues[0])?a:R(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,i.Z)({},e,{open:!0,highlightedValue:null!=(r=e.selectedValues[0])?r:R(null,"end",t.context)})}break;case S.F.itemClick:if("single"===s)return(0,i.Z)({},l,{open:!1});break;case S.F.blur:return(0,i.Z)({},l,{open:!1})}return l}function x(e,t){return n=>{let a=(0,i.Z)({},n,e(n)),r=(0,i.Z)({},a,t(a));return r}}function G(e){e.preventDefault()}var F=function(e){let t;let{areOptionsEqual:n,buttonRef:a,defaultOpen:r=!1,defaultValue:s,disabled:l=!1,listboxId:c,listboxRef:S,multiple:R=!1,onChange:A,onHighlightChange:I,onOpenChange:N,open:O,options:g,getOptionAsString:m=v,value:C}=e,_=o.useRef(null),L=(0,E.Z)(a,_),b=o.useRef(null),f=(0,d.Z)(c);void 0===C&&void 0===s?t=[]:void 0!==s&&(t=R?s:null==s?[]:[s]);let h=o.useMemo(()=>{if(void 0!==C)return R?C:null==C?[]:[C]},[C,R]),{subitems:D,contextValue:y}=(0,k.Y)(),P=o.useMemo(()=>null!=g?new Map(g.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:o.createRef(),id:`${f}_${t}`}])):D,[g,D,f]),M=(0,E.Z)(S,b),{getRootProps:F,active:B,focusVisible:H,rootRef:Y}=(0,T.Z)({disabled:l,rootRef:L}),V=o.useMemo(()=>Array.from(P.keys()),[P]),W=o.useCallback(e=>{if(void 0!==n){let t=V.find(t=>n(t,e));return P.get(t)}return P.get(e)},[P,n,V]),$=o.useCallback(e=>{var t;let n=W(e);return null!=(t=null==n?void 0:n.disabled)&&t},[W]),K=o.useCallback(e=>{let t=W(e);return t?m(t):""},[W,m]),X=o.useMemo(()=>({selectedValues:h,open:O}),[h,O]),z=o.useCallback(e=>{var t;return null==(t=P.get(e))?void 0:t.id},[P]),Z=o.useCallback((e,t)=>{if(R)null==A||A(e,t);else{var n;null==A||A(e,null!=(n=t[0])?n:null)}},[R,A]),j=o.useCallback((e,t)=>{null==I||I(e,null!=t?t:null)},[I]),q=o.useCallback((e,t,n)=>{if("open"===t&&(null==N||N(n),!1===n&&(null==e?void 0:e.type)!=="blur")){var a;null==(a=_.current)||a.focus()}},[N]),J={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:r}},getItemId:z,controlledProps:X,itemComparer:n,isItemDisabled:$,rootRef:Y,onChange:Z,onHighlightChange:j,onStateChange:q,reducerActionContext:o.useMemo(()=>({multiple:R}),[R]),items:V,getItemAsString:K,selectionMode:R?"multiple":"single",stateReducer:w},{dispatch:Q,getRootProps:ee,contextValue:et,state:{open:en,highlightedValue:ea,selectedValues:er},rootRef:ei}=U(J),eo=e=>t=>{var n;if(null==e||null==(n=e.onClick)||n.call(e,t),!t.defaultMuiPrevented){let e={type:p.buttonClick,event:t};Q(e)}};(0,u.Z)(()=>{if(null!=ea){var e;let t=null==(e=W(ea))?void 0:e.ref;if(!b.current||!(null!=t&&t.current))return;let n=b.current.getBoundingClientRect(),a=t.current.getBoundingClientRect();a.topn.bottom&&(b.current.scrollTop+=a.bottom-n.bottom)}},[ea,W]);let es=o.useCallback(e=>W(e),[W]),el=(e={})=>(0,i.Z)({},e,{onClick:eo(e),ref:ei,role:"combobox","aria-expanded":en,"aria-controls":f});o.useDebugValue({selectedOptions:er,highlightedOption:ea,open:en});let eE=o.useMemo(()=>(0,i.Z)({},et,y),[et,y]);return{buttonActive:B,buttonFocusVisible:H,buttonRef:Y,contextValue:eE,disabled:l,dispatch:Q,getButtonProps:(e={})=>{let t=x(F,ee),n=x(t,el);return n(e)},getListboxProps:(e={})=>(0,i.Z)({},e,{id:f,role:"listbox","aria-multiselectable":R?"true":void 0,ref:M,onMouseDown:G}),getOptionMetadata:es,listboxRef:ei,open:en,options:V,value:e.multiple?er:er.length>0?er[0]:null,highlightedOption:ea}},B=n(18414),H=n(9268);function Y(e){let{value:t,children:n}=e,{dispatch:a,getItemIndex:r,getItemState:i,registerHighlightChangeHandler:s,registerSelectionChangeHandler:l,registerItem:E,totalSubitemCount:c}=t,d=o.useMemo(()=>({dispatch:a,getItemState:i,getItemIndex:r,registerHighlightChangeHandler:s,registerSelectionChangeHandler:l}),[a,r,i,s,l]),u=o.useMemo(()=>({getItemIndex:r,registerItem:E,totalSubitemCount:c}),[E,r,c]);return(0,H.jsx)(k.s.Provider,{value:u,children:(0,H.jsx)(B.Z.Provider,{value:d,children:n})})}var V=n(47562),W=n(18818),$=n(27358),K=n(8189),X=n(50645),z=n(88930),Z=n(326),j=n(18587);function q(e){return(0,j.d6)("MuiSvgIcon",e)}(0,j.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","fontSizeXl5","fontSizeXl6"]);let J=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","slots","slotProps"],Q=e=>{let{color:t,fontSize:n}=e,a={root:["root",t&&`color${(0,l.Z)(t)}`,n&&`fontSize${(0,l.Z)(n)}`]};return(0,V.Z)(a,q,{})},ee=(0,X.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n;return(0,i.Z)({},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},{color:"var(--Icon-color)"},"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:e.vars.palette[t.color].plainColor},"context"===t.color&&{color:null==(n=e.variants.plain)||null==(n=n[t.color])?void 0:n.color})}),et=o.forwardRef(function(e,t){let n=(0,z.Z)({props:e,name:"JoySvgIcon"}),{children:a,className:l,color:E="inherit",component:c="svg",fontSize:d="xl",htmlColor:u,inheritViewBox:T=!1,titleAccess:p,viewBox:S="0 0 24 24",slots:R={},slotProps:A={}}=n,I=(0,r.Z)(n,J),N=o.isValidElement(a)&&"svg"===a.type,O=(0,i.Z)({},n,{color:E,component:c,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:T,viewBox:S,hasSvgAsChild:N}),g=Q(O),m=(0,i.Z)({},I,{component:c,slots:R,slotProps:A}),[C,_]=(0,Z.Z)("root",{ref:t,className:(0,s.Z)(g.root,l),elementType:ee,externalForwardedProps:m,ownerState:O,additionalProps:(0,i.Z)({color:u,focusable:!1},p&&{role:"img"},!p&&{"aria-hidden":!0},!T&&{viewBox:S},N&&a.props)});return(0,H.jsxs)(C,(0,i.Z)({},_,{children:[N?a.props.children:a,p?(0,H.jsx)("title",{children:p}):null]}))});var en=function(e,t){function n(n,a){return(0,H.jsx)(et,(0,i.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=et.muiName,o.memo(o.forwardRef(n))}((0,H.jsx)("path",{d:"m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 3.7a.9959.9959 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 5.83zm0 12.34-2.46-2.46a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L12 18.17z"}),"Unfold"),ea=n(47093);function er(e){return(0,j.d6)("MuiSelect",e)}let ei=(0,j.sI)("MuiSelect",["root","button","indicator","startDecorator","endDecorator","popper","listbox","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","focusVisible","disabled","expanded"]);var eo=n(31857);let es=["action","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","placeholder","listboxId","listboxOpen","onChange","onListboxOpenChange","onClose","renderValue","value","size","variant","color","startDecorator","endDecorator","indicator","aria-describedby","aria-label","aria-labelledby","id","name","slots","slotProps"];function el(e){var t;return null!=(t=null==e?void 0:e.label)?t:""}function eE(e){return(null==e?void 0:e.value)==null?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}let ec=[{name:"offset",options:{offset:[0,4]}},{name:"equalWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`}}],ed=e=>{let{color:t,disabled:n,focusVisible:a,size:r,variant:i,open:o}=e,s={root:["root",n&&"disabled",a&&"focusVisible",o&&"expanded",i&&`variant${(0,l.Z)(i)}`,t&&`color${(0,l.Z)(t)}`,r&&`size${(0,l.Z)(r)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",o&&"expanded"],listbox:["listbox",o&&"expanded",n&&"disabled"]};return(0,V.Z)(s,er,{})},eu=(0,X.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,a,r,o;let s=null==(n=e.variants[`${t.variant}`])?void 0:n[t.color];return[(0,i.Z)({"--Select-radius":e.vars.radius.sm,"--Select-gap":"0.5rem","--Select-placeholderOpacity":.5,"--Select-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Select-focusedHighlight":e.vars.palette.focusVisible}:{"--Select-focusedHighlight":null==(a=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:a[500]},{"--Select-indicatorColor":null!=s&&s.backgroundColor?null==s?void 0:s.color:e.vars.palette.text.tertiary},"sm"===t.size&&{"--Select-minHeight":"2rem","--Select-paddingInline":"0.5rem","--Select-decoratorChildHeight":"min(1.5rem, var(--Select-minHeight))","--Icon-fontSize":"1.25rem"},"md"===t.size&&{"--Select-minHeight":"2.5rem","--Select-paddingInline":"0.75rem","--Select-decoratorChildHeight":"min(2rem, var(--Select-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===t.size&&{"--Select-minHeight":"3rem","--Select-paddingInline":"1rem","--Select-decoratorChildHeight":"min(2.375rem, var(--Select-minHeight))","--Icon-fontSize":"1.75rem"},{"--Select-decoratorChildOffset":"min(calc(var(--Select-paddingInline) - (var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2), var(--Select-paddingInline))","--_Select-paddingBlock":"max((var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2, 0px)","--Select-decoratorChildRadius":"max(var(--Select-radius) - var(--variant-borderWidth, 0px) - var(--_Select-paddingBlock), min(var(--_Select-paddingBlock) + var(--variant-borderWidth, 0px), var(--Select-radius) / 2))","--Button-minHeight":"var(--Select-decoratorChildHeight)","--IconButton-size":"var(--Select-decoratorChildHeight)","--Button-radius":"var(--Select-decoratorChildRadius)","--IconButton-radius":"var(--Select-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Select-minHeight)",position:"relative",display:"flex",alignItems:"center",borderRadius:"var(--Select-radius)",cursor:"pointer"},!(null!=s&&s.backgroundColor)&&{backgroundColor:e.vars.palette.background.surface},t.size&&{paddingBlock:({sm:2,md:3,lg:4})[t.size]},{paddingInline:"var(--Select-paddingInline)",fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md},"sm"===t.size&&{fontSize:e.vars.fontSize.sm},{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)"},[`&.${ei.focusVisible}`]:{"--Select-indicatorColor":null==s?void 0:s.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${ei.disabled}`]:{"--Select-indicatorColor":"inherit"}}),(0,i.Z)({},s,{"&:hover":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color],[`&.${ei.disabled}`]:null==(o=e.variants[`${t.variant}Disabled`])?void 0:o[t.color]})]}),eT=(0,X.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,i.Z)({border:0,outline:0,background:"none",padding:0,fontSize:"inherit",color:"inherit",alignSelf:"stretch",display:"flex",alignItems:"center",flex:1,fontFamily:"inherit",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden"},(null===e.value||void 0===e.value)&&{opacity:"var(--Select-placeholderOpacity)"},{"&::before":{content:'""',display:"block",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))",right:"calc(-1 * var(--variant-borderWidth, 0px))",bottom:"calc(-1 * var(--variant-borderWidth, 0px))",borderRadius:"var(--Select-radius)"}})),ep=(0,X.Z)(W.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var n;let a="context"===t.color?void 0:null==(n=e.variants[t.variant])?void 0:n[t.color];return(0,i.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--List-radius":e.vars.radius.sm,"--ListItem-stickyBackground":(null==a?void 0:a.backgroundColor)||(null==a?void 0:a.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},$.M,{minWidth:"max-content",maxHeight:"44vh",overflow:"auto",outline:0,boxShadow:e.shadow.md,zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=a&&a.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),eS=(0,X.Z)("span",{name:"JoySelect",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({theme:e,ownerState:t})=>(0,i.Z)({"--Button-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Select-paddingInline) / -4)",display:"inherit",alignItems:"center",marginInlineEnd:"var(--Select-gap)",color:e.vars.palette.text.tertiary},t.focusVisible&&{color:"var(--Select-focusedHighlight)"})),eR=(0,X.Z)("span",{name:"JoySelect",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})(({theme:e,ownerState:t})=>{var n;let a=null==(n=e.variants[t.variant])?void 0:n[t.color];return{"--Button-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Select-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",color:null==a?void 0:a.color}}),eA=(0,X.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e})=>(0,i.Z)({},"sm"===e.size&&{"--Icon-fontSize":"1.125rem"},"md"===e.size&&{"--Icon-fontSize":"1.25rem"},"lg"===e.size&&{"--Icon-fontSize":"1.5rem"},{color:"var(--Select-indicatorColor)",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",marginInlineEnd:"calc(var(--Select-paddingInline) / -4)",[`.${ei.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"}})),eI=o.forwardRef(function(e,t){var n,l,d,u,T,p,S;let R=(0,z.Z)({props:e,name:"JoySelect"}),{action:A,autoFocus:I,children:N,defaultValue:O,defaultListboxOpen:g=!1,disabled:m,getSerializedValue:C=eE,placeholder:_,listboxId:L,listboxOpen:b,onChange:f,onListboxOpenChange:h,onClose:D,renderValue:y,value:P,size:M="md",variant:U="outlined",color:v="neutral",startDecorator:k,endDecorator:w,indicator:x=a||(a=(0,H.jsx)(en,{})),"aria-describedby":G,"aria-label":B,"aria-labelledby":V,id:W,name:X,slots:j={},slotProps:q={}}=R,J=(0,r.Z)(R,es),Q=o.useContext(eo.Z),ee=null!=(n=null!=(l=e.disabled)?l:null==Q?void 0:Q.disabled)?n:m,et=null!=(d=null!=(u=e.size)?u:null==Q?void 0:Q.size)?d:M,{getColor:er}=(0,ea.VT)(U),eI=er(e.color,null!=Q&&Q.error?"danger":null!=(T=null==Q?void 0:Q.color)?T:v),eN=null!=y?y:el,[eO,eg]=o.useState(null),em=o.useRef(null),eC=o.useRef(null),e_=o.useRef(null),eL=(0,E.Z)(t,em);o.useImperativeHandle(A,()=>({focusVisible:()=>{var e;null==(e=eC.current)||e.focus()}}),[]),o.useEffect(()=>{eg(em.current)},[]),o.useEffect(()=>{I&&eC.current.focus()},[I]);let eb=o.useCallback(e=>{null==h||h(e),e||null==D||D()},[D,h]),{buttonActive:ef,buttonFocusVisible:eh,contextValue:eD,disabled:ey,getButtonProps:eP,getListboxProps:eM,getOptionMetadata:eU,open:ev,value:ek}=F({buttonRef:eC,defaultOpen:g,defaultValue:O,disabled:ee,listboxId:L,multiple:!1,onChange:f,onOpenChange:eb,open:b,value:P}),ew=(0,i.Z)({},R,{active:ef,defaultListboxOpen:g,disabled:ey,focusVisible:eh,open:ev,renderValue:eN,value:ek,size:et,variant:U,color:eI}),ex=ed(ew),eG=(0,i.Z)({},J,{slots:j,slotProps:q}),eF=o.useMemo(()=>{var e;return null!=(e=eU(ek))?e:null},[eU,ek]),[eB,eH]=(0,Z.Z)("root",{ref:eL,className:ex.root,elementType:eu,externalForwardedProps:eG,ownerState:ew}),[eY,eV]=(0,Z.Z)("button",{additionalProps:{"aria-describedby":null!=G?G:null==Q?void 0:Q["aria-describedby"],"aria-label":B,"aria-labelledby":null!=V?V:null==Q?void 0:Q.labelId,id:null!=W?W:null==Q?void 0:Q.htmlFor,name:X},className:ex.button,elementType:eT,externalForwardedProps:eG,getSlotProps:eP,ownerState:ew}),[eW,e$]=(0,Z.Z)("listbox",{additionalProps:{ref:e_,anchorEl:eO,open:ev,placement:"bottom",keepMounted:!0},className:ex.listbox,elementType:ep,externalForwardedProps:eG,getSlotProps:eM,ownerState:(0,i.Z)({},ew,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||et,variant:e.variant||"outlined",color:e.color||"neutral",disableColorInversion:!e.disablePortal})}),[eK,eX]=(0,Z.Z)("startDecorator",{className:ex.startDecorator,elementType:eS,externalForwardedProps:eG,ownerState:ew}),[ez,eZ]=(0,Z.Z)("endDecorator",{className:ex.endDecorator,elementType:eR,externalForwardedProps:eG,ownerState:ew}),[ej,eq]=(0,Z.Z)("indicator",{className:ex.indicator,elementType:eA,externalForwardedProps:eG,ownerState:ew}),eJ=o.useMemo(()=>(0,i.Z)({},eD,{color:eI}),[eI,eD]),eQ=o.useMemo(()=>[...ec,...e$.modifiers||[]],[e$.modifiers]),e0=null;return eO&&(e0=(0,H.jsx)(eW,(0,i.Z)({},e$,{className:(0,s.Z)(e$.className,(null==(p=e$.ownerState)?void 0:p.color)==="context"&&ei.colorContext),modifiers:eQ},!(null!=(S=R.slots)&&S.listbox)&&{as:c.Z,slots:{root:e$.as||"ul"}},{children:(0,H.jsx)(Y,{value:eJ,children:(0,H.jsx)(K.Z.Provider,{value:"select",children:(0,H.jsx)($.Z,{nested:!0,children:N})})})})),e$.disablePortal||(e0=(0,H.jsx)(ea.ZP.Provider,{value:void 0,children:e0}))),(0,H.jsxs)(o.Fragment,{children:[(0,H.jsxs)(eB,(0,i.Z)({},eH,{children:[k&&(0,H.jsx)(eK,(0,i.Z)({},eX,{children:k})),(0,H.jsx)(eY,(0,i.Z)({},eV,{children:eF?eN(eF):_})),w&&(0,H.jsx)(ez,(0,i.Z)({},eZ,{children:w})),x&&(0,H.jsx)(ej,(0,i.Z)({},eq,{children:x}))]})),e0,X&&(0,H.jsx)("input",{type:"hidden",name:X,value:C(eF)})]})});var eN=eI},69962:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var a=n(46750),r=n(40431),i=n(86006),o=n(89791),s=n(53832),l=n(72120),E=n(47562),c=n(88930),d=n(50645),u=n(18587);function T(e){return(0,u.d6)("MuiSkeleton",e)}(0,u.sI)("MuiSkeleton",["root","variantOverlay","variantCircular","variantRectangular","variantText","variantInline","h1","h2","h3","h4","h5","h6","body1","body2","body3"]);var p=n(326),S=n(9268);let R=["className","component","children","animation","overlay","loading","variant","level","height","width","sx","slots","slotProps"],A=e=>e,I,N,O,g,m,C=e=>{let{variant:t,level:n}=e,a={root:["root",t&&`variant${(0,s.Z)(t)}`,n&&`level${(0,s.Z)(n)}`]};return(0,E.Z)(a,T,{})},_=(0,l.F4)(I||(I=A` - 0% { - opacity: 1; - } - - 50% { - opacity: 0.8; - background: var(--unstable_pulse-bg); - } - - 100% { - opacity: 1; - } -`)),L=(0,l.F4)(N||(N=A` - 0% { - transform: translateX(-100%); - } - - 50% { - /* +0.5s of delay between each loop */ - transform: translateX(100%); - } - - 100% { - transform: translateX(100%); - } -`)),b=(0,d.Z)("span",{name:"JoySkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"!==e.variant&&(0,l.iv)(O||(O=A` - &::before { - animation: ${0} 1.5s ease-in-out 0.5s infinite; - background: ${0}; - } - `),_,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"===e.variant&&(0,l.iv)(g||(g=A` - &::after { - animation: ${0} 1.5s ease-in-out 0.5s infinite; - background: ${0}; - } - `),_,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,l.iv)(m||(m=A` - /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ - -webkit-mask-image: -webkit-radial-gradient(white, black); - background: ${0}; - - &::after { - content: ' '; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: var(--unstable_pseudo-zIndex); - animation: ${0} 1.6s linear 0.5s infinite; - background: linear-gradient( - 90deg, - transparent, - var(--unstable_wave-bg, rgba(0 0 0 / 0.08)), - transparent - ); - transform: translateX(-100%); /* Avoid flash during server-side hydration */ - } - `),t.vars.palette.background.level2,L),({ownerState:e,theme:t})=>{var n,a,i,o;let s=(null==(n=t.components)||null==(n=n.JoyTypography)||null==(n=n.defaultProps)?void 0:n.level)||"body1";return[{display:"block",position:"relative","--unstable_pseudo-zIndex":9,"--unstable_pulse-bg":t.vars.palette.background.level1,overflow:"hidden",cursor:"default","& *":{visibility:"hidden"},"&::before":{display:"block",content:'" "',top:0,bottom:0,left:0,right:0,zIndex:"var(--unstable_pseudo-zIndex)",borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"--unstable_wave-bg":"rgba(255 255 255 / 0.1)"}},"rectangular"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",height:"auto",width:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"circular"===e.variant&&(0,r.Z)({borderRadius:"50%",width:"100%",height:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"text"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",background:"transparent",width:"100%"},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level||s],{paddingBlockStart:`calc((${(null==(a=t.typography[e.level||s])?void 0:a.lineHeight)||1} - 1) * 0.56em)`,paddingBlockEnd:`calc((${(null==(i=t.typography[e.level||s])?void 0:i.lineHeight)||1} - 1) * 0.44em)`,"&::before":(0,r.Z)({height:"1em"},t.typography[e.level||s],"wave"===e.animation&&{backgroundColor:t.vars.palette.background.level2},!e.animation&&{backgroundColor:t.vars.palette.background.level2}),"&::after":(0,r.Z)({height:"1em",top:`calc((${(null==(o=t.typography[e.level||s])?void 0:o.lineHeight)||1} - 1) * 0.56em)`},t.typography[e.level||s])})),"inline"===e.variant&&(0,r.Z)({display:"inline",position:"initial",borderRadius:"min(0.15em, 6px)"},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"-webkit-mask-image":"-webkit-radial-gradient(white, black)","&::before":{position:"absolute",zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}},"pulse"===e.animation&&{"&::after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}}),"overlay"===e.variant&&(0,r.Z)({borderRadius:t.vars.radius.xs,position:"absolute",width:"100%",height:"100%",zIndex:"var(--unstable_pseudo-zIndex)"},"pulse"===e.animation&&{backgroundColor:t.vars.palette.background.surface},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"&::before":{position:"absolute"}})]}),f=i.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoySkeleton"}),{className:s,component:l="span",children:E,animation:d="pulse",overlay:u=!1,loading:T=!0,variant:A="overlay",level:I="text"===A?"body1":"inherit",height:N,width:O,sx:g,slots:m={},slotProps:_={}}=n,L=(0,a.Z)(n,R),f=(0,r.Z)({},L,{component:l,slots:m,slotProps:_,sx:[{width:O,height:N},...Array.isArray(g)?g:[g]]}),h=(0,r.Z)({},n,{animation:d,component:l,level:I,loading:T,overlay:u,variant:A,width:O,height:N}),D=C(h),[y,P]=(0,p.Z)("root",{ref:t,className:(0,o.Z)(D.root,s),elementType:b,externalForwardedProps:f,ownerState:h});return T?(0,S.jsx)(y,(0,r.Z)({},P,{children:E})):(0,S.jsx)(i.Fragment,{children:i.Children.map(E,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)})});f.muiName="Skeleton";var h=f},22046:function(e,t,n){"use strict";n.d(t,{eu:function(){return O},FR:function(){return N},ZP:function(){return f}});var a=n(46750),r=n(40431),i=n(86006),o=n(53832),s=n(44542),l=n(86601),E=n(47562),c=n(50645),d=n(88930),u=n(47093),T=n(326),p=n(18587);function S(e){return(0,p.d6)("MuiTypography",e)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","body1","body2","body3","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var R=n(9268);let A=["color","textColor"],I=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],N=i.createContext(!1),O=i.createContext(!1),g=e=>{let{gutterBottom:t,noWrap:n,level:a,color:r,variant:i}=e,s={root:["root",a,t&&"gutterBottom",n&&"noWrap",r&&`color${(0,o.Z)(r)}`,i&&`variant${(0,o.Z)(i)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,E.Z)(s,S,{})},m=(0,c.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({ownerState:e})=>{var t;return(0,r.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),C=(0,c.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})(({ownerState:e})=>{var t;return(0,r.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.endDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),_=(0,c.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,a,i,o;return(0,r.Z)({"--Icon-fontSize":"1.25em",margin:"var(--Typography-margin, 0px)"},t.nesting?{display:"inline"}:{fontFamily:e.vars.fontFamily.body,display:"block"},(t.startDecorator||t.endDecorator)&&(0,r.Z)({display:"flex",alignItems:"center"},t.nesting&&(0,r.Z)({display:"inline-flex"},t.startDecorator&&{verticalAlign:"bottom"})),t.level&&"inherit"!==t.level&&e.typography[t.level],{fontSize:`var(--Typography-fontSize, ${t.level&&"inherit"!==t.level&&null!=(n=null==(a=e.typography[t.level])?void 0:a.fontSize)?n:"inherit"})`},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.color&&"context"!==t.color&&{color:`rgba(${null==(i=e.vars.palette[t.color])?void 0:i.mainChannel} / 1)`},t.variant&&(0,r.Z)({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!t.nesting&&{marginInline:"-0.375em"},null==(o=e.variants[t.variant])?void 0:o[t.color]))}),L={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",display1:"h1",display2:"h2",body1:"p",body2:"p",body3:"span",body4:"span",body5:"span",inherit:"p"},b=i.forwardRef(function(e,t){let n=(0,d.Z)({props:e,name:"JoyTypography"}),{color:o,textColor:E}=n,c=(0,a.Z)(n,A),p=i.useContext(N),S=i.useContext(O),b=(0,l.Z)((0,r.Z)({},c,{color:E})),{component:f,gutterBottom:h=!1,noWrap:D=!1,level:y="body1",levelMapping:P={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p",inherit:"p"},children:M,endDecorator:U,startDecorator:v,variant:k,slots:w={},slotProps:x={}}=b,G=(0,a.Z)(b,I),{getColor:F}=(0,u.VT)(k),B=F(e.color,k?null!=o?o:"neutral":o),H=p||S?e.level||"inherit":y,Y=f||(p?"span":P[H]||L[H]||"span"),V=(0,r.Z)({},b,{level:H,component:Y,color:B,gutterBottom:h,noWrap:D,nesting:p,variant:k}),W=g(V),$=(0,r.Z)({},G,{component:Y,slots:w,slotProps:x}),[K,X]=(0,T.Z)("root",{ref:t,className:W.root,elementType:_,externalForwardedProps:$,ownerState:V}),[z,Z]=(0,T.Z)("startDecorator",{className:W.startDecorator,elementType:m,externalForwardedProps:$,ownerState:V}),[j,q]=(0,T.Z)("endDecorator",{className:W.endDecorator,elementType:C,externalForwardedProps:$,ownerState:V});return(0,R.jsx)(N.Provider,{value:!0,children:(0,R.jsxs)(K,(0,r.Z)({},X,{children:[v&&(0,R.jsx)(z,(0,r.Z)({},Z,{children:v})),(0,s.Z)(M,["Skeleton"])?i.cloneElement(M,{variant:M.props.variant||"inline"}):M,U&&(0,R.jsx)(j,(0,r.Z)({},q,{children:U}))]}))})});var f=b},61469:function(e,t,n){"use strict";n.d(t,{Z:function(){return e4}});var a,r,i=n(40431),o=n(65877),s=n(965),l=n(88684),E=n(90151),c=n(18050),d=n(49449),u=n(70184),T=n(43663),p=n(38340),S=n(86006),R=n(48580),A=n(5004),I=n(42442),N=n(8683),O=n.n(N),g=S.createContext(null),m=n(89301),C=S.memo(function(e){for(var t,n=e.prefixCls,a=e.level,r=e.isStart,i=e.isEnd,s="".concat(n,"-indent-unit"),l=[],E=0;E1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(d,u){for(var T,p=f(a?a.pos:"0",u),S=h(d[i],p),R=0;R1&&void 0!==arguments[1]?arguments[1]:{},p=T.initWrapper,S=T.processEntity,R=T.onProcessFinished,A=T.externalGetKey,I=T.childrenPropName,N=T.fieldNames,O=arguments.length>2?arguments[2]:void 0,g={},m={},C={posEntities:g,keyEntities:m};return p&&(C=p(C)||C),t=function(e){var t=e.node,n=e.index,a=e.pos,r=e.key,i=e.parentPos,o=e.level,s={node:t,nodes:e.nodes,index:n,key:r,pos:a,level:o},l=h(r,a);g[a]=s,m[l]=s,s.parent=g[i],s.parent&&(s.parent.children=s.parent.children||[],s.parent.children.push(s)),S&&S(s,C)},n={externalGetKey:A||O,childrenPropName:I,fieldNames:N},i=(r=("object"===(0,s.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,o=r.externalGetKey,c=(l=D(r.fieldNames)).key,d=l.children,u=i||d,o?"string"==typeof o?a=function(e){return e[o]}:"function"==typeof o&&(a=function(e){return o(e)}):a=function(e,t){return h(e[c],t)},function n(r,i,o,s){var l=r?r[u]:e,c=r?f(o.pos,i):"0",d=r?[].concat((0,E.Z)(s),[r]):[];if(r){var T=a(r,c);t({node:r,index:i,pos:c,key:T,parentPos:o.node?o.pos:null,level:o.level+1,nodes:d})}l&&l.forEach(function(e,t){n(e,t,{node:r,pos:c,level:o?o.level+1:-1},d)})}(null),R&&R(C),C}function U(e,t){var n=t.expandedKeys,a=t.selectedKeys,r=t.loadedKeys,i=t.loadingKeys,o=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,E=t.dropPosition,c=t.keyEntities[e];return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==a.indexOf(e),loaded:-1!==r.indexOf(e),loading:-1!==i.indexOf(e),checked:-1!==o.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(c?c.pos:""),dragOver:l===e&&0===E,dragOverGapTop:l===e&&-1===E,dragOverGapBottom:l===e&&1===E}}function v(e){var t=e.data,n=e.expanded,a=e.selected,r=e.checked,i=e.loaded,o=e.loading,s=e.halfChecked,E=e.dragOver,c=e.dragOverGapTop,d=e.dragOverGapBottom,u=e.pos,T=e.active,p=e.eventKey,S=(0,l.Z)((0,l.Z)({},t),{},{expanded:n,selected:a,checked:r,loaded:i,loading:o,halfChecked:s,dragOver:E,dragOverGapTop:c,dragOverGapBottom:d,pos:u,active:T,key:p});return"props"in S||Object.defineProperty(S,"props",{get:function(){return(0,A.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),S}var k=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],w="open",x="close",G=function(e){(0,T.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,c.Z)(this,n);for(var a=arguments.length,r=Array(a),i=0;i=0&&n.splice(a,1),n}function H(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function Y(e){return e.split("-")}function V(e,t,n,a,r,i,o,s,l,E){var c,d,u=e.clientX,T=e.clientY,p=e.target.getBoundingClientRect(),S=p.top,R=p.height,A=(("rtl"===E?-1:1)*(((null==r?void 0:r.x)||0)-u)-12)/a,I=s[n.props.eventKey];if(T-1.5?i({dragNode:b,dropNode:f,dropPosition:1})?C=1:h=!1:i({dragNode:b,dropNode:f,dropPosition:0})?C=0:i({dragNode:b,dropNode:f,dropPosition:1})?C=1:h=!1:i({dragNode:b,dropNode:f,dropPosition:1})?C=1:h=!1,{dropPosition:C,dropLevelOffset:_,dropTargetKey:I.key,dropTargetPos:I.pos,dragOverNodeKey:m,dropContainerKey:0===C?null:(null===(d=I.parent)||void 0===d?void 0:d.key)||null,dropAllowed:h}}function W(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function $(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,s.Z)(e))return(0,A.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function K(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(a){if(!n.has(a)){var r=t[a];if(r){n.add(a);var i=r.parent;!r.node.disabled&&i&&e(i.key)}}}(e)}),(0,E.Z)(n)}function X(e){if(null==e)throw TypeError("Cannot destructure "+e)}F.displayName="TreeNode",F.isTreeNode=1;var z=n(60456),Z=n(38358),j=n(43783),q=n(78641),J=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Q=function(e,t){var n,a,r,o,s,l=e.className,E=e.style,c=e.motion,d=e.motionNodes,u=e.motionType,T=e.onMotionStart,p=e.onMotionEnd,R=e.active,A=e.treeNodeRequiredProps,I=(0,m.Z)(e,J),N=S.useState(!0),C=(0,z.Z)(N,2),_=C[0],L=C[1],b=S.useContext(g).prefixCls,f=d&&"hide"!==u;(0,Z.Z)(function(){d&&f!==_&&L(f)},[d]);var h=S.useRef(!1),D=function(){d&&!h.current&&(h.current=!0,p())};return(n=function(){d&&T()},a=S.useState(!1),o=(r=(0,z.Z)(a,2))[0],s=r[1],S.useLayoutEffect(function(){if(o)return n(),function(){D()}},[o]),S.useLayoutEffect(function(){return s(!0),function(){s(!1)}},[]),d)?S.createElement(q.ZP,(0,i.Z)({ref:t,visible:_},c,{motionAppear:"show"===u,onVisibleChanged:function(e){f===e&&D()}}),function(e,t){var n=e.className,a=e.style;return S.createElement("div",{ref:t,className:O()("".concat(b,"-treenode-motion"),n),style:a},d.map(function(e){var t=(0,i.Z)({},(X(e.data),e.data)),n=e.title,a=e.key,r=e.isStart,o=e.isEnd;delete t.children;var s=U(a,A);return S.createElement(F,(0,i.Z)({},t,s,{title:n,active:R,data:e.data,key:a,isStart:r,isEnd:o}))}))}):S.createElement(F,(0,i.Z)({domRef:t,className:l,style:E},I,{active:R}))};Q.displayName="MotionTreeNode";var ee=S.forwardRef(Q);function et(e,t,n){var a=e.findIndex(function(e){return e.key===n}),r=e[a+1],i=t.findIndex(function(e){return e.key===n});if(r){var o=t.findIndex(function(e){return e.key===r.key});return t.slice(i+1,o)}return t.slice(i+1)}var en=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ea={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},er=function(){},ei="RC_TREE_MOTION_".concat(Math.random()),eo={key:ei},es={key:ei,level:0,index:0,pos:"0",node:eo,nodes:[eo]},el={parent:null,children:[],pos:es.pos,data:eo,title:null,key:ei,isStart:[],isEnd:[]};function eE(e,t,n,a){return!1!==t&&n?e.slice(0,Math.ceil(n/a)+1):e}function ec(e){return h(e.key,e.pos)}var ed=S.forwardRef(function(e,t){var n=e.prefixCls,a=e.data,r=(e.selectable,e.checkable,e.expandedKeys),o=e.selectedKeys,s=e.checkedKeys,l=e.loadedKeys,E=e.loadingKeys,c=e.halfCheckedKeys,d=e.keyEntities,u=e.disabled,T=e.dragging,p=e.dragOverNodeKey,R=e.dropPosition,A=e.motion,I=e.height,N=e.itemHeight,O=e.virtual,g=e.focusable,C=e.activeItem,_=e.focused,L=e.tabIndex,b=e.onKeyDown,f=e.onFocus,D=e.onBlur,y=e.onActiveChange,P=e.onListChangeStart,M=e.onListChangeEnd,v=(0,m.Z)(e,en),k=S.useRef(null),w=S.useRef(null);S.useImperativeHandle(t,function(){return{scrollTo:function(e){k.current.scrollTo(e)},getIndentWidth:function(){return w.current.offsetWidth}}});var x=S.useState(r),G=(0,z.Z)(x,2),F=G[0],B=G[1],H=S.useState(a),Y=(0,z.Z)(H,2),V=Y[0],W=Y[1],$=S.useState(a),K=(0,z.Z)($,2),q=K[0],J=K[1],Q=S.useState([]),eo=(0,z.Z)(Q,2),es=eo[0],ed=eo[1],eu=S.useState(null),eT=(0,z.Z)(eu,2),ep=eT[0],eS=eT[1],eR=S.useRef(a);function eA(){var e=eR.current;W(e),J(e),ed([]),eS(null),M()}eR.current=a,(0,Z.Z)(function(){B(r);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,a=t.length;if(1!==Math.abs(n-a))return{add:!1,key:null};function r(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var a=t.filter(function(e){return!n.has(e)});return 1===a.length?a[0]:null}return n ").concat(t);return t}(C)),S.createElement("div",null,S.createElement("input",{style:ea,disabled:!1===g||u,tabIndex:!1!==g?L:null,onKeyDown:b,onFocus:f,onBlur:D,value:"",onChange:er,"aria-label":"for screen reader"})),S.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},S.createElement("div",{className:"".concat(n,"-indent")},S.createElement("div",{ref:w,className:"".concat(n,"-indent-unit")}))),S.createElement(j.Z,(0,i.Z)({},v,{data:eI,itemKey:ec,height:I,fullHeight:!1,virtual:O,itemHeight:N,prefixCls:"".concat(n,"-list"),ref:k,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return ec(e)===ei})&&eA()}}),function(e){var t=e.pos,n=(0,i.Z)({},(X(e.data),e.data)),a=e.title,r=e.key,o=e.isStart,s=e.isEnd,l=h(r,t);delete n.key,delete n.children;var E=U(l,eN);return S.createElement(ee,(0,i.Z)({},n,E,{title:a,active:!!C&&r===C.key,pos:t,data:e.data,isStart:o,isEnd:s,motion:A,motionNodes:r===ei?es:null,motionType:ep,onMotionStart:P,onMotionEnd:eA,treeNodeRequiredProps:eN,onMouseMove:function(){y(null)}}))}))});function eu(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function eT(e){var t=e||{},n=t.disabled,a=t.disableCheckbox,r=t.checkable;return!!(n||a)||!1===r}function ep(e,t,n,a){var r,i=[];r=a||eT;var o=new Set(e.filter(function(e){var t=!!n[e];return t||i.push(e),t})),s=new Map,l=0;return Object.keys(n).forEach(function(e){var t=n[e],a=t.level,r=s.get(a);r||(r=new Set,s.set(a,r)),r.add(t),l=Math.max(l,a)}),(0,A.ZP)(!i.length,"Tree missing follow keys: ".concat(i.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,a){for(var r=new Set(e),i=new Set,o=0;o<=n;o+=1)(t.get(o)||new Set).forEach(function(e){var t=e.key,n=e.node,i=e.children,o=void 0===i?[]:i;r.has(t)&&!a(n)&&o.filter(function(e){return!a(e.node)}).forEach(function(e){r.add(e.key)})});for(var s=new Set,l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(function(e){var t=e.parent;if(!(a(e.node)||!e.parent||s.has(e.parent.key))){if(a(e.parent.node)){s.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!a(e.node)}).forEach(function(e){var t=e.key,a=r.has(t);n&&!a&&(n=!1),!o&&(a||i.has(t))&&(o=!0)}),n&&r.add(t.key),o&&i.add(t.key),s.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(eu(i,r))}}(o,s,l,r):function(e,t,n,a,r){for(var i=new Set(e),o=new Set(t),s=0;s<=a;s+=1)(n.get(s)||new Set).forEach(function(e){var t=e.key,n=e.node,a=e.children,s=void 0===a?[]:a;i.has(t)||o.has(t)||r(n)||s.filter(function(e){return!r(e.node)}).forEach(function(e){i.delete(e.key)})});o=new Set;for(var l=new Set,E=a;E>=0;E-=1)(n.get(E)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||l.has(e.parent.key))){if(r(e.parent.node)){l.add(t.key);return}var n=!0,a=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=i.has(t);n&&!r&&(n=!1),!a&&(r||o.has(t))&&(a=!0)}),n||i.delete(t.key),a&&o.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(eu(o,i))}}(o,t.halfCheckedKeys,s,l,r)}ed.displayName="NodeList";var eS=function(e){(0,T.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,c.Z)(this,n);for(var a=arguments.length,r=Array(a),i=0;i0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var n=t.key,r=t.children;a.push(n),e(r)})}(o[l].children),a),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(E),window.addEventListener("dragend",e.onWindowDragEnd),null==s||s({event:t,node:v(n.props)})},e.onNodeDragEnter=function(t,n){var a=e.state,r=a.expandedKeys,i=a.keyEntities,o=a.dragChildrenKeys,s=a.flattenNodes,l=a.indent,c=e.props,d=c.onDragEnter,T=c.onExpand,p=c.allowDrop,S=c.direction,R=n.props,A=R.pos,I=R.eventKey,N=(0,u.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==I&&(e.currentMouseOverDroppableNodeKey=I),!N){e.resetDragState();return}var O=V(t,N,n,l,e.dragStartMousePosition,p,s,i,r,S),g=O.dropPosition,m=O.dropLevelOffset,C=O.dropTargetKey,_=O.dropContainerKey,L=O.dropTargetPos,b=O.dropAllowed,f=O.dragOverNodeKey;if(-1!==o.indexOf(C)||!b||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(t){clearTimeout(e.delayedDragEnterLogic[t])}),N.props.eventKey!==n.props.eventKey&&(t.persist(),e.delayedDragEnterLogic[A]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var a=(0,E.Z)(r),o=i[n.props.eventKey];o&&(o.children||[]).length&&(a=H(r,n.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(a),null==T||T(a,{node:v(n.props),expanded:!0,nativeEvent:t.nativeEvent})}},800)),N.props.eventKey===C&&0===m)){e.resetDragState();return}e.setState({dragOverNodeKey:f,dropPosition:g,dropLevelOffset:m,dropTargetKey:C,dropContainerKey:_,dropTargetPos:L,dropAllowed:b}),null==d||d({event:t,node:v(n.props),expandedKeys:r})},e.onNodeDragOver=function(t,n){var a=e.state,r=a.dragChildrenKeys,i=a.flattenNodes,o=a.keyEntities,s=a.expandedKeys,l=a.indent,E=e.props,c=E.onDragOver,d=E.allowDrop,T=E.direction,p=(0,u.Z)(e).dragNode;if(p){var S=V(t,p,n,l,e.dragStartMousePosition,d,i,o,s,T),R=S.dropPosition,A=S.dropLevelOffset,I=S.dropTargetKey,N=S.dropContainerKey,O=S.dropAllowed,g=S.dropTargetPos,m=S.dragOverNodeKey;-1===r.indexOf(I)&&O&&(p.props.eventKey===I&&0===A?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():R===e.state.dropPosition&&A===e.state.dropLevelOffset&&I===e.state.dropTargetKey&&N===e.state.dropContainerKey&&g===e.state.dropTargetPos&&O===e.state.dropAllowed&&m===e.state.dragOverNodeKey||e.setState({dropPosition:R,dropLevelOffset:A,dropTargetKey:I,dropContainerKey:N,dropTargetPos:g,dropAllowed:O,dragOverNodeKey:m}),null==c||c({event:t,node:v(n.props)}))}},e.onNodeDragLeave=function(t,n){e.currentMouseOverDroppableNodeKey!==n.props.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var a=e.props.onDragLeave;null==a||a({event:t,node:v(n.props)})},e.onWindowDragEnd=function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(t,n){var a=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==a||a({event:t,node:v(n.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(t,n){var a,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.state,o=i.dragChildrenKeys,s=i.dropPosition,E=i.dropTargetKey,c=i.dropTargetPos;if(i.dropAllowed){var d=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==E){var u=(0,l.Z)((0,l.Z)({},U(E,e.getTreeNodeRequiredProps())),{},{active:(null===(a=e.getActiveItem())||void 0===a?void 0:a.key)===E,data:e.state.keyEntities[E].node}),T=-1!==o.indexOf(E);(0,A.ZP)(!T,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var p=Y(c),S={event:t,node:v(u),dragNode:e.dragNode?v(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(o),dropToGap:0!==s,dropPosition:s+Number(p[p.length-1])};r||null==d||d(S),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(t,n){var a=e.state,r=a.expandedKeys,i=a.flattenNodes,o=n.expanded,s=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var E=i.filter(function(e){return e.key===s})[0],c=v((0,l.Z)((0,l.Z)({},U(s,e.getTreeNodeRequiredProps())),{},{data:E.data}));e.setExpandedKeys(o?B(r,s):H(r,s)),e.onNodeExpand(t,c)}},e.onNodeClick=function(t,n){var a=e.props,r=a.onClick;"click"===a.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeDoubleClick=function(t,n){var a=e.props,r=a.onDoubleClick;"doubleClick"===a.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeSelect=function(t,n){var a=e.state.selectedKeys,r=e.state,i=r.keyEntities,o=r.fieldNames,s=e.props,l=s.onSelect,E=s.multiple,c=n.selected,d=n[o.key],u=!c,T=(a=u?E?H(a,d):[d]:B(a,d)).map(function(e){var t=i[e];return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:a}),null==l||l(a,{event:"select",selected:u,node:n,selectedNodes:T,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,a){var r,i=e.state,o=i.keyEntities,s=i.checkedKeys,l=i.halfCheckedKeys,c=e.props,d=c.checkStrictly,u=c.onCheck,T=n.key,p={event:"check",node:n,checked:a,nativeEvent:t.nativeEvent};if(d){var S=a?H(s,T):B(s,T);r={checked:S,halfChecked:B(l,T)},p.checkedNodes=S.map(function(e){return o[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:S})}else{var R=ep([].concat((0,E.Z)(s),[T]),!0,o),A=R.checkedKeys,I=R.halfCheckedKeys;if(!a){var N=new Set(A);N.delete(T);var O=ep(Array.from(N),{checked:!1,halfCheckedKeys:I},o);A=O.checkedKeys,I=O.halfCheckedKeys}r=A,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=I,A.forEach(function(e){var t=o[e];if(t){var n=t.node,a=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:a})}}),e.setUncontrolledState({checkedKeys:A},!1,{halfCheckedKeys:I})}null==u||u(r,p)},e.onNodeLoad=function(t){var n=t.key,a=new Promise(function(a,r){e.setState(function(i){var o=i.loadedKeys,s=i.loadingKeys,l=void 0===s?[]:s,E=e.props,c=E.loadData,d=E.onLoad;return c&&-1===(void 0===o?[]:o).indexOf(n)&&-1===l.indexOf(n)?(c(t).then(function(){var r=H(e.state.loadedKeys,n);null==d||d(r,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:r}),e.setState(function(e){return{loadingKeys:B(e.loadingKeys,n)}}),a()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:B(e.loadingKeys,n)}}),e.loadingRetryTimes[n]=(e.loadingRetryTimes[n]||0)+1,e.loadingRetryTimes[n]>=10){var i=e.state.loadedKeys;(0,A.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:H(i,n)}),a()}r(t)}),{loadingKeys:H(l,n)}):null})});return a.catch(function(){}),a},e.onNodeMouseEnter=function(t,n){var a=e.props.onMouseEnter;null==a||a({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var a=e.props.onMouseLeave;null==a||a({event:t,node:n})},e.onNodeContextMenu=function(t,n){var a=e.props.onRightClick;a&&(t.preventDefault(),a({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,a=Array(n),r=0;r1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var r=!1,i=!0,o={};Object.keys(t).forEach(function(n){if(n in e.props){i=!1;return}r=!0,o[n]=t[n]}),r&&(!n||i)&&e.setState((0,l.Z)((0,l.Z)({},o),a))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return(0,d.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t,n=this.state,a=n.focused,r=n.flattenNodes,l=n.keyEntities,E=n.draggingNodeKey,c=n.activeKey,d=n.dropLevelOffset,u=n.dropContainerKey,T=n.dropTargetKey,p=n.dropPosition,R=n.dragOverNodeKey,A=n.indent,N=this.props,m=N.prefixCls,C=N.className,_=N.style,L=N.showLine,b=N.focusable,f=N.tabIndex,h=N.selectable,D=N.showIcon,y=N.icon,P=N.switcherIcon,M=N.draggable,U=N.checkable,v=N.checkStrictly,k=N.disabled,w=N.motion,x=N.loadData,G=N.filterTreeNode,F=N.height,B=N.itemHeight,H=N.virtual,Y=N.titleRender,V=N.dropIndicatorRender,W=N.onContextMenu,$=N.onScroll,K=N.direction,X=N.rootClassName,z=N.rootStyle,Z=(0,I.Z)(this.props,{aria:!0,data:!0});return M&&(t="object"===(0,s.Z)(M)?M:"function"==typeof M?{nodeDraggable:M}:{}),S.createElement(g.Provider,{value:{prefixCls:m,selectable:h,showIcon:D,icon:y,switcherIcon:P,draggable:t,draggingNodeKey:E,checkable:U,checkStrictly:v,disabled:k,keyEntities:l,dropLevelOffset:d,dropContainerKey:u,dropTargetKey:T,dropPosition:p,dragOverNodeKey:R,indent:A,direction:K,dropIndicatorRender:V,loadData:x,filterTreeNode:G,titleRender:Y,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},S.createElement("div",{role:"tree",className:O()(m,C,X,(e={},(0,o.Z)(e,"".concat(m,"-show-line"),L),(0,o.Z)(e,"".concat(m,"-focused"),a),(0,o.Z)(e,"".concat(m,"-active-focused"),null!==c),e)),style:z},S.createElement(ed,(0,i.Z)({ref:this.listRef,prefixCls:m,style:_,data:r,disabled:k,selectable:h,checkable:!!U,motion:w,dragging:null!==E,height:F,itemHeight:B,virtual:H,focusable:b,focused:a,tabIndex:void 0===f?0:f,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:W,onScroll:$},this.getTreeNodeRequiredProps(),Z))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,a,r=t.prevProps,i={prevProps:e};function s(t){return!r&&t in e||r&&r[t]!==e[t]}var E=t.fieldNames;if(s("fieldNames")&&(E=D(e.fieldNames),i.fieldNames=E),s("treeData")?n=e.treeData:s("children")&&((0,A.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=y(e.children)),n){i.treeData=n;var c=M(n,{fieldNames:E});i.keyEntities=(0,l.Z)((0,o.Z)({},ei,es),c.keyEntities)}var d=i.keyEntities||t.keyEntities;if(s("expandedKeys")||r&&s("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?K(e.expandedKeys,d):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,l.Z)({},d);delete u[ei],i.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?K(e.defaultExpandedKeys,d):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var T=P(n||t.treeData,i.expandedKeys||t.expandedKeys,E);i.flattenNodes=T}if(e.selectable&&(s("selectedKeys")?i.selectedKeys=W(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=W(e.defaultSelectedKeys,e))),e.checkable&&(s("checkedKeys")?a=$(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?a=$(e.defaultCheckedKeys)||{}:n&&(a=$(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),a)){var p=a,S=p.checkedKeys,R=void 0===S?[]:S,I=p.halfCheckedKeys,N=void 0===I?[]:I;if(!e.checkStrictly){var O=ep(R,!0,d);R=O.checkedKeys,N=O.halfCheckedKeys}i.checkedKeys=R,i.halfCheckedKeys=N}return s("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(S.Component);eS.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,a=e.indent,r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:r.top=0,r.left=-n*a;break;case 1:r.bottom=0,r.left=-n*a;break;case 0:r.bottom=0,r.left=a}return S.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1},eS.TreeNode=F;var eR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},eA=n(1240),eI=S.forwardRef(function(e,t){return S.createElement(eA.Z,(0,i.Z)({},e,{ref:t,icon:eR}))}),eN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},eO=S.forwardRef(function(e,t){return S.createElement(eA.Z,(0,i.Z)({},e,{ref:t,icon:eN}))}),eg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},em=S.forwardRef(function(e,t){return S.createElement(eA.Z,(0,i.Z)({},e,{ref:t,icon:eg}))}),eC=n(79746),e_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},eL=S.forwardRef(function(e,t){return S.createElement(eA.Z,(0,i.Z)({},e,{ref:t,icon:e_}))}),eb=n(80716),ef=n(84596),eh=n(98663),eD=n(70721),ey=n(40650);let eP=e=>{let{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,eh.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,eh.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,eh.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,eh.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` - ${n}:not(${n}-disabled), - ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` - ${n}-checked:not(${n}-disabled), - ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function eM(e,t){let n=(0,eD.TS)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[eP(n)]}(0,ey.Z)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[eM(n,e)]});var eU=n(57406);let ev=new ef.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ek=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),ew=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ex=(e,t)=>{let{treeCls:n,treeNodeCls:a,treeNodePadding:r,treeTitleHeight:i}=t,o=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,eh.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,eh.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${a}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:ev,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${a}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},(0,eh.oN)(t)),[`&:not(${a}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:`${i}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${a}:hover &`]:{opacity:.45}},[`&${a}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},ek(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:`${i}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:i/2*.8,height:i/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:o},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${i}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:`${i}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${i}px`,userSelect:"none"},ew(e,t)),[`${a}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${a}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${i/2}px !important`}}}}})}},eG=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:a}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{[` - &:hover::before, - &::before - `]:{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},eF=(e,t)=>{let n=`.${e}`,a=`${n}-treenode`,r=t.paddingXS/2,i=t.controlHeightSM,o=(0,eD.TS)(t,{treeCls:n,treeNodeCls:a,treeNodePadding:r,treeTitleHeight:i});return[ex(e,o),eG(o)]};var eB=(0,ey.Z)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:eM(`${n}-checkbox`,e)},eF(n,e),(0,eU.Z)(e)]});function eH(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:a,indent:r,direction:i="ltr"}=e,o="ltr"===i?"left":"right",s={[o]:-n*r+4,["ltr"===i?"right":"left"]:0};switch(t){case -1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[o]=r+4}return S.createElement("div",{style:s,className:`${a}-drop-indicator`})}var eY={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},eV=S.forwardRef(function(e,t){return S.createElement(eA.Z,(0,i.Z)({},e,{ref:t,icon:eY}))}),eW=n(75710),e$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},eK=S.forwardRef(function(e,t){return S.createElement(eA.Z,(0,i.Z)({},e,{ref:t,icon:e$}))}),eX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ez=S.forwardRef(function(e,t){return S.createElement(eA.Z,(0,i.Z)({},e,{ref:t,icon:eX}))}),eZ=n(52593),ej=e=>{let t;let{prefixCls:n,switcherIcon:a,treeNodeProps:r,showLine:i}=e,{isLeaf:o,expanded:s,loading:l}=r;if(l)return S.createElement(eW.Z,{className:`${n}-switcher-loading-icon`});if(i&&"object"==typeof i&&(t=i.showLeafIcon),o){if(!i)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(r):t,a=`${n}-switcher-line-custom-icon`;return(0,eZ.l$)(e)?(0,eZ.Tm)(e,{className:O()(e.props.className||"",a)}):e}return t?S.createElement(eI,{className:`${n}-switcher-line-icon`}):S.createElement("span",{className:`${n}-switcher-leaf-line`})}let E=`${n}-switcher-icon`,c="function"==typeof a?a(r):a;return(0,eZ.l$)(c)?(0,eZ.Tm)(c,{className:O()(c.props.className||"",E)}):void 0!==c?c:i?s?S.createElement(eK,{className:`${n}-switcher-line-icon`}):S.createElement(ez,{className:`${n}-switcher-line-icon`}):S.createElement(eV,{className:E})};let eq=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:a,virtual:r,tree:i}=S.useContext(eC.E_),{prefixCls:o,className:s,showIcon:l=!1,showLine:E,switcherIcon:c,blockNode:d=!1,children:u,checkable:T=!1,selectable:p=!0,draggable:R,motion:A,style:I}=e,N=n("tree",o),g=n(),m=null!=A?A:Object.assign(Object.assign({},(0,eb.Z)(g)),{motionAppear:!1}),C=Object.assign(Object.assign({},e),{checkable:T,selectable:p,showIcon:l,motion:m,blockNode:d,showLine:!!E,dropIndicatorRender:eH}),[_,L]=eB(N),b=S.useMemo(()=>{if(!R)return!1;let e={};switch(typeof R){case"function":e.nodeDraggable=R;break;case"object":e=Object.assign({},R)}return!1!==e.icon&&(e.icon=e.icon||S.createElement(eL,null)),e},[R]);return _(S.createElement(eS,Object.assign({itemHeight:20,ref:t,virtual:r},C,{style:Object.assign(Object.assign({},null==i?void 0:i.style),I),prefixCls:N,className:O()({[`${N}-icon-hide`]:!l,[`${N}-block-node`]:d,[`${N}-unselectable`]:!p,[`${N}-rtl`]:"rtl"===a},null==i?void 0:i.className,s,L),direction:a,checkable:T?S.createElement("span",{className:`${N}-checkbox-inner`}):T,selectable:p,switcherIcon:e=>S.createElement(ej,{prefixCls:N,switcherIcon:c,treeNodeProps:e,showLine:E}),draggable:b}),u))});function eJ(e,t){e.forEach(function(e){let{key:n,children:a}=e;!1!==t(n,e)&&eJ(a||[],t)})}function eQ(e,t){let n=(0,E.Z)(t),a=[];return eJ(e,(e,t)=>{let r=n.indexOf(e);return -1!==r&&(a.push(t),n.splice(r,1)),!!n.length}),a}(a=r||(r={}))[a.None=0]="None",a[a.Start=1]="Start",a[a.End=2]="End";var e0=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};function e1(e){let{isLeaf:t,expanded:n}=e;return t?S.createElement(eI,null):n?S.createElement(eO,null):S.createElement(em,null)}function e2(e){let{treeData:t,children:n}=e;return t||y(n)}let e3=S.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:a,defaultExpandedKeys:i}=e,o=e0(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let s=S.useRef(),l=S.useRef(),c=()=>{let{keyEntities:e}=M(e2(o));return n?Object.keys(e):a?K(o.expandedKeys||i||[],e):o.expandedKeys||i},[d,u]=S.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[T,p]=S.useState(()=>c());S.useEffect(()=>{"selectedKeys"in o&&u(o.selectedKeys)},[o.selectedKeys]),S.useEffect(()=>{"expandedKeys"in o&&p(o.expandedKeys)},[o.expandedKeys]);let{getPrefixCls:R,direction:A}=S.useContext(eC.E_),{prefixCls:I,className:N,showIcon:g=!0,expandAction:m="click"}=o,C=e0(o,["prefixCls","className","showIcon","expandAction"]),_=R("tree",I),L=O()(`${_}-directory`,{[`${_}-directory-rtl`]:"rtl"===A},N);return S.createElement(eq,Object.assign({icon:e1,ref:t,blockNode:!0},C,{showIcon:g,expandAction:m,prefixCls:_,className:L,expandedKeys:T,selectedKeys:d,onSelect:(e,t)=>{var n;let a;let{multiple:i}=o,{node:c,nativeEvent:d}=t,{key:p=""}=c,S=e2(o),R=Object.assign(Object.assign({},t),{selected:!0}),A=(null==d?void 0:d.ctrlKey)||(null==d?void 0:d.metaKey),I=null==d?void 0:d.shiftKey;i&&A?(a=e,s.current=p,l.current=a,R.selectedNodes=eQ(S,a)):i&&I?(a=Array.from(new Set([].concat((0,E.Z)(l.current||[]),(0,E.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:a,endKey:i}=e,o=[],s=r.None;return a&&a===i?[a]:a&&i?(eJ(t,e=>{if(s===r.End)return!1;if(e===a||e===i){if(o.push(e),s===r.None)s=r.Start;else if(s===r.Start)return s=r.End,!1}else s===r.Start&&o.push(e);return n.includes(e)}),o):[]}({treeData:S,expandedKeys:T,startKey:p,endKey:s.current}))))),R.selectedNodes=eQ(S,a)):(a=[p],s.current=p,l.current=a,R.selectedNodes=eQ(S,a)),null===(n=o.onSelect)||void 0===n||n.call(o,a,R),"selectedKeys"in o||u(a)},onExpand:(e,t)=>{var n;return"expandedKeys"in o||p(e),null===(n=o.onExpand)||void 0===n?void 0:n.call(o,e,t)}}))});eq.DirectoryTree=e3,eq.TreeNode=F;var e4=eq},19045:function(e,t){"use strict";t.Q=function(e){for(var t,n=[],a=String(e||""),r=a.indexOf(","),i=0,o=!1;!o;)-1===r&&(r=a.length,o=!0),((t=a.slice(i,r).trim())||!o)&&n.push(t),i=r+1,r=a.indexOf(",",i);return n}},3730:function(e){"use strict";e.exports=function(e,n){for(var a,r,i,o=e||"",s=n||"div",l={},E=0;E=97&&t<=122||t>=65&&t<=90}},47661:function(e,t,n){"use strict";var a=n(82596),r=n(54329);e.exports=function(e){return a(e)||r(e)}},54329:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},50692:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},92316:function(e){var t;t=function(){function e(t,n,a){return this.id=++e.highestId,this.name=t,this.symbols=n,this.postprocess=a,this}function t(e,t,n,a){this.rule=e,this.dot=t,this.reference=n,this.data=[],this.wantedBy=a,this.isComplete=this.dot===e.symbols.length}function n(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function a(e,t){this.rules=e,this.start=t||this.rules[0].name;var n=this.byName={};this.rules.forEach(function(e){n.hasOwnProperty(e.name)||(n[e.name]=[]),n[e.name].push(e)})}function r(){this.reset("")}function i(e,t,i){if(e instanceof a)var o=e,i=t;else var o=a.fromCompiled(e,t);for(var s in this.grammar=o,this.options={keepHistory:!1,lexer:o.lexer||new r},i||{})this.options[s]=i[s];this.lexer=this.options.lexer,this.lexerState=void 0;var l=new n(o,0);this.table=[l],l.wants[o.start]=[],l.predict(o.start),l.process(),this.current=0}function o(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return e.toString();if(e.type)return"%"+e.type;if(e.test)return"<"+String(e.test)+">";else throw Error("Unknown symbol type: "+e)}}return e.highestId=0,e.prototype.toString=function(e){var t=void 0===e?this.symbols.map(o).join(" "):this.symbols.slice(0,e).map(o).join(" ")+" ● "+this.symbols.slice(e).map(o).join(" ");return this.name+" → "+t},t.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},t.prototype.nextState=function(e){var n=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=e,n.isComplete&&(n.data=n.build(),n.right=void 0),n},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,i.fail))},n.prototype.process=function(e){for(var t=this.states,n=this.wants,a=this.completed,r=0;r0&&t.push(" ^ "+a+" more lines identical to this"),a=0,t.push(" "+o)),n=o}},i.prototype.getSymbolDisplay=function(e){return function(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return"character matching "+e;if(e.type)return e.type+" token";if(e.test)return"token matching "+String(e.test);else throw Error("Unknown symbol type: "+e)}}(e)},i.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var n=e.wantedBy[0],a=[e].concat(t),r=this.buildFirstStateStack(n,a);return null===r?null:[e].concat(r)},i.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},i.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},i.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},i.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===t&&n.dot===n.rule.symbols.length&&0===n.reference&&n.data!==i.fail&&e.push(n)}),e.map(function(e){return e.data})},{Parser:i,Grammar:a,Rule:e}},e.exports?e.exports=t():this.nearley=t()},59055:function(e){"use strict";var t;e.exports=function(e){var n,a="&"+e+";";return(t=t||document.createElement("i")).innerHTML=a,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==a&&n}},64295:function(e,t,n){"use strict";var a=n(34702),r=n(38105),i=n(54329),o=n(50692),s=n(47661),l=n(59055);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),u)n=t[i],o[i]=null==n?u[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,u,N,O,g,m,C,_,L,b,f,h,D,y,P,M,U,v,k,w=t.additional,x=t.nonTerminated,G=t.text,F=t.reference,B=t.warning,H=t.textContext,Y=t.referenceContext,V=t.warningContext,W=t.position,$=t.indent||[],K=e.length,X=0,z=-1,Z=W.column||1,j=W.line||1,q="",J=[];for("string"==typeof w&&(w=w.charCodeAt(0)),M=Q(),_=B?function(e,t){var n=Q();n.column+=t,n.offset+=t,B.call(V,I[e],n,e)}:d,X--,K++;++X=55296&&n<=57343||n>1114111?(_(7,v),m=c(65533)):m in r?(_(6,v),m=r[m]):(b="",((i=m)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&_(6,v),m>65535&&(m-=65536,b+=c(m>>>10|55296),m=56320|1023&m),m=b+c(m))):y!==T&&_(4,v)),m?(ee(),M=Q(),X=k-1,Z+=k-D+1,J.push(m),U=Q(),U.offset++,F&&F.call(Y,m,{start:M,end:U},e.slice(D-1,k)),M=U):(q+=O=e.slice(D-1,k),Z+=O.length,X=k-1)}else 10===g&&(j++,z++,Z=0),g==g?(q+=c(g),Z++):ee();return J.join("");function Q(){return{line:j,column:Z,offset:X+(W.offset||0)}}function ee(){q&&(J.push(q),G&&G.call(H,q,{start:M,end:Q()}),q="")}}(e,o)};var E={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,u={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},T="named",p="hexadecimal",S="decimal",R={};R[p]=16,R[S]=10;var A={};A[T]=s,A[S]=i,A[p]=o;var I={};I[1]="Named character references must be terminated by a semicolon",I[2]="Numeric character references must be terminated by a semicolon",I[3]="Named character references cannot be empty",I[4]="Numeric character references cannot be empty",I[5]="Named character references must be known",I[6]="Numeric character references cannot be disallowed",I[7]="Numeric character references cannot be outside the permissible Unicode range"},87172:function(e,t,n){"use strict";var a=n(29957),r=n(46869),i=n(56e3),o="data";e.exports=function(e,t){var n,u,T,p=a(t),S=t,R=i;return p in e.normal?e.property[e.normal[p]]:(p.length>4&&p.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?S=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(T=(u=t).slice(4),t=l.test(T)?u:("-"!==(T=T.replace(E,c)).charAt(0)&&(T="-"+T),o+T)),R=r),new R(S,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,E=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},14633:function(e,t,n){"use strict";var a=n(68881),r=n(478),i=n(12736),o=n(93956),s=n(12925),l=n(98745);e.exports=a([i,r,o,s,l])},12925:function(e,t,n){"use strict";var a=n(38528),r=n(68166),i=a.booleanish,o=a.number,s=a.spaceSeparated;e.exports=r({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},98745:function(e,t,n){"use strict";var a=n(38528),r=n(68166),i=n(43525),o=a.boolean,s=a.overloadedBoolean,l=a.booleanish,E=a.number,c=a.spaceSeparated,d=a.commaSeparated;e.exports=r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:c,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:c,cols:E,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:c,coords:E|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:c,height:E,hidden:o,high:E,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:c,itemRef:c,itemScope:o,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:E,manifest:null,max:null,maxLength:E,media:null,method:null,min:null,minLength:E,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu: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,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:o,optimum:E,pattern:null,ping:c,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:c,required:o,reversed:o,rows:E,rowSpan:E,sandbox:c,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:E,sizes:null,slot:null,span:E,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:E,step:null,style:null,tabIndex:E,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:E,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:E,borderColor:null,bottomMargin:E,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:E,leftMargin:E,link:null,longDesc:null,lowSrc:null,marginHeight:E,marginWidth:E,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:E,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:E,valueType:null,version:null,vAlign:null,vLink:null,vSpace:E,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:E,security:null,unselectable:null}})},43525:function(e,t,n){"use strict";var a=n(33600);e.exports=function(e,t){return a(e,t.toLowerCase())}},33600:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},68166:function(e,t,n){"use strict";var a=n(29957),r=n(13438),i=n(46869);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},E=e.properties,c=e.transform,d={},u={};for(t in E)n=new i(t,c(l,t),E[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,u[a(t)]=t,u[a(n.attribute)]=t;return new r(d,u,o)}},46869:function(e,t,n){"use strict";var a=n(56e3),r=n(38528);e.exports=s,s.prototype=new a,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,E,c,d=-1;for(s&&(this.space=s),a.call(this,e,t);++d1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return u[n]||(u[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),u[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===r?{}:r),a)})}else R=d(d({},s),{},{className:s.className.join(" ")});var g=A(n.children);return l.createElement(T,(0,E.Z)({key:o},R),g)}}({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})})}function m(e){return e&&void 0!==e.highlightAuto}var C=n(67093),_=(a=n.n(C)(),r={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,E=void 0===s?r:s,c=e.customStyle,d=void 0===c?{}:c,u=e.codeTagProps,p=void 0===u?{className:t?"language-".concat(t):void 0,style:S(S({},E['code[class*="language-"]']),E['code[class*="language-'.concat(t,'"]')])}:u,C=e.useInlineStyles,_=void 0===C||C,L=e.showLineNumbers,b=void 0!==L&&L,f=e.showInlineLineNumbers,h=void 0===f||f,D=e.startingLineNumber,y=void 0===D?1:D,P=e.lineNumberContainerStyle,M=e.lineNumberStyle,U=void 0===M?{}:M,v=e.wrapLines,k=e.wrapLongLines,w=void 0!==k&&k,x=e.lineProps,G=void 0===x?{}:x,F=e.renderer,B=e.PreTag,H=void 0===B?"pre":B,Y=e.CodeTag,V=void 0===Y?"code":Y,W=e.code,$=void 0===W?(Array.isArray(n)?n[0]:n)||"":W,K=e.astGenerator,X=(0,i.Z)(e,T);K=K||a;var z=b?l.createElement(A,{containerStyle:P,codeStyle:p.style||{},numberStyle:U,startingLineNumber:y,codeString:$}):null,Z=E.hljs||E['pre[class*="language-"]']||{backgroundColor:"#fff"},j=m(K)?"hljs":"prismjs",q=_?Object.assign({},X,{style:Object.assign({},Z,d)}):Object.assign({},X,{className:X.className?"".concat(j," ").concat(X.className):j,style:Object.assign({},d)});if(w?p.style=S(S({},p.style),{},{whiteSpace:"pre-wrap"}):p.style=S(S({},p.style),{},{whiteSpace:"pre"}),!K)return l.createElement(H,q,z,l.createElement(V,p,$));(void 0===v&&F||w)&&(v=!0),F=F||g;var J=[{type:"text",value:$}],Q=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(m(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(e){return{value:r}}}({astGenerator:K,language:t,code:$,defaultCodeValue:J});null===Q.language&&(Q.value=J);var ee=Q.value.length+y,et=function(e,t,n,a,r,i,s,l,E){var c,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return O({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:r,lineProps:n,className:i,showLineNumbers:a,wrapLongLines:E})}(e,i,o):function(e,t){if(a&&t&&r){var n=N(l,t,s);e.unshift(I(t,n))}return e}(e,i)}for(;p code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}},87547:function(e,t,n){"use strict";var a,r,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(r=(a="Prism"in i)?i.Prism:void 0,function(){a?i.Prism=r:delete i.Prism,a=void 0,r=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(76276),l=n(64295),E=n(30669),c=n(18998),d=n(28181),u=n(47476),T=n(619);o();var p={}.hasOwnProperty;function S(){}S.prototype=E;var R=new S;function A(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===R.languages[e.displayName]&&e(R)}e.exports=R,R.highlight=function(e,t){var n,a=E.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===R.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(p.call(R.languages,t))n=R.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return a.call(this,e,n,t)},R.register=A,R.alias=function(e,t){var n,a,r,i,o=R.languages,s=e;for(n in t&&((s={})[e]=t),s)for(r=(a="string"==typeof(a=s[n])?[a]:a).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},38650:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},1930:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},88547:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},91015:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},28860:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},41517:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},58025:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},80048:function(e,t,n){"use strict";var a=n(72099);function r(e){e.register(a),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function a(e){return RegExp(e.replace(//g,function(){return n}),"i")}var r={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:a(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:r},{pattern:a(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:r},{pattern:a(/(?=\s*\w+\s*[;=,(){:])/.source),inside:r}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=r,r.displayName="apex",r.aliases=[]},14831:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},3420:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},63085:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},27470:function(e,t,n){"use strict";var a=n(71898);function r(e){e.register(a),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=r,r.displayName="arduino",r.aliases=["ino"]},13774:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},86941:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(e){e=e.split(" ");for(var t={},a=0,r=e.length;a>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},26250:function(e,t,n){"use strict";var a=n(20995);function r(e){e.register(a),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=r,r.displayName="aspnet",r.aliases=[]},99333:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},62316:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},25243:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,a=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[a],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},45298:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},27524:function(e){"use strict";function t(e){!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},a={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:a},{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:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.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 r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=a.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},50671:function(e){"use strict";function t(e){var t,n,a,r;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,r=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:n,variable:t,number:r,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:n,variable:t,number:r,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:r,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:r,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},59898:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},12023:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},12125:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},14329:function(e,t,n){"use strict";var a=n(52942);function r(e){e.register(a),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=r,r.displayName="bison",r.aliases=[]},44780:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},7363:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},35992:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},44361:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},33044:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},52942:function(e){"use strict";function t(e){e.languages.c=e.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|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.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},e.languages.c.string],char:e.languages.c.char,comment:e.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:e.languages.c}}}}),e.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 e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},22417:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},90957:function(e,t,n){"use strict";var a=n(71898);function r(e){e.register(a),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=r,r.displayName="chaiscript",r.aliases=[]},31928:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},47476:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},39828:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},29689:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},80532:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},70695:function(e){"use strict";function t(e){var t,n;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}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},14746:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},30493:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},71898:function(e,t,n){"use strict";var a=n(52942);function r(e){var t,n;e.register(a),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"])}e.exports=r,r.displayName="cpp",r.aliases=[]},77589:function(e,t,n){"use strict";var a=n(64935);function r(e){e.register(a),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=r,r.displayName="crystal",r.aliases=[]},20995:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(r.typeDeclaration),s=RegExp(i(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),l=i(r.typeDeclaration+" "+r.contextual+" "+r.other),E=i(r.type+" "+r.typeDeclaration+" "+r.other),c=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=a(/\((?:[^()]|<>)*\)/.source,2),u=/@?\b[A-Za-z_]\w*\b/.source,T=t(/<<0>>(?:\s*<<1>>)?/.source,[u,c]),p=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,T]),S=/\[\s*(?:,\s*)*\]/.source,R=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[p,S]),A=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[c,d,S]),I=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[A]),N=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[I,p,S]),O={keyword:s,punctuation:/[<>()?,.:[\]]/},g=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,m=/"(?:\\.|[^\\"\r\n])*"/.source,C=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[m]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[p]),lookbehind:!0,inside:O},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[u,N]),lookbehind:!0,inside:O},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[u]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,T]),lookbehind:!0,inside:O},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[p]),lookbehind:!0,inside:O},{pattern:n(/(\bwhere\s+)<<0>>/.source,[u]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[R]),lookbehind:!0,inside:O},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[N,E,u]),inside:O}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[u]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[u]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:O},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[N,p]),inside:O,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[N]),lookbehind:!0,inside:O,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[u,c]),inside:{function:n(/^<<0>>/.source,[u]),generic:{pattern:RegExp(c),alias:"class-name",inside:O}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,T,u,N,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[T,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(N),greedy:!0,inside:O},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var _=m+"|"+g,L=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[_]),b=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[L]),2),f=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,h=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[p,b]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[f,h]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[f]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[b]),inside:e.languages.csharp},"class-name":{pattern:RegExp(p),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var D=/:[^}\r\n]+/.source,y=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[L]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[y,D]),M=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[_]),2),U=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,D]);function v(t,a){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,D]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:v(P,y)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[U]),lookbehind:!0,greedy:!0,inside:v(U,M)}],char:{pattern:RegExp(g),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},54834:function(e,t,n){"use strict";var a=n(20995);function r(e){e.register(a),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function a(e,a){for(var r=0;r/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var r=a(/\((?:[^()'"@/]|||)*\)/.source,2),i=a(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=a(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=a(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,E=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,c=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+E+"|"+a(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+E+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,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 a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},r={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:a,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:r})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},28181:function(e){"use strict";function t(e){var t,n;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,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},32098:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},95987:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},24011:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},12081:function(e){"use strict";function t(e){var t,n,a;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},63247:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},13089:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},73781:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},6642:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var a=t[n],r=[];/^\w+$/.test(n)||r.push(/\w+/.exec(n)[0]),"diff"===n&&r.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+a+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,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})}e.exports=t,t.displayName="diff",t.aliases=[]},79709:function(e,t,n){"use strict";var a=n(29502);function r(e){var t,n;e.register(a),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=r,r.displayName="django",r.aliases=["jinja2"]},96493:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},159:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,r=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),i={pattern:RegExp(a),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return r}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},44455:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function a(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},65019:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},38755:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},88087:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},89540:function(e,t,n){"use strict";var a=n(29502);function r(e){e.register(a),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=r,r.displayName="ejs",r.aliases=["eta"]},44673:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},49314:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},17452:function(e,t,n){"use strict";var a=n(64935),r=n(29502);function i(e){e.register(a),e.register(r),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},55247:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},37634:function(e,t,n){"use strict";var a=n(66757),r=n(29502);function i(e){e.register(a),e.register(r),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},57978:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},1389:function(e){"use strict";function t(e){var t,n,a,r,i,o;a={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},r=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(r).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){a[e].pattern=i(o[e])}),a.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=a}e.exports=t,t.displayName="factor",t.aliases=[]},95024:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},99062:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},15854:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},44462:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},55512:function(e,t,n){"use strict";var a=n(29502);function r(e){e.register(a),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};a.string[1].inside.interpolation.inside.rest=a,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}}},e.hooks.add("before-tokenize",function(n){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",a)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=r,r.displayName="ftl",r.aliases=[]},22642:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},54709:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},91026:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},20393:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},28890:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},88192:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},51410:function(e,t,n){"use strict";var a=n(52942);function r(e){e.register(a),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=r,r.displayName="glsl",r.aliases=[]},61962:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},38551:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},51683:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},7577:function(e){"use strict";function t(e){e.languages.go=e.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/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},54605:function(e){"use strict";function t(e){e.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:e.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+/},e.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=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&u(E,"variable-input")}}}}function c(e,a){a=a||0;for(var r=0;r]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:a,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},59116:function(e,t,n){"use strict";var a=n(64935);function r(e){e.register(a),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},a=0,r=t.length;a@\[\\\]^`{|}~]/,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}e.exports=r,r.displayName="handlebars",r.aliases=["hbs"]},46054:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},74430:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},39929:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},1907:function(e,t,n){"use strict";var a=n(52942);function r(e){e.register(a),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=r,r.displayName="hlsl",r.aliases=[]},76272:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},16872:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},42976:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},11609:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,a=e.languages,r={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},i={"application/json":!0,"application/xml":!0};for(var o in r)if(r[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:r[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},34479:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},66773:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},95034:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},r=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(r),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(r),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:{pattern:n,greedy:!0,inside:{escape:a}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},4108:function(e,t,n){"use strict";var a=n(46054);function r(e){e.register(a),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=r,r.displayName="idris",r.aliases=["idr"]},66113:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},62046:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},74337:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},30205:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},47649:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},14968:function(e){"use strict";function t(e){var t,n,a;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},2065:function(e,t,n){"use strict";var a=n(14968),r=n(34858);function i(e){var t,n,i;e.register(a),e.register(r),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},34858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var a="doc-comment",r=e.languages[t];if(r){var i=r[a];if(!i){var o={};o[a]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(r=e.languages.insertBefore(t,"comment",o))[a]}if(i instanceof RegExp&&(i=r[a]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.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:e.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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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:e.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"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},4093:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},86984:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},38394:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},28189:function(e){"use strict";function t(e){var t,n,a,r;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),a={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},r=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:a},string:{pattern:n,lookbehind:!0,greedy:!0,inside:a},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},a.interpolation.inside.content.inside=r}e.exports=t,t.displayName="jq",t.aliases=[]},66443:function(e){"use strict";function t(e){!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"],a=0;a=u.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=u[E],d="string"==typeof o?o:o.content,T=d.indexOf(l);if(-1!==T){++E;var p=d.substring(0,T),S=function(t){var n={};n["interpolation-punctuation"]=r;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,a.alias,t)}(c[l]),R=d.substring(T+l.length),A=[];if(p&&A.push(p),A.push(S),R){var I=[R];t(I),A.push.apply(A,I)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(A)),i+=A.length-1):o.content=A}}else{var N=o.content;Array.isArray(N)?t(N):t([N])}}}(d),new e.Token(o,d,"language-"+o,t)}(u,S,p)}}else t(c)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},9618:function(e,t,n){"use strict";var a=n(34858),r=n(67581);function i(e){var t,n,i;e.register(a),e.register(r),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},68415:function(e){"use strict";function t(e){e.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"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},54225:function(e,t,n){"use strict";var a=n(68415);function r(e){var t;e.register(a),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=r,r.displayName="json5",r.aliases=[]},19063:function(e,t,n){"use strict";var a=n(68415);function r(e){e.register(a),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=r,r.displayName="jsonp",r.aliases=[]},87738:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},57111:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return a}).replace(//g,function(){return r}),t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\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:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],a=0;a0&&n[n.length-1].tagName===o(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:o(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(r);a0&&("string"==typeof t[a-1]||"plain-text"===t[a-1].type)&&(l=o(t[a-1])+l,t.splice(a-1,1),a--),t[a]=new e.Token("plain-text",l,null,l)}r.content&&"string"!=typeof r.content&&s(r.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},1731:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},84145:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},3399:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},41598:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},55953:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},33771:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},30804:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},5556:function(e,t,n){"use strict";var a=n(29502),r=n(69853);function i(e){var t;e.register(a),e.register(r),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},81788:function(e){"use strict";function t(e){e.languages.less=e.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:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},18344:function(e,t,n){"use strict";var a=n(95483);function r(e){e.register(a),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};a["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=a,e.languages.ly=a}(e)}e.exports=r,r.displayName="lilypond",r.aliases=[]},81375:function(e,t,n){"use strict";var a=n(29502);function r(e){e.register(a),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var a=t[1];if("raw"===a&&!n)return n=!0,!0;if("endraw"===a)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=r,r.displayName="liquid",r.aliases=[]},53826:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,r="&"+a,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},E={"lisp-marker":RegExp(r),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:l},c="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+c),inside:E},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+c),inside:E},keys:{pattern:RegExp("&key\\s+"+c+"(?:\\s+&allow-other-keys)?"),inside:E},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},18811:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},16515:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},40427:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},23994:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},66757:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},25978:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},74480:function(e){"use strict";function t(e){e.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:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},34039:function(e){"use strict";function t(e){!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 a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),i=/\|?[ \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("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),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,a=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},29502:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,r,i){if(n.language===a){var o=n.tokenStack=[];n.code=n.code.replace(r,function(e){if("function"==typeof i&&!i(e))return e;for(var r,s=o.length;-1!==n.code.indexOf(r=t(a,s));)++s;return o[s]=e,r}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var r=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var E=s[l];if("string"==typeof E||E.content&&"string"==typeof E.content){var c=i[r],d=n.tokenStack[c],u="string"==typeof E?E:E.content,T=t(a,c),p=u.indexOf(T);if(p>-1){++r;var S=u.substring(0,p),R=new e.Token(a,e.tokenize(d,n.grammar),"language-"+a,d),A=u.substring(p+T.length),I=[];S&&I.push.apply(I,o([S])),I.push(R),A&&I.push.apply(I,o([A])),"string"==typeof E?s.splice.apply(s,[l,1].concat(I)):E.content=I}}else E.content&&o(E.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},18998:function(e){"use strict";function t(e){e.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]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var a={};a["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},a.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:a}};r["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},39086:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},48406:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},61141:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},51362:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},40617:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},99949:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},85097:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},9365:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},9544:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},53197:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},45641:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},84668:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},16509:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},11376:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},42625:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},46736:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},17499:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},86562:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},58072:function(e,t,n){"use strict";var a=n(52942);function r(e){e.register(a),e.languages.objectivec=e.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 e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=r,r.displayName="objectivec",r.aliases=["objc"]},90864:function(e){"use strict";function t(e){e.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/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},29235:function(e,t,n){"use strict";var a=n(52942);function r(e){var t;e.register(a),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=r,r.displayName="opencl",r.aliases=[]},65384:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},56054:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},20079:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},16132:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},56043:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},30653:function(e){"use strict";function t(e){var t,n,a,r;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),a=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},r=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=a[t],e},{}),a["class-name"].forEach(function(e){e.inside=r})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},25947:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},45489:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},38044:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},67525:function(e,t,n){"use strict";var a=n(69853);function r(e){e.register(a),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=r,r.displayName="phpExtras",r.aliases=[]},69853:function(e,t,n){"use strict";var a=n(29502);function r(e){var t,n,r,i,o,s,l;e.register(a),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=r,r.displayName="php",r.aliases=[]},20183:function(e,t,n){"use strict";var a=n(69853),r=n(34858);function i(e){var t;e.register(a),e.register(r),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},42549:function(e,t,n){"use strict";var a=n(72099);function r(e){e.register(a),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=r,r.displayName="plsql",r.aliases=[]},62041:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},85418:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},66767:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},11169:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},71050:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},22787:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},9916:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},60474:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},51775:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},r=0,i=n.length;r",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",a)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},16698:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},75447:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var a=n;if("string"!=typeof n&&(a=n.alias,n=n.lang),e.languages[a]){var r={};r["inline-lang-"+a]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},r["inline-lang-"+a].inside.rest=e.util.clone(e.languages[a]),e.languages.insertBefore("pure","inline-lang",r)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},62953:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},31379:function(e,t,n){"use strict";var a=n(46054);function r(e){e.register(a),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=r,r.displayName="purescript",r.aliases=["purs"]},91132:function(e){"use strict";function t(e){e.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:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},14206:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},42727:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),r=0;r<2;r++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},51481:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},33500:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}var a={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},r=RegExp("\\b(?:"+(a.type+" "+a.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:r,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var E=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[E]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[E]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},54963:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},52353:function(e,t,n){"use strict";var a=n(95483);function r(e){e.register(a),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=r,r.displayName="racket",r.aliases=["rkt"]},42719:function(e){"use strict";function t(e){e.languages.reason=e.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/}),e.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 e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},81922:function(e){"use strict";function t(e){var t,n,a,r,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=RegExp((a="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+a),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},6491:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},1108:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},37904:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},5266:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},38099:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(e,a){var r={};for(var i in r["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},a)r[i]=a[i];return r.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},r.variable=n,r.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:r}}var r={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":i,documentation:r,property:o}),keywords:a("Keywords",{"keyword-name":i,documentation:r,property:o}),tasks:a("Tasks",{"task-name":i,documentation:r,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},64935:function(e){"use strict";function t(e){var t,n,a;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},86396:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},91548:function(e){"use strict";function t(e){var t,n,a,r,i,o,s,l,E,c,d,u,T,p,S,R,A,I;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,a={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:c={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":r={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":a,punctuation:E=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},u={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},T={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},p={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},S={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},R=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,A={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return R}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return R}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:c,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":a,punctuation:E,string:l}},I={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":p,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":a,punctuation:E,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:I,"submit-statement":S,"global-statements":p,number:n,"numeric-constant":a,punctuation:E,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:I,"submit-statement":S,"global-statements":p,number:n,"numeric-constant":a,punctuation:E,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":A,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:I,function:c,format:u,altformat:T,"global-statements":p,number:n,"numeric-constant":a,punctuation:E,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":r,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":r,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:E}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":a}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":A,comment:s,function:c,format:u,altformat:T,"numeric-constant":a,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:I,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:E}}e.exports=t,t.displayName="sas",t.aliases=[]},21133:function(e){"use strict";function t(e){var t,n;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,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}})}e.exports=t,t.displayName="sass",t.aliases=[]},70211:function(e,t,n){"use strict";var a=n(14968);function r(e){e.register(a),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=r,r.displayName="scala",r.aliases=[]},95483:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},23070:function(e){"use strict";function t(e){e.languages.scss=e.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]+\}/}}}),e.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}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.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}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},89447:function(e,t,n){"use strict";var a=n(27524);function r(e){var t;e.register(a),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=r,r.displayName="shellSession",r.aliases=[]},87134:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},98167:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64849:function(e,t,n){"use strict";var a=n(29502);function r(e){var t,n;e.register(a),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var a=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(a=!1),!a&&("{literal}"===e&&(a=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=r,r.displayName="smarty",r.aliases=[]},58899:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},51669:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},5895:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},87745:function(e,t,n){"use strict";var a=n(29502);function r(e){var t,n;e.register(a),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=r,r.displayName="soy",r.aliases=[]},44587:function(e,t,n){"use strict";var a=n(80208);function r(e){e.register(a),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=r,r.displayName="sparql",r.aliases=["rq"]},70945:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},46209:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},72099:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},48809:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},70509:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},36941:function(e){"use strict";function t(e){var t,n,a;(a={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={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},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:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:a}},a.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"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:a.interpolation}},rest:a}},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:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},4906:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},48496:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},64575:function(e,t,n){"use strict";var a=n(24786),r=n(20995);function i(e){e.register(a),e.register(r),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},24786:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var a=e.languages[n],r="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",a,r),"class-feature":t("\\+",a,r),standard:t("",a,r)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},12037:function(e,t,n){"use strict";var a=n(24786),r=n(55756);function i(e){e.register(a),e.register(r),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},82145:function(e,t,n){"use strict";var a=n(34154);function r(e){e.register(a),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=r,r.displayName="tap",r.aliases=[]},83083:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},45132:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function a(e,a){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),a||"")}var r={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:r},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:r},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:r},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:r},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var E=o.table.inside;E.inline=s.inline,E.link=s.link,E.image=s.image,E.footnote=s.footnote,E.acronym=s.acronym,E.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},16394:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},8124:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},16964:function(e,t,n){"use strict";var a=n(57111),r=n(67581);function i(e){var t,n;e.register(a),e.register(r),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"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},28761:function(e,t,n){"use strict";var a=n(29502);function r(e){e.register(a),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=r,r.displayName="tt2",r.aliases=[]},80208:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},48372:function(e,t,n){"use strict";var a=n(29502);function r(e){e.register(a),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=r,r.displayName="twig",r.aliases=[]},67581:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,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"],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}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},88650:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},84084:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},86938:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},41428:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},93581:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},87403:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},55756:function(e,t,n){"use strict";var a=n(6009);function r(e){e.register(a),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=r,r.displayName="vbnet",r.aliases=[]},65576:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},67154:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},48994:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},1415:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},81518:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},27313:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},68003:function(e){"use strict";function t(e){e.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:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},27342:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};for(var r in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==r&&(a[r]=e.languages["web-idl"][r]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},39397:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},35494:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},78573:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},89722:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},59450:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",a),t("fsharp",a),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},30413:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},32698:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(a){for(var r=[],i=0;i0&&r[r.length-1].tagName===t(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(r.length>0)||"punctuation"!==o.type||"{"!==o.content||a[i+1]&&"punctuation"===a[i+1].type&&"{"===a[i+1].content||a[i-1]&&"plain-text"===a[i-1].type&&"{"===a[i-1].content?r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:"comment"!==o.type&&(s=!0):r[r.length-1].openedBraces++),(s||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var l=t(o);i0&&("string"==typeof a[i-1]||"plain-text"===a[i-1].type)&&(l=t(a[i-1])+l,a.splice(i-1,1),i--),/^\s+$/.test(l)?a[i]=l:a[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},34154:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\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}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return e}),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 a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+r+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?: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}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},12910:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},39559:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+n.source+")(?!\\d)\\w+\\b",r=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(r))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(a))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},30669:function(e,t,n){/** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT - * @author Lea Verou - * @namespace - * @public - */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=c.reach));m+=g.value.length,g=g.next){var C,_=g.value;if(n.length>t.length)return;if(!(_ instanceof i)){var L=1;if(A){if(!(C=o(O,m,t,R))||C.index>=t.length)break;var b=C.index,f=C.index+C[0].length,h=m;for(h+=g.value.length;b>=h;)h+=(g=g.next).value.length;if(h-=g.value.length,m=h,g.value instanceof i)continue;for(var D=g;D!==n.tail&&(hc.reach&&(c.reach=U);var v=g.prev;P&&(v=l(n,v,P),m+=P.length),function(e,t,n){for(var a=t.next,r=0;r1){var w={cause:d+","+T,reach:U};e(t,n,a,g.prev,m,w),c&&w.reach>c.reach&&(c.reach=w.reach)}}}}}}(e,E,t,E.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(E)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t)}},Token:i};function i(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length}function o(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i)}return r}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 a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}if(e.Prism=r,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),r.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(r.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),a=n.language,i=n.code,o=n.immediateClose;e.postMessage(r.highlight(i,r.languages[a],a)),o&&e.close()},!1)),r;var E=r.util.currentScript();function c(){r.manual||r.highlightAll()}if(E&&(r.filename=E.src,E.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var d=document.readyState;"loading"===d||"interactive"===d&&E&&E.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=a),void 0!==n.g&&(n.g.Prism=a)},92987:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},81840:function(e){e.exports=function(){for(var e={},n=0;ne.length)&&(t=e.length);for(var n=0,a=Array(t);n=e.length?e.apply(this,r):function(){for(var e=arguments.length,a=Array(e),i=0;i=d.length?d.apply(this,a):function(){for(var n=arguments.length,r=Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};p.initial(e),p.handler(t);var n={current:e},a=l(A)(n,t),r=l(R)(n),i=l(p.changes)(e),o=l(S)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return p.selector(e),e(n.current)},function(e){(function(){for(var e=arguments.length,t=Array(e),n=0;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(t,["monaco"]);b(function(e){return{config:function e(t,n){return Object.keys(n).forEach(function(a){n[a]instanceof Object&&t[a]&&Object.assign(n[a],e(t[a],n[a]))}),r(r({},t),n)}(e.config,a),monaco:n}})},init:function(){var e=L(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(b({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),C(P);if(window.monaco&&window.monaco.editor)return y(window.monaco),e.resolve(window.monaco),C(P);g(f,h)(D)}return C(P)},__getMonacoInstance:function(){return L(function(e){return e.monaco})}},U=n(86006),v={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},k={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},w=function({children:e}){return U.createElement("div",{style:k.container},e)},x=(0,U.memo)(function({width:e,height:t,isEditorReady:n,loading:a,_ref:r,className:i,wrapperProps:o}){return U.createElement("section",{style:{...v.wrapper,width:e,height:t},...o},!n&&U.createElement(w,null,a),U.createElement("div",{ref:r,style:{...v.fullWidth,...!n&&v.hide},className:i}))}),G=function(e){(0,U.useEffect)(e,[])},F=function(e,t,n=!0){let a=(0,U.useRef)(!0);(0,U.useEffect)(a.current||!n?()=>{a.current=!1}:e,t)};function B(){}function H(e,t,n,a){return e.editor.getModel(Y(e,a))||e.editor.createModel(t,n,a?Y(e,a):void 0)}function Y(e,t){return e.Uri.parse(t)}(0,U.memo)(function({original:e,modified:t,language:n,originalLanguage:a,modifiedLanguage:r,originalModelPath:i,modifiedModelPath:o,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:l=!1,theme:E="light",loading:c="Loading...",options:d={},height:u="100%",width:T="100%",className:p,wrapperProps:S={},beforeMount:R=B,onMount:A=B}){let[I,N]=(0,U.useState)(!1),[O,g]=(0,U.useState)(!0),m=(0,U.useRef)(null),C=(0,U.useRef)(null),_=(0,U.useRef)(null),L=(0,U.useRef)(A),b=(0,U.useRef)(R),f=(0,U.useRef)(!1);G(()=>{let e=M.init();return e.then(e=>(C.current=e)&&g(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>{let t;return m.current?(t=m.current?.getModel(),void(s||t?.original?.dispose(),l||t?.modified?.dispose(),m.current?.dispose())):e.cancel()}}),F(()=>{if(m.current&&C.current){let t=m.current.getOriginalEditor(),r=H(C.current,e||"",a||n||"text",i||"");r!==t.getModel()&&t.setModel(r)}},[i],I),F(()=>{if(m.current&&C.current){let e=m.current.getModifiedEditor(),a=H(C.current,t||"",r||n||"text",o||"");a!==e.getModel()&&e.setModel(a)}},[o],I),F(()=>{let e=m.current.getModifiedEditor();e.getOption(C.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],I),F(()=>{m.current?.getModel()?.original.setValue(e||"")},[e],I),F(()=>{let{original:e,modified:t}=m.current.getModel();C.current.editor.setModelLanguage(e,a||n||"text"),C.current.editor.setModelLanguage(t,r||n||"text")},[n,a,r],I),F(()=>{C.current?.editor.setTheme(E)},[E],I),F(()=>{m.current?.updateOptions(d)},[d],I);let h=(0,U.useCallback)(()=>{if(!C.current)return;b.current(C.current);let s=H(C.current,e||"",a||n||"text",i||""),l=H(C.current,t||"",r||n||"text",o||"");m.current?.setModel({original:s,modified:l})},[n,t,r,e,a,i,o]),D=(0,U.useCallback)(()=>{!f.current&&_.current&&(m.current=C.current.editor.createDiffEditor(_.current,{automaticLayout:!0,...d}),h(),C.current?.editor.setTheme(E),N(!0),f.current=!0)},[d,E,h]);return(0,U.useEffect)(()=>{I&&L.current(m.current,C.current)},[I]),(0,U.useEffect)(()=>{O||I||D()},[O,I,D]),U.createElement(x,{width:T,height:u,isEditorReady:I,loading:c,_ref:_,className:p,wrapperProps:S})});var V=function(e){let t=(0,U.useRef)();return(0,U.useEffect)(()=>{t.current=e},[e]),t.current},W=new Map,$=(0,U.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:a,language:r,path:i,theme:o="light",line:s,loading:l="Loading...",options:E={},overrideServices:c={},saveViewState:d=!0,keepCurrentModel:u=!1,width:T="100%",height:p="100%",className:S,wrapperProps:R={},beforeMount:A=B,onMount:I=B,onChange:N,onValidate:O=B}){let[g,m]=(0,U.useState)(!1),[C,_]=(0,U.useState)(!0),L=(0,U.useRef)(null),b=(0,U.useRef)(null),f=(0,U.useRef)(null),h=(0,U.useRef)(I),D=(0,U.useRef)(A),y=(0,U.useRef)(),P=(0,U.useRef)(a),v=V(i),k=(0,U.useRef)(!1),w=(0,U.useRef)(!1);G(()=>{let e=M.init();return e.then(e=>(L.current=e)&&_(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>b.current?void(y.current?.dispose(),u?d&&W.set(i,b.current.saveViewState()):b.current.getModel()?.dispose(),b.current.dispose()):e.cancel()}),F(()=>{let o=H(L.current,e||a||"",t||r||"",i||n||"");o!==b.current?.getModel()&&(d&&W.set(v,b.current?.saveViewState()),b.current?.setModel(o),d&&b.current?.restoreViewState(W.get(i)))},[i],g),F(()=>{b.current?.updateOptions(E)},[E],g),F(()=>{b.current&&void 0!==a&&(b.current.getOption(L.current.editor.EditorOption.readOnly)?b.current.setValue(a):a===b.current.getValue()||(w.current=!0,b.current.executeEdits("",[{range:b.current.getModel().getFullModelRange(),text:a,forceMoveMarkers:!0}]),b.current.pushUndoStop(),w.current=!1))},[a],g),F(()=>{let e=b.current?.getModel();e&&r&&L.current?.editor.setModelLanguage(e,r)},[r],g),F(()=>{void 0!==s&&b.current?.revealLine(s)},[s],g),F(()=>{L.current?.editor.setTheme(o)},[o],g);let Y=(0,U.useCallback)(()=>{if(!(!f.current||!L.current)&&!k.current){D.current(L.current);let s=i||n,l=H(L.current,a||e||"",t||r||"",s||"");b.current=L.current?.editor.create(f.current,{model:l,automaticLayout:!0,...E},c),d&&b.current.restoreViewState(W.get(s)),L.current.editor.setTheme(o),m(!0),k.current=!0}},[e,t,n,a,r,i,E,c,d,o]);return(0,U.useEffect)(()=>{g&&h.current(b.current,L.current)},[g]),(0,U.useEffect)(()=>{C||g||Y()},[C,g,Y]),P.current=a,(0,U.useEffect)(()=>{g&&N&&(y.current?.dispose(),y.current=b.current?.onDidChangeModelContent(e=>{w.current||N(b.current.getValue(),e)}))},[g,N]),(0,U.useEffect)(()=>{if(g){let e=L.current.editor.onDidChangeMarkers(e=>{let t=b.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=L.current.editor.getModelMarkers({resource:t});O?.(e)}});return()=>{e?.dispose()}}return()=>{}},[g,O]),U.createElement(x,{width:T,height:p,isEditorReady:g,loading:l,_ref:f,className:S,wrapperProps:R})})},42599:function(e,t,n){"use strict";var a,r,i=n(86006);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),E={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"},c=["style","script"],d=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,u=/mailto:/i,T=/\n{2,}$/,p=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,S=/^ *> ?/gm,R=/^ {2,}\n/,A=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,I=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,N=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,O=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,g=/^(?:\n *)*\n/,m=/\r\n?/g,C=/^\[\^([^\]]+)](:.*)\n/,_=/^\[\^([^\]]+)]/,L=/\f/g,b=/^\s*?\[(x|\s)\]/,f=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,h=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,D=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,y=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,P=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,M=/^)/,U=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,v=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,k=/^\{.*\}$/,w=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,x=/^<([^ >]+@[^ >]+)>/,G=/^<([^ >]+:\/[^ >]+)>/,F=/-([a-z])?/gi,B=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,H=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Y=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,V=/^\[([^\]]*)\] ?\[([^\]]*)\]/,W=/(\[|\])/g,$=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,K=/\t/g,X=/^ *\| */,z=/(^ *\||\| *$)/g,Z=/ *$/,j=/^ *:-+: *$/,q=/^ *:-+ *$/,J=/^ *-+: *$/,Q=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,ee=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,et=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,en=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,ea=/^\\([^0-9A-Za-z\s])/,er=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ei=/^\n+/,eo=/^([ \t]*)/,es=/\\([^\\])/g,el=/ *\n+$/,eE=/(?:^|\n)( *)$/,ec="(?:\\d+\\.)",ed="(?:[*+-])";function eu(e){return"( *)("+(1===e?ec:ed)+") +"}let eT=eu(1),ep=eu(2);function eS(e){return RegExp("^"+(1===e?eT:ep))}let eR=eS(1),eA=eS(2);function eI(e){return RegExp("^"+(1===e?eT:ep)+"[^\\n]*(?:\\n(?!\\1"+(1===e?ec:ed)+" )[^\\n]*)*(\\n|$)","gm")}let eN=eI(1),eO=eI(2);function eg(e){let t=1===e?ec:ed;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}let em=eg(1),eC=eg(2);function e_(e,t){let n=1===t,a=n?em:eC,i=n?eN:eO,o=n?eR:eA;return{t(e,t,n){let r=eE.exec(n);return r&&(t.o||!t._&&!t.u)?a.exec(e=r[1]+e):null},i:r.HIGH,l(e,t,a){let r=n?+e[2]:void 0,s=e[0].replace(T,"\n").match(i),l=!1;return{p:s.map(function(e,n){let r;let i=o.exec(e)[0].length,E=RegExp("^ {1,"+i+"}","gm"),c=e.replace(E,"").replace(o,""),d=n===s.length-1,u=-1!==c.indexOf("\n\n")||d&&l;l=u;let T=a._,p=a.o;a.o=!0,u?(a._=!1,r=c.replace(el,"\n\n")):(a._=!0,r=c.replace(el,""));let S=t(r,a);return a._=T,a.o=p,S}),m:n,g:r}},h:(t,n,a)=>e(t.m?"ol":"ul",{key:a.k,start:t.g},t.p.map(function(t,r){return e("li",{key:r},n(t,a))}))}}let eL=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,eb=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ef=[p,I,N,f,D,h,M,B,eN,em,eO,eC],eh=[...ef,/^[^\n]+(?: \n|\n{2,})/,y,v];function eD(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function ey(e){return J.test(e)?"right":j.test(e)?"center":q.test(e)?"left":null}function eP(e,t,n){let a=n.$;n.$=!0;let r=t(e.trim(),n);n.$=a;let i=[[]];return r.forEach(function(e,t){"tableSeparator"===e.type?0!==t&&t!==r.length-1&&i.push([]):("text"!==e.type||null!=r[t+1]&&"tableSeparator"!==r[t+1].type||(e.v=e.v.replace(Z,"")),i[i.length-1].push(e))}),i}function eM(e,t,n){n._=!0;let a=eP(e[1],t,n),r=e[2].replace(z,"").split("|").map(ey),i=e[3].trim().split("\n").map(function(e){return eP(e,t,n)});return n._=!1,{S:r,A:i,L:a,type:"table"}}function eU(e,t){return null==e.S[t]?{}:{textAlign:e.S[t]}}function ev(e){return function(t,n){return n._?e.exec(t):null}}function ek(e){return function(t,n){return n._||n.u?e.exec(t):null}}function ew(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function ex(e){return function(t){return e.exec(t)}}function eG(e,t,n){if(t._||t.u||n&&!n.endsWith("\n"))return null;let a="";e.split("\n").every(e=>!ef.some(t=>t.test(e))&&(a+=e+"\n",e.trim()));let r=a.trimEnd();return""==r?null:[a,r]}function eF(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(e){return null}return e}function eB(e){return e.replace(es,"$1")}function eH(e,t,n){let a=n._||!1,r=n.u||!1;n._=!0,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}function eY(e,t,n){return n._=!1,e(t,n)}let eV=(e,t,n)=>({v:eH(t,e[1],n)});function eW(){return{}}function e$(){return null}function eK(e,t,n){let a=e,r=t.split(".");for(;r.length&&void 0!==(a=a[r[0]]);)r.shift();return a||n}(a=r||(r={}))[a.MAX=0]="MAX",a[a.HIGH=1]="HIGH",a[a.MED=2]="MED",a[a.LOW=3]="LOW",a[a.MIN=4]="MIN",t.Z=e=>{let{children:t,options:n}=e,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,s);return i.cloneElement(function(e,t={}){let n;t.overrides=t.overrides||{},t.slugify=t.slugify||eD,t.namedCodesToUnicode=t.namedCodesToUnicode?o({},E,t.namedCodesToUnicode):E;let a=t.createElement||i.createElement;function s(e,n,...r){let i=eK(t.overrides,`${e}.props`,{});return a(function(e,t){let n=eK(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:eK(t,`${e}.component`,e):e}(e,t.overrides),o({},n,i,{className:function(...e){return e.filter(Boolean).join(" ")}(null==n?void 0:n.className,i.className)||void 0}),...r)}function T(e){let n,a=!1;t.forceInline?a=!0:t.forceBlock||(a=!1===$.test(e));let r=es(J(a?e:`${e.trimEnd().replace(ei,"")} - -`,{_:a}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===t.wrapper)return r;let o=t.wrapper||(a?"span":"div");if(r.length>1||t.forceWrapper)n=r;else{if(1===r.length)return"string"==typeof(n=r[0])?s("span",{key:"outer"},n):n;n=null}return i.createElement(o,{key:"outer"},n)}function z(e){let t=e.match(d);return t?t.reduce(function(e,t,n){let a=t.indexOf("=");if(-1!==a){var r,o;let s=(-1!==(r=t.slice(0,a)).indexOf("-")&&null===r.match(U)&&(r=r.replace(F,function(e,t){return t.toUpperCase()})),r).trim(),E=function(e){let t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(t.slice(a+1).trim()),c=l[s]||s,d=e[c]=(o=E,"style"===s?o.split(/;\s?/).reduce(function(e,t){let n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,e=>e[1].toUpperCase())]=t.slice(n.length+1).trim(),e},{}):"href"===s?eF(o):(o.match(k)&&(o=o.slice(1,o.length-1)),"true"===o||"false"!==o&&o));"string"==typeof d&&(y.test(d)||v.test(d))&&(e[c]=i.cloneElement(T(d.trim()),{key:n}))}else"style"!==t&&(e[l[t]||t]=!0);return e},{}):null}let Z=[],j={},q={blockQuote:{t:ew(p),i:r.HIGH,l:(e,t,n)=>({v:t(e[0].replace(S,""),n)}),h:(e,t,n)=>s("blockquote",{key:n.k},t(e.v,n))},breakLine:{t:ex(R),i:r.HIGH,l:eW,h:(e,t,n)=>s("br",{key:n.k})},breakThematic:{t:ew(A),i:r.HIGH,l:eW,h:(e,t,n)=>s("hr",{key:n.k})},codeBlock:{t:ew(N),i:r.MAX,l:e=>({v:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(e,t,n)=>s("pre",{key:n.k},s("code",o({},e.O,{className:e.M?`lang-${e.M}`:""}),e.v))},codeFenced:{t:ew(I),i:r.MAX,l:e=>({O:z(e[3]||""),v:e[4],M:e[2]||void 0,type:"codeBlock"})},codeInline:{t:ek(O),i:r.LOW,l:e=>({v:e[2]}),h:(e,t,n)=>s("code",{key:n.k},e.v)},footnote:{t:ew(C),i:r.MAX,l:e=>(Z.push({I:e[2],j:e[1]}),{}),h:e$},footnoteReference:{t:ev(_),i:r.HIGH,l:e=>({v:e[1],B:`#${t.slugify(e[1])}`}),h:(e,t,n)=>s("a",{key:n.k,href:eF(e.B)},s("sup",{key:n.k},e.v))},gfmTask:{t:ev(b),i:r.HIGH,l:e=>({R:"x"===e[1].toLowerCase()}),h:(e,t,n)=>s("input",{checked:e.R,key:n.k,readOnly:!0,type:"checkbox"})},heading:{t:ew(t.enforceAtxHeadings?h:f),i:r.HIGH,l:(e,n,a)=>({v:eH(n,e[2],a),T:t.slugify(e[2]),C:e[1].length}),h:(e,t,n)=>s(`h${e.C}`,{id:e.T,key:n.k},t(e.v,n))},headingSetext:{t:ew(D),i:r.MAX,l:(e,t,n)=>({v:eH(t,e[1],n),C:"="===e[2]?1:2,type:"heading"})},htmlComment:{t:ex(M),i:r.HIGH,l:()=>({}),h:e$},image:{t:ek(eb),i:r.HIGH,l:e=>({D:e[1],B:eB(e[2]),F:e[3]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D||void 0,title:e.F||void 0,src:eF(e.B)})},link:{t:ev(eL),i:r.LOW,l:(e,t,n)=>({v:function(e,t,n){let a=n._||!1,r=n.u||!1;n._=!1,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}(t,e[1],n),B:eB(e[2]),F:e[3]}),h:(e,t,n)=>s("a",{key:n.k,href:eF(e.B),title:e.F},t(e.v,n))},linkAngleBraceStyleDetector:{t:ev(G),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],type:"link"})},linkBareUrlDetector:{t:(e,t)=>t.N?null:ev(w)(e,t),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ev(x),i:r.MAX,l(e){let t=e[1],n=e[1];return u.test(n)||(n="mailto:"+n),{v:[{v:t.replace("mailto:",""),type:"text"}],B:n,type:"link"}}},orderedList:e_(s,1),unorderedList:e_(s,2),newlineCoalescer:{t:ew(g),i:r.LOW,l:eW,h:()=>"\n"},paragraph:{t:eG,i:r.LOW,l:eV,h:(e,t,n)=>s("p",{key:n.k},t(e.v,n))},ref:{t:ev(H),i:r.MAX,l:e=>(j[e[1]]={B:e[2],F:e[4]},{}),h:e$},refImage:{t:ek(Y),i:r.MAX,l:e=>({D:e[1]||void 0,P:e[2]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D,src:eF(j[e.P].B),title:j[e.P].F})},refLink:{t:ev(V),i:r.MAX,l:(e,t,n)=>({v:t(e[1],n),Z:t(e[0].replace(W,"\\$1"),n),P:e[2]}),h:(e,t,n)=>j[e.P]?s("a",{key:n.k,href:eF(j[e.P].B),title:j[e.P].F},t(e.v,n)):s("span",{key:n.k},t(e.Z,n))},table:{t:ew(B),i:r.HIGH,l:eM,h:(e,t,n)=>s("table",{key:n.k},s("thead",null,s("tr",null,e.L.map(function(a,r){return s("th",{key:r,style:eU(e,r)},t(a,n))}))),s("tbody",null,e.A.map(function(a,r){return s("tr",{key:r},a.map(function(a,r){return s("td",{key:r,style:eU(e,r)},t(a,n))}))})))},tableSeparator:{t:function(e,t){return t.$?(t._=!0,X.exec(e)):null},i:r.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:ex(er),i:r.MIN,l:e=>({v:e[0].replace(P,(e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e)}),h:e=>e.v},textBolded:{t:ek(Q),i:r.MED,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("strong",{key:n.k},t(e.v,n))},textEmphasized:{t:ek(ee),i:r.LOW,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("em",{key:n.k},t(e.v,n))},textEscaped:{t:ek(ea),i:r.HIGH,l:e=>({v:e[1],type:"text"})},textMarked:{t:ek(et),i:r.LOW,l:eV,h:(e,t,n)=>s("mark",{key:n.k},t(e.v,n))},textStrikethroughed:{t:ek(en),i:r.LOW,l:eV,h:(e,t,n)=>s("del",{key:n.k},t(e.v,n))}};!0!==t.disableParsingRawHTML&&(q.htmlBlock={t:ex(y),i:r.HIGH,l(e,t,n){let[,a]=e[3].match(eo),r=RegExp(`^${a}`,"gm"),i=e[3].replace(r,""),o=eh.some(e=>e.test(i))?eY:eH,s=e[1].toLowerCase(),l=-1!==c.indexOf(s);n.N=n.N||"a"===s;let E=l?e[3]:o(t,i,n);return n.N=!1,{O:z(e[2]),v:E,G:l,H:l?s:e[1]}},h:(e,t,n)=>s(e.H,o({key:n.k},e.O),e.G?e.v:t(e.v,n))},q.htmlSelfClosing={t:ex(v),i:r.HIGH,l:e=>({O:z(e[2]||""),H:e[1]}),h:(e,t,n)=>s(e.H,o({},e.O,{key:n.k}))});let J=((n=Object.keys(q)).sort(function(e,t){let n=q[e].i,a=q[t].i;return n!==a?n-a:e({type:a.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),d=c(1/0),u=e=>t=>t.type===e.type&&t.text===e.text,T={ARRAY:u({text:"ARRAY",type:a.RESERVED_KEYWORD}),BY:u({text:"BY",type:a.RESERVED_KEYWORD}),SET:u({text:"SET",type:a.RESERVED_CLAUSE}),STRUCT:u({text:"STRUCT",type:a.RESERVED_KEYWORD}),WINDOW:u({text:"WINDOW",type:a.RESERVED_CLAUSE})},p=e=>e===a.RESERVED_KEYWORD||e===a.RESERVED_FUNCTION_NAME||e===a.RESERVED_PHRASE||e===a.RESERVED_CLAUSE||e===a.RESERVED_SELECT||e===a.RESERVED_SET_OPERATION||e===a.RESERVED_JOIN||e===a.ARRAY_KEYWORD||e===a.CASE||e===a.END||e===a.WHEN||e===a.ELSE||e===a.THEN||e===a.LIMIT||e===a.BETWEEN||e===a.AND||e===a.OR||e===a.XOR,S=e=>e===a.AND||e===a.OR||e===a.XOR,R=e=>e.flatMap(A),A=e=>m(g(e)).map(e=>e.trim()),I=/[^[\]{}]+/y,N=/\{.*?\}/y,O=/\[.*?\]/y,g=e=>{let t=0,n=[];for(;te.trim());n.push(["",...e]),t+=r[0].length}N.lastIndex=t;let i=N.exec(e);if(i){let e=i[0].slice(1,-1).split("|").map(e=>e.trim());n.push(e),t+=i[0].length}if(!a&&!r&&!i)throw Error(`Unbalanced parenthesis in: ${e}`)}return n},m=([e,...t])=>void 0===e?[""]:m(t).flatMap(t=>e.map(e=>e.trim()+" "+t.trim())),C=e=>[...new Set(e)],_=e=>e[e.length-1],L=e=>e.sort((e,t)=>t.length-e.length||e.localeCompare(t)),b=e=>e.reduce((e,t)=>Math.max(e,t.length),0),f=e=>e.replace(/\s+/gu," "),h=e=>C(Object.values(e).flat()),D=e=>/\n/.test(e),y=h({keywords:["ALL","AND","ANY","ARRAY","AS","ASC","ASSERT_ROWS_MODIFIED","AT","BETWEEN","BY","CASE","CAST","COLLATE","CONTAINS","CREATE","CROSS","CUBE","CURRENT","DEFAULT","DEFINE","DESC","DISTINCT","ELSE","END","ENUM","ESCAPE","EXCEPT","EXCLUDE","EXISTS","EXTRACT","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","GROUP","GROUPING","GROUPS","HASH","HAVING","IF","IGNORE","IN","INNER","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LIKE","LIMIT","LOOKUP","MERGE","NATURAL","NEW","NO","NOT","NULL","NULLS","OF","ON","OR","ORDER","OUTER","OVER","PARTITION","PRECEDING","PROTO","RANGE","RECURSIVE","RESPECT","RIGHT","ROLLUP","ROWS","SELECT","SET","SOME","STRUCT","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN"],datatypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],stringFormat:["HEX","BASEX","BASE64M","ASCII","UTF-8","UTF8"],misc:["SAFE"],ddl:["LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"]}),P=h({aead:["KEYS.NEW_KEYSET","KEYS.ADD_KEY_FROM_RAW_BYTES","AEAD.DECRYPT_BYTES","AEAD.DECRYPT_STRING","AEAD.ENCRYPT","KEYS.KEYSET_CHAIN","KEYS.KEYSET_FROM_JSON","KEYS.KEYSET_TO_JSON","KEYS.ROTATE_KEYSET","KEYS.KEYSET_LENGTH"],aggregateAnalytic:["ANY_VALUE","ARRAY_AGG","AVG","CORR","COUNT","COUNTIF","COVAR_POP","COVAR_SAMP","MAX","MIN","ST_CLUSTERDBSCAN","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","VAR_POP","VAR_SAMP"],aggregate:["ANY_VALUE","ARRAY_AGG","ARRAY_CONCAT_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","COUNT","COUNTIF","LOGICAL_AND","LOGICAL_OR","MAX","MIN","STRING_AGG","SUM"],approximateAggregate:["APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM"],array:["ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL"],bitwise:["BIT_COUNT"],conversion:["PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST"],date:["CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE"],datetime:["CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME"],debugging:["ERROR"],federatedQuery:["EXTERNAL_QUERY"],geography:["S2_CELLIDFROMPOINT","S2_COVERINGCELLIDS","ST_ANGLE","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_AZIMUTH","ST_BOUNDARY","ST_BOUNDINGBOX","ST_BUFFER","ST_BUFFERWITHTOLERANCE","ST_CENTROID","ST_CENTROID_AGG","ST_CLOSESTPOINT","ST_CLUSTERDBSCAN","ST_CONTAINS","ST_CONVEXHULL","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DUMP","ST_DWITHIN","ST_ENDPOINT","ST_EQUALS","ST_EXTENT","ST_EXTERIORRING","ST_GEOGFROM","ST_GEOGFROMGEOJSON","ST_GEOGFROMTEXT","ST_GEOGFROMWKB","ST_GEOGPOINT","ST_GEOGPOINTFROMGEOHASH","ST_GEOHASH","ST_GEOMETRYTYPE","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_INTERSECTSBOX","ST_ISCOLLECTION","ST_ISEMPTY","ST_LENGTH","ST_MAKELINE","ST_MAKEPOLYGON","ST_MAKEPOLYGONORIENTED","ST_MAXDISTANCE","ST_NPOINTS","ST_NUMGEOMETRIES","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SIMPLIFY","ST_SNAPTOGRID","ST_STARTPOINT","ST_TOUCHES","ST_UNION","ST_UNION_AGG","ST_WITHIN","ST_X","ST_Y"],hash:["FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512"],hll:["HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT"],interval:["MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL"],json:["JSON_EXTRACT","JSON_QUERY","JSON_EXTRACT_SCALAR","JSON_VALUE","JSON_EXTRACT_ARRAY","JSON_QUERY_ARRAY","JSON_EXTRACT_STRING_ARRAY","JSON_VALUE_ARRAY","TO_JSON_STRING"],math:["ABS","SIGN","IS_INF","IS_NAN","IEEE_DIVIDE","RAND","SQRT","POW","POWER","EXP","LN","LOG","LOG10","GREATEST","LEAST","DIV","SAFE_DIVIDE","SAFE_MULTIPLY","SAFE_NEGATE","SAFE_ADD","SAFE_SUBTRACT","MOD","ROUND","TRUNC","CEIL","CEILING","FLOOR","COS","COSH","ACOS","ACOSH","SIN","SINH","ASIN","ASINH","TAN","TANH","ATAN","ATANH","ATAN2","RANGE_BUCKET"],navigation:["FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC"],net:["NET.IP_FROM_STRING","NET.SAFE_IP_FROM_STRING","NET.IP_TO_STRING","NET.IP_NET_MASK","NET.IP_TRUNC","NET.IPV4_FROM_INT64","NET.IPV4_TO_INT64","NET.HOST","NET.PUBLIC_SUFFIX","NET.REG_DOMAIN"],numbering:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER"],security:["SESSION_USER"],statisticalAggregate:["CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE"],string:["ASCII","BYTE_LENGTH","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CODE_POINTS_TO_BYTES","CODE_POINTS_TO_STRING","CONCAT","CONTAINS_SUBSTR","ENDS_WITH","FORMAT","FROM_BASE32","FROM_BASE64","FROM_HEX","INITCAP","INSTR","LEFT","LENGTH","LPAD","LOWER","LTRIM","NORMALIZE","NORMALIZE_AND_CASEFOLD","OCTET_LENGTH","REGEXP_CONTAINS","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","REPEAT","REVERSE","RIGHT","RPAD","RTRIM","SAFE_CONVERT_BYTES_TO_STRING","SOUNDEX","SPLIT","STARTS_WITH","STRPOS","SUBSTR","SUBSTRING","TO_BASE32","TO_BASE64","TO_CODE_POINTS","TO_HEX","TRANSLATE","TRIM","UNICODE","UPPER"],time:["CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME"],timestamp:["CURRENT_TIMESTAMP","EXTRACT","STRING","TIMESTAMP","TIMESTAMP_ADD","TIMESTAMP_SUB","TIMESTAMP_DIFF","TIMESTAMP_TRUNC","FORMAT_TIMESTAMP","PARSE_TIMESTAMP","TIMESTAMP_SECONDS","TIMESTAMP_MILLIS","TIMESTAMP_MICROS","UNIX_SECONDS","UNIX_MILLIS","UNIX_MICROS"],uuid:["GENERATE_UUID"],conditional:["COALESCE","IF","IFNULL","NULLIF"],legacyAggregate:["AVG","BIT_AND","BIT_OR","BIT_XOR","CORR","COUNT","COVAR_POP","COVAR_SAMP","EXACT_COUNT_DISTINCT","FIRST","GROUP_CONCAT","GROUP_CONCAT_UNQUOTED","LAST","MAX","MIN","NEST","NTH","QUANTILES","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","TOP","UNIQUE","VARIANCE","VAR_POP","VAR_SAMP"],legacyBitwise:["BIT_COUNT"],legacyCasting:["BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING"],legacyComparison:["COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL"],legacyDatetime:["CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE","DATE_ADD","DATEDIFF","DAY","DAYOFWEEK","DAYOFYEAR","FORMAT_UTC_USEC","HOUR","MINUTE","MONTH","MSEC_TO_TIMESTAMP","NOW","PARSE_UTC_USEC","QUARTER","SEC_TO_TIMESTAMP","SECOND","STRFTIME_UTC_USEC","TIME","TIMESTAMP","TIMESTAMP_TO_MSEC","TIMESTAMP_TO_SEC","TIMESTAMP_TO_USEC","USEC_TO_TIMESTAMP","UTC_USEC_TO_DAY","UTC_USEC_TO_HOUR","UTC_USEC_TO_MONTH","UTC_USEC_TO_WEEK","UTC_USEC_TO_YEAR","WEEK","YEAR"],legacyIp:["FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP"],legacyJson:["JSON_EXTRACT","JSON_EXTRACT_SCALAR"],legacyMath:["ABS","ACOS","ACOSH","ASIN","ASINH","ATAN","ATANH","ATAN2","CEIL","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG2","LOG10","PI","POW","RADIANS","RAND","ROUND","SIN","SINH","SQRT","TAN","TANH"],legacyRegex:["REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE"],legacyString:["CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER"],legacyTableWildcard:["TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY"],legacyUrl:["HOST","DOMAIN","TLD"],legacyWindow:["AVG","COUNT","MAX","MIN","STDDEV","SUM","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER"],legacyMisc:["CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64"],other:["BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW"],ddl:["OPTIONS"],pivot:["PIVOT","UNPIVOT"],dataTypes:["BYTES","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","STRING"]}),M=R(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),U=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","OMIT RECORD IF","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY SOURCE | BY TARGET] [THEN]","UPDATE SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),v=R(["UPDATE","DELETE [FROM]","DROP [SNAPSHOT | EXTERNAL] TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME TO","ALTER COLUMN [IF EXISTS]","SET DEFAULT COLLATE","SET OPTIONS","DROP NOT NULL","SET DATA TYPE","ALTER SCHEMA [IF EXISTS]","ALTER [MATERIALIZED] VIEW [IF EXISTS]","ALTER BI_CAPACITY","TRUNCATE TABLE","CREATE SCHEMA [IF NOT EXISTS]","DEFAULT COLLATE","CREATE [OR REPLACE] [TEMP|TEMPORARY|TABLE] FUNCTION [IF NOT EXISTS]","CREATE [OR REPLACE] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] ROW ACCESS POLICY [IF NOT EXISTS]","GRANT TO","FILTER USING","CREATE CAPACITY","AS JSON","CREATE RESERVATION","CREATE ASSIGNMENT","CREATE SEARCH INDEX [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","DROP [MATERIALIZED] VIEW [IF EXISTS]","DROP [TABLE] FUNCTION [IF EXISTS]","DROP PROCEDURE [IF EXISTS]","DROP ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","DROP CAPACITY [IF EXISTS]","DROP RESERVATION [IF EXISTS]","DROP ASSIGNMENT [IF EXISTS]","DROP SEARCH INDEX [IF EXISTS]","DROP [IF EXISTS]","GRANT","REVOKE","DECLARE","EXECUTE IMMEDIATE","LOOP","END LOOP","REPEAT","END REPEAT","WHILE","END WHILE","BREAK","LEAVE","CONTINUE","ITERATE","FOR","END FOR","BEGIN","BEGIN TRANSACTION","COMMIT TRANSACTION","ROLLBACK TRANSACTION","RAISE","RETURN","CALL","ASSERT","EXPORT DATA"]),k=R(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),w=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),x=R(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),G={tokenizerOptions:{reservedSelect:M,reservedClauses:[...U,...v],reservedSetOperations:k,reservedJoins:w,reservedPhrases:x,reservedKeywords:y,reservedFunctionNames:P,extraParens:["[]"],stringTypes:[{quote:'""".."""',prefixes:["R","B","RB","BR"]},{quote:"'''..'''",prefixes:["R","B","RB","BR"]},'""-bs',"''-bs",{quote:'""-raw',prefixes:["R","B","RB","BR"],requirePrefix:!0},{quote:"''-raw",prefixes:["R","B","RB","BR"],requirePrefix:!0}],identTypes:["``"],identChars:{dashes:!0},paramTypes:{positional:!0,named:["@"],quoted:["@"]},variableTypes:[{regex:String.raw`@@\w+`}],lineCommentTypes:["--","#"],operators:["&","|","^","~",">>","<<","||","=>"],postProcess:function(e){var t;let n;return t=function(e){let t=[];for(let r=0;r"===t.text?n--:">>"===t.text&&(n-=2),0===n)return a}return e.length-1}(e,r+1),o=e.slice(r,n+1);t.push({type:a.IDENTIFIER,raw:o.map(F("raw")).join(""),text:o.map(F("text")).join(""),start:i.start}),r=n}else t.push(i)}return t}(e),n=d,t.map(e=>"OFFSET"===e.text&&"["===n.text?(n=e,{...e,type:a.RESERVED_FUNCTION_NAME}):(n=e,e))}},formatOptions:{onelineClauses:v}},F=e=>t=>t.type===a.IDENTIFIER||t.type===a.COMMA?t[e]+" ":t[e],B=h({aggregate:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","CUME_DIST","GROUPING","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_ICPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG"],scalar:["ABS","ABSVAL","ACOS","ADD_DAYS","ADD_MONTHS","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ARRAY_TRIM","ASCII","ASCII_CHR","ASCII_STR","ASCIISTR","ASIN","ATAN","ATANH","ATAN2","BIGINT","BINARY","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BLOB","BTRIM","CARDINALITY","CCSID_ENCODING","CEILING","CEIL","CHAR","CHAR9","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CLOB","COALESCE","COLLATION_KEY","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","DATE","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DBCLOB","DECFLOAT","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECIMAL","DEC","DECODE","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DECRYPT_DATAKEY_BIGINT","DECRYPT_DATAKEY_BIT","DECRYPT_DATAKEY_CLOB","DECRYPT_DATAKEY_DBCLOB","DECRYPT_DATAKEY_DECIMAL","DECRYPT_DATAKEY_INTEGER","DECRYPT_DATAKEY_VARCHAR","DECRYPT_DATAKEY_VARGRAPHIC","DEGREES","DIFFERENCE","DIGITS","DOUBLE_PRECISION","DOUBLE","DSN_XMLVALIDATE","EBCDIC_CHR","EBCDIC_STR","ENCRYPT_DATAKEY","ENCRYPT_TDES","EXP","EXTRACT","FLOAT","FLOOR","GENERATE_UNIQUE","GENERATE_UNIQUE_BINARY","GETHINT","GETVARIABLE","GRAPHIC","GREATEST","HASH","HASH_CRC32","HASH_MD5","HASH_SHA1","HASH_SHA256","HEX","HOUR","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTEGER","INT","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LOCATE","LOCATE_IN_STRING","LOG10","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NORMALIZE_DECFLOAT","NORMALIZE_STRING","NULLIF","NVL","OVERLAY","PACK","POSITION","POSSTR","POWER","POW","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND","ROUND_TIMESTAMP","ROWID","RPAD","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SMALLINT","SOUNDEX","SOAPHTTPC","SOAPHTTPV","SOAPHTTPNC","SOAPHTTPNV","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TAN","TANH","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMP_TZ","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TOTALORDER","TO_TIMESTAMP","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRUNC","TRUNC_TIMESTAMP","UCASE","UNICODE","UNICODE_STR","UNISTR","UPPER","VALUE","VARBINARY","VARCHAR","VARCHAR9","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARGRAPHIC","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLMODIFY","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLSERIALIZE","XMLTEXT","XMLXSROBJECTID","XSLTRANSFORM","YEAR"],table:["ADMIN_TASK_LIST","ADMIN_TASK_OUTPUT","ADMIN_TASK_STATUS","BLOCKING_THREADS","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE"],row:["UNPACK"],olap:["CUME_DIST","PERCENT_RANK","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT"],cast:["CAST"]}),H=h({standard:["ALL","ALLOCATE","ALLOW","ALTERAND","ANY","AS","ARRAY","ARRAY_EXISTS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","AUDIT","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BUFFERPOOL","BY","CAPTURE","CASCADED","CAST","CCSID","CHARACTER","CHECK","CLONE","CLUSTER","COLLECTION","COLLID","COLUMN","CONDITION","CONNECTION","CONSTRAINT","CONTENT","CONTINUE","CREATE","CUBE","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRVAL","CURSOR","DATA","DATABASE","DBINFO","DECLARE","DEFAULT","DESCRIPTOR","DETERMINISTIC","DISABLE","DISALLOW","DISTINCT","DO","DOCUMENT","DSSIZE","DYNAMIC","EDITPROC","ELSE","ELSEIF","ENCODING","ENCRYPTION","ENDING","END-EXEC","ERASE","ESCAPE","EXCEPTION","EXISTS","EXIT","EXTERNAL","FENCED","FIELDPROC","FINAL","FIRST","FOR","FREE","FULL","FUNCTION","GENERATED","GET","GLOBAL","GOTO","GROUP","HANDLER","HOLD","HOURS","IF","IMMEDIATE","IN","INCLUSIVE","INDEX","INHERIT","INNER","INOUT","INSENSITIVE","INTO","IS","ISOBID","ITERATE","JAR","KEEP","KEY","LANGUAGE","LAST","LC_CTYPE","LEAVE","LIKE","LOCAL","LOCALE","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","MAINTAINED","MATERIALIZED","MICROSECONDS","MINUTEMINUTES","MODIFIES","MONTHS","NEXT","NEXTVAL","NO","NONE","NOT","NULL","NULLS","NUMPARTS","OBID","OF","OLD","ON","OPTIMIZATION","OPTIMIZE","ORDER","ORGANIZATION","OUT","OUTER","PACKAGE","PARAMETER","PART","PADDED","PARTITION","PARTITIONED","PARTITIONING","PATH","PIECESIZE","PERIOD","PLAN","PRECISION","PREVVAL","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","READS","REFERENCES","RESIGNAL","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","ROLE","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROW","ROWSET","SCHEMA","SCRATCHPAD","SECONDS","SECQTY","SECURITY","SEQUENCE","SENSITIVE","SESSION_USER","SIMPLE","SOME","SOURCE","SPECIFIC","STANDARD","STATIC","STATEMENT","STAY","STOGROUP","STORES","STYLE","SUMMARY","SYNONYM","SYSDATE","SYSTEM","SYSTIMESTAMP","TABLE","TABLESPACE","THEN","TO","TRIGGER","TYPE","UNDO","UNIQUE","UNTIL","USER","USING","VALIDPROC","VARIABLE","VARIANT","VCAT","VERSIONING","VIEW","VOLATILE","VOLUMES","WHILE","WLM","XMLEXISTS","XMLCAST","YEARS","ZONE"]}),Y=R(["SELECT [ALL | DISTINCT]"]),V=R(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","FETCH FIRST","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT","CREATE [OR REPLACE] VIEW","CREATE [GLOBAL TEMPORARY] TABLE"]),W=R(["UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [HIERARCHY]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {IDENTITY | EXPRESSION | DEFAULT | NOT NULL}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","AFTER","GO","ALLOCATE CURSOR","ALTER DATABASE","ALTER FUNCTION","ALTER INDEX","ALTER MASK","ALTER PERMISSION","ALTER PROCEDURE","ALTER SEQUENCE","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE LOCATORS","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT","COMMIT","CONNECT","CREATE ALIAS","CREATE AUXILIARY TABLE","CREATE DATABASE","CREATE FUNCTION","CREATE GLOBAL TEMPORARY TABLE","CREATE INDEX","CREATE LOB TABLESPACE","CREATE MASK","CREATE PERMISSION","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE STOGROUP","CREATE SYNONYM","CREATE TABLESPACE","CREATE TRIGGER","CREATE TRUSTED CONTEXT","CREATE TYPE","CREATE VARIABLE","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE STATEMENT","DECLARE TABLE","DECLARE VARIABLE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE OUTPUT","DESCRIBE PROCEDURE","DESCRIBE TABLE","DROP","END DECLARE SECTION","EXCHANGE","EXECUTE","EXECUTE IMMEDIATE","EXPLAIN","FETCH","FREE LOCATOR","GET DIAGNOSTICS","GRANT","HOLD LOCATOR","INCLUDE","LABEL","LOCK TABLE","OPEN","PREPARE","REFRESH","RELEASE","RELEASE SAVEPOINT","RENAME","REVOKE","ROLLBACK","SAVEPOINT","SELECT INTO","SET CONNECTION","SET CURRENT ACCELERATOR","SET CURRENT APPLICATION COMPATIBILITY","SET CURRENT APPLICATION ENCODING SCHEME","SET CURRENT DEBUG MODE","SET CURRENT DECFLOAT ROUNDING MODE","SET CURRENT DEGREE","SET CURRENT EXPLAIN MODE","SET CURRENT GET_ACCEL_ARCHIVE","SET CURRENT LOCALE LC_CTYPE","SET CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION","SET CURRENT OPTIMIZATION HINT","SET CURRENT PACKAGE PATH","SET CURRENT PACKAGESET","SET CURRENT PRECISION","SET CURRENT QUERY ACCELERATION","SET CURRENT QUERY ACCELERATION WAITFORDATA","SET CURRENT REFRESH AGE","SET CURRENT ROUTINE VERSION","SET CURRENT RULES","SET CURRENT SQLID","SET CURRENT TEMPORAL BUSINESS_TIME","SET CURRENT TEMPORAL SYSTEM_TIME","SET ENCRYPTION PASSWORD","SET PATH","SET SESSION TIME ZONE","SIGNAL","VALUES INTO","WHENEVER"]),$=R(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),K=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),X=R(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),z={tokenizerOptions:{reservedSelect:Y,reservedClauses:[...V,...W],reservedSetOperations:$,reservedJoins:K,reservedPhrases:X,reservedKeywords:H,reservedFunctionNames:B,stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||"]},formatOptions:{onelineClauses:W}},Z=h({math:["ABS","ACOS","ASIN","ATAN","BIN","BROUND","CBRT","CEIL","CEILING","CONV","COS","DEGREES","EXP","FACTORIAL","FLOOR","GREATEST","HEX","LEAST","LN","LOG","LOG10","LOG2","NEGATIVE","PI","PMOD","POSITIVE","POW","POWER","RADIANS","RAND","ROUND","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIN","SQRT","TAN","UNHEX","WIDTH_BUCKET"],array:["ARRAY_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY"],conversion:["BINARY","CAST"],date:["ADD_MONTHS","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","QUARTER","SECOND","TIMESTAMP","TO_DATE","TO_UTC_TIMESTAMP","TRUNC","UNIX_TIMESTAMP","WEEKOFYEAR","YEAR"],conditional:["ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL"],string:["ASCII","BASE64","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONTEXT_NGRAMS","DECODE","ELT","ENCODE","FIELD","FIND_IN_SET","FORMAT_NUMBER","GET_JSON_OBJECT","IN_FILE","INITCAP","INSTR","LCASE","LENGTH","LEVENSHTEIN","LOCATE","LOWER","LPAD","LTRIM","NGRAMS","OCTET_LENGTH","PARSE_URL","PRINTF","QUOTE","REGEXP_EXTRACT","REGEXP_REPLACE","REPEAT","REVERSE","RPAD","RTRIM","SENTENCES","SOUNDEX","SPACE","SPLIT","STR_TO_MAP","SUBSTR","SUBSTRING","TRANSLATE","TRIM","UCASE","UNBASE64","UPPER"],masking:["MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N"],misc:["AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION"],aggregate:["AVG","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COVAR_POP","COVAR_SAMP","HISTOGRAM_NUMERIC","MAX","MIN","NTILE","PERCENTILE","PERCENTILE_APPROX","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],table:["EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK"],window:["LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],dataTypes:["DECIMAL","NUMERIC","VARCHAR","CHAR"]}),j=h({nonReserved:["ADD","ADMIN","AFTER","ANALYZE","ARCHIVE","ASC","BEFORE","BUCKET","BUCKETS","CASCADE","CHANGE","CLUSTER","CLUSTERED","CLUSTERSTATUS","COLLECTION","COLUMNS","COMMENT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONTINUE","DATA","DATABASES","DATETIME","DAY","DBPROPERTIES","DEFERRED","DEFINED","DELIMITED","DEPENDENCY","DESC","DIRECTORIES","DIRECTORY","DISABLE","DISTRIBUTE","ELEM_TYPE","ENABLE","ESCAPED","EXCLUSIVE","EXPLAIN","EXPORT","FIELDS","FILE","FILEFORMAT","FIRST","FORMAT","FORMATTED","FUNCTIONS","HOLD_DDLTIME","HOUR","IDXPROPERTIES","IGNORE","INDEX","INDEXES","INPATH","INPUTDRIVER","INPUTFORMAT","ITEMS","JAR","KEYS","KEY_TYPE","LIMIT","LINES","LOAD","LOCATION","LOCK","LOCKS","LOGICAL","LONG","MAPJOIN","MATERIALIZED","METADATA","MINUS","MINUTE","MONTH","MSCK","NOSCAN","NO_DROP","OFFLINE","OPTION","OUTPUTDRIVER","OUTPUTFORMAT","OVERWRITE","OWNER","PARTITIONED","PARTITIONS","PLUS","PRETTY","PRINCIPALS","PROTECTION","PURGE","READ","READONLY","REBUILD","RECORDREADER","RECORDWRITER","RELOAD","RENAME","REPAIR","REPLACE","REPLICATION","RESTRICT","REWRITE","ROLE","ROLES","SCHEMA","SCHEMAS","SECOND","SEMI","SERDE","SERDEPROPERTIES","SERVER","SETS","SHARED","SHOW","SHOW_DATABASE","SKEWED","SORT","SORTED","SSL","STATISTICS","STORED","STREAMTABLE","STRING","STRUCT","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","TINYINT","TOUCH","TRANSACTIONS","UNARCHIVE","UNDO","UNIONTYPE","UNLOCK","UNSET","UNSIGNED","URI","USE","UTC","UTCTIMESTAMP","VALUE_TYPE","VIEW","WHILE","YEAR","AUTOCOMMIT","ISOLATION","LEVEL","OFFSET","SNAPSHOT","TRANSACTION","WORK","WRITE","ABORT","KEY","LAST","NORELY","NOVALIDATE","NULLS","RELY","VALIDATE","DETAIL","DOW","EXPRESSION","OPERATOR","QUARTER","SUMMARY","VECTORIZATION","WEEK","YEARS","MONTHS","WEEKS","DAYS","HOURS","MINUTES","SECONDS","TIMESTAMPTZ","ZONE"],reserved:["ALL","ALTER","AND","ARRAY","AS","AUTHORIZATION","BETWEEN","BIGINT","BINARY","BOOLEAN","BOTH","BY","CASE","CAST","CHAR","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DATE","DECIMAL","DELETE","DESCRIBE","DISTINCT","DOUBLE","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FLOAT","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INT","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","MAP","MORE","NONE","NOT","NULL","OF","ON","OR","ORDER","OUT","OUTER","OVER","PARTIALSCAN","PARTITION","PERCENT","PRECEDING","PRESERVE","PROCEDURE","RANGE","READS","REDUCE","REVOKE","RIGHT","ROLLUP","ROW","ROWS","SELECT","SET","SMALLINT","TABLE","TABLESAMPLE","THEN","TIMESTAMP","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","VARCHAR","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","INTEGER","PRECISION","VIEWS","TIME","NUMERIC","SYNC"],fileTypes:["TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"]}),q=R(["SELECT [ALL | DISTINCT]"]),J=R(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT INTO [TABLE]","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT [VALUES]","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),Q=R(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","RENAME TO","TRUNCATE [TABLE]","ALTER","CREATE","USE","DESCRIBE","DROP","FETCH","SHOW","STORED AS","STORED BY","ROW FORMAT"]),ee=R(["UNION [ALL | DISTINCT]"]),et=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),en=R(["{ROWS | RANGE} BETWEEN"]),ea={tokenizerOptions:{reservedSelect:q,reservedClauses:[...J,...Q],reservedSetOperations:ee,reservedJoins:et,reservedPhrases:en,reservedKeywords:j,reservedFunctionNames:Z,extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:Q}},er=h({all:["ACCESSIBLE","ACCOUNT","ACTION","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALL","ALGORITHM","ALTER","ALWAYS","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","ATOMIC","AUTHORS","AUTO_INCREMENT","AUTOEXTEND_SIZE","AUTO","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BODY","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHAR","CHARACTER","CHARSET","CHECK","CHECKPOINT","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOB","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMN_NAME","COLUMNS","COLUMN_ADD","COLUMN_CHECK","COLUMN_CREATE","COLUMN_DELETE","COLUMN_GET","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONTRIBUTORS","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_POS","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DO_DOMAIN_IDS","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ELSIF","EMPTY","ENABLE","ENCLOSED","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXAMINED","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXCEPTION","EXISTS","EXIT","EXPANSION","EXPIRE","EXPORT","EXPLAIN","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FEDERATED","FETCH","FIELDS","FILE","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GET_FORMAT","GET","GLOBAL","GOTO","GRANT","GRANTS","GROUP","HANDLER","HARD","HASH","HAVING","HELP","HIGH_PRIORITY","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORED","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IMMEDIATE","IMPORT","INTERSECT","IN","INCREMENT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INVISIBLE","INTO","IO","IO_THREAD","IPC","IS","ISOLATION","ISOPEN","ISSUER","ITERATE","INVOKER","JOIN","JSON","JSON_TABLE","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LAST_VALUE","LASTVAL","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_GTID_POS","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MASTER_USE_GTID","MASTER_HEARTBEAT_PERIOD","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MAXVALUE","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONITOR","MONTH","MUTEX","MYSQL","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NESTED","NEVER","NEW","NEXT","NEXTVAL","NO","NOMAXVALUE","NOMINVALUE","NOCACHE","NOCYCLE","NO_WAIT","NOWAIT","NODEGROUP","NONE","NOT","NOTFOUND","NO_WRITE_TO_BINLOG","NULL","NUMBER","NUMERIC","NVARCHAR","OF","OFFSET","OLD_PASSWORD","ON","ONE","ONLINE","ONLY","OPEN","OPTIMIZE","OPTIONS","OPTION","OPTIONALLY","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OUTFILE","OVER","OVERLAPS","OWNER","PACKAGE","PACK_KEYS","PAGE","PAGE_CHECKSUM","PARSER","PARSE_VCOL_EXPR","PATH","PERIOD","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PERSISTENT","PHASE","PLUGIN","PLUGINS","PORT","PORTION","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PREVIOUS","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RAISE","RANGE","RAW","READ","READ_ONLY","READ_WRITE","READS","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEATABLE","REPLACE","REPLAY","REPLICA","REPLICAS","REPLICA_POS","REPLICATION","REPEAT","REQUIRE","RESET","RESIGNAL","RESTART","RESTORE","RESTRICT","RESUME","RETURNED_SQLSTATE","RETURN","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROW","ROWCOUNT","ROWNUM","ROWS","ROWTYPE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMA_NAME","SCHEMAS","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SEQUENCE","SERIAL","SERIALIZABLE","SESSION","SERVER","SET","SETVAL","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLAVES","SLAVE_POS","SLOW","SNAPSHOT","SMALLINT","SOCKET","SOFT","SOME","SONAME","SOUNDS","SOURCE","STAGE","STORED","SPATIAL","SPECIFIC","REF_SYSTEM_ID","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_SECOND","SQL_TSI_MINUTE","SQL_TSI_HOUR","SQL_TSI_DAY","SQL_TSI_WEEK","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_YEAR","SSL","START","STARTING","STARTS","STATEMENT","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSDATE","SYSTEM","SYSTEM_TIME","TABLE","TABLE_NAME","TABLES","TABLESPACE","TABLE_CHECKSUM","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRANSACTIONAL","THREADS","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNDO","UNICODE","UNION","UNIQUE","UNKNOWN","UNLOCK","UNINSTALL","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARCHAR2","VARIABLES","VARYING","VIA","VIEW","VIRTUAL","VISIBLE","VERSIONING","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","X509","XOR","XA","XML","YEAR","YEAR_MONTH","ZEROFILL"]}),ei=h({all:["ADDDATE","ADD_MONTHS","BIT_AND","BIT_OR","BIT_XOR","CAST","COUNT","CUME_DIST","CURDATE","CURTIME","DATE_ADD","DATE_SUB","DATE_FORMAT","DECODE","DENSE_RANK","EXTRACT","FIRST_VALUE","GROUP_CONCAT","JSON_ARRAYAGG","JSON_OBJECTAGG","LAG","LEAD","MAX","MEDIAN","MID","MIN","NOW","NTH_VALUE","NTILE","POSITION","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","ROW_NUMBER","SESSION_USER","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUBDATE","SUBSTR","SUBSTRING","SUM","SYSTEM_USER","TRIM","TRIM_ORACLE","VARIANCE","VAR_POP","VAR_SAMP","ABS","ACOS","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ASIN","ATAN","ATAN2","BENCHMARK","BIN","BINLOG_GTID_POS","BIT_COUNT","BIT_LENGTH","CEIL","CEILING","CHARACTER_LENGTH","CHAR_LENGTH","CHR","COERCIBILITY","COLUMN_CHECK","COLUMN_EXISTS","COLUMN_LIST","COLUMN_JSON","COMPRESS","CONCAT","CONCAT_OPERATOR_ORACLE","CONCAT_WS","CONNECTION_ID","CONV","CONVERT_TZ","COS","COT","CRC32","DATEDIFF","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEGREES","DECODE_HISTOGRAM","DECODE_ORACLE","DES_DECRYPT","DES_ENCRYPT","ELT","ENCODE","ENCRYPT","EXP","EXPORT_SET","EXTRACTVALUE","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GET_LOCK","GREATEST","HEX","IFNULL","INSTR","ISNULL","IS_FREE_LOCK","IS_USED_LOCK","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_COMPACT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_DETAILED","JSON_EXISTS","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_LOOSE","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_QUERY","JSON_QUOTE","JSON_OBJECT","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_SEARCH","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAST_DAY","LAST_INSERT_ID","LCASE","LEAST","LENGTH","LENGTHB","LN","LOAD_FILE","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LPAD_ORACLE","LTRIM","LTRIM_ORACLE","MAKEDATE","MAKETIME","MAKE_SET","MASTER_GTID_WAIT","MASTER_POS_WAIT","MD5","MONTHNAME","NAME_CONST","NVL","NVL2","OCT","OCTET_LENGTH","ORD","PERIOD_ADD","PERIOD_DIFF","PI","POW","POWER","QUOTE","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","RADIANS","RAND","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPLACE_ORACLE","REVERSE","ROUND","RPAD","RPAD_ORACLE","RTRIM","RTRIM_ORACLE","SEC_TO_TIME","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","STRCMP","STR_TO_DATE","SUBSTR_ORACLE","SUBSTRING_INDEX","SUBTIME","SYS_GUID","TAN","TIMEDIFF","TIME_FORMAT","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_SECONDS","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","UUID","UUID_SHORT","VERSION","WEEKDAY","WEEKOFYEAR","WSREP_LAST_WRITTEN_GTID","WSREP_LAST_SEEN_GTID","WSREP_SYNC_WAIT_UPTO_GTID","YEARWEEK","COALESCE","NULLIF","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","BIT","BINARY","BLOB","CHAR","NATIONAL CHAR","CHAR BYTE","ENUM","VARBINARY","VARCHAR","NATIONAL VARCHAR","TIME","DATETIME","TIMESTAMP","YEAR"]}),eo=R(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),es=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]","RETURNING"]),el=R(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] [IGNORE] TABLE [IF EXISTS]","ADD [COLUMN] [IF NOT EXISTS]","{CHANGE | MODIFY} [COLUMN] [IF EXISTS]","DROP [COLUMN] [IF EXISTS]","RENAME [TO]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","SET {VISIBLE | INVISIBLE}","TRUNCATE [TABLE]","ALTER DATABASE","ALTER DATABASE COMMENT","ALTER EVENT","ALTER FUNCTION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SCHEMA COMMENT","ALTER SEQUENCE","ALTER SERVER","ALTER USER","ALTER VIEW","ANALYZE","ANALYZE TABLE","BACKUP LOCK","BACKUP STAGE","BACKUP UNLOCK","BEGIN","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHECK TABLE","CHECK VIEW","CHECKSUM TABLE","COMMIT","CREATE AGGREGATE FUNCTION","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE INDEX","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE SERVER","CREATE SPATIAL INDEX","CREATE TRIGGER","CREATE UNIQUE INDEX","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP INDEX","DROP PREPARE","DROP PROCEDURE","DROP ROLE","DROP SEQUENCE","DROP SERVER","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GET DIAGNOSTICS","GET DIAGNOSTICS CONDITION","GRANT","HANDLER","HELP","INSTALL PLUGIN","INSTALL SONAME","KILL","LOAD DATA INFILE","LOAD INDEX INTO CACHE","LOAD XML INFILE","LOCK TABLE","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","PURGE MASTER LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","REPAIR VIEW","RESET MASTER","RESET QUERY CACHE","RESET REPLICA","RESET SLAVE","RESIGNAL","REVOKE","ROLLBACK","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET GLOBAL TRANSACTION","SET NAMES","SET PASSWORD","SET ROLE","SET STATEMENT","SET TRANSACTION","SHOW","SHOW ALL REPLICAS STATUS","SHOW ALL SLAVES STATUS","SHOW AUTHORS","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW BINLOG STATUS","SHOW CHARACTER SET","SHOW CLIENT_STATISTICS","SHOW COLLATION","SHOW COLUMNS","SHOW CONTRIBUTORS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PACKAGE","SHOW CREATE PACKAGE BODY","SHOW CREATE PROCEDURE","SHOW CREATE SEQUENCE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINE INNODB STATUS","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW EXPLAIN","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW INDEXES","SHOW INDEX_STATISTICS","SHOW KEYS","SHOW LOCALES","SHOW MASTER LOGS","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PACKAGE BODY CODE","SHOW PACKAGE BODY STATUS","SHOW PACKAGE STATUS","SHOW PLUGINS","SHOW PLUGINS SONAME","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW QUERY_RESPONSE_TIME","SHOW RELAYLOG EVENTS","SHOW REPLICA","SHOW REPLICA HOSTS","SHOW REPLICA STATUS","SHOW SCHEMAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW SLAVE STATUS","SHOW STATUS","SHOW STORAGE ENGINES","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW USER_STATISTICS","SHOW VARIABLES","SHOW WARNINGS","SHOW WSREP_MEMBERSHIP","SHOW WSREP_STATUS","SHUTDOWN","SIGNAL","START ALL REPLICAS","START ALL SLAVES","START REPLICA","START SLAVE","START TRANSACTION","STOP ALL REPLICAS","STOP ALL SLAVES","STOP REPLICA","STOP SLAVE","UNINSTALL PLUGIN","UNINSTALL SONAME","UNLOCK TABLE","USE","XA BEGIN","XA COMMIT","XA END","XA PREPARE","XA RECOVER","XA ROLLBACK","XA START"]),eE=R(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),ec=R(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),ed=R(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eu={tokenizerOptions:{reservedSelect:eo,reservedClauses:[...es,...el],reservedSetOperations:eE,reservedJoins:ec,reservedPhrases:ed,supportsXor:!0,reservedKeywords:er,reservedFunctionNames:ei,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||d;return T.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:el}},eT=h({all:["ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASCII","ASENSITIVE","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BUCKETS","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DEFINITION","DELAYED","DELAY_KEY_WRITE","DELETE","DENSE_RANK","DESC","DESCRIBE","DESCRIPTION","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIRST_VALUE","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANT","GRANTS","GROUP","GROUPING","GROUPS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","IN","INACTIVE","INDEX","INDEXES","INFILE","INITIAL","INITIAL_SIZE","INITIATE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","IS","ISOLATION","ISSUER","ITERATE","JOIN","JSON","JSON_TABLE","JSON_VALUE","KEY","KEYRING","KEYS","KEY_BLOCK_SIZE","KILL","LAG","LANGUAGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOT","NOWAIT","NO_WAIT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NULLS","NUMBER","NUMERIC","NVARCHAR","OF","OFF","OFFSET","OJ","OLD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONAL","OPTIONALLY","OPTIONS","OR","ORDER","ORDINALITY","ORGANIZATION","OTHERS","OUT","OUTER","OUTFILE","OVER","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERCENT_RANK","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANDOM","RANGE","RANK","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REFERENCES","REGEXP","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","REQUIRE_ROW_FORMAT","RESET","RESIGNAL","RESOURCE","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETAIN","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TLS","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNREGISTER","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VCPU","VIEW","VIRTUAL","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL","ZONE"]}),ep=h({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BINARY","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","CAN_ACCESS_COLUMN","CAN_ACCESS_DATABASE","CAN_ACCESS_TABLE","CAN_ACCESS_USER","CAN_ACCESS_VIEW","CAST","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CRC32","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEFAULT","DEGREES","DENSE_RANK","DIV","ELT","EXP","EXPORT_SET","EXTRACT","EXTRACTVALUE","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_DD_COLUMN_PRIVILEGES","GET_DD_CREATE_OPTIONS","GET_DD_INDEX_SUB_PART_LENGTH","GET_FORMAT","GET_LOCK","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","INTERNAL_AUTO_INCREMENT","INTERNAL_AVG_ROW_LENGTH","INTERNAL_CHECK_TIME","INTERNAL_CHECKSUM","INTERNAL_DATA_FREE","INTERNAL_DATA_LENGTH","INTERNAL_DD_CHAR_LENGTH","INTERNAL_GET_COMMENT_OR_ERROR","INTERNAL_GET_ENABLED_ROLE_JSON","INTERNAL_GET_HOSTNAME","INTERNAL_GET_USERNAME","INTERNAL_GET_VIEW_WARNING_OR_ERROR","INTERNAL_INDEX_COLUMN_CARDINALITY","INTERNAL_INDEX_LENGTH","INTERNAL_IS_ENABLED_ROLE","INTERNAL_IS_MANDATORY_ROLE","INTERNAL_KEYS_DISABLED","INTERNAL_MAX_DATA_LENGTH","INTERNAL_TABLE_ROWS","INTERNAL_UPDATE_TIME","INTERVAL","IS","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS NOT","IS NOT NULL","IS NULL","IS_USED_LOCK","IS_UUID","ISNULL","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LINESTRING","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MATCH","MAX","MBRCONTAINS","MBRCOVEREDBY","MBRCOVERS","MBRDISJOINT","MBREQUALS","MBRINTERSECTS","MBROVERLAPS","MBRTOUCHES","MBRWITHIN","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MOD","MONTH","MONTHNAME","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","NAME_CONST","NOT","NOT IN","NOT LIKE","NOT REGEXP","NOW","NTH_VALUE","NTILE","NULLIF","OCT","OCTET_LENGTH","ORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","POINT","POLYGON","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_BUFFER","ST_BUFFER_STRATEGY","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_CONVEXHULL","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DISTANCE_SPHERE","ST_ENDPOINT","ST_ENVELOPE","ST_EQUALS","ST_EXTERIORRING","ST_FRECHETDISTANCE","ST_GEOHASH","ST_GEOMCOLLFROMTEXT","ST_GEOMCOLLFROMWKB","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMGEOJSON","ST_GEOMFROMTEXT","ST_GEOMFROMWKB","ST_HAUSDORFFDISTANCE","ST_INTERIORRINGN","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISSIMPLE","ST_ISVALID","ST_LATFROMGEOHASH","ST_LATITUDE","ST_LENGTH","ST_LINEFROMTEXT","ST_LINEFROMWKB","ST_LINEINTERPOLATEPOINT","ST_LINEINTERPOLATEPOINTS","ST_LONGFROMGEOHASH","ST_LONGITUDE","ST_MAKEENVELOPE","ST_MLINEFROMTEXT","ST_MLINEFROMWKB","ST_MPOINTFROMTEXT","ST_MPOINTFROMWKB","ST_MPOLYFROMTEXT","ST_MPOLYFROMWKB","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINTATDISTANCE","ST_POINTFROMGEOHASH","ST_POINTFROMTEXT","ST_POINTFROMWKB","ST_POINTN","ST_POLYFROMTEXT","ST_POLYFROMWKB","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SWAPXY","ST_SYMDIFFERENCE","ST_TOUCHES","ST_TRANSFORM","ST_UNION","ST_VALIDATE","ST_WITHIN","ST_X","ST_Y","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),eS=R(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eR=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),eA=R(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","{CHANGE | MODIFY} [COLUMN]","DROP [COLUMN]","RENAME [TO | AS]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","TRUNCATE [TABLE]","ALTER DATABASE","ALTER EVENT","ALTER FUNCTION","ALTER INSTANCE","ALTER LOGFILE GROUP","ALTER PROCEDURE","ALTER RESOURCE GROUP","ALTER SERVER","ALTER TABLESPACE","ALTER USER","ALTER VIEW","ANALYZE TABLE","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK TABLE","CHECKSUM TABLE","CLONE","COMMIT","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE FUNCTION","CREATE INDEX","CREATE LOGFILE GROUP","CREATE PROCEDURE","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SERVER","CREATE SPATIAL REFERENCE SYSTEM","CREATE TABLESPACE","CREATE TRIGGER","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP FUNCTION","DROP INDEX","DROP LOGFILE GROUP","DROP PROCEDURE","DROP RESOURCE GROUP","DROP ROLE","DROP SERVER","DROP SPATIAL REFERENCE SYSTEM","DROP TABLESPACE","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GRANT","HANDLER","HELP","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SOURCE_POS_WAIT","START GROUP_REPLICATION","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP REPLICA","STOP SLAVE","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),eI=R(["UNION [ALL | DISTINCT]"]),eN=R(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eO=R(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eg={tokenizerOptions:{reservedSelect:eS,reservedClauses:[...eR,...eA],reservedSetOperations:eI,reservedJoins:eN,reservedPhrases:eO,supportsXor:!0,reservedKeywords:eT,reservedFunctionNames:ep,stringTypes:['""-qq-bs',{quote:"''-qq-bs",prefixes:["N"]},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","->","->>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||d;return T.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:eA}},em=h({all:["ABORT","ABS","ACOS","ADVISOR","ARRAY_AGG","ARRAY_AGG","ARRAY_APPEND","ARRAY_AVG","ARRAY_BINARY_SEARCH","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COUNT","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_FLATTEN","ARRAY_IFNULL","ARRAY_INSERT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_MAX","ARRAY_MIN","ARRAY_MOVE","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUT","ARRAY_RANGE","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_REPLACE","ARRAY_REVERSE","ARRAY_SORT","ARRAY_STAR","ARRAY_SUM","ARRAY_SYMDIFF","ARRAY_SYMDIFF1","ARRAY_SYMDIFFN","ARRAY_UNION","ASIN","ATAN","ATAN2","AVG","BASE64","BASE64_DECODE","BASE64_ENCODE","BITAND ","BITCLEAR ","BITNOT ","BITOR ","BITSET ","BITSHIFT ","BITTEST ","BITXOR ","CEIL","CLOCK_LOCAL","CLOCK_MILLIS","CLOCK_STR","CLOCK_TZ","CLOCK_UTC","COALESCE","CONCAT","CONCAT2","CONTAINS","CONTAINS_TOKEN","CONTAINS_TOKEN_LIKE","CONTAINS_TOKEN_REGEXP","COS","COUNT","COUNT","COUNTN","CUME_DIST","CURL","DATE_ADD_MILLIS","DATE_ADD_STR","DATE_DIFF_MILLIS","DATE_DIFF_STR","DATE_FORMAT_STR","DATE_PART_MILLIS","DATE_PART_STR","DATE_RANGE_MILLIS","DATE_RANGE_STR","DATE_TRUNC_MILLIS","DATE_TRUNC_STR","DECODE","DECODE_JSON","DEGREES","DENSE_RANK","DURATION_TO_STR","ENCODED_SIZE","ENCODE_JSON","EXP","FIRST_VALUE","FLOOR","GREATEST","HAS_TOKEN","IFINF","IFMISSING","IFMISSINGORNULL","IFNAN","IFNANORINF","IFNULL","INITCAP","ISARRAY","ISATOM","ISBITSET","ISBOOLEAN","ISNUMBER","ISOBJECT","ISSTRING","LAG","LAST_VALUE","LEAD","LEAST","LENGTH","LN","LOG","LOWER","LTRIM","MAX","MEAN","MEDIAN","META","MILLIS","MILLIS_TO_LOCAL","MILLIS_TO_STR","MILLIS_TO_TZ","MILLIS_TO_UTC","MILLIS_TO_ZONE_NAME","MIN","MISSINGIF","NANIF","NEGINFIF","NOW_LOCAL","NOW_MILLIS","NOW_STR","NOW_TZ","NOW_UTC","NTH_VALUE","NTILE","NULLIF","NVL","NVL2","OBJECT_ADD","OBJECT_CONCAT","OBJECT_INNER_PAIRS","OBJECT_INNER_VALUES","OBJECT_LENGTH","OBJECT_NAMES","OBJECT_PAIRS","OBJECT_PUT","OBJECT_REMOVE","OBJECT_RENAME","OBJECT_REPLACE","OBJECT_UNWRAP","OBJECT_VALUES","PAIRS","PERCENT_RANK","PI","POLY_LENGTH","POSINFIF","POSITION","POWER","RADIANS","RANDOM","RANK","RATIO_TO_REPORT","REGEXP_CONTAINS","REGEXP_LIKE","REGEXP_MATCHES","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGEX_CONTAINS","REGEX_LIKE","REGEX_MATCHES","REGEX_POSITION","REGEX_REPLACE","REGEX_SPLIT","REPEAT","REPLACE","REVERSE","ROUND","ROW_NUMBER","RTRIM","SEARCH","SEARCH_META","SEARCH_SCORE","SIGN","SIN","SPLIT","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DURATION","STR_TO_MILLIS","STR_TO_TZ","STR_TO_UTC","STR_TO_ZONE_NAME","SUBSTR","SUFFIXES","SUM","TAN","TITLE","TOARRAY","TOATOM","TOBOOLEAN","TOKENS","TOKENS","TONUMBER","TOOBJECT","TOSTRING","TRIM","TRUNC","UPPER","UUID","VARIANCE","VARIANCE_POP","VARIANCE_SAMP","VAR_POP","VAR_SAMP","WEEKDAY_MILLIS","WEEKDAY_STR","CAST"]}),eC=h({all:["ADVISE","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","COMMITTED","CONNECT","CONTINUE","CORRELATED","COVER","CREATE","CURRENT","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FILTER","FIRST","FLATTEN","FLUSH","FOLLOWING","FOR","FORCE","FROM","FTS","FUNCTION","GOLANG","GRANT","GROUP","GROUPS","GSI","HASH","HAVING","IF","ISOLATION","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JAVASCRIPT","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LANGUAGE","LAST","LEFT","LET","LETTING","LEVEL","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NL","NO","NOT","NTH_VALUE","NULL","NULLS","NUMBER","OBJECT","OFFSET","ON","OPTION","OPTIONS","OR","ORDER","OTHERS","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PRECEDING","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROBE","PROCEDURE","PUBLIC","RANGE","RAW","REALM","REDUCE","RENAME","RESPECT","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","ROW","ROWS","SATISFIES","SAVEPOINT","SCHEMA","SCOPE","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TIES","TO","TRAN","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WORK","XOR"]}),e_=R(["SELECT [ALL | DISTINCT]"]),eL=R(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED THEN","UPDATE SET","INSERT","NEST","UNNEST","RETURNING"]),eb=R(["UPDATE","DELETE FROM","SET SCHEMA","ADVISE","ALTER INDEX","BEGIN TRANSACTION","BUILD INDEX","COMMIT TRANSACTION","CREATE COLLECTION","CREATE FUNCTION","CREATE INDEX","CREATE PRIMARY INDEX","CREATE SCOPE","DROP COLLECTION","DROP FUNCTION","DROP INDEX","DROP PRIMARY INDEX","DROP SCOPE","EXECUTE","EXECUTE FUNCTION","EXPLAIN","GRANT","INFER","PREPARE","REVOKE","ROLLBACK TRANSACTION","SAVEPOINT","SET TRANSACTION","UPDATE STATISTICS","UPSERT","LET","SET CURRENT SCHEMA","SHOW","USE [PRIMARY] KEYS"]),ef=R(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),eh=R(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),eD=R(["{ROWS | RANGE | GROUPS} BETWEEN"]),ey={tokenizerOptions:{reservedSelect:e_,reservedClauses:[...eL,...eb],reservedSetOperations:ef,reservedJoins:eh,reservedPhrases:eD,supportsXor:!0,reservedKeywords:eC,reservedFunctionNames:em,stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:eb}},eP=h({all:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARRAY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BFILE_BASE","BINARY","BLOB_BASE","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR","CHAR_BASE","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE","DATE_BASE","DAY","DECIMAL","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DOUBLE","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HAVING","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSERT","INSTANTIABLE","INT","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LONG","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NCHAR","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NUMBER_BASE","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","OR","ORACLE","ORADATA","ORDER","OVERLAPS","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARTITION","PASCAL","PIPE","PIPELINED","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","RECORD","REF","REFERENCE","REM","REMAINDER","RENAME","RESOURCE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELECT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SET","SHARE","SHORT","SIZE","SIZE_T","SOME","SPARSE","SQL","SQLCODE","SQLDATA","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUM","SYNONYM","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSAC","TRANSACTIONAL","TRUSTED","TYPE","UB1","UB2","UB4","UNDER","UNION","UNIQUE","UNSIGNED","UNTRUSTED","UPDATE","USE","USING","VALIST","VALUE","VALUES","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"]}),eM=h({numeric:["ABS","ACOS","ASIN","ATAN","ATAN2","BITAND","CEIL","COS","COSH","EXP","FLOOR","LN","LOG","MOD","NANVL","POWER","REMAINDER","ROUND","SIGN","SIN","SINH","SQRT","TAN","TANH","TRUNC","WIDTH_BUCKET"],character:["CHR","CONCAT","INITCAP","LOWER","LPAD","LTRIM","NLS_INITCAP","NLS_LOWER","NLSSORT","NLS_UPPER","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","RPAD","RTRIM","SOUNDEX","SUBSTR","TRANSLATE","TREAT","TRIM","UPPER","NLS_CHARSET_DECL_LEN","NLS_CHARSET_ID","NLS_CHARSET_NAME","ASCII","INSTR","LENGTH","REGEXP_INSTR"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_TIMESTAMP","DBTIMEZONE","EXTRACT","FROM_TZ","LAST_DAY","LOCALTIMESTAMP","MONTHS_BETWEEN","NEW_TIME","NEXT_DAY","NUMTODSINTERVAL","NUMTOYMINTERVAL","ROUND","SESSIONTIMEZONE","SYS_EXTRACT_UTC","SYSDATE","SYSTIMESTAMP","TO_CHAR","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_DSINTERVAL","TO_YMINTERVAL","TRUNC","TZ_OFFSET"],comparison:["GREATEST","LEAST"],conversion:["ASCIISTR","BIN_TO_NUM","CAST","CHARTOROWID","COMPOSE","CONVERT","DECOMPOSE","HEXTORAW","NUMTODSINTERVAL","NUMTOYMINTERVAL","RAWTOHEX","RAWTONHEX","ROWIDTOCHAR","ROWIDTONCHAR","SCN_TO_TIMESTAMP","TIMESTAMP_TO_SCN","TO_BINARY_DOUBLE","TO_BINARY_FLOAT","TO_CHAR","TO_CLOB","TO_DATE","TO_DSINTERVAL","TO_LOB","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_DSINTERVAL","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_YMINTERVAL","TO_YMINTERVAL","TRANSLATE","UNISTR"],largeObject:["BFILENAME","EMPTY_BLOB,","EMPTY_CLOB"],collection:["CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET"],hierarchical:["SYS_CONNECT_BY_PATH"],dataMining:["CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET"],xml:["APPENDCHILDXML","DELETEXML","DEPTH","EXTRACT","EXISTSNODE","EXTRACTVALUE","INSERTCHILDXML","INSERTXMLBEFORE","PATH","SYS_DBURIGEN","SYS_XMLAGG","SYS_XMLGEN","UPDATEXML","XMLAGG","XMLCDATA","XMLCOLATTVAL","XMLCOMMENT","XMLCONCAT","XMLFOREST","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSEQUENCE","XMLSERIALIZE","XMLTABLE","XMLTRANSFORM"],encoding:["DECODE","DUMP","ORA_HASH","VSIZE"],nullRelated:["COALESCE","LNNVL","NULLIF","NVL","NVL2"],env:["SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV"],aggregate:["AVG","COLLECT","CORR","CORR_S","CORR_K","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","FIRST","GROUP_ID","GROUPING","GROUPING_ID","LAST","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANK","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","STATS_BINOMIAL_TEST","STATS_CROSSTAB","STATS_F_TEST","STATS_KS_TEST","STATS_MODE","STATS_MW_TEST","STATS_ONE_WAY_ANOVA","STATS_T_TEST_ONE","STATS_T_TEST_PAIRED","STATS_T_TEST_INDEP","STATS_T_TEST_INDEPU","STATS_WSR_TEST","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER"],objectReference:["DEREF","MAKE_REF","REF","REFTOHEX","VALUE"],model:["CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],dataTypes:["VARCHAR2","NVARCHAR2","NUMBER","FLOAT","TIMESTAMP","INTERVAL YEAR","INTERVAL DAY","RAW","UROWID","NCHAR","CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NUMERIC","DECIMAL","FLOAT","VARCHAR"]}),eU=R(["SELECT [ALL | DISTINCT | UNIQUE]"]),ev=R(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","INSERT [INTO | ALL INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [THEN]","UPDATE SET","CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE","RETURNING"]),ek=R(["UPDATE [ONLY]","DELETE FROM [ONLY]","DROP TABLE","ALTER TABLE","ADD","DROP {COLUMN | UNUSED COLUMNS | COLUMNS CONTINUE}","MODIFY","RENAME TO","RENAME COLUMN","TRUNCATE TABLE","SET SCHEMA","BEGIN","CONNECT BY","DECLARE","EXCEPT","EXCEPTION","LOOP","START WITH"]),ew=R(["UNION [ALL]","EXCEPT","INTERSECT"]),ex=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),eG=R(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),eF={tokenizerOptions:{reservedSelect:eU,reservedClauses:[...ev,...ek],reservedSetOperations:ew,reservedJoins:ex,reservedPhrases:eG,supportsXor:!0,reservedKeywords:eP,reservedFunctionNames:eM,stringTypes:[{quote:"''-qq",prefixes:["N"]},{quote:"q''",prefixes:["N"]}],identTypes:['""-qq'],identChars:{rest:"$#"},variableTypes:[{regex:"&{1,2}[A-Za-z][A-Za-z0-9_$#]*"}],paramTypes:{numbered:[":"],named:[":"]},paramChars:{},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(e){let t=d;return e.map(e=>T.SET(e)&&T.BY(t)?{...e,type:a.RESERVED_KEYWORD}:(p(e.type)&&(t=e),e))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:ek}},eB=h({math:["ABS","ACOS","ACOSD","ACOSH","ASIN","ASIND","ASINH","ATAN","ATAN2","ATAN2D","ATAND","ATANH","CBRT","CEIL","CEILING","COS","COSD","COSH","COT","COTD","DEGREES","DIV","EXP","FACTORIAL","FLOOR","GCD","LCM","LN","LOG","LOG10","MIN_SCALE","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SCALE","SETSEED","SIGN","SIN","SIND","SINH","SQRT","TAN","TAND","TANH","TRIM_SCALE","TRUNC","WIDTH_BUCKET"],string:["ABS","ASCII","BIT_LENGTH","BTRIM","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CONCAT","CONCAT_WS","FORMAT","INITCAP","LEFT","LENGTH","LOWER","LPAD","LTRIM","MD5","NORMALIZE","OCTET_LENGTH","OVERLAY","PARSE_IDENT","PG_CLIENT_ENCODING","POSITION","QUOTE_IDENT","QUOTE_LITERAL","QUOTE_NULLABLE","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REPEAT","REPLACE","REVERSE","RIGHT","RPAD","RTRIM","SPLIT_PART","SPRINTF","STARTS_WITH","STRING_AGG","STRING_TO_ARRAY","STRING_TO_TABLE","STRPOS","SUBSTR","SUBSTRING","TO_ASCII","TO_HEX","TRANSLATE","TRIM","UNISTR","UPPER"],binary:["BIT_COUNT","BIT_LENGTH","BTRIM","CONVERT","CONVERT_FROM","CONVERT_TO","DECODE","ENCODE","GET_BIT","GET_BYTE","LENGTH","LTRIM","MD5","OCTET_LENGTH","OVERLAY","POSITION","RTRIM","SET_BIT","SET_BYTE","SHA224","SHA256","SHA384","SHA512","STRING_AGG","SUBSTR","SUBSTRING","TRIM"],bitstring:["BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING"],pattern:["REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE"],datatype:["TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP"],datetime:["CLOCK_TIMESTAMP","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_BIN","DATE_PART","DATE_TRUNC","EXTRACT","ISFINITE","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","LOCALTIME","LOCALTIMESTAMP","MAKE_DATE","MAKE_INTERVAL","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","NOW","PG_SLEEP","PG_SLEEP_FOR","PG_SLEEP_UNTIL","STATEMENT_TIMESTAMP","TIMEOFDAY","TO_TIMESTAMP","TRANSACTION_TIMESTAMP"],enum:["ENUM_FIRST","ENUM_LAST","ENUM_RANGE"],geometry:["AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH"],network:["ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TEXT","TRUNC"],textsearch:["ARRAY_TO_TSVECTOR","GET_CURRENT_TS_CONFIG","JSONB_TO_TSVECTOR","JSON_TO_TSVECTOR","LENGTH","NUMNODE","PHRASETO_TSQUERY","PLAINTO_TSQUERY","QUERYTREE","SETWEIGHT","STRIP","TO_TSQUERY","TO_TSVECTOR","TSQUERY_PHRASE","TSVECTOR_TO_ARRAY","TS_DEBUG","TS_DELETE","TS_FILTER","TS_HEADLINE","TS_LEXIZE","TS_PARSE","TS_RANK","TS_RANK_CD","TS_REWRITE","TS_STAT","TS_TOKEN_TYPE","WEBSEARCH_TO_TSQUERY"],uuid:["UUID"],xml:["CURSOR_TO_XML","CURSOR_TO_XMLSCHEMA","DATABASE_TO_XML","DATABASE_TO_XMLSCHEMA","DATABASE_TO_XML_AND_XMLSCHEMA","NEXTVAL","QUERY_TO_XML","QUERY_TO_XMLSCHEMA","QUERY_TO_XML_AND_XMLSCHEMA","SCHEMA_TO_XML","SCHEMA_TO_XMLSCHEMA","SCHEMA_TO_XML_AND_XMLSCHEMA","STRING","TABLE_TO_XML","TABLE_TO_XMLSCHEMA","TABLE_TO_XML_AND_XMLSCHEMA","XMLAGG","XMLCOMMENT","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","XML_IS_WELL_FORMED","XML_IS_WELL_FORMED_CONTENT","XML_IS_WELL_FORMED_DOCUMENT","XPATH","XPATH_EXISTS"],json:["ARRAY_TO_JSON","JSONB_AGG","JSONB_ARRAY_ELEMENTS","JSONB_ARRAY_ELEMENTS_TEXT","JSONB_ARRAY_LENGTH","JSONB_BUILD_ARRAY","JSONB_BUILD_OBJECT","JSONB_EACH","JSONB_EACH_TEXT","JSONB_EXTRACT_PATH","JSONB_EXTRACT_PATH_TEXT","JSONB_INSERT","JSONB_OBJECT","JSONB_OBJECT_AGG","JSONB_OBJECT_KEYS","JSONB_PATH_EXISTS","JSONB_PATH_EXISTS_TZ","JSONB_PATH_MATCH","JSONB_PATH_MATCH_TZ","JSONB_PATH_QUERY","JSONB_PATH_QUERY_ARRAY","JSONB_PATH_QUERY_ARRAY_TZ","JSONB_PATH_QUERY_FIRST","JSONB_PATH_QUERY_FIRST_TZ","JSONB_PATH_QUERY_TZ","JSONB_POPULATE_RECORD","JSONB_POPULATE_RECORDSET","JSONB_PRETTY","JSONB_SET","JSONB_SET_LAX","JSONB_STRIP_NULLS","JSONB_TO_RECORD","JSONB_TO_RECORDSET","JSONB_TYPEOF","JSON_AGG","JSON_ARRAY_ELEMENTS","JSON_ARRAY_ELEMENTS_TEXT","JSON_ARRAY_LENGTH","JSON_BUILD_ARRAY","JSON_BUILD_OBJECT","JSON_EACH","JSON_EACH_TEXT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_OBJECT","JSON_OBJECT_AGG","JSON_OBJECT_KEYS","JSON_POPULATE_RECORD","JSON_POPULATE_RECORDSET","JSON_STRIP_NULLS","JSON_TO_RECORD","JSON_TO_RECORDSET","JSON_TYPEOF","ROW_TO_JSON","TO_JSON","TO_JSONB","TO_TIMESTAMP"],sequence:["CURRVAL","LASTVAL","NEXTVAL","SETVAL"],conditional:["COALESCE","GREATEST","LEAST","NULLIF"],array:["ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_DIMS","ARRAY_FILL","ARRAY_LENGTH","ARRAY_LOWER","ARRAY_NDIMS","ARRAY_POSITION","ARRAY_POSITIONS","ARRAY_PREPEND","ARRAY_REMOVE","ARRAY_REPLACE","ARRAY_TO_STRING","ARRAY_UPPER","CARDINALITY","STRING_TO_ARRAY","TRIM_ARRAY","UNNEST"],range:["ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF"],aggregate:["ARRAY_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COALESCE","CORR","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","EVERY","GROUPING","JSONB_AGG","JSONB_OBJECT_AGG","JSON_AGG","JSON_OBJECT_AGG","MAX","MIN","MODE","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANGE_AGG","RANGE_INTERSECT_AGG","RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","TO_JSON","TO_JSONB","VARIANCE","VAR_POP","VAR_SAMP","XMLAGG"],window:["CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],set:["GENERATE_SERIES","GENERATE_SUBSCRIPTS"],sysInfo:["ACLDEFAULT","ACLEXPLODE","COL_DESCRIPTION","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","FORMAT_TYPE","HAS_ANY_COLUMN_PRIVILEGE","HAS_COLUMN_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE","HAS_FUNCTION_PRIVILEGE","HAS_LANGUAGE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_SEQUENCE_PRIVILEGE","HAS_SERVER_PRIVILEGE","HAS_TABLESPACE_PRIVILEGE","HAS_TABLE_PRIVILEGE","HAS_TYPE_PRIVILEGE","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","MAKEACLITEM","OBJ_DESCRIPTION","PG_BACKEND_PID","PG_BLOCKING_PIDS","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONTROL_CHECKPOINT","PG_CONTROL_INIT","PG_CONTROL_SYSTEM","PG_CONVERSION_IS_VISIBLE","PG_CURRENT_LOGFILE","PG_CURRENT_SNAPSHOT","PG_CURRENT_XACT_ID","PG_CURRENT_XACT_ID_IF_ASSIGNED","PG_DESCRIBE_OBJECT","PG_FUNCTION_IS_VISIBLE","PG_GET_CATALOG_FOREIGN_KEYS","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_FUNCTIONDEF","PG_GET_FUNCTION_ARGUMENTS","PG_GET_FUNCTION_IDENTITY_ARGUMENTS","PG_GET_FUNCTION_RESULT","PG_GET_INDEXDEF","PG_GET_KEYWORDS","PG_GET_OBJECT_ADDRESS","PG_GET_OWNED_SEQUENCE","PG_GET_RULEDEF","PG_GET_SERIAL_SEQUENCE","PG_GET_STATISTICSOBJDEF","PG_GET_TRIGGERDEF","PG_GET_USERBYID","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IDENTIFY_OBJECT","PG_IDENTIFY_OBJECT_AS_ADDRESS","PG_INDEXAM_HAS_PROPERTY","PG_INDEX_COLUMN_HAS_PROPERTY","PG_INDEX_HAS_PROPERTY","PG_IS_OTHER_TEMP_SCHEMA","PG_JIT_AVAILABLE","PG_LAST_COMMITTED_XACT","PG_LISTENING_CHANNELS","PG_MY_TEMP_SCHEMA","PG_NOTIFICATION_QUEUE_USAGE","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_OPTIONS_TO_TABLE","PG_POSTMASTER_START_TIME","PG_SAFE_SNAPSHOT_BLOCKING_PIDS","PG_SNAPSHOT_XIP","PG_SNAPSHOT_XMAX","PG_SNAPSHOT_XMIN","PG_STATISTICS_OBJ_IS_VISIBLE","PG_TABLESPACE_DATABASES","PG_TABLESPACE_LOCATION","PG_TABLE_IS_VISIBLE","PG_TRIGGER_DEPTH","PG_TS_CONFIG_IS_VISIBLE","PG_TS_DICT_IS_VISIBLE","PG_TS_PARSER_IS_VISIBLE","PG_TS_TEMPLATE_IS_VISIBLE","PG_TYPEOF","PG_TYPE_IS_VISIBLE","PG_VISIBLE_IN_SNAPSHOT","PG_XACT_COMMIT_TIMESTAMP","PG_XACT_COMMIT_TIMESTAMP_ORIGIN","PG_XACT_STATUS","PQSERVERVERSION","ROW_SECURITY_ACTIVE","SESSION_USER","SHOBJ_DESCRIPTION","TO_REGCLASS","TO_REGCOLLATION","TO_REGNAMESPACE","TO_REGOPER","TO_REGOPERATOR","TO_REGPROC","TO_REGPROCEDURE","TO_REGROLE","TO_REGTYPE","TXID_CURRENT","TXID_CURRENT_IF_ASSIGNED","TXID_CURRENT_SNAPSHOT","TXID_SNAPSHOT_XIP","TXID_SNAPSHOT_XMAX","TXID_SNAPSHOT_XMIN","TXID_STATUS","TXID_VISIBLE_IN_SNAPSHOT","USER","VERSION"],sysAdmin:["BRIN_DESUMMARIZE_RANGE","BRIN_SUMMARIZE_NEW_VALUES","BRIN_SUMMARIZE_RANGE","CONVERT_FROM","CURRENT_SETTING","GIN_CLEAN_PENDING_LIST","PG_ADVISORY_LOCK","PG_ADVISORY_LOCK_SHARED","PG_ADVISORY_UNLOCK","PG_ADVISORY_UNLOCK_ALL","PG_ADVISORY_UNLOCK_SHARED","PG_ADVISORY_XACT_LOCK","PG_ADVISORY_XACT_LOCK_SHARED","PG_BACKUP_START_TIME","PG_CANCEL_BACKEND","PG_COLLATION_ACTUAL_VERSION","PG_COLUMN_COMPRESSION","PG_COLUMN_SIZE","PG_COPY_LOGICAL_REPLICATION_SLOT","PG_COPY_PHYSICAL_REPLICATION_SLOT","PG_CREATE_LOGICAL_REPLICATION_SLOT","PG_CREATE_PHYSICAL_REPLICATION_SLOT","PG_CREATE_RESTORE_POINT","PG_CURRENT_WAL_FLUSH_LSN","PG_CURRENT_WAL_INSERT_LSN","PG_CURRENT_WAL_LSN","PG_DATABASE_SIZE","PG_DROP_REPLICATION_SLOT","PG_EXPORT_SNAPSHOT","PG_FILENODE_RELATION","PG_GET_WAL_REPLAY_PAUSE_STATE","PG_IMPORT_SYSTEM_COLLATIONS","PG_INDEXES_SIZE","PG_IS_IN_BACKUP","PG_IS_IN_RECOVERY","PG_IS_WAL_REPLAY_PAUSED","PG_LAST_WAL_RECEIVE_LSN","PG_LAST_WAL_REPLAY_LSN","PG_LAST_XACT_REPLAY_TIMESTAMP","PG_LOGICAL_EMIT_MESSAGE","PG_LOGICAL_SLOT_GET_BINARY_CHANGES","PG_LOGICAL_SLOT_GET_CHANGES","PG_LOGICAL_SLOT_PEEK_BINARY_CHANGES","PG_LOGICAL_SLOT_PEEK_CHANGES","PG_LOG_BACKEND_MEMORY_CONTEXTS","PG_LS_ARCHIVE_STATUSDIR","PG_LS_DIR","PG_LS_LOGDIR","PG_LS_TMPDIR","PG_LS_WALDIR","PG_PARTITION_ANCESTORS","PG_PARTITION_ROOT","PG_PARTITION_TREE","PG_PROMOTE","PG_READ_BINARY_FILE","PG_READ_FILE","PG_RELATION_FILENODE","PG_RELATION_FILEPATH","PG_RELATION_SIZE","PG_RELOAD_CONF","PG_REPLICATION_ORIGIN_ADVANCE","PG_REPLICATION_ORIGIN_CREATE","PG_REPLICATION_ORIGIN_DROP","PG_REPLICATION_ORIGIN_OID","PG_REPLICATION_ORIGIN_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_IS_SETUP","PG_REPLICATION_ORIGIN_SESSION_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_RESET","PG_REPLICATION_ORIGIN_SESSION_SETUP","PG_REPLICATION_ORIGIN_XACT_RESET","PG_REPLICATION_ORIGIN_XACT_SETUP","PG_REPLICATION_SLOT_ADVANCE","PG_ROTATE_LOGFILE","PG_SIZE_BYTES","PG_SIZE_PRETTY","PG_START_BACKUP","PG_STAT_FILE","PG_STOP_BACKUP","PG_SWITCH_WAL","PG_TABLESPACE_SIZE","PG_TABLE_SIZE","PG_TERMINATE_BACKEND","PG_TOTAL_RELATION_SIZE","PG_TRY_ADVISORY_LOCK","PG_TRY_ADVISORY_LOCK_SHARED","PG_TRY_ADVISORY_XACT_LOCK","PG_TRY_ADVISORY_XACT_LOCK_SHARED","PG_WALFILE_NAME","PG_WALFILE_NAME_OFFSET","PG_WAL_LSN_DIFF","PG_WAL_REPLAY_PAUSE","PG_WAL_REPLAY_RESUME","SET_CONFIG"],trigger:["SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN"],eventTrigger:["PG_EVENT_TRIGGER_DDL_COMMANDS","PG_EVENT_TRIGGER_DROPPED_OBJECTS","PG_EVENT_TRIGGER_TABLE_REWRITE_OID","PG_EVENT_TRIGGER_TABLE_REWRITE_REASON","PG_GET_OBJECT_ADDRESS"],stats:["PG_MCV_LIST_ITEMS"],cast:["CAST"],dataTypes:["BIT","BIT VARYING","CHARACTER","CHARACTER VARYING","VARCHAR","CHAR","DECIMAL","NUMERIC","TIME","TIMESTAMP","ENUM"]}),eH=h({all:["ABORT","ABSOLUTE","ACCESS","ACTION","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTACH","ATTRIBUTE","AUTHORIZATION","BACKWARD","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BIT","BOOLEAN","BOTH","BREADTH","BY","CACHE","CALL","CALLED","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHECK","CHECKPOINT","CLASS","CLOSE","CLUSTER","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMENTS","COMMIT","COMMITTED","COMPRESSION","CONCURRENTLY","CONFIGURATION","CONFLICT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTENT","CONTINUE","CONVERSION","COPY","COST","CREATE","CROSS","CSV","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINER","DELETE","DELIMITER","DELIMITERS","DEPENDS","DEPTH","DESC","DETACH","DICTIONARY","DISABLE","DISCARD","DISTINCT","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","EACH","ELSE","ENABLE","ENCODING","ENCRYPTED","END","ENUM","ESCAPE","EVENT","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILTER","FINALIZE","FIRST","FLOAT","FOLLOWING","FOR","FORCE","FOREIGN","FORWARD","FREEZE","FROM","FULL","FUNCTION","FUNCTIONS","GENERATED","GLOBAL","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HOLD","HOUR","IDENTITY","IF","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDE","INCLUDING","INCREMENT","INDEX","INDEXES","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","KEY","LABEL","LANGUAGE","LARGE","LAST","LATERAL","LEADING","LEAKPROOF","LEAST","LEFT","LEVEL","LIKE","LIMIT","LISTEN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LOCKED","LOGGED","MAPPING","MATCH","MATERIALIZED","MAXVALUE","METHOD","MINUTE","MINVALUE","MODE","MONTH","MOVE","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NEW","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NULL","NULLIF","NULLS","NUMERIC","OBJECT","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","PARALLEL","PARSER","PARTIAL","PARTITION","PASSING","PASSWORD","PLACING","PLANS","POLICY","POSITION","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROGRAM","PUBLICATION","QUOTE","RANGE","READ","REAL","REASSIGN","RECHECK","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","RESET","RESTART","RESTRICT","RETURN","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINES","ROW","ROWS","RULE","SAVEPOINT","SCHEMA","SCHEMAS","SCROLL","SEARCH","SECOND","SECURITY","SELECT","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SKIP","SMALLINT","SNAPSHOT","SOME","SQL","STABLE","STANDALONE","START","STATEMENT","STATISTICS","STDIN","STDOUT","STORAGE","STORED","STRICT","STRIP","SUBSCRIPTION","SUBSTRING","SUPPORT","SYMMETRIC","SYSID","SYSTEM","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRANSFORM","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLISTEN","UNLOGGED","UNTIL","UPDATE","USER","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARCHAR","VARIADIC","VARYING","VERBOSE","VERSION","VIEW","VIEWS","VOLATILE","WHEN","WHERE","WHITESPACE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLATTRIBUTES","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","YEAR","YES","ZONE"]}),eY=R(["SELECT [ALL | DISTINCT]"]),eV=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR {UPDATE | NO KEY UPDATE | SHARE | KEY SHARE} [OF]","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]","RETURNING"]),eW=R(["UPDATE [ONLY]","WHERE CURRENT OF","ON CONFLICT","DELETE FROM [ONLY]","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS] [ONLY]","ALTER TABLE ALL IN TABLESPACE","RENAME [COLUMN]","RENAME TO","ADD [COLUMN] [IF NOT EXISTS]","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","[SET DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","TRUNCATE [TABLE] [ONLY]","SET SCHEMA","AFTER","ABORT","ALTER AGGREGATE","ALTER COLLATION","ALTER CONVERSION","ALTER DATABASE","ALTER DEFAULT PRIVILEGES","ALTER DOMAIN","ALTER EVENT TRIGGER","ALTER EXTENSION","ALTER FOREIGN DATA WRAPPER","ALTER FOREIGN TABLE","ALTER FUNCTION","ALTER GROUP","ALTER INDEX","ALTER LANGUAGE","ALTER LARGE OBJECT","ALTER MATERIALIZED VIEW","ALTER OPERATOR","ALTER OPERATOR CLASS","ALTER OPERATOR FAMILY","ALTER POLICY","ALTER PROCEDURE","ALTER PUBLICATION","ALTER ROLE","ALTER ROUTINE","ALTER RULE","ALTER SCHEMA","ALTER SEQUENCE","ALTER SERVER","ALTER STATISTICS","ALTER SUBSCRIPTION","ALTER SYSTEM","ALTER TABLESPACE","ALTER TEXT SEARCH CONFIGURATION","ALTER TEXT SEARCH DICTIONARY","ALTER TEXT SEARCH PARSER","ALTER TEXT SEARCH TEMPLATE","ALTER TRIGGER","ALTER TYPE","ALTER USER","ALTER USER MAPPING","ALTER VIEW","ANALYZE","BEGIN","CALL","CHECKPOINT","CLOSE","CLUSTER","COMMENT","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE FUNCTION","CREATE GROUP","CREATE INDEX","CREATE LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE RULE","CREATE SCHEMA","CREATE SEQUENCE","CREATE SERVER","CREATE STATISTICS","CREATE SUBSCRIPTION","CREATE TABLESPACE","CREATE TEXT SEARCH CONFIGURATION","CREATE TEXT SEARCH DICTIONARY","CREATE TEXT SEARCH PARSER","CREATE TEXT SEARCH TEMPLATE","CREATE TRANSFORM","CREATE TRIGGER","CREATE TYPE","CREATE USER","CREATE USER MAPPING","DEALLOCATE","DECLARE","DISCARD","DROP ACCESS METHOD","DROP AGGREGATE","DROP CAST","DROP COLLATION","DROP CONVERSION","DROP DATABASE","DROP DOMAIN","DROP EVENT TRIGGER","DROP EXTENSION","DROP FOREIGN DATA WRAPPER","DROP FOREIGN TABLE","DROP FUNCTION","DROP GROUP","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW","DROP OPERATOR","DROP OPERATOR CLASS","DROP OPERATOR FAMILY","DROP OWNED","DROP POLICY","DROP PROCEDURE","DROP PUBLICATION","DROP ROLE","DROP ROUTINE","DROP RULE","DROP SCHEMA","DROP SEQUENCE","DROP SERVER","DROP STATISTICS","DROP SUBSCRIPTION","DROP TABLESPACE","DROP TEXT SEARCH CONFIGURATION","DROP TEXT SEARCH DICTIONARY","DROP TEXT SEARCH PARSER","DROP TEXT SEARCH TEMPLATE","DROP TRANSFORM","DROP TRIGGER","DROP TYPE","DROP USER","DROP USER MAPPING","DROP VIEW","EXECUTE","EXPLAIN","FETCH","GRANT","IMPORT FOREIGN SCHEMA","LISTEN","LOAD","LOCK","MOVE","NOTIFY","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET","REVOKE","ROLLBACK","ROLLBACK PREPARED","ROLLBACK TO SAVEPOINT","SAVEPOINT","SECURITY LABEL","SELECT INTO","SET CONSTRAINTS","SET ROLE","SET SESSION AUTHORIZATION","SET TRANSACTION","SHOW","START TRANSACTION","UNLISTEN","VACUUM"]),e$=R(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eK=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),eX=R(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","{TIMESTAMP | TIME} {WITH | WITHOUT} TIME ZONE","IS [NOT] DISTINCT FROM"]),ez={tokenizerOptions:{reservedSelect:eY,reservedClauses:[...eV,...eW],reservedSetOperations:e$,reservedJoins:eK,reservedPhrases:eX,reservedKeywords:eH,reservedFunctionNames:eB,nestedBlockComments:!0,extraParens:["[]"],stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eW}},eZ=h({aggregate:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],array:["array","array_concat","array_flatten","get_array_length","split_to_array","subarray"],bitwise:["BIT_AND","BIT_OR","BOOL_AND","BOOL_OR"],conditional:["COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF"],dateTime:["ADD_MONTHS","AT TIME ZONE","CONVERT_TIMEZONE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_CMP","DATE_CMP_TIMESTAMP","DATE_CMP_TIMESTAMPTZ","DATE_PART_YEAR","DATEADD","DATEDIFF","DATE_PART","DATE_TRUNC","EXTRACT","GETDATE","INTERVAL_CMP","LAST_DAY","MONTHS_BETWEEN","NEXT_DAY","SYSDATE","TIMEOFDAY","TIMESTAMP_CMP","TIMESTAMP_CMP_DATE","TIMESTAMP_CMP_TIMESTAMPTZ","TIMESTAMPTZ_CMP","TIMESTAMPTZ_CMP_DATE","TIMESTAMPTZ_CMP_TIMESTAMP","TIMEZONE","TO_TIMESTAMP","TRUNC"],spatial:["AddBBox","DropBBox","GeometryType","ST_AddPoint","ST_Angle","ST_Area","ST_AsBinary","ST_AsEWKB","ST_AsEWKT","ST_AsGeoJSON","ST_AsText","ST_Azimuth","ST_Boundary","ST_Collect","ST_Contains","ST_ContainsProperly","ST_ConvexHull","ST_CoveredBy","ST_Covers","ST_Crosses","ST_Dimension","ST_Disjoint","ST_Distance","ST_DistanceSphere","ST_DWithin","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_Force2D","ST_Force3D","ST_Force3DM","ST_Force3DZ","ST_Force4D","ST_GeometryN","ST_GeometryType","ST_GeomFromEWKB","ST_GeomFromEWKT","ST_GeomFromText","ST_GeomFromWKB","ST_InteriorRingN","ST_Intersects","ST_IsPolygonCCW","ST_IsPolygonCW","ST_IsClosed","ST_IsCollection","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_Length","ST_LengthSphere","ST_Length2D","ST_LineFromMultiPoint","ST_LineInterpolatePoint","ST_M","ST_MakeEnvelope","ST_MakeLine","ST_MakePoint","ST_MakePolygon","ST_MemSize","ST_MMax","ST_MMin","ST_Multi","ST_NDims","ST_NPoints","ST_NRings","ST_NumGeometries","ST_NumInteriorRings","ST_NumPoints","ST_Perimeter","ST_Perimeter2D","ST_Point","ST_PointN","ST_Points","ST_Polygon","ST_RemovePoint","ST_Reverse","ST_SetPoint","ST_SetSRID","ST_Simplify","ST_SRID","ST_StartPoint","ST_Touches","ST_Within","ST_X","ST_XMax","ST_XMin","ST_Y","ST_YMax","ST_YMin","ST_Z","ST_ZMax","ST_ZMin","SupportsBBox"],hash:["CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2"],hyperLogLog:["HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE"],json:["IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE"],math:["ABS","ACOS","ASIN","ATAN","ATAN2","CBRT","CEILING","CEIL","COS","COT","DEGREES","DEXP","DLOG1","DLOG10","EXP","FLOOR","LN","LOG","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SIN","SIGN","SQRT","TAN","TO_HEX","TRUNC"],machineLearning:["EXPLAIN_MODEL"],string:["ASCII","BPCHARCMP","BTRIM","BTTEXT_PATTERN_CMP","CHAR_LENGTH","CHARACTER_LENGTH","CHARINDEX","CHR","COLLATE","CONCAT","CRC32","DIFFERENCE","INITCAP","LEFT","RIGHT","LEN","LENGTH","LOWER","LPAD","RPAD","LTRIM","OCTETINDEX","OCTET_LENGTH","POSITION","QUOTE_IDENT","QUOTE_LITERAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","REPLICATE","REVERSE","RTRIM","SOUNDEX","SPLIT_PART","STRPOS","STRTOL","SUBSTRING","TEXTLEN","TRANSLATE","TRIM","UPPER"],superType:["decimal_precision","decimal_scale","is_array","is_bigint","is_boolean","is_char","is_decimal","is_float","is_integer","is_object","is_scalar","is_smallint","is_varchar","json_typeof"],window:["AVG","COUNT","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAST_VALUE","LAG","LEAD","LISTAGG","MAX","MEDIAN","MIN","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],dataType:["CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT"],sysAdmin:["CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG"],sysInfo:["CURRENT_AWS_ACCOUNT","CURRENT_DATABASE","CURRENT_NAMESPACE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","CURRENT_USER_ID","HAS_ASSUMEROLE_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_TABLE_PRIVILEGE","PG_BACKEND_PID","PG_GET_COLS","PG_GET_GRANTEE_BY_IAM_ROLE","PG_GET_IAM_ROLE_BY_USER","PG_GET_LATE_BINDING_VIEW_COLS","PG_LAST_COPY_COUNT","PG_LAST_COPY_ID","PG_LAST_UNLOAD_ID","PG_LAST_QUERY_ID","PG_LAST_UNLOAD_COUNT","SESSION_USER","SLICE_NUM","USER","VERSION"],dataTypes:["DECIMAL","NUMERIC","CHAR","CHARACTER","VARCHAR","CHARACTER VARYING","NCHAR","NVARCHAR","VARBYTE"]}),ej=h({standard:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BOTH","CHECK","COLUMN","CONSTRAINT","CREATE","CROSS","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DESC","DISABLE","DISTINCT","DO","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GROUP","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTO","IS","ISNULL","LANGUAGE","LEADING","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","MINUS","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RECOVER","REFERENCES","REJECTLOG","RESORT","RESPECT","RESTORE","SIMILAR","SNAPSHOT","SOME","SYSTEM","TABLE","TAG","TDES","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","UNIQUE","USING","VERBOSE","WALLET","WITHOUT"],dataConversionParams:["ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS"],dataLoadParams:["COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE"],dataFormatParams:["FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC"],copyAuthParams:["ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN"],copyCompressionParams:["BZIP2","GZIP","LZOP","ZSTD"],copyMiscParams:["MANIFEST","READRATIO","REGION","SSH"],compressionEncodings:["RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K"],misc:["CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],dataTypes:["BPCHAR","TEXT"]}),eq=R(["SELECT [ALL | DISTINCT]"]),eJ=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","CREATE [OR REPLACE | MATERIALIZED] VIEW","CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),eQ=R(["UPDATE","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ALTER TABLE APPEND","ADD [COLUMN]","DROP [COLUMN]","RENAME TO","RENAME COLUMN","ALTER COLUMN","TYPE","ENCODE","TRUNCATE [TABLE]","ABORT","ALTER DATABASE","ALTER DATASHARE","ALTER DEFAULT PRIVILEGES","ALTER GROUP","ALTER MATERIALIZED VIEW","ALTER PROCEDURE","ALTER SCHEMA","ALTER USER","ANALYSE","ANALYZE","ANALYSE COMPRESSION","ANALYZE COMPRESSION","BEGIN","CALL","CANCEL","CLOSE","COMMENT","COMMIT","COPY","CREATE DATABASE","CREATE DATASHARE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL SCHEMA","CREATE EXTERNAL TABLE","CREATE FUNCTION","CREATE GROUP","CREATE LIBRARY","CREATE MODEL","CREATE PROCEDURE","CREATE SCHEMA","CREATE USER","DEALLOCATE","DECLARE","DESC DATASHARE","DROP DATABASE","DROP DATASHARE","DROP FUNCTION","DROP GROUP","DROP LIBRARY","DROP MODEL","DROP MATERIALIZED VIEW","DROP PROCEDURE","DROP SCHEMA","DROP USER","DROP VIEW","DROP","EXECUTE","EXPLAIN","FETCH","GRANT","LOCK","PREPARE","REFRESH MATERIALIZED VIEW","RESET","REVOKE","ROLLBACK","SELECT INTO","SET SESSION AUTHORIZATION","SET SESSION CHARACTERISTICS","SHOW","SHOW EXTERNAL TABLE","SHOW MODEL","SHOW DATASHARES","SHOW PROCEDURE","SHOW TABLE","SHOW VIEW","START TRANSACTION","UNLOAD","VACUUM"]),e0=R(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),e1=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),e2=R(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),e3={tokenizerOptions:{reservedSelect:eq,reservedClauses:[...eJ,...eQ],reservedSetOperations:e0,reservedJoins:e1,reservedPhrases:e2,reservedKeywords:ej,reservedFunctionNames:eZ,stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eQ}},e4=h({all:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","ARRAY","AS","ASC","AT","AUTHORIZATION","BETWEEN","BOTH","BUCKET","BUCKETS","BY","CACHE","CASCADE","CAST","CHANGE","CHECK","CLEAR","CLUSTER","CLUSTERED","CODEGEN","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONSTRAINT","COST","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATA","DATABASE","DATABASES","DAY","DBPROPERTIES","DEFINED","DELETE","DELIMITED","DESC","DESCRIBE","DFS","DIRECTORIES","DIRECTORY","DISTINCT","DISTRIBUTE","DIV","DROP","ESCAPE","ESCAPED","EXCEPT","EXCHANGE","EXISTS","EXPORT","EXTENDED","EXTERNAL","EXTRACT","FALSE","FETCH","FIELDS","FILTER","FILEFORMAT","FIRST","FIRST_VALUE","FOLLOWING","FOR","FOREIGN","FORMAT","FORMATTED","FULL","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GROUP","GROUPING","HOUR","IF","IGNORE","IMPORT","IN","INDEX","INDEXES","INNER","INPATH","INPUTFORMAT","INTERSECT","INTERVAL","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","MAP","MATCHED","MERGE","MINUTE","MONTH","MSCK","NAMESPACE","NAMESPACES","NATURAL","NO","NOT","NULL","NULLS","OF","ONLY","OPTION","OPTIONS","OR","ORDER","OUT","OUTER","OUTPUTFORMAT","OVER","OVERLAPS","OVERLAY","OVERWRITE","OWNER","PARTITION","PARTITIONED","PARTITIONS","PERCENT","PLACING","POSITION","PRECEDING","PRIMARY","PRINCIPALS","PROPERTIES","PURGE","QUERY","RANGE","RECORDREADER","RECORDWRITER","RECOVER","REDUCE","REFERENCES","RENAME","REPAIR","REPLACE","RESPECT","RESTRICT","REVOKE","RIGHT","RLIKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","SCHEMA","SECOND","SELECT","SEMI","SEPARATED","SERDE","SERDEPROPERTIES","SESSION_USER","SETS","SHOW","SKEWED","SOME","SORT","SORTED","START","STATISTICS","STORED","STRATIFY","STRUCT","SUBSTR","SUBSTRING","TABLE","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","THEN","TO","TOUCH","TRAILING","TRANSACTION","TRANSACTIONS","TRIM","TRUE","TRUNCATE","UNARCHIVE","UNBOUNDED","UNCACHE","UNIQUE","UNKNOWN","UNLOCK","UNSET","USE","USER","USING","VIEW","WINDOW","YEAR","ANALYSE","ARRAY_ZIP","COALESCE","CONTAINS","CONVERT","DAYS","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DECODE","DEFAULT","DISTINCTROW","ENCODE","EXPLODE","EXPLODE_OUTER","FIXED","GREATEST","GROUP_CONCAT","HOURS","HOUR_MINUTE","HOUR_SECOND","IFNULL","LEAST","LEVEL","MINUTE_SECOND","NULLIF","OFFSET","ON","OPTIMIZE","REGEXP","SEPARATOR","SIZE","STRING","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"]}),e6=h({aggregate:["APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COUNT","COUNT","COUNT_IF","COUNT_MIN_SKETCH","COVAR_POP","COVAR_SAMP","EVERY","FIRST","FIRST_VALUE","GROUPING","GROUPING_ID","KURTOSIS","LAST","LAST_VALUE","MAX","MAX_BY","MEAN","MIN","MIN_BY","PERCENTILE","PERCENTILE","PERCENTILE_APPROX","SKEWNESS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],array:["ARRAY","ARRAY_CONTAINS","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_UNION","ARRAYS_OVERLAP","ARRAYS_ZIP","FLATTEN","SEQUENCE","SHUFFLE","SLICE","SORT_ARRAY"],map:["ELEMENT_AT","ELEMENT_AT","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_DATE","CURRENT_TIMESTAMP","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","DATE_ADD","DATE_FORMAT","DATE_FROM_UNIX_DATE","DATE_PART","DATE_SUB","DATE_TRUNC","DATEDIFF","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MAKE_DATE","MAKE_DT_INTERVAL","MAKE_INTERVAL","MAKE_TIMESTAMP","MAKE_YM_INTERVAL","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","NOW","QUARTER","SECOND","SESSION_WINDOW","TIMESTAMP_MICROS","TIMESTAMP_MILLIS","TIMESTAMP_SECONDS","TO_DATE","TO_TIMESTAMP","TO_UNIX_TIMESTAMP","TO_UTC_TIMESTAMP","TRUNC","UNIX_DATE","UNIX_MICROS","UNIX_MILLIS","UNIX_SECONDS","UNIX_TIMESTAMP","WEEKDAY","WEEKOFYEAR","WINDOW","YEAR"],json:["FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON"],misc:["ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIGINT","BIN","BINARY","BIT_COUNT","BIT_GET","BIT_LENGTH","BOOLEAN","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DATE","DECIMAL","DEGREES","DOUBLE","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","FLOAT","FLOOR","FORALL","FORMAT_NUMBER","FORMAT_STRING","FROM_CSV","GETBIT","HASH","HEX","HYPOT","INITCAP","INLINE","INLINE_OUTER","INPUT_FILE_BLOCK_LENGTH","INPUT_FILE_BLOCK_START","INPUT_FILE_NAME","INSTR","INT","ISNAN","ISNOTNULL","ISNULL","JAVA_METHOD","LCASE","LEFT","LENGTH","LEVENSHTEIN","LN","LOCATE","LOG","LOG10","LOG1P","LOG2","LOWER","LPAD","LTRIM","MAP_FILTER","MAP_ZIP_WITH","MD5","MOD","MONOTONICALLY_INCREASING_ID","NAMED_STRUCT","NANVL","NEGATIVE","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARSE_URL","PI","PMOD","POSEXPLODE","POSEXPLODE_OUTER","POSITION","POSITIVE","POW","POWER","PRINTF","RADIANS","RAISE_ERROR","RAND","RANDN","RANDOM","REFLECT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_REPLACE","REPEAT","REPLACE","REVERSE","RIGHT","RINT","ROUND","RPAD","RTRIM","SCHEMA_OF_CSV","SENTENCES","SHA","SHA1","SHA2","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIGNUM","SIN","SINH","SMALLINT","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","TIMESTAMP","TINYINT","TO_CSV","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRY_ADD","TRY_DIVIDE","TYPEOF","UCASE","UNBASE64","UNHEX","UPPER","UUID","VERSION","WIDTH_BUCKET","XPATH","XPATH_BOOLEAN","XPATH_DOUBLE","XPATH_FLOAT","XPATH_INT","XPATH_LONG","XPATH_NUMBER","XPATH_SHORT","XPATH_STRING","XXHASH64","ZIP_WITH"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","DEC","NUMERIC","VARCHAR"]}),e8=R(["SELECT [ALL | DISTINCT]"]),e5=R(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT [INTO | OVERWRITE] [TABLE]","VALUES","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),e9=R(["DROP TABLE [IF EXISTS]","ALTER TABLE","ADD COLUMNS","DROP {COLUMN | COLUMNS}","RENAME TO","RENAME COLUMN","ALTER COLUMN","TRUNCATE TABLE","LATERAL VIEW","ALTER DATABASE","ALTER VIEW","CREATE DATABASE","CREATE FUNCTION","DROP DATABASE","DROP FUNCTION","DROP VIEW","REPAIR TABLE","USE DATABASE","TABLESAMPLE","PIVOT","TRANSFORM","EXPLAIN","ADD FILE","ADD JAR","ANALYZE TABLE","CACHE TABLE","CLEAR CACHE","DESCRIBE DATABASE","DESCRIBE FUNCTION","DESCRIBE QUERY","DESCRIBE TABLE","LIST FILE","LIST JAR","REFRESH","REFRESH TABLE","REFRESH FUNCTION","RESET","SHOW COLUMNS","SHOW CREATE TABLE","SHOW DATABASES","SHOW FUNCTIONS","SHOW PARTITIONS","SHOW TABLE EXTENDED","SHOW TABLES","SHOW TBLPROPERTIES","SHOW VIEWS","UNCACHE TABLE"]),e7=R(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),te=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT] {ANTI | SEMI} JOIN","NATURAL [LEFT] {ANTI | SEMI} JOIN"]),tt=R(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),tn={tokenizerOptions:{reservedSelect:e8,reservedClauses:[...e5,...e9],reservedSetOperations:e7,reservedJoins:te,reservedPhrases:tt,supportsXor:!0,reservedKeywords:e4,reservedFunctionNames:e6,extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(e){return e.map((t,n)=>{let r=e[n-1]||d,i=e[n+1]||d;return T.WINDOW(t)&&i.type===a.OPEN_PAREN?{...t,type:a.RESERVED_FUNCTION_NAME}:"ITEMS"!==t.text||t.type!==a.RESERVED_KEYWORD||"COLLECTION"===r.text&&"TERMINATED"===i.text?t:{...t,type:a.IDENTIFIER,text:t.raw}})}},formatOptions:{onelineClauses:e9}},ta=h({scalar:["ABS","CHANGES","CHAR","COALESCE","FORMAT","GLOB","HEX","IFNULL","IIF","INSTR","LAST_INSERT_ROWID","LENGTH","LIKE","LIKELIHOOD","LIKELY","LOAD_EXTENSION","LOWER","LTRIM","NULLIF","PRINTF","QUOTE","RANDOM","RANDOMBLOB","REPLACE","ROUND","RTRIM","SIGN","SOUNDEX","SQLITE_COMPILEOPTION_GET","SQLITE_COMPILEOPTION_USED","SQLITE_OFFSET","SQLITE_SOURCE_ID","SQLITE_VERSION","SUBSTR","SUBSTRING","TOTAL_CHANGES","TRIM","TYPEOF","UNICODE","UNLIKELY","UPPER","ZEROBLOB"],aggregate:["AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL"],datetime:["DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME"],window:["row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value"],math:["ACOS","ACOSH","ASIN","ASINH","ATAN","ATAN2","ATANH","CEIL","CEILING","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG","LOG10","LOG2","MOD","PI","POW","POWER","RADIANS","SIN","SINH","SQRT","TAN","TANH","TRUNC"],json:["JSON","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_ARRAY_LENGTH","JSON_EXTRACT","JSON_INSERT","JSON_OBJECT","JSON_PATCH","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_TYPE","JSON_TYPE","JSON_VALID","JSON_QUOTE","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_EACH","JSON_TREE"],cast:["CAST"],dataTypes:["CHARACTER","VARCHAR","VARYING CHARACTER","NCHAR","NATIVE CHARACTER","NVARCHAR","NUMERIC","DECIMAL"]}),tr=h({all:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ANY","ARE","ARRAY","ALWAYS","ANALYZE","AS","ASC","ATTACH","AUTOINCREMENT","BEFORE","BEGIN","BETWEEN","BY","CASCADE","CASE","CAST","CHECK","COLLATE","COLUMN","COMMIT","CONFLICT","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATABASE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DETACH","DISTINCT","DO","DROP","EACH","ELSE","END","ESCAPE","EXCEPT","EXCLUDE","EXCLUSIVE","EXISTS","EXPLAIN","FAIL","FILTER","FIRST","FOLLOWING","FOR","FOREIGN","FROM","FULL","GENERATED","GLOB","GROUP","GROUPS","HAVING","IF","IGNORE","IMMEDIATE","IN","INDEX","INDEXED","INITIALLY","INNER","INSERT","INSTEAD","INTERSECT","INTO","IS","ISNULL","JOIN","KEY","LAST","LEFT","LIKE","LIMIT","MATCH","MATERIALIZED","NATURAL","NO","NOT","NOTHING","NOTNULL","NULL","NULLS","OF","OFFSET","ON","ONLY","OPEN","OR","ORDER","OTHERS","OUTER","OVER","PARTITION","PLAN","PRAGMA","PRECEDING","PRIMARY","QUERY","RAISE","RANGE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELEASE","RENAME","REPLACE","RESTRICT","RETURNING","RIGHT","ROLLBACK","ROW","ROWS","SAVEPOINT","SELECT","SET","TABLE","TEMP","TEMPORARY","THEN","TIES","TO","TRANSACTION","TRIGGER","UNBOUNDED","UNION","UNIQUE","UPDATE","USING","VACUUM","VALUES","VIEW","VIRTUAL","WHEN","WHERE","WINDOW","WITH","WITHOUT"]}),ti=R(["SELECT [ALL | DISTINCT]"]),to=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK] INTO","REPLACE INTO","VALUES","SET","CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ts=R(["UPDATE [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK]","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","RENAME TO","SET SCHEMA"]),tl=R(["UNION [ALL]","EXCEPT","INTERSECT"]),tE=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tc=R(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN"]),td={tokenizerOptions:{reservedSelect:ti,reservedClauses:[...to,...ts],reservedSetOperations:tl,reservedJoins:tE,reservedPhrases:tc,reservedKeywords:tr,reservedFunctionNames:ta,stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:ts}},tu=h({set:["GROUPING"],window:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER"],numeric:["POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET"],string:["SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE"],datetime:["CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP"],aggregate:["COUNT","AVG","MAX","MIN","SUM","STDDEV_POP","STDDEV_SAMP","VAR_SAMP","VAR_POP","COLLECT","FUSION","INTERSECTION","COVAR_POP","COVAR_SAMP","CORR","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","PERCENTILE_CONT","PERCENTILE_DISC"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],nonStandard:["ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],dataTypes:["CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","VARCHAR","CHARACTER LARGE OBJECT","CHAR LARGE OBJECT","CLOB","NATIONAL CHARACTER","NATIONAL CHAR","NCHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NATIONAL CHARACTER LARGE OBJECT","NCHAR LARGE OBJECT","NCLOB","BINARY","BINARY VARYING","VARBINARY","BINARY LARGE OBJECT","BLOB","NUMERIC","DECIMAL","DEC","TIME","TIMESTAMP"]}),tT=h({all:["ALL","ALLOCATE","ALTER","ANY","ARE","ARRAY","AS","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHAR","CHARACTER","CHECK","CLOB","CLOSE","COALESCE","COLLATE","COLUMN","COMMIT","CONDITION","CONNECT","CONSTRAINT","CORRESPONDING","CREATE","CROSS","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DELETE","DEREF","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DOUBLE","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FLOAT","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","MULTISET","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OF","OLD","ON","ONLY","OPEN","ORDER","OUT","OUTER","OVER","OVERLAPS","PARAMETER","PARTITION","PRECISION","PREPARE","PRIMARY","PROCEDURE","RANGE","READS","REAL","RECURSIVE","REF","REFERENCES","REFERENCING","RELEASE","RESULT","RETURN","RETURNS","REVOKE","RIGHT","ROLLBACK","ROLLUP","ROW","ROWS","SAVEPOINT","SCOPE","SCROLL","SEARCH","SECOND","SELECT","SENSITIVE","SESSION_USER","SET","SIMILAR","SMALLINT","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"]}),tp=R(["SELECT [ALL | DISTINCT]"]),tS=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [RECURSIVE] VIEW","CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),tR=R(["UPDATE","WHERE CURRENT OF","DELETE FROM","DROP TABLE","ALTER TABLE","ADD COLUMN","DROP [COLUMN]","RENAME COLUMN","RENAME TO","ALTER [COLUMN]","{SET | DROP} DEFAULT","ADD SCOPE","DROP SCOPE {CASCADE | RESTRICT}","RESTART WITH","TRUNCATE TABLE","SET SCHEMA"]),tA=R(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tI=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tN=R(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tO={tokenizerOptions:{reservedSelect:tp,reservedClauses:[...tS,...tR],reservedSetOperations:tA,reservedJoins:tI,reservedPhrases:tN,reservedKeywords:tT,reservedFunctionNames:tu,stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:tR}},tg=h({all:["ABS","ACOS","ALL_MATCH","ANY_MATCH","APPROX_DISTINCT","APPROX_MOST_FREQUENT","APPROX_PERCENTILE","APPROX_SET","ARBITRARY","ARRAYS_OVERLAP","ARRAY_AGG","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_SORT","ARRAY_UNION","ASIN","ATAN","ATAN2","AT_TIMEZONE","AVG","BAR","BETA_CDF","BING_TILE","BING_TILES_AROUND","BING_TILE_AT","BING_TILE_COORDINATES","BING_TILE_POLYGON","BING_TILE_QUADKEY","BING_TILE_ZOOM_LEVEL","BITWISE_AND","BITWISE_AND_AGG","BITWISE_LEFT_SHIFT","BITWISE_NOT","BITWISE_OR","BITWISE_OR_AGG","BITWISE_RIGHT_SHIFT","BITWISE_RIGHT_SHIFT_ARITHMETIC","BITWISE_XOR","BIT_COUNT","BOOL_AND","BOOL_OR","CARDINALITY","CAST","CBRT","CEIL","CEILING","CHAR2HEXINT","CHECKSUM","CHR","CLASSIFY","COALESCE","CODEPOINT","COLOR","COMBINATIONS","CONCAT","CONCAT_WS","CONTAINS","CONTAINS_SEQUENCE","CONVEX_HULL_AGG","CORR","COS","COSH","COSINE_SIMILARITY","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CRC32","CUME_DIST","CURRENT_CATALOG","CURRENT_DATE","CURRENT_GROUPS","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","DATE","DATE_ADD","DATE_DIFF","DATE_FORMAT","DATE_PARSE","DATE_TRUNC","DAY","DAY_OF_MONTH","DAY_OF_WEEK","DAY_OF_YEAR","DEGREES","DENSE_RANK","DOW","DOY","E","ELEMENT_AT","EMPTY_APPROX_SET","EVALUATE_CLASSIFIER_PREDICTIONS","EVERY","EXP","EXTRACT","FEATURES","FILTER","FIRST_VALUE","FLATTEN","FLOOR","FORMAT","FORMAT_DATETIME","FORMAT_NUMBER","FROM_BASE","FROM_BASE32","FROM_BASE64","FROM_BASE64URL","FROM_BIG_ENDIAN_32","FROM_BIG_ENDIAN_64","FROM_ENCODED_POLYLINE","FROM_GEOJSON_GEOMETRY","FROM_HEX","FROM_IEEE754_32","FROM_IEEE754_64","FROM_ISO8601_DATE","FROM_ISO8601_TIMESTAMP","FROM_ISO8601_TIMESTAMP_NANOS","FROM_UNIXTIME","FROM_UNIXTIME_NANOS","FROM_UTF8","GEOMETRIC_MEAN","GEOMETRY_FROM_HADOOP_SHAPE","GEOMETRY_INVALID_REASON","GEOMETRY_NEAREST_POINTS","GEOMETRY_TO_BING_TILES","GEOMETRY_UNION","GEOMETRY_UNION_AGG","GREATEST","GREAT_CIRCLE_DISTANCE","HAMMING_DISTANCE","HASH_COUNTS","HISTOGRAM","HMAC_MD5","HMAC_SHA1","HMAC_SHA256","HMAC_SHA512","HOUR","HUMAN_READABLE_SECONDS","IF","INDEX","INFINITY","INTERSECTION_CARDINALITY","INVERSE_BETA_CDF","INVERSE_NORMAL_CDF","IS_FINITE","IS_INFINITE","IS_JSON_SCALAR","IS_NAN","JACCARD_INDEX","JSON_ARRAY_CONTAINS","JSON_ARRAY_GET","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_EXTRACT","JSON_EXTRACT_SCALAR","JSON_FORMAT","JSON_PARSE","JSON_QUERY","JSON_SIZE","JSON_VALUE","KURTOSIS","LAG","LAST_DAY_OF_MONTH","LAST_VALUE","LEAD","LEARN_CLASSIFIER","LEARN_LIBSVM_CLASSIFIER","LEARN_LIBSVM_REGRESSOR","LEARN_REGRESSOR","LEAST","LENGTH","LEVENSHTEIN_DISTANCE","LINE_INTERPOLATE_POINT","LINE_INTERPOLATE_POINTS","LINE_LOCATE_POINT","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","LUHN_CHECK","MAKE_SET_DIGEST","MAP","MAP_AGG","MAP_CONCAT","MAP_ENTRIES","MAP_FILTER","MAP_FROM_ENTRIES","MAP_KEYS","MAP_UNION","MAP_VALUES","MAP_ZIP_WITH","MAX","MAX_BY","MD5","MERGE","MERGE_SET_DIGEST","MILLISECOND","MIN","MINUTE","MIN_BY","MOD","MONTH","MULTIMAP_AGG","MULTIMAP_FROM_ENTRIES","MURMUR3","NAN","NGRAMS","NONE_MATCH","NORMALIZE","NORMAL_CDF","NOW","NTH_VALUE","NTILE","NULLIF","NUMERIC_HISTOGRAM","OBJECTID","OBJECTID_TIMESTAMP","PARSE_DATA_SIZE","PARSE_DATETIME","PARSE_DURATION","PERCENT_RANK","PI","POSITION","POW","POWER","QDIGEST_AGG","QUARTER","RADIANS","RAND","RANDOM","RANK","REDUCE","REDUCE_AGG","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGRESS","REGR_INTERCEPT","REGR_SLOPE","RENDER","REPEAT","REPLACE","REVERSE","RGB","ROUND","ROW_NUMBER","RPAD","RTRIM","SECOND","SEQUENCE","SHA1","SHA256","SHA512","SHUFFLE","SIGN","SIMPLIFY_GEOMETRY","SIN","SKEWNESS","SLICE","SOUNDEX","SPATIAL_PARTITIONING","SPATIAL_PARTITIONS","SPLIT","SPLIT_PART","SPLIT_TO_MAP","SPLIT_TO_MULTIMAP","SPOOKY_HASH_V2_32","SPOOKY_HASH_V2_64","SQRT","STARTS_WITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRPOS","ST_AREA","ST_ASBINARY","ST_ASTEXT","ST_BOUNDARY","ST_BUFFER","ST_CENTROID","ST_CONTAINS","ST_CONVEXHULL","ST_COORDDIM","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_ENDPOINT","ST_ENVELOPE","ST_ENVELOPEASPTS","ST_EQUALS","ST_EXTERIORRING","ST_GEOMETRIES","ST_GEOMETRYFROMTEXT","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMBINARY","ST_INTERIORRINGN","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISRING","ST_ISSIMPLE","ST_ISVALID","ST_LENGTH","ST_LINEFROMTEXT","ST_LINESTRING","ST_MULTIPOINT","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINT","ST_POINTN","ST_POINTS","ST_POLYGON","ST_RELATE","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_TOUCHES","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","SUBSTR","SUBSTRING","SUM","TAN","TANH","TDIGEST_AGG","TIMESTAMP_OBJECTID","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO_BASE","TO_BASE32","TO_BASE64","TO_BASE64URL","TO_BIG_ENDIAN_32","TO_BIG_ENDIAN_64","TO_CHAR","TO_DATE","TO_ENCODED_POLYLINE","TO_GEOJSON_GEOMETRY","TO_GEOMETRY","TO_HEX","TO_IEEE754_32","TO_IEEE754_64","TO_ISO8601","TO_MILLISECONDS","TO_SPHERICAL_GEOGRAPHY","TO_TIMESTAMP","TO_UNIXTIME","TO_UTF8","TRANSFORM","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRY","TRY_CAST","TYPEOF","UPPER","URL_DECODE","URL_ENCODE","URL_EXTRACT_FRAGMENT","URL_EXTRACT_HOST","URL_EXTRACT_PARAMETER","URL_EXTRACT_PATH","URL_EXTRACT_PORT","URL_EXTRACT_PROTOCOL","URL_EXTRACT_QUERY","UUID","VALUES_AT_QUANTILES","VALUE_AT_QUANTILE","VARIANCE","VAR_POP","VAR_SAMP","VERSION","WEEK","WEEK_OF_YEAR","WIDTH_BUCKET","WILSON_INTERVAL_LOWER","WILSON_INTERVAL_UPPER","WITH_TIMEZONE","WORD_STEM","XXHASH64","YEAR","YEAR_OF_WEEK","YOW","ZIP","ZIP_WITH"],rowPattern:["CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"]}),tm=h({all:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","AUTHORIZATION","BERNOULLI","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CATALOGS","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","CONDITIONAL","CONSTRAINT","COPARTITION","CREATE","CROSS","CUBE","CURRENT","CURRENT_PATH","CURRENT_ROLE","DATA","DEALLOCATE","DEFAULT","DEFINE","DEFINER","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DISTINCT","DISTRIBUTED","DOUBLE","DROP","ELSE","EMPTY","ENCODING","END","ERROR","ESCAPE","EXCEPT","EXCLUDING","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FINAL","FIRST","FOLLOWING","FOR","FROM","FULL","FUNCTIONS","GRANT","GRANTED","GRANTS","GRAPHVIZ","GROUP","GROUPING","GROUPS","HAVING","IGNORE","IN","INCLUDING","INITIAL","INNER","INPUT","INSERT","INTERSECT","INTERVAL","INTO","INVOKER","IO","IS","ISOLATION","JOIN","JSON","JSON_ARRAY","JSON_OBJECT","KEEP","KEY","KEYS","LAST","LATERAL","LEADING","LEFT","LEVEL","LIKE","LIMIT","LOCAL","LOGICAL","MATCH","MATCHED","MATCHES","MATCH_RECOGNIZE","MATERIALIZED","MEASURES","NATURAL","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NOT","NULL","NULLS","OBJECT","OF","OFFSET","OMIT","ON","ONE","ONLY","OPTION","OR","ORDER","ORDINALITY","OUTER","OUTPUT","OVER","OVERFLOW","PARTITION","PARTITIONS","PASSING","PAST","PATH","PATTERN","PER","PERMUTE","PRECEDING","PRECISION","PREPARE","PRIVILEGES","PROPERTIES","PRUNE","QUOTES","RANGE","READ","RECURSIVE","REFRESH","RENAME","REPEATABLE","RESET","RESPECT","RESTRICT","RETURNING","REVOKE","RIGHT","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","RUNNING","SCALAR","SCHEMA","SCHEMAS","SECURITY","SEEK","SELECT","SERIALIZABLE","SESSION","SET","SETS","SHOW","SKIP","SOME","START","STATS","STRING","SUBSET","SYSTEM","TABLE","TABLES","TABLESAMPLE","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRUE","TYPE","UESCAPE","UNBOUNDED","UNCOMMITTED","UNCONDITIONAL","UNION","UNIQUE","UNKNOWN","UNMATCHED","UNNEST","UPDATE","USE","USER","USING","UTF16","UTF32","UTF8","VALIDATE","VALUE","VALUES","VERBOSE","VIEW","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","ZONE"],types:["BIGINT","INT","INTEGER","SMALLINT","TINYINT","BOOLEAN","DATE","DECIMAL","REAL","DOUBLE","HYPERLOGLOG","QDIGEST","TDIGEST","P4HYPERLOGLOG","INTERVAL","TIMESTAMP","TIME","VARBINARY","VARCHAR","CHAR","ROW","ARRAY","MAP","JSON","JSON2016","IPADDRESS","GEOMETRY","UUID","SETDIGEST","JONIREGEXP","RE2JREGEXP","LIKEPATTERN","COLOR","CODEPOINTS","FUNCTION","JSONPATH"]}),tC=R(["SELECT [ALL | DISTINCT]"]),t_=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW","CREATE TABLE [IF NOT EXISTS]","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),tL=R(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME COLUMN [IF EXISTS]","RENAME TO","SET AUTHORIZATION [USER | ROLE]","SET PROPERTIES","EXECUTE","TRUNCATE TABLE","ALTER SCHEMA","ALTER MATERIALIZED VIEW","ALTER VIEW","CREATE SCHEMA","CREATE ROLE","DROP SCHEMA","DROP MATERIALIZED VIEW","DROP VIEW","DROP ROLE","EXPLAIN","ANALYZE","EXPLAIN ANALYZE","EXPLAIN ANALYZE VERBOSE","USE","COMMENT ON TABLE","COMMENT ON COLUMN","DESCRIBE INPUT","DESCRIBE OUTPUT","REFRESH MATERIALIZED VIEW","RESET SESSION","SET SESSION","SET PATH","SET TIME ZONE","SHOW GRANTS","SHOW CREATE TABLE","SHOW CREATE SCHEMA","SHOW CREATE VIEW","SHOW CREATE MATERIALIZED VIEW","SHOW TABLES","SHOW SCHEMAS","SHOW CATALOGS","SHOW COLUMNS","SHOW STATS FOR","SHOW ROLES","SHOW CURRENT ROLES","SHOW ROLE GRANTS","SHOW FUNCTIONS","SHOW SESSION"]),tb=R(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tf=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),th=R(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),tD={tokenizerOptions:{reservedSelect:tC,reservedClauses:[...t_,...tL],reservedSetOperations:tb,reservedJoins:tf,reservedPhrases:th,reservedKeywords:tm,reservedFunctionNames:tg,extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:tL}},ty=h({aggregate:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP"],analytic:["CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS"],configuration:["@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION"],conversion:["CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE"],cryptographic:["ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY"],cursor:["@@CURSOR_ROWS","@@FETCH_STATUS","CURSOR_STATUS"],dataType:["DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY"],datetime:["@@DATEFIRST","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TIMEZONE_ID","DATEADD","DATEDIFF","DATEDIFF_BIG","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","JSON","ISJSON","JSON_VALUE","JSON_QUERY","JSON_MODIFY"],mathematical:["ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","CHOOSE","GREATEST","IIF","LEAST"],metadata:["@@PROCID","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FILEPROPERTYEX","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","NEXT VALUE FOR","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY"],ranking:["DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME"],security:["CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","DATABASE_PRINCIPAL_ID","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME"],string:["ASCII","CHAR","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER"],system:["$PARTITION","@@ERROR","@@IDENTITY","@@PACK_RECEIVED","@@ROWCOUNT","@@TRANCOUNT","BINARY_CHECKSUM","CHECKSUM","COMPRESS","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","CURRENT_TRANSACTION_ID","DECOMPRESS","ERROR_LINE","ERROR_MESSAGE","ERROR_NUMBER","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GET_FILESTREAM_TRANSACTION_CONTEXT","GETANSINULL","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","SESSION_CONTEXT","XACT_STATE"],statistical:["@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID"],trigger:["COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","NUMERIC","FLOAT","REAL","DATETIME2","DATETIMEOFFSET","TIME","CHAR","VARCHAR","NCHAR","NVARCHAR","BINARY","VARBINARY"]}),tP=h({standard:["ADD","ALL","ALTER","AND","ANY","AS","ASC","AUTHORIZATION","BACKUP","BEGIN","BETWEEN","BREAK","BROWSE","BULK","BY","CASCADE","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLUMN","COMMIT","COMPUTE","CONSTRAINT","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DBCC","DEALLOCATE","DECLARE","DEFAULT","DELETE","DENY","DESC","DISK","DISTINCT","DISTRIBUTED","DOUBLE","DROP","DUMP","ERRLVL","ESCAPE","EXEC","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FILE","FILLFACTOR","FOR","FOREIGN","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GOTO","GRANT","GROUP","HAVING","HOLDLOCK","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IN","INDEX","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KILL","LEFT","LIKE","LINENO","LOAD","MERGE","NATIONAL","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","PRECISION","PRIMARY","PRINT","PROC","PROCEDURE","PUBLIC","RAISERROR","READ","READTEXT","RECONFIGURE","REFERENCES","REPLICATION","RESTORE","RESTRICT","RETURN","REVERT","REVOKE","RIGHT","ROLLBACK","ROWCOUNT","ROWGUIDCOL","RULE","SAVE","SCHEMA","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION_USER","SET","SETUSER","SHUTDOWN","SOME","STATISTICS","SYSTEM_USER","TABLE","TABLESAMPLE","TEXTSIZE","THEN","TO","TOP","TRAN","TRANSACTION","TRIGGER","TRUNCATE","TRY_CONVERT","TSEQUAL","UNION","UNIQUE","UNPIVOT","UPDATE","UPDATETEXT","USE","USER","VALUES","VARYING","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT"],odbc:["ABSOLUTE","ACTION","ADA","ADD","ALL","ALLOCATE","ALTER","AND","ANY","ARE","AS","ASC","ASSERTION","AT","AUTHORIZATION","AVG","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BY","CASCADE","CASCADED","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOSE","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DESCRIBE","DESCRIPTOR","DIAGNOSTICS","DISCONNECT","DISTINCT","DOMAIN","DOUBLE","DROP","END-EXEC","ESCAPE","EXCEPTION","EXEC","EXECUTE","EXISTS","EXTERNAL","EXTRACT","FALSE","FETCH","FIRST","FLOAT","FOR","FOREIGN","FORTRAN","FOUND","FROM","FULL","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HAVING","HOUR","IDENTITY","IMMEDIATE","IN","INCLUDE","INDEX","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISOLATION","JOIN","KEY","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LOCAL","LOWER","MATCH","MAX","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OCTET_LENGTH","OF","ONLY","OPEN","OPTION","OR","ORDER","OUTER","OUTPUT","OVERLAPS","PAD","PARTIAL","PASCAL","POSITION","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURE","PUBLIC","READ","REAL","REFERENCES","RELATIVE","RESTRICT","REVOKE","RIGHT","ROLLBACK","ROWS","SCHEMA","SCROLL","SECOND","SECTION","SELECT","SESSION","SESSION_USER","SET","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","SUBSTRING","SUM","SYSTEM_USER","TABLE","TEMPORARY","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TRIM","TRUE","UNION","UNIQUE","UNKNOWN","UPDATE","UPPER","USAGE","USER","VALUE","VALUES","VARCHAR","VARYING","VIEW","WHENEVER","WHERE","WITH","WORK","WRITE","YEAR","ZONE"]}),tM=R(["SELECT [ALL | DISTINCT]"]),tU=R(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET","CREATE [OR ALTER] [MATERIALIZED] VIEW","CREATE TABLE","CREATE [OR ALTER] {PROC | PROCEDURE}"]),tv=R(["UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","ADD SENSITIVITY CLASSIFICATION","ADD SIGNATURE","AGGREGATE","ANSI_DEFAULTS","ANSI_NULLS","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_PADDING","ANSI_WARNINGS","APPLICATION ROLE","ARITHABORT","ARITHIGNORE","ASSEMBLY","ASYMMETRIC KEY","AUTHORIZATION","AVAILABILITY GROUP","BACKUP","BACKUP CERTIFICATE","BACKUP MASTER KEY","BACKUP SERVICE MASTER KEY","BEGIN CONVERSATION TIMER","BEGIN DIALOG CONVERSATION","BROKER PRIORITY","BULK INSERT","CERTIFICATE","CLOSE MASTER KEY","CLOSE SYMMETRIC KEY","COLLATE","COLUMN ENCRYPTION KEY","COLUMN MASTER KEY","COLUMNSTORE INDEX","CONCAT_NULL_YIELDS_NULL","CONTEXT_INFO","CONTRACT","CREDENTIAL","CRYPTOGRAPHIC PROVIDER","CURSOR_CLOSE_ON_COMMIT","DATABASE","DATABASE AUDIT SPECIFICATION","DATABASE ENCRYPTION KEY","DATABASE HADR","DATABASE SCOPED CONFIGURATION","DATABASE SCOPED CREDENTIAL","DATABASE SET","DATEFIRST","DATEFORMAT","DEADLOCK_PRIORITY","DENY","DENY XML","DISABLE TRIGGER","ENABLE TRIGGER","END CONVERSATION","ENDPOINT","EVENT NOTIFICATION","EVENT SESSION","EXECUTE AS","EXTERNAL DATA SOURCE","EXTERNAL FILE FORMAT","EXTERNAL LANGUAGE","EXTERNAL LIBRARY","EXTERNAL RESOURCE POOL","EXTERNAL TABLE","FIPS_FLAGGER","FMTONLY","FORCEPLAN","FULLTEXT CATALOG","FULLTEXT INDEX","FULLTEXT STOPLIST","FUNCTION","GET CONVERSATION GROUP","GET_TRANSMISSION_STATUS","GRANT","GRANT XML","IDENTITY_INSERT","IMPLICIT_TRANSACTIONS","INDEX","LANGUAGE","LOCK_TIMEOUT","LOGIN","MASTER KEY","MESSAGE TYPE","MOVE CONVERSATION","NOCOUNT","NOEXEC","NUMERIC_ROUNDABORT","OFFSETS","OPEN MASTER KEY","OPEN SYMMETRIC KEY","PARSEONLY","PARTITION FUNCTION","PARTITION SCHEME","PROCEDURE","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUOTED_IDENTIFIER","RECEIVE","REMOTE SERVICE BINDING","REMOTE_PROC_TRANSACTIONS","RESOURCE GOVERNOR","RESOURCE POOL","RESTORE","RESTORE FILELISTONLY","RESTORE HEADERONLY","RESTORE LABELONLY","RESTORE MASTER KEY","RESTORE REWINDONLY","RESTORE SERVICE MASTER KEY","RESTORE VERIFYONLY","REVERT","REVOKE","REVOKE XML","ROLE","ROUTE","ROWCOUNT","RULE","SCHEMA","SEARCH PROPERTY LIST","SECURITY POLICY","SELECTIVE XML INDEX","SEND","SENSITIVITY CLASSIFICATION","SEQUENCE","SERVER AUDIT","SERVER AUDIT SPECIFICATION","SERVER CONFIGURATION","SERVER ROLE","SERVICE","SERVICE MASTER KEY","SETUSER","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SIGNATURE","SPATIAL INDEX","STATISTICS","STATISTICS IO","STATISTICS PROFILE","STATISTICS TIME","STATISTICS XML","SYMMETRIC KEY","SYNONYM","TABLE","TABLE IDENTITY","TEXTSIZE","TRANSACTION ISOLATION LEVEL","TRIGGER","TYPE","UPDATE STATISTICS","USER","WORKLOAD GROUP","XACT_ABORT","XML INDEX","XML SCHEMA COLLECTION"]),tk=R(["UNION [ALL]","EXCEPT","INTERSECT"]),tw=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),tx=R(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tG={tokenizerOptions:{reservedSelect:tM,reservedClauses:[...tU,...tv],reservedSetOperations:tk,reservedJoins:tw,reservedPhrases:tx,reservedKeywords:tP,reservedFunctionNames:ty,nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]}],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:tv}},tF=h({all:["ABORT","ABSOLUTE","ACCESS","ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","AGGREGATES","AGGREGATOR","AGGREGATOR_ID","AGGREGATOR_PLAN_HASH","AGGREGATORS","ALGORITHM","ALL","ALSO","ALTER","ALWAYS","ANALYZE","AND","ANY","ARGHISTORY","ARRANGE","ARRANGEMENT","ARRAY","AS","ASC","ASCII","ASENSITIVE","ASM","ASSERTION","ASSIGNMENT","AST","ASYMMETRIC","ASYNC","AT","ATTACH","ATTRIBUTE","AUTHORIZATION","AUTO","AUTO_INCREMENT","AUTO_REPROVISION","AUTOSTATS","AUTOSTATS_CARDINALITY_MODE","AUTOSTATS_ENABLED","AUTOSTATS_HISTOGRAM_MODE","AUTOSTATS_SAMPLING","AVAILABILITY","AVG","AVG_ROW_LENGTH","AVRO","AZURE","BACKGROUND","_BACKGROUND_THREADS_FOR_CLEANUP","BACKUP","BACKUP_HISTORY","BACKUP_ID","BACKWARD","BATCH","BATCHES","BATCH_INTERVAL","_BATCH_SIZE_LIMIT","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","_BINARY","BIT","BLOB","BOOL","BOOLEAN","BOOTSTRAP","BOTH","_BT","BTREE","BUCKET_COUNT","BUCKETS","BY","BYTE","BYTE_LENGTH","CACHE","CALL","CALL_FOR_PIPELINE","CALLED","CAPTURE","CASCADE","CASCADED","CASE","CATALOG","CHAIN","CHANGE","CHAR","CHARACTER","CHARACTERISTICS","CHARSET","CHECK","CHECKPOINT","_CHECK_CAN_CONNECT","_CHECK_CONSISTENCY","CHECKSUM","_CHECKSUM","CLASS","CLEAR","CLIENT","CLIENT_FOUND_ROWS","CLOSE","CLUSTER","CLUSTERED","CNF","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNAR","COLUMNS","COLUMNSTORE","COLUMNSTORE_SEGMENT_ROWS","COMMENT","COMMENTS","COMMIT","COMMITTED","_COMMIT_LOG_TAIL","COMPACT","COMPILE","COMPRESSED","COMPRESSION","CONCURRENT","CONCURRENTLY","CONDITION","CONFIGURATION","CONNECTION","CONNECTIONS","CONFIG","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","_CONTINUE_REPLAY","CONVERSION","CONVERT","COPY","_CORE","COST","CREATE","CREDENTIALS","CROSS","CUBE","CSV","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_SCHEMA","CURRENT_SECURITY_GROUPS","CURRENT_SECURITY_ROLES","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATABASES","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DESC","DESCRIBE","DETACH","DETERMINISTIC","DICTIONARY","DIFFERENTIAL","DIRECTORY","DISABLE","DISCARD","_DISCONNECT","DISK","DISTINCT","DISTINCTROW","DISTRIBUTED_JOINS","DIV","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","_DROP_PROFILE","DUAL","DUMP","DUPLICATE","DURABILITY","DYNAMIC","EARLIEST","EACH","ECHO","ELECTION","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCODING","ENCRYPTED","END","ENGINE","ENGINES","ENUM","ERRORS","ESCAPE","ESCAPED","ESTIMATE","EVENT","EVENTS","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTENSION","EXTERNAL","EXTERNAL_HOST","EXTERNAL_PORT","EXTRACTOR","EXTRACTORS","EXTRA_JOIN","_FAILOVER","FAILED_LOGIN_ATTEMPTS","FAILURE","FALSE","FAMILY","FAULT","FETCH","FIELDS","FILE","FILES","FILL","FIX_ALTER","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREGROUND","FOREIGN","FORMAT","FORWARD","FREEZE","FROM","FS","_FSYNC","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GC","GCS","GET_FORMAT","_GC","_GCX","GENERATE","GEOGRAPHY","GEOGRAPHYPOINT","GEOMETRY","GEOMETRYPOINT","GLOBAL","_GLOBAL_VERSION_TIMESTAMP","GRANT","GRANTED","GRANTS","GROUP","GROUPING","GROUPS","GZIP","HANDLE","HANDLER","HARD_CPU_LIMIT_PERCENTAGE","HASH","HAS_TEMP_TABLES","HAVING","HDFS","HEADER","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HISTOGRAM","HOLD","HOLDING","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INCREMENTAL","INDEX","INDEXES","INFILE","INHERIT","INHERITS","_INIT_PROFILE","INIT","INITIALIZE","INITIALLY","INJECT","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTANCE","INSTEAD","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","_INTERNAL_DYNAMIC_TYPECAST","INTERPRETER_MODE","INTERSECT","INTERVAL","INTO","INVOKER","ISOLATION","ITERATE","JOIN","JSON","KAFKA","KEY","KEY_BLOCK_SIZE","KEYS","KILL","KILLALL","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LATEST","LC_COLLATE","LC_CTYPE","LEAD","LEADING","LEAF","LEAKPROOF","LEAVE","LEAVES","LEFT","LEVEL","LICENSE","LIKE","LIMIT","LINES","LISTEN","LLVM","LOADDATA_WHERE","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","_LS","LZ4","MANAGEMENT","_MANAGEMENT_THREAD","MAPPING","MASTER","MATCH","MATERIALIZED","MAXVALUE","MAX_CONCURRENCY","MAX_ERRORS","MAX_PARTITIONS_PER_BATCH","MAX_QUEUE_DEPTH","MAX_RETRIES_PER_BATCH_PARTITION","MAX_ROWS","MBC","MPL","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MEMORY_PERCENTAGE","_MEMSQL_TABLE_ID_LOOKUP","MEMSQL","MEMSQL_DESERIALIZE","MEMSQL_IMITATING_KAFKA","MEMSQL_SERIALIZE","MERGE","METADATA","MICROSECOND","MIDDLEINT","MIN_ROWS","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MOD","MODE","MODEL","MODIFIES","MODIFY","MONTH","MOVE","MPL","NAMES","NAMED","NAMESPACE","NATIONAL","NATURAL","NCHAR","NEXT","NO","NODE","NONE","NO_QUERY_REWRITE","NOPARAM","NOT","NOTHING","NOTIFY","NOWAIT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NORELY","NTH_VALUE","NTILE","NULL","NULLCOLS","NULLS","NUMERIC","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OIDS","ON","ONLINE","ONLY","OPEN","OPERATOR","OPTIMIZATION","OPTIMIZE","OPTIMIZER","OPTIMIZER_STATE","OPTION","OPTIONS","OPTIONALLY","OR","ORDER","ORDERED_SERIALIZE","ORPHAN","OUT","OUT_OF_ORDER","OUTER","OUTFILE","OVER","OVERLAPS","OVERLAY","OWNED","OWNER","PACK_KEYS","PAIRED","PARSER","PARQUET","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PASSWORD_LOCK_TIME","PAUSE","_PAUSE_REPLAY","PERIODIC","PERSISTED","PIPELINE","PIPELINES","PLACING","PLAN","PLANS","PLANCACHE","PLUGINS","POOL","POOLS","PORT","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRAM","PROMOTE","PROXY","PURGE","QUARTER","QUERIES","QUERY","QUERY_TIMEOUT","QUEUE","RANGE","RANK","READ","_READ","READS","REAL","REASSIGN","REBALANCE","RECHECK","RECORD","RECURSIVE","REDUNDANCY","REDUNDANT","REF","REFERENCE","REFERENCES","REFRESH","REGEXP","REINDEX","RELATIVE","RELEASE","RELOAD","RELY","REMOTE","REMOVE","RENAME","REPAIR","_REPAIR_TABLE","REPEAT","REPEATABLE","_REPL","_REPROVISIONING","REPLACE","REPLICA","REPLICATE","REPLICATING","REPLICATION","REQUIRE","RESOURCE","RESOURCE_POOL","RESET","RESTART","RESTORE","RESTRICT","RESULT","_RESURRECT","RETRY","RETURN","RETURNING","RETURNS","REVERSE","RG_POOL","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","ROLES","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","ROWS","ROWSTORE","RULE","_RPC","RUNNING","S3","SAFE","SAVE","SAVEPOINT","SCALAR","SCHEMA","SCHEMAS","SCHEMA_BINDING","SCROLL","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SEMI_JOIN","_SEND_THREADS","SENSITIVE","SEPARATOR","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERIES","SERVICE_USER","SERVER","SESSION","SESSION_USER","SET","SETOF","SECURITY_LISTS_INTERSECT","SHA","SHARD","SHARDED","SHARDED_ID","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMILAR","SIMPLE","SITE","SKIP","SKIPPED_BATCHES","__SLEEP","SMALLINT","SNAPSHOT","_SNAPSHOT","_SNAPSHOTS","SOFT_CPU_LIMIT_PERCENTAGE","SOME","SONAME","SPARSE","SPATIAL","SPATIAL_CHECK_INDEX","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_MODE","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STDIN","STDOUT","STOP","STORAGE","STRAIGHT_JOIN","STRICT","STRING","STRIP","SUCCESS","SUPER","SYMMETRIC","SYNC_SNAPSHOT","SYNC","_SYNC","_SYNC2","_SYNC_PARTITIONS","_SYNC_SNAPSHOT","SYNCHRONIZE","SYSID","SYSTEM","TABLE","TABLE_CHECKSUM","TABLES","TABLESPACE","TAGS","TARGET_SIZE","TASK","TEMP","TEMPLATE","TEMPORARY","TEMPTABLE","_TERM_BUMP","TERMINATE","TERMINATED","TEXT","THEN","TIME","TIMEOUT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE","TINYBLOB","TINYINT","TINYTEXT","TO","TRACELOGS","TRADITIONAL","TRAILING","TRANSFORM","TRANSACTION","_TRANSACTIONS_EXPERIMENTAL","TREAT","TRIGGER","TRIGGERS","TRUE","TRUNC","TRUNCATE","TRUSTED","TWO_PHASE","_TWOPCID","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNENCRYPTED","UNENFORCED","UNHOLD","UNICODE","UNION","UNIQUE","_UNITTEST","UNKNOWN","UNLISTEN","_UNLOAD","UNLOCK","UNLOGGED","UNPIVOT","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USERS","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARIADIC","VARYING","VERBOSE","VIEW","VOID","VOLATILE","VOTING","WAIT","_WAKE","WARNINGS","WEEK","WHEN","WHERE","WHILE","WHITESPACE","WINDOW","WITH","WITHOUT","WITHIN","_WM_HEARTBEAT","WORK","WORKLOAD","WRAPPER","WRITE","XACT_ID","XOR","YEAR","YEAR_MONTH","YES","ZEROFILL","ZONE"]}),tB=h({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_ACCUMULATE","APPROX_COUNT_DISTINCT_COMBINE","APPROX_COUNT_DISTINCT_ESTIMATE","APPROX_GEOGRAPHY_INTERSECTS","APPROX_PERCENTILE","ASCII","ASIN","ATAN","ATAN2","AVG","BIN","BINARY","BIT_AND","BIT_COUNT","BIT_OR","BIT_XOR","CAST","CEIL","CEILING","CHAR","CHARACTER_LENGTH","CHAR_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COLLECT","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATEDIFF","DATE_FORMAT","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DENSE_RANK","DIV","DOT_PRODUCT","ELT","EUCLIDEAN_DISTANCE","EXP","EXTRACT","FIELD","FIRST","FIRST_VALUE","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOGRAPHY_AREA","GEOGRAPHY_CONTAINS","GEOGRAPHY_DISTANCE","GEOGRAPHY_INTERSECTS","GEOGRAPHY_LATITUDE","GEOGRAPHY_LENGTH","GEOGRAPHY_LONGITUDE","GEOGRAPHY_POINT","GEOGRAPHY_WITHIN_DISTANCE","GEOMETRY_AREA","GEOMETRY_CONTAINS","GEOMETRY_DISTANCE","GEOMETRY_FILTER","GEOMETRY_INTERSECTS","GEOMETRY_LENGTH","GEOMETRY_POINT","GEOMETRY_WITHIN_DISTANCE","GEOMETRY_X","GEOMETRY_Y","GREATEST","GROUPING","GROUP_CONCAT","HEX","HIGHLIGHT","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INITCAP","INSERT","INSTR","INTERVAL","IS","IS NULL","JSON_AGG","JSON_ARRAY_CONTAINS_DOUBLE","JSON_ARRAY_CONTAINS_JSON","JSON_ARRAY_CONTAINS_STRING","JSON_ARRAY_PUSH_DOUBLE","JSON_ARRAY_PUSH_JSON","JSON_ARRAY_PUSH_STRING","JSON_DELETE_KEY","JSON_EXTRACT_DOUBLE","JSON_EXTRACT_JSON","JSON_EXTRACT_STRING","JSON_EXTRACT_BIGINT","JSON_GET_TYPE","JSON_LENGTH","JSON_SET_DOUBLE","JSON_SET_JSON","JSON_SET_STRING","JSON_SPLICE_DOUBLE","JSON_SPLICE_JSON","JSON_SPLICE_STRING","LAG","LAST_DAY","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LN","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LPAD","LTRIM","MATCH","MAX","MD5","MEDIAN","MICROSECOND","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","NOT","NOW","NTH_VALUE","NTILE","NULLIF","OCTET_LENGTH","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIVOT","POSITION","POW","POWER","QUARTER","QUOTE","RADIANS","RAND","RANK","REGEXP","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCALAR","SCHEMA","SEC_TO_TIME","SHA1","SHA2","SIGMOID","SIGN","SIN","SLEEP","SPLIT","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUM","SYS_GUID","TAN","TIME","TIMEDIFF","TIME_BUCKET","TIME_FORMAT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_JSON","TO_NUMBER","TO_SECONDS","TO_TIMESTAMP","TRIM","TRUNC","TRUNCATE","UCASE","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),tH=R(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),tY=R(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","SET","CREATE VIEW","CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),tV=R(["UPDATE","DELETE [FROM]","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] TABLE","ADD [COLUMN]","ADD [UNIQUE] {INDEX | KEY}","DROP [COLUMN]","MODIFY [COLUMN]","CHANGE","RENAME [TO | AS]","TRUNCATE [TABLE]","ADD AGGREGATOR","ADD LEAF","AGGREGATOR SET AS MASTER","ALTER DATABASE","ALTER PIPELINE","ALTER RESOURCE POOL","ALTER USER","ALTER VIEW","ANALYZE TABLE","ATTACH DATABASE","ATTACH LEAF","ATTACH LEAF ALL","BACKUP DATABASE","BINLOG","BOOTSTRAP AGGREGATOR","CACHE INDEX","CALL","CHANGE","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK BLOB CHECKSUM","CHECK TABLE","CHECKSUM TABLE","CLEAR ORPHAN DATABASES","CLONE","COMMIT","CREATE DATABASE","CREATE GROUP","CREATE INDEX","CREATE LINK","CREATE MILESTONE","CREATE PIPELINE","CREATE RESOURCE POOL","CREATE ROLE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DETACH DATABASE","DETACH PIPELINE","DROP DATABASE","DROP FUNCTION","DROP INDEX","DROP LINK","DROP PIPELINE","DROP PROCEDURE","DROP RESOURCE POOL","DROP ROLE","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","FORCE","GRANT","HANDLER","HELP","KILL CONNECTION","KILLALL QUERIES","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","REBALANCE PARTITIONS","RELEASE SAVEPOINT","REMOVE AGGREGATOR","REMOVE LEAF","REPAIR TABLE","REPLACE","REPLICATE DATABASE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","RESTORE DATABASE","RESTORE REDUNDANCY","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE FUNCTION","SHOW CREATE PIPELINE","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SNAPSHOT DATABASE","SOURCE_POS_WAIT","START GROUP_REPLICATION","START PIPELINE","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP PIPELINE","STOP REPLICA","STOP REPLICATING","STOP SLAVE","TEST PIPELINE","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),tW=R(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),t$=R(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tK=R(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),tX={tokenizerOptions:{reservedSelect:tH,reservedClauses:[...tY,...tV],reservedSetOperations:tW,reservedJoins:t$,reservedPhrases:tK,reservedKeywords:tF,reservedFunctionNames:tB,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_$]+"},{quote:"``",prefixes:["@"],requirePrefix:!0}],lineCommentTypes:["--","#"],operators:[":=","&","|","^","~","<<",">>","<=>","&&","||","::","::$","::%",":>","!:>"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||d;return T.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:tV}},tz=h({all:["ABS","ACOS","ACOSH","ADD_MONTHS","ALL_USER_NAMES","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","APPROX_PERCENTILE_ACCUMULATE","APPROX_PERCENTILE_COMBINE","APPROX_PERCENTILE_ESTIMATE","APPROX_TOP_K","APPROX_TOP_K_ACCUMULATE","APPROX_TOP_K_COMBINE","APPROX_TOP_K_ESTIMATE","APPROXIMATE_JACCARD_INDEX","APPROXIMATE_SIMILARITY","ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_COMPACT","ARRAY_CONSTRUCT","ARRAY_CONSTRUCT_COMPACT","ARRAY_CONTAINS","ARRAY_INSERT","ARRAY_INTERSECTION","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_SIZE","ARRAY_SLICE","ARRAY_TO_STRING","ARRAY_UNION_AGG","ARRAY_UNIQUE_AGG","ARRAYS_OVERLAP","AS_ARRAY","AS_BINARY","AS_BOOLEAN","AS_CHAR","AS_VARCHAR","AS_DATE","AS_DECIMAL","AS_NUMBER","AS_DOUBLE","AS_REAL","AS_INTEGER","AS_OBJECT","AS_TIME","AS_TIMESTAMP_LTZ","AS_TIMESTAMP_NTZ","AS_TIMESTAMP_TZ","ASCII","ASIN","ASINH","ATAN","ATAN2","ATANH","AUTO_REFRESH_REGISTRATION_HISTORY","AUTOMATIC_CLUSTERING_HISTORY","AVG","BASE64_DECODE_BINARY","BASE64_DECODE_STRING","BASE64_ENCODE","BIT_LENGTH","BITAND","BITAND_AGG","BITMAP_BIT_POSITION","BITMAP_BUCKET_NUMBER","BITMAP_CONSTRUCT_AGG","BITMAP_COUNT","BITMAP_OR_AGG","BITNOT","BITOR","BITOR_AGG","BITSHIFTLEFT","BITSHIFTRIGHT","BITXOR","BITXOR_AGG","BOOLAND","BOOLAND_AGG","BOOLNOT","BOOLOR","BOOLOR_AGG","BOOLXOR","BOOLXOR_AGG","BUILD_SCOPED_FILE_URL","BUILD_STAGE_FILE_URL","CASE","CAST","CBRT","CEIL","CHARINDEX","CHECK_JSON","CHECK_XML","CHR","CHAR","COALESCE","COLLATE","COLLATION","COMPLETE_TASK_GRAPHS","COMPRESS","CONCAT","CONCAT_WS","CONDITIONAL_CHANGE_EVENT","CONDITIONAL_TRUE_EVENT","CONTAINS","CONVERT_TIMEZONE","COPY_HISTORY","CORR","COS","COSH","COT","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CUME_DIST","CURRENT_ACCOUNT","CURRENT_AVAILABLE_ROLES","CURRENT_CLIENT","CURRENT_DATABASE","CURRENT_DATE","CURRENT_IP_ADDRESS","CURRENT_REGION","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SECONDARY_ROLES","CURRENT_SESSION","CURRENT_STATEMENT","CURRENT_TASK_GRAPHS","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSACTION","CURRENT_USER","CURRENT_VERSION","CURRENT_WAREHOUSE","DATA_TRANSFER_HISTORY","DATABASE_REFRESH_HISTORY","DATABASE_REFRESH_PROGRESS","DATABASE_REFRESH_PROGRESS_BY_JOB","DATABASE_STORAGE_USAGE_HISTORY","DATE_FROM_PARTS","DATE_PART","DATE_TRUNC","DATEADD","DATEDIFF","DAYNAME","DECODE","DECOMPRESS_BINARY","DECOMPRESS_STRING","DECRYPT","DECRYPT_RAW","DEGREES","DENSE_RANK","DIV0","EDITDISTANCE","ENCRYPT","ENCRYPT_RAW","ENDSWITH","EQUAL_NULL","EXP","EXPLAIN_JSON","EXTERNAL_FUNCTIONS_HISTORY","EXTERNAL_TABLE_FILES","EXTERNAL_TABLE_FILE_REGISTRATION_HISTORY","EXTRACT","EXTRACT_SEMANTIC_CATEGORIES","FACTORIAL","FIRST_VALUE","FLATTEN","FLOOR","GENERATE_COLUMN_DESCRIPTION","GENERATOR","GET","GET_ABSOLUTE_PATH","GET_DDL","GET_IGNORE_CASE","GET_OBJECT_REFERENCES","GET_PATH","GET_PRESIGNED_URL","GET_RELATIVE_PATH","GET_STAGE_LOCATION","GETBIT","GREATEST","GROUPING","GROUPING_ID","HASH","HASH_AGG","HAVERSINE","HEX_DECODE_BINARY","HEX_DECODE_STRING","HEX_ENCODE","HLL","HLL_ACCUMULATE","HLL_COMBINE","HLL_ESTIMATE","HLL_EXPORT","HLL_IMPORT","HOUR","MINUTE","SECOND","IFF","IFNULL","ILIKE","ILIKE ANY","INFER_SCHEMA","INITCAP","INSERT","INVOKER_ROLE","INVOKER_SHARE","IS_ARRAY","IS_BINARY","IS_BOOLEAN","IS_CHAR","IS_VARCHAR","IS_DATE","IS_DATE_VALUE","IS_DECIMAL","IS_DOUBLE","IS_REAL","IS_GRANTED_TO_INVOKER_ROLE","IS_INTEGER","IS_NULL_VALUE","IS_OBJECT","IS_ROLE_IN_SESSION","IS_TIME","IS_TIMESTAMP_LTZ","IS_TIMESTAMP_NTZ","IS_TIMESTAMP_TZ","JAROWINKLER_SIMILARITY","JSON_EXTRACT_PATH_TEXT","KURTOSIS","LAG","LAST_DAY","LAST_QUERY_ID","LAST_TRANSACTION","LAST_VALUE","LEAD","LEAST","LEFT","LENGTH","LEN","LIKE","LIKE ALL","LIKE ANY","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOGIN_HISTORY","LOGIN_HISTORY_BY_USER","LOWER","LPAD","LTRIM","MATERIALIZED_VIEW_REFRESH_HISTORY","MD5","MD5_HEX","MD5_BINARY","MD5_NUMBER — Obsoleted","MD5_NUMBER_LOWER64","MD5_NUMBER_UPPER64","MEDIAN","MIN","MAX","MINHASH","MINHASH_COMBINE","MOD","MODE","MONTHNAME","MONTHS_BETWEEN","NEXT_DAY","NORMAL","NTH_VALUE","NTILE","NULLIF","NULLIFZERO","NVL","NVL2","OBJECT_AGG","OBJECT_CONSTRUCT","OBJECT_CONSTRUCT_KEEP_NULL","OBJECT_DELETE","OBJECT_INSERT","OBJECT_KEYS","OBJECT_PICK","OCTET_LENGTH","PARSE_IP","PARSE_JSON","PARSE_URL","PARSE_XML","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIPE_USAGE_HISTORY","POLICY_CONTEXT","POLICY_REFERENCES","POSITION","POW","POWER","PREVIOUS_DAY","QUERY_ACCELERATION_HISTORY","QUERY_HISTORY","QUERY_HISTORY_BY_SESSION","QUERY_HISTORY_BY_USER","QUERY_HISTORY_BY_WAREHOUSE","RADIANS","RANDOM","RANDSTR","RANK","RATIO_TO_REPORT","REGEXP","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REGEXP_SUBSTR_ALL","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REGR_VALX","REGR_VALY","REPEAT","REPLACE","REPLICATION_GROUP_REFRESH_HISTORY","REPLICATION_GROUP_REFRESH_PROGRESS","REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOB","REPLICATION_GROUP_USAGE_HISTORY","REPLICATION_USAGE_HISTORY","REST_EVENT_HISTORY","RESULT_SCAN","REVERSE","RIGHT","RLIKE","ROUND","ROW_NUMBER","RPAD","RTRIM","RTRIMMED_LENGTH","SEARCH_OPTIMIZATION_HISTORY","SEQ1","SEQ2","SEQ4","SEQ8","SERVERLESS_TASK_HISTORY","SHA1","SHA1_HEX","SHA1_BINARY","SHA2","SHA2_HEX","SHA2_BINARY","SIGN","SIN","SINH","SKEW","SOUNDEX","SPACE","SPLIT","SPLIT_PART","SPLIT_TO_TABLE","SQRT","SQUARE","ST_AREA","ST_ASEWKB","ST_ASEWKT","ST_ASGEOJSON","ST_ASWKB","ST_ASBINARY","ST_ASWKT","ST_ASTEXT","ST_AZIMUTH","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DWITHIN","ST_ENDPOINT","ST_ENVELOPE","ST_GEOGFROMGEOHASH","ST_GEOGPOINTFROMGEOHASH","ST_GEOGRAPHYFROMWKB","ST_GEOGRAPHYFROMWKT","ST_GEOHASH","ST_GEOMETRYFROMWKB","ST_GEOMETRYFROMWKT","ST_HAUSDORFFDISTANCE","ST_INTERSECTION","ST_INTERSECTS","ST_LENGTH","ST_MAKEGEOMPOINT","ST_GEOM_POINT","ST_MAKELINE","ST_MAKEPOINT","ST_POINT","ST_MAKEPOLYGON","ST_POLYGON","ST_NPOINTS","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SETSRID","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","STAGE_DIRECTORY_FILE_REGISTRATION_HISTORY","STAGE_STORAGE_USAGE_HISTORY","STARTSWITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRIP_NULL_VALUE","STRTOK","STRTOK_SPLIT_TO_TABLE","STRTOK_TO_ARRAY","SUBSTR","SUBSTRING","SUM","SYSDATE","SYSTEM$ABORT_SESSION","SYSTEM$ABORT_TRANSACTION","SYSTEM$AUTHORIZE_PRIVATELINK","SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS","SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUS","SYSTEM$CANCEL_ALL_QUERIES","SYSTEM$CANCEL_QUERY","SYSTEM$CLUSTERING_DEPTH","SYSTEM$CLUSTERING_INFORMATION","SYSTEM$CLUSTERING_RATIO ","SYSTEM$CURRENT_USER_TASK_NAME","SYSTEM$DATABASE_REFRESH_HISTORY ","SYSTEM$DATABASE_REFRESH_PROGRESS","SYSTEM$DATABASE_REFRESH_PROGRESS_BY_JOB ","SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$DISABLE_DATABASE_REPLICATION","SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$ESTIMATE_QUERY_ACCELERATION","SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTS","SYSTEM$EXPLAIN_JSON_TO_TEXT","SYSTEM$EXPLAIN_PLAN_JSON","SYSTEM$EXTERNAL_TABLE_PIPE_STATUS","SYSTEM$GENERATE_SAML_CSR","SYSTEM$GENERATE_SCIM_ACCESS_TOKEN","SYSTEM$GET_AWS_SNS_IAM_POLICY","SYSTEM$GET_PREDECESSOR_RETURN_VALUE","SYSTEM$GET_PRIVATELINK","SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS","SYSTEM$GET_PRIVATELINK_CONFIG","SYSTEM$GET_SNOWFLAKE_PLATFORM_INFO","SYSTEM$GET_TAG","SYSTEM$GET_TAG_ALLOWED_VALUES","SYSTEM$GET_TAG_ON_CURRENT_COLUMN","SYSTEM$GET_TAG_ON_CURRENT_TABLE","SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER","SYSTEM$LAST_CHANGE_COMMIT_TIME","SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAME","SYSTEM$MIGRATE_SAML_IDP_REGISTRATION","SYSTEM$PIPE_FORCE_RESUME","SYSTEM$PIPE_STATUS","SYSTEM$REVOKE_PRIVATELINK","SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS","SYSTEM$SET_RETURN_VALUE","SYSTEM$SHOW_OAUTH_CLIENT_SECRETS","SYSTEM$STREAM_GET_TABLE_TIMESTAMP","SYSTEM$STREAM_HAS_DATA","SYSTEM$TASK_DEPENDENTS_ENABLE","SYSTEM$TYPEOF","SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS","SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKEN","SYSTEM$WAIT","SYSTEM$WHITELIST","SYSTEM$WHITELIST_PRIVATELINK","TAG_REFERENCES","TAG_REFERENCES_ALL_COLUMNS","TAG_REFERENCES_WITH_LINEAGE","TAN","TANH","TASK_DEPENDENTS","TASK_HISTORY","TIME_FROM_PARTS","TIME_SLICE","TIMEADD","TIMEDIFF","TIMESTAMP_FROM_PARTS","TIMESTAMPADD","TIMESTAMPDIFF","TO_ARRAY","TO_BINARY","TO_BOOLEAN","TO_CHAR","TO_VARCHAR","TO_DATE","DATE","TO_DECIMAL","TO_NUMBER","TO_NUMERIC","TO_DOUBLE","TO_GEOGRAPHY","TO_GEOMETRY","TO_JSON","TO_OBJECT","TO_TIME","TIME","TO_TIMESTAMP","TO_TIMESTAMP_LTZ","TO_TIMESTAMP_NTZ","TO_TIMESTAMP_TZ","TO_VARIANT","TO_XML","TRANSLATE","TRIM","TRUNCATE","TRUNC","TRUNC","TRY_BASE64_DECODE_BINARY","TRY_BASE64_DECODE_STRING","TRY_CAST","TRY_HEX_DECODE_BINARY","TRY_HEX_DECODE_STRING","TRY_PARSE_JSON","TRY_TO_BINARY","TRY_TO_BOOLEAN","TRY_TO_DATE","TRY_TO_DECIMAL","TRY_TO_NUMBER","TRY_TO_NUMERIC","TRY_TO_DOUBLE","TRY_TO_GEOGRAPHY","TRY_TO_GEOMETRY","TRY_TO_TIME","TRY_TO_TIMESTAMP","TRY_TO_TIMESTAMP_LTZ","TRY_TO_TIMESTAMP_NTZ","TRY_TO_TIMESTAMP_TZ","TYPEOF","UNICODE","UNIFORM","UPPER","UUID_STRING","VALIDATE","VALIDATE_PIPE_LOAD","VAR_POP","VAR_SAMP","VARIANCE","VARIANCE_SAMP","VARIANCE_POP","WAREHOUSE_LOAD_HISTORY","WAREHOUSE_METERING_HISTORY","WIDTH_BUCKET","XMLGET","YEAR","YEAROFWEEK","YEAROFWEEKISO","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEKISO","DAYOFYEAR","WEEK","WEEK","WEEKOFYEAR","WEEKISO","MONTH","QUARTER","ZEROIFNULL","ZIPF"]}),tZ=h({all:["ACCOUNT","ALL","ALTER","AND","ANY","AS","BETWEEN","BY","CASE","CAST","CHECK","COLUMN","CONNECT","CONNECTION","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATABASE","DELETE","DISTINCT","DROP","ELSE","EXISTS","FALSE","FOLLOWING","FOR","FROM","FULL","GRANT","GROUP","GSCLUSTER","HAVING","ILIKE","IN","INCREMENT","INNER","INSERT","INTERSECT","INTO","IS","ISSUE","JOIN","LATERAL","LEFT","LIKE","LOCALTIME","LOCALTIMESTAMP","MINUS","NATURAL","NOT","NULL","OF","ON","OR","ORDER","ORGANIZATION","QUALIFY","REGEXP","REVOKE","RIGHT","RLIKE","ROW","ROWS","SAMPLE","SCHEMA","SELECT","SET","SOME","START","TABLE","TABLESAMPLE","THEN","TO","TRIGGER","TRUE","TRY_CAST","UNION","UNIQUE","UPDATE","USING","VALUES","VIEW","WHEN","WHENEVER","WHERE","WITH"]}),tj=R(["SELECT [ALL | DISTINCT]"]),tq=R(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","QUALIFY","LIMIT","OFFSET","FETCH [FIRST | NEXT]","INSERT [OVERWRITE] [ALL INTO | INTO | ALL | FIRST]","{THEN | ELSE} INTO","VALUES","SET","CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]","CLUSTER BY","[WITH] {MASKING POLICY | TAG | ROW ACCESS POLICY}","COPY GRANTS","USING TEMPLATE","MERGE INTO","WHEN MATCHED [AND]","THEN {UPDATE SET | DELETE}","WHEN NOT MATCHED THEN INSERT"]),tJ=R(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","RENAME TO","SWAP WITH","[SUSPEND | RESUME] RECLUSTER","DROP CLUSTERING KEY","ADD [COLUMN]","RENAME COLUMN","{ALTER | MODIFY} [COLUMN]","DROP [COLUMN]","{ADD | ALTER | MODIFY | DROP} [CONSTRAINT]","RENAME CONSTRAINT","{ADD | DROP} SEARCH OPTIMIZATION","{SET | UNSET} TAG","{ADD | DROP} ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","[SET DATA] TYPE","[UNSET] COMMENT","{SET | UNSET} MASKING POLICY","TRUNCATE [TABLE] [IF EXISTS]","ALTER ACCOUNT","ALTER API INTEGRATION","ALTER CONNECTION","ALTER DATABASE","ALTER EXTERNAL TABLE","ALTER FAILOVER GROUP","ALTER FILE FORMAT","ALTER FUNCTION","ALTER INTEGRATION","ALTER MASKING POLICY","ALTER MATERIALIZED VIEW","ALTER NETWORK POLICY","ALTER NOTIFICATION INTEGRATION","ALTER PIPE","ALTER PROCEDURE","ALTER REPLICATION GROUP","ALTER RESOURCE MONITOR","ALTER ROLE","ALTER ROW ACCESS POLICY","ALTER SCHEMA","ALTER SECURITY INTEGRATION","ALTER SEQUENCE","ALTER SESSION","ALTER SESSION POLICY","ALTER SHARE","ALTER STAGE","ALTER STORAGE INTEGRATION","ALTER STREAM","ALTER TAG","ALTER TASK","ALTER USER","ALTER VIEW","ALTER WAREHOUSE","BEGIN","CALL","COMMIT","COPY INTO","CREATE ACCOUNT","CREATE API INTEGRATION","CREATE CONNECTION","CREATE DATABASE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL TABLE","CREATE FAILOVER GROUP","CREATE FILE FORMAT","CREATE FUNCTION","CREATE INTEGRATION","CREATE MANAGED ACCOUNT","CREATE MASKING POLICY","CREATE MATERIALIZED VIEW","CREATE NETWORK POLICY","CREATE NOTIFICATION INTEGRATION","CREATE PIPE","CREATE PROCEDURE","CREATE REPLICATION GROUP","CREATE RESOURCE MONITOR","CREATE ROLE","CREATE ROW ACCESS POLICY","CREATE SCHEMA","CREATE SECURITY INTEGRATION","CREATE SEQUENCE","CREATE SESSION POLICY","CREATE SHARE","CREATE STAGE","CREATE STORAGE INTEGRATION","CREATE STREAM","CREATE TAG","CREATE TASK","CREATE USER","CREATE WAREHOUSE","DELETE","DESCRIBE DATABASE","DESCRIBE EXTERNAL TABLE","DESCRIBE FILE FORMAT","DESCRIBE FUNCTION","DESCRIBE INTEGRATION","DESCRIBE MASKING POLICY","DESCRIBE MATERIALIZED VIEW","DESCRIBE NETWORK POLICY","DESCRIBE PIPE","DESCRIBE PROCEDURE","DESCRIBE RESULT","DESCRIBE ROW ACCESS POLICY","DESCRIBE SCHEMA","DESCRIBE SEQUENCE","DESCRIBE SESSION POLICY","DESCRIBE SHARE","DESCRIBE STAGE","DESCRIBE STREAM","DESCRIBE TABLE","DESCRIBE TASK","DESCRIBE TRANSACTION","DESCRIBE USER","DESCRIBE VIEW","DESCRIBE WAREHOUSE","DROP CONNECTION","DROP DATABASE","DROP EXTERNAL TABLE","DROP FAILOVER GROUP","DROP FILE FORMAT","DROP FUNCTION","DROP INTEGRATION","DROP MANAGED ACCOUNT","DROP MASKING POLICY","DROP MATERIALIZED VIEW","DROP NETWORK POLICY","DROP PIPE","DROP PROCEDURE","DROP REPLICATION GROUP","DROP RESOURCE MONITOR","DROP ROLE","DROP ROW ACCESS POLICY","DROP SCHEMA","DROP SEQUENCE","DROP SESSION POLICY","DROP SHARE","DROP STAGE","DROP STREAM","DROP TAG","DROP TASK","DROP USER","DROP VIEW","DROP WAREHOUSE","EXECUTE IMMEDIATE","EXECUTE TASK","EXPLAIN","GET","GRANT OWNERSHIP","GRANT ROLE","INSERT","LIST","MERGE","PUT","REMOVE","REVOKE ROLE","ROLLBACK","SHOW COLUMNS","SHOW CONNECTIONS","SHOW DATABASES","SHOW DATABASES IN FAILOVER GROUP","SHOW DATABASES IN REPLICATION GROUP","SHOW DELEGATED AUTHORIZATIONS","SHOW EXTERNAL FUNCTIONS","SHOW EXTERNAL TABLES","SHOW FAILOVER GROUPS","SHOW FILE FORMATS","SHOW FUNCTIONS","SHOW GLOBAL ACCOUNTS","SHOW GRANTS","SHOW INTEGRATIONS","SHOW LOCKS","SHOW MANAGED ACCOUNTS","SHOW MASKING POLICIES","SHOW MATERIALIZED VIEWS","SHOW NETWORK POLICIES","SHOW OBJECTS","SHOW ORGANIZATION ACCOUNTS","SHOW PARAMETERS","SHOW PIPES","SHOW PRIMARY KEYS","SHOW PROCEDURES","SHOW REGIONS","SHOW REPLICATION ACCOUNTS","SHOW REPLICATION DATABASES","SHOW REPLICATION GROUPS","SHOW RESOURCE MONITORS","SHOW ROLES","SHOW ROW ACCESS POLICIES","SHOW SCHEMAS","SHOW SEQUENCES","SHOW SESSION POLICIES","SHOW SHARES","SHOW SHARES IN FAILOVER GROUP","SHOW SHARES IN REPLICATION GROUP","SHOW STAGES","SHOW STREAMS","SHOW TABLES","SHOW TAGS","SHOW TASKS","SHOW TRANSACTIONS","SHOW USER FUNCTIONS","SHOW USERS","SHOW VARIABLES","SHOW VIEWS","SHOW WAREHOUSES","TRUNCATE MATERIALIZED VIEW","UNDROP DATABASE","UNDROP SCHEMA","UNDROP TABLE","UNDROP TAG","UNSET","USE DATABASE","USE ROLE","USE SCHEMA","USE SECONDARY ROLES","USE WAREHOUSE"]),tQ=R(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),t0=R(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),t1=R(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),t2={tokenizerOptions:{reservedSelect:tj,reservedClauses:[...tq,...tJ],reservedSetOperations:tQ,reservedJoins:t0,reservedPhrases:t1,reservedKeywords:tZ,reservedFunctionNames:tz,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||",":","=>"]},formatOptions:{alwaysDenseOperators:[":","::"],onelineClauses:tJ}},t3=e=>e.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),t4=/\s+/uy,t6=e=>RegExp(`(?:${e})`,"uy"),t8=e=>e.split("").map(e=>/ /gu.test(e)?"\\s+":`[${e.toUpperCase()}${e.toLowerCase()}]`).join(""),t5=e=>e+"(?:-"+e+")*",t9=({prefixes:e,requirePrefix:t})=>`(?:${e.map(t8).join("|")}${t?"":"|"})`,t7=e=>RegExp(`(?:${e.map(t3).join("|")}).*?(?=\r -|\r| -|$)`,"uy"),ne=(e,t=[])=>{let n="open"===e?0:1,a=["()",...t].map(e=>e[n]);return t6(a.map(t3).join("|"))},nt=e=>t6(`${L(e).map(t3).join("|")}`),nn=({rest:e,dashes:t})=>e||t?`(?![${e||""}${t?"-":""}])`:"",na=(e,t={})=>{if(0===e.length)return/^\b$/u;let n=nn(t),a=L(e).map(t3).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${a})${n}\\b`,"iuy")},nr=(e,t)=>{if(!e.length)return;let n=e.map(t3).join("|");return t6(`(?:${n})(?:${t})`)},ni={"``":"(?:`[^`]*`)+","[]":String.raw`(?:\[[^\]]*\])(?:\][^\]]*\])*`,'""-qq':String.raw`(?:"[^"]*")+`,'""-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")`,'""-qq-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")+`,'""-raw':String.raw`(?:"[^"]*")`,"''-qq":String.raw`(?:'[^']*')+`,"''-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')`,"''-qq-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')+`,"''-raw":String.raw`(?:'[^']*')`,$$:String.raw`(?\$\w*\$)[\s\S]*?\k`,"'''..'''":String.raw`'''[^\\]*?(?:\\.[^\\]*?)*?'''`,'""".."""':String.raw`"""[^\\]*?(?:\\.[^\\]*?)*?"""`,"{}":String.raw`(?:\{[^\}]*\})`,"q''":(()=>{let e={"<":">","[":"]","(":")","{":"}"},t=Object.entries(e).map(([e,t])=>"{left}(?:(?!{right}').)*?{right}".replace(/{left}/g,t3(e)).replace(/{right}/g,t3(t))),n=t3(Object.keys(e).join("")),a=String.raw`(?[^\s${n}])(?:(?!\k').)*?\k`,r=`[Qq]'(?:${a}|${t.join("|")})'`;return r})()},no=e=>"string"==typeof e?ni[e]:"regex"in e?e.regex:t9(e)+ni[e.quote],ns=e=>t6(e.map(e=>"regex"in e?e.regex:no(e)).join("|")),nl=e=>e.map(no).join("|"),nE=e=>t6(nl(e)),nc=(e={})=>t6(nd(e)),nd=({first:e,rest:t,dashes:n,allowFirstCharNumber:a}={})=>{let r="\\p{Alphabetic}\\p{Mark}_",i="\\p{Decimal_Number}",o=t3(e??""),s=t3(t??""),l=a?`[${r}${i}${o}][${r}${i}${s}]*`:`[${r}${o}][${r}${i}${s}]*`;return n?t5(l):l};function nu(e,t){let n=e.slice(0,t).split(/\n/);return{line:n.length,col:n[n.length-1].length+1}}class nT{input="";index=0;constructor(e){this.rules=e}tokenize(e){let t;this.input=e,this.index=0;let n=[];for(;this.index0;)if(t=this.matchSection(np,e))n+=t,a++;else if(t=this.matchSection(nR,e))n+=t,a--;else{if(!(t=this.matchSection(nS,e)))return null;n+=t}return[n]}matchSection(e,t){e.lastIndex=this.lastIndex;let n=e.exec(t);return n&&(this.lastIndex+=n[0].length),n?n[0]:null}}class nI{constructor(e){this.cfg=e,this.rulesBeforeParams=this.buildRulesBeforeParams(e),this.rulesAfterParams=this.buildRulesAfterParams(e)}tokenize(e,t){let n=[...this.rulesBeforeParams,...this.buildParamRules(this.cfg,t),...this.rulesAfterParams],a=new nT(n).tokenize(e);return this.cfg.postProcess?this.cfg.postProcess(a):a}buildRulesBeforeParams(e){return this.validRules([{type:a.BLOCK_COMMENT,regex:e.nestedBlockComments?new nA:/(\/\*[^]*?\*\/)/uy},{type:a.LINE_COMMENT,regex:t7(e.lineCommentTypes??["--"])},{type:a.QUOTED_IDENTIFIER,regex:nE(e.identTypes)},{type:a.NUMBER,regex:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?[0-9]+(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?!\w)/uy},{type:a.RESERVED_PHRASE,regex:na(e.reservedPhrases??[],e.identChars),text:nN},{type:a.CASE,regex:/CASE\b/iuy,text:nN},{type:a.END,regex:/END\b/iuy,text:nN},{type:a.BETWEEN,regex:/BETWEEN\b/iuy,text:nN},{type:a.LIMIT,regex:e.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:nN},{type:a.RESERVED_CLAUSE,regex:na(e.reservedClauses,e.identChars),text:nN},{type:a.RESERVED_SELECT,regex:na(e.reservedSelect,e.identChars),text:nN},{type:a.RESERVED_SET_OPERATION,regex:na(e.reservedSetOperations,e.identChars),text:nN},{type:a.WHEN,regex:/WHEN\b/iuy,text:nN},{type:a.ELSE,regex:/ELSE\b/iuy,text:nN},{type:a.THEN,regex:/THEN\b/iuy,text:nN},{type:a.RESERVED_JOIN,regex:na(e.reservedJoins,e.identChars),text:nN},{type:a.AND,regex:/AND\b/iuy,text:nN},{type:a.OR,regex:/OR\b/iuy,text:nN},{type:a.XOR,regex:e.supportsXor?/XOR\b/iuy:void 0,text:nN},{type:a.RESERVED_FUNCTION_NAME,regex:na(e.reservedFunctionNames,e.identChars),text:nN},{type:a.RESERVED_KEYWORD,regex:na(e.reservedKeywords,e.identChars),text:nN}])}buildRulesAfterParams(e){return this.validRules([{type:a.VARIABLE,regex:e.variableTypes?ns(e.variableTypes):void 0},{type:a.STRING,regex:nE(e.stringTypes)},{type:a.IDENTIFIER,regex:nc(e.identChars)},{type:a.DELIMITER,regex:/[;]/uy},{type:a.COMMA,regex:/[,]/y},{type:a.OPEN_PAREN,regex:ne("open",e.extraParens)},{type:a.CLOSE_PAREN,regex:ne("close",e.extraParens)},{type:a.OPERATOR,regex:nt(["+","-","/",">","<","=","<>","<=",">=","!=",...e.operators??[]])},{type:a.ASTERISK,regex:/[*]/uy},{type:a.DOT,regex:/[.]/uy}])}buildParamRules(e,t){var n,r,i,o,s;let l={named:(null==t?void 0:t.named)||(null===(n=e.paramTypes)||void 0===n?void 0:n.named)||[],quoted:(null==t?void 0:t.quoted)||(null===(r=e.paramTypes)||void 0===r?void 0:r.quoted)||[],numbered:(null==t?void 0:t.numbered)||(null===(i=e.paramTypes)||void 0===i?void 0:i.numbered)||[],positional:"boolean"==typeof(null==t?void 0:t.positional)?t.positional:null===(o=e.paramTypes)||void 0===o?void 0:o.positional,custom:(null==t?void 0:t.custom)||(null===(s=e.paramTypes)||void 0===s?void 0:s.custom)||[]};return this.validRules([{type:a.NAMED_PARAMETER,regex:nr(l.named,nd(e.paramChars||e.identChars)),key:e=>e.slice(1)},{type:a.QUOTED_PARAMETER,regex:nr(l.quoted,nl(e.identTypes)),key:e=>(({tokenKey:e,quoteChar:t})=>e.replace(RegExp(t3("\\"+t),"gu"),t))({tokenKey:e.slice(2,-1),quoteChar:e.slice(-1)})},{type:a.NUMBERED_PARAMETER,regex:nr(l.numbered,"[0-9]+"),key:e=>e.slice(1)},{type:a.POSITIONAL_PARAMETER,regex:l.positional?/[?]/y:void 0},...l.custom.map(e=>({type:a.CUSTOM_PARAMETER,regex:t6(e.regex),key:e.key??(e=>e)}))])}validRules(e){return e.filter(e=>!!e.regex)}}let nN=e=>f(e.toUpperCase()),nO=new Map,ng=e=>{let t=nO.get(e);return t||(t=nm(e),nO.set(e,t)),t},nm=e=>({tokenizer:new nI(e.tokenizerOptions),formatOptions:nC(e.formatOptions)}),nC=e=>({alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0]))});function n_(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle?" ".repeat(10):e.useTabs?" ":" ".repeat(e.tabWidth)}function nL(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle}class nb{constructor(e){this.params=e,this.index=0}get({key:e,text:t}){return this.params?e?this.params[e]:this.params[this.index++]:t}getPositionalParameterIndex(){return this.index}setPositionalParameterIndex(e){this.index=e}}var nf=n(92316);let nh=(e,t,n)=>{if(p(e.type)){let r=nM(n,t);if(r&&"."===r.text)return{...e,type:a.IDENTIFIER,text:e.raw}}return e},nD=(e,t,n)=>{if(e.type===a.RESERVED_FUNCTION_NAME){let r=nU(n,t);if(!r||!nv(r))return{...e,type:a.RESERVED_KEYWORD}}return e},ny=(e,t,n)=>{if(e.type===a.IDENTIFIER){let r=nU(n,t);if(r&&nk(r))return{...e,type:a.ARRAY_IDENTIFIER}}return e},nP=(e,t,n)=>{if(e.type===a.RESERVED_KEYWORD){let r=nU(n,t);if(r&&nk(r))return{...e,type:a.ARRAY_KEYWORD}}return e},nM=(e,t)=>nU(e,t,-1),nU=(e,t,n=1)=>{let a=1;for(;e[t+a*n]&&nw(e[t+a*n]);)a++;return e[t+a*n]},nv=e=>e.type===a.OPEN_PAREN&&"("===e.text,nk=e=>e.type===a.OPEN_PAREN&&"["===e.text,nw=e=>e.type===a.BLOCK_COMMENT||e.type===a.LINE_COMMENT;class nx{index=0;tokens=[];input="";constructor(e){this.tokenize=e}reset(e,t){this.input=e,this.index=0,this.tokens=this.tokenize(e)}next(){return this.tokens[this.index++]}save(){}formatError(e){let{line:t,col:n}=nu(this.input,e.start);return`Parse error at token: ${e.text} at line ${t} column ${n}`}has(e){return e in a}}function nG(e){return e[0]}(s=r||(r={})).statement="statement",s.clause="clause",s.set_operation="set_operation",s.function_call="function_call",s.array_subscript="array_subscript",s.property_access="property_access",s.parenthesis="parenthesis",s.between_predicate="between_predicate",s.case_expression="case_expression",s.case_when="case_when",s.case_else="case_else",s.limit_clause="limit_clause",s.all_columns_asterisk="all_columns_asterisk",s.literal="literal",s.identifier="identifier",s.keyword="keyword",s.parameter="parameter",s.operator="operator",s.comma="comma",s.line_comment="line_comment",s.block_comment="block_comment";let nF=new nx(e=>[]),nB=e=>({type:r.keyword,tokenType:e.type,text:e.text,raw:e.raw}),nH=(e,{leading:t,trailing:n})=>(null!=t&&t.length&&(e={...e,leadingComments:t}),null!=n&&n.length&&(e={...e,trailingComments:n}),e),nY=(e,{leading:t,trailing:n})=>{if(null!=t&&t.length){let[n,...a]=e;e=[nH(n,{leading:t}),...a]}if(null!=n&&n.length){let t=e.slice(0,-1),a=e[e.length-1];e=[...t,nH(a,{trailing:n})]}return e},nV={Lexer:nF,ParserRules:[{name:"main$ebnf$1",symbols:[]},{name:"main$ebnf$1",symbols:["main$ebnf$1","statement"],postprocess:e=>e[0].concat([e[1]])},{name:"main",symbols:["main$ebnf$1"],postprocess:([e])=>{let t=e[e.length-1];return t&&!t.hasSemicolon?t.children.length>0?e:e.slice(0,-1):e}},{name:"statement$subexpression$1",symbols:[nF.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[nF.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([e,[t]])=>({type:r.statement,children:e,hasSemicolon:t.type===a.DELIMITER})},{name:"expressions_or_clauses$ebnf$1",symbols:[]},{name:"expressions_or_clauses$ebnf$1",symbols:["expressions_or_clauses$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses$ebnf$2",symbols:[]},{name:"expressions_or_clauses$ebnf$2",symbols:["expressions_or_clauses$ebnf$2","clause"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses",symbols:["expressions_or_clauses$ebnf$1","expressions_or_clauses$ebnf$2"],postprocess:([e,t])=>[...e,...t]},{name:"clause$subexpression$1",symbols:["limit_clause"]},{name:"clause$subexpression$1",symbols:["select_clause"]},{name:"clause$subexpression$1",symbols:["other_clause"]},{name:"clause$subexpression$1",symbols:["set_operation"]},{name:"clause",symbols:["clause$subexpression$1"],postprocess:([[e]])=>e},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["free_form_sql"]},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"limit_clause$ebnf$1$subexpression$1",symbols:[nF.has("COMMA")?{type:"COMMA"}:COMMA,"limit_clause$ebnf$1$subexpression$1$ebnf$1"]},{name:"limit_clause$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1"],postprocess:nG},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[nF.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([e,t,n,a])=>{if(!a)return{type:r.limit_clause,limitKw:nH(nB(e),{trailing:t}),count:n};{let[i,o]=a;return{type:r.limit_clause,limitKw:nH(nB(e),{trailing:t}),offset:n,count:o}}}},{name:"select_clause$subexpression$1$ebnf$1",symbols:[]},{name:"select_clause$subexpression$1$ebnf$1",symbols:["select_clause$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["all_columns_asterisk","select_clause$subexpression$1$ebnf$1"]},{name:"select_clause$subexpression$1$ebnf$2",symbols:[]},{name:"select_clause$subexpression$1$ebnf$2",symbols:["select_clause$subexpression$1$ebnf$2","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["asteriskless_free_form_sql","select_clause$subexpression$1$ebnf$2"]},{name:"select_clause",symbols:[nF.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([e,[t,n]])=>({type:r.clause,nameKw:nB(e),children:[t,...n]})},{name:"select_clause",symbols:[nF.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([e])=>({type:r.clause,nameKw:nB(e),children:[]})},{name:"all_columns_asterisk",symbols:[nF.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:r.all_columns_asterisk})},{name:"other_clause$ebnf$1",symbols:[]},{name:"other_clause$ebnf$1",symbols:["other_clause$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"other_clause",symbols:[nF.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([e,t])=>({type:r.clause,nameKw:nB(e),children:t})},{name:"set_operation$ebnf$1",symbols:[]},{name:"set_operation$ebnf$1",symbols:["set_operation$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"set_operation",symbols:[nF.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([e,t])=>({type:r.set_operation,nameKw:nB(e),children:t})},{name:"expression_chain_$ebnf$1",symbols:["expression_with_comments_"]},{name:"expression_chain_$ebnf$1",symbols:["expression_chain_$ebnf$1","expression_with_comments_"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain_",symbols:["expression_chain_$ebnf$1"],postprocess:nG},{name:"expression_chain$ebnf$1",symbols:[]},{name:"expression_chain$ebnf$1",symbols:["expression_chain$ebnf$1","_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain",symbols:["expression","expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"andless_expression_chain$ebnf$1",symbols:[]},{name:"andless_expression_chain$ebnf$1",symbols:["andless_expression_chain$ebnf$1","_andless_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"andless_expression_chain",symbols:["andless_expression","andless_expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"expression_with_comments_",symbols:["expression","_"],postprocess:([e,t])=>nH(e,{trailing:t})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([e,t])=>nH(t,{leading:e})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([e,t])=>nH(t,{leading:e})},{name:"free_form_sql$subexpression$1",symbols:["asteriskless_free_form_sql"]},{name:"free_form_sql$subexpression$1",symbols:["asterisk"]},{name:"free_form_sql",symbols:["free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["logic_operator"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comma"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comment"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["other_keyword"]},{name:"asteriskless_free_form_sql",symbols:["asteriskless_free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:([[e]])=>e},{name:"andless_expression$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"andless_expression$subexpression$1",symbols:["asterisk"]},{name:"andless_expression",symbols:["andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_andless_expression$subexpression$1",symbols:["array_subscript"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["function_call"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["property_access"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parenthesis"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["curly_braces"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["square_brackets"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["operator"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["identifier"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parameter"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["literal"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["keyword"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"array_subscript",symbols:[nF.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([e,t,n])=>({type:r.array_subscript,array:nH({type:r.identifier,text:e.text},{trailing:t}),parenthesis:n})},{name:"array_subscript",symbols:[nF.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([e,t,n])=>({type:r.array_subscript,array:nH(nB(e),{trailing:t}),parenthesis:n})},{name:"function_call",symbols:[nF.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([e,t,n])=>({type:r.function_call,nameKw:nH(nB(e),{trailing:t}),parenthesis:n})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"(",closeParen:")"})},{name:"curly_braces$ebnf$1",symbols:[]},{name:"curly_braces$ebnf$1",symbols:["curly_braces$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"curly_braces",symbols:[{literal:"{"},"curly_braces$ebnf$1",{literal:"}"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"{",closeParen:"}"})},{name:"square_brackets$ebnf$1",symbols:[]},{name:"square_brackets$ebnf$1",symbols:["square_brackets$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"square_brackets",symbols:[{literal:"["},"square_brackets$ebnf$1",{literal:"]"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"[",closeParen:"]"})},{name:"property_access$subexpression$1",symbols:["identifier"]},{name:"property_access$subexpression$1",symbols:["array_subscript"]},{name:"property_access$subexpression$1",symbols:["all_columns_asterisk"]},{name:"property_access",symbols:["expression","_",nF.has("DOT")?{type:"DOT"}:DOT,"_","property_access$subexpression$1"],postprocess:([e,t,n,a,[i]])=>({type:r.property_access,object:nH(e,{trailing:t}),property:nH(i,{leading:a})})},{name:"between_predicate",symbols:[nF.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",nF.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([e,t,n,a,i,o,s])=>({type:r.between_predicate,betweenKw:nB(e),expr1:nY(n,{leading:t,trailing:a}),andKw:nB(i),expr2:[nH(s,{leading:o})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:nG},{name:"case_expression$ebnf$1",symbols:[],postprocess:()=>null},{name:"case_expression$ebnf$2",symbols:[]},{name:"case_expression$ebnf$2",symbols:["case_expression$ebnf$2","case_clause"],postprocess:e=>e[0].concat([e[1]])},{name:"case_expression",symbols:[nF.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",nF.has("END")?{type:"END"}:END],postprocess:([e,t,n,a,i])=>({type:r.case_expression,caseKw:nH(nB(e),{trailing:t}),endKw:nB(i),expr:n||[],clauses:a})},{name:"case_clause",symbols:[nF.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",nF.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([e,t,n,a,i,o])=>({type:r.case_when,whenKw:nH(nB(e),{trailing:t}),thenKw:nH(nB(a),{trailing:i}),condition:n,result:o})},{name:"case_clause",symbols:[nF.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([e,t,n])=>({type:r.case_else,elseKw:nH(nB(e),{trailing:t}),result:n})},{name:"comma$subexpression$1",symbols:[nF.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[e]])=>({type:r.comma})},{name:"asterisk$subexpression$1",symbols:[nF.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[e]])=>({type:r.operator,text:e.text})},{name:"operator$subexpression$1",symbols:[nF.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[e]])=>({type:r.operator,text:e.text})},{name:"identifier$subexpression$1",symbols:[nF.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nF.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nF.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[e]])=>({type:r.identifier,text:e.text})},{name:"parameter$subexpression$1",symbols:[nF.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nF.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nF.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nF.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nF.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[e]])=>({type:r.parameter,key:e.key,text:e.text})},{name:"literal$subexpression$1",symbols:[nF.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[nF.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[e]])=>({type:r.literal,text:e.text})},{name:"keyword$subexpression$1",symbols:[nF.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[nF.has("RESERVED_PHRASE")?{type:"RESERVED_PHRASE"}:RESERVED_PHRASE]},{name:"keyword$subexpression$1",symbols:[nF.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"logic_operator$subexpression$1",symbols:[nF.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[nF.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[nF.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"other_keyword$subexpression$1",symbols:[nF.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[nF.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[nF.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[nF.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","comment"],postprocess:e=>e[0].concat([e[1]])},{name:"_",symbols:["_$ebnf$1"],postprocess:([e])=>e},{name:"comment",symbols:[nF.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([e])=>({type:r.line_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[nF.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([e])=>({type:r.block_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})}],ParserStart:"main"},{Parser:nW,Grammar:n$}=nf,nK=/^\s+/u;(l=i||(i={}))[l.SPACE=0]="SPACE",l[l.NO_SPACE=1]="NO_SPACE",l[l.NO_NEWLINE=2]="NO_NEWLINE",l[l.NEWLINE=3]="NEWLINE",l[l.MANDATORY_NEWLINE=4]="MANDATORY_NEWLINE",l[l.INDENT=5]="INDENT",l[l.SINGLE_INDENT=6]="SINGLE_INDENT";class nX{items=[];constructor(e){this.indentation=e}add(...e){for(let t of e)switch(t){case i.SPACE:this.items.push(i.SPACE);break;case i.NO_SPACE:this.trimHorizontalWhitespace();break;case i.NO_NEWLINE:this.trimWhitespace();break;case i.NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.NEWLINE);break;case i.MANDATORY_NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.MANDATORY_NEWLINE);break;case i.INDENT:this.addIndentation();break;case i.SINGLE_INDENT:this.items.push(i.SINGLE_INDENT);break;default:this.items.push(t)}}trimHorizontalWhitespace(){for(;nz(_(this.items));)this.items.pop()}trimWhitespace(){for(;nZ(_(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(_(this.items)){case i.NEWLINE:this.items.pop(),this.items.push(e);break;case i.MANDATORY_NEWLINE:break;default:this.items.push(e)}}addIndentation(){for(let e=0;ethis.itemToString(e)).join("")}getLayoutItems(){return this.items}itemToString(e){switch(e){case i.SPACE:return" ";case i.NEWLINE:case i.MANDATORY_NEWLINE:return"\n";case i.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return e}}}let nz=e=>e===i.SPACE||e===i.SINGLE_INDENT,nZ=e=>e===i.SPACE||e===i.SINGLE_INDENT||e===i.NEWLINE,nj="top-level";class nq{indentTypes=[];constructor(e){this.indent=e}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(nj)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&_(this.indentTypes)===nj&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0;){let e=this.indentTypes.pop();if(e!==nj)break}}}class nJ extends nX{length=0;trailingSpace=!1;constructor(e){super(new nq("")),this.expressionWidth=e}add(...e){if(e.forEach(e=>this.addToLength(e)),this.length>this.expressionWidth)throw new nQ;super.add(...e)}addToLength(e){if("string"==typeof e)this.length+=e.length,this.trailingSpace=!1;else if(e===i.MANDATORY_NEWLINE||e===i.NEWLINE)throw new nQ;else e===i.INDENT||e===i.SINGLE_INDENT||e===i.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(e===i.NO_NEWLINE||e===i.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class nQ extends Error{}class n0{inline=!1;nodes=[];index=-1;constructor({cfg:e,dialectCfg:t,params:n,layout:a,inline:r=!1}){this.cfg=e,this.dialectCfg=t,this.inline=r,this.params=n,this.layout=a}format(e){for(this.nodes=e,this.index=0;this.index{this.layout.add(this.showKw(e.nameKw))}),this.formatNode(e.parenthesis)}formatArraySubscript(e){this.withComments(e.array,()=>{this.layout.add(e.array.type===r.keyword?this.showKw(e.array):e.array.text)}),this.formatNode(e.parenthesis)}formatPropertyAccess(e){this.formatNode(e.object),this.layout.add(i.NO_SPACE,"."),this.formatNode(e.property)}formatParenthesis(e){let t=this.formatInlineExpression(e.children);t?(this.layout.add(e.openParen),this.layout.add(...t.getLayoutItems()),this.layout.add(i.NO_SPACE,e.closeParen,i.SPACE)):(this.layout.add(e.openParen,i.NEWLINE),nL(this.cfg)?(this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(i.NEWLINE,i.INDENT,e.closeParen,i.SPACE))}formatBetweenPredicate(e){this.layout.add(this.showKw(e.betweenKw),i.SPACE),this.layout=this.formatSubExpression(e.expr1),this.layout.add(i.NO_SPACE,i.SPACE,this.showNonTabularKw(e.andKw),i.SPACE),this.layout=this.formatSubExpression(e.expr2),this.layout.add(i.SPACE)}formatCaseExpression(e){this.formatNode(e.caseKw),this.layout.indentation.increaseBlockLevel(),this.layout=this.formatSubExpression(e.expr),this.layout=this.formatSubExpression(e.clauses),this.layout.indentation.decreaseBlockLevel(),this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.endKw)}formatCaseWhen(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.whenKw),this.layout=this.formatSubExpression(e.condition),this.formatNode(e.thenKw),this.layout=this.formatSubExpression(e.result)}formatCaseElse(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.elseKw),this.layout=this.formatSubExpression(e.result)}formatClause(e){this.isOnelineClause(e)?this.formatClauseInOnelineStyle(e):nL(this.cfg)?this.formatClauseInTabularStyle(e):this.formatClauseInIndentedStyle(e)}isOnelineClause(e){return this.dialectCfg.onelineClauses[e.nameKw.text]}formatClauseInIndentedStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout=this.formatSubExpression(e.children)}formatClauseInTabularStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)}formatLimitClause(e){this.withComments(e.limitKw,()=>{this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.limitKw))}),this.layout.indentation.increaseTopLevel(),nL(this.cfg)?this.layout.add(i.SPACE):this.layout.add(i.NEWLINE,i.INDENT),e.offset&&(this.layout=this.formatSubExpression(e.offset),this.layout.add(i.NO_SPACE,",",i.SPACE)),this.layout=this.formatSubExpression(e.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(e){this.layout.add("*",i.SPACE)}formatLiteral(e){this.layout.add(e.text,i.SPACE)}formatIdentifier(e){this.layout.add(e.text,i.SPACE)}formatParameter(e){this.layout.add(this.params.get(e),i.SPACE)}formatOperator({text:e}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(e)?this.layout.add(i.NO_SPACE,e):":"===e?this.layout.add(i.NO_SPACE,e,i.SPACE):this.layout.add(e,i.SPACE)}formatComma(e){this.inline?this.layout.add(i.NO_SPACE,",",i.SPACE):this.layout.add(i.NO_SPACE,",",i.NEWLINE,i.INDENT)}withComments(e,t){this.formatComments(e.leadingComments),t(),this.formatComments(e.trailingComments)}formatComments(e){e&&e.forEach(e=>{e.type===r.line_comment?this.formatLineComment(e):this.formatBlockComment(e)})}formatLineComment(e){D(e.precedingWhitespace||"")?this.layout.add(i.NEWLINE,i.INDENT,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(i.NO_NEWLINE,i.SPACE,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.add(e.text,i.MANDATORY_NEWLINE,i.INDENT)}formatBlockComment(e){this.isMultilineBlockComment(e)?(this.splitBlockComment(e.text).forEach(e=>{this.layout.add(i.NEWLINE,i.INDENT,e)}),this.layout.add(i.NEWLINE,i.INDENT)):this.layout.add(e.text,i.SPACE)}isMultilineBlockComment(e){return D(e.text)||D(e.precedingWhitespace||"")}isDocComment(e){let t=e.split(/\n/);return/^\/\*\*?$/.test(t[0])&&t.slice(1,t.length-1).every(e=>/^\s*\*/.test(e))&&/^\s*\*\/$/.test(_(t))}splitBlockComment(e){return this.isDocComment(e)?e.split(/\n/).map(e=>/^\s*\*/.test(e)?" "+e.replace(/^\s*/,""):e):e.split(/\n/).map(e=>e.replace(/^\s*/,""))}formatSubExpression(e){return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:this.layout,inline:this.inline}).format(e)}formatInlineExpression(e){let t=this.params.getPositionalParameterIndex();try{return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new nJ(this.cfg.expressionWidth),inline:!0}).format(e)}catch(e){if(e instanceof nQ){this.params.setPositionalParameterIndex(t);return}throw e}}formatKeywordNode(e){switch(e.tokenType){case a.RESERVED_JOIN:return this.formatJoin(e);case a.AND:case a.OR:case a.XOR:return this.formatLogicalOperator(e);default:return this.formatKeyword(e)}}formatJoin(e){nL(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE)}formatKeyword(e){this.layout.add(this.showKw(e),i.SPACE)}formatLogicalOperator(e){"before"===this.cfg.logicalOperatorNewline?nL(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE):this.layout.add(this.showKw(e),i.NEWLINE,i.INDENT)}showKw(e){var t;return S(t=e.tokenType)||t===a.RESERVED_CLAUSE||t===a.RESERVED_SELECT||t===a.RESERVED_SET_OPERATION||t===a.RESERVED_JOIN||t===a.LIMIT?function(e,t){if("standard"===t)return e;let n=[];return e.length>=10&&e.includes(" ")&&([e,...n]=e.split(" ")),(e="tabularLeft"===t?e.padEnd(9," "):e.padStart(9," "))+["",...n].join(" ")}(this.showNonTabularKw(e),this.cfg.indentStyle):this.showNonTabularKw(e)}showNonTabularKw(e){switch(this.cfg.keywordCase){case"preserve":return f(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}}class n1{constructor(e,t){this.dialect=e,this.cfg=t,this.params=new nb(this.cfg.params)}format(e){let t=this.parse(e),n=this.formatAst(t),a=this.postFormat(n);return a.trimEnd()}parse(e){return(function(e){let t={},n=new nx(n=>[...e.tokenize(n,t).map(nh).map(nD).map(ny).map(nP),c(n.length)]),a=new nW(n$.fromCompiled(nV),{lexer:n});return{parse:(e,n)=>{t=n;let{results:r}=a.feed(e);if(1===r.length)return r[0];if(0===r.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar -${JSON.stringify(r,void 0,2)}`)}}})(this.dialect.tokenizer).parse(e,this.cfg.paramTypes||{})}formatAst(e){return e.map(e=>this.formatStatement(e)).join("\n".repeat(this.cfg.linesBetweenQueries+1))}formatStatement(e){let t=new n0({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new nX(new nq(n_(this.cfg)))}).format(e.children);return e.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?t.add(i.NEWLINE,";"):t.add(i.NO_NEWLINE,";")),t.toString()}postFormat(e){if(this.cfg.tabulateAlias&&(e=function(e){let t=e.split("\n"),n=[];for(let e=0;e({line:e,matches:e.match(/(^.*?\S) (AS )?(\S+,?$)/i)})).map(({line:e,matches:t})=>t?{precedingText:t[1],as:t[2],alias:t[3]}:{precedingText:e}),i=b(r.map(({precedingText:e})=>e.replace(/\s*,\s*$/,"")));n=[...n,...a=r.map(({precedingText:e,as:t,alias:n})=>e+(n?" ".repeat(i-e.length+1)+(t??"")+n:""))]}n.push(t[e])}return n.join("\n")}(e)),"before"===this.cfg.commaPosition||"tabular"===this.cfg.commaPosition){var t,n,a;t=e,n=this.cfg.commaPosition,a=n_(this.cfg),e=(function(e){let t=[];for(let n=0;n{if(1===e.length)return e;if("tabular"===n)return function(e){let t=b(e.map(e=>e.replace(/\s*--.*/,"")))-1;return e.map((n,a)=>a===e.length-1?n:function(e,t){let[,n,a]=e.match(/^(.*?),(\s*--.*)?$/)||[],r=" ".repeat(t-n.length);return`${n}${r},${a??""}`}(n,t))}(e);if("before"===n)return e.map(e=>e.replace(/,(\s*(--.*)?$)/,"$1")).map((e,t)=>{if(0===t)return e;let[n]=e.match(nK)||[""];return n.replace(RegExp(a+"$"),"")+a.replace(/ {2}$/,", ")+e.trimStart()});throw Error(`Unexpected commaPosition: ${n}`)}).join("\n")}return e}}class n2 extends Error{}let n3={bigquery:"bigquery",db2:"db2",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},n4=Object.keys(n3),n6={tabWidth:2,useTabs:!1,keywordCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",tabulateAlias:!1,commaPosition:"after",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},n8=(e,t={})=>{if("string"==typeof t.language&&!n4.includes(t.language))throw new n2(`Unsupported SQL dialect: ${t.language}`);let n=n3[t.language||"sql"];return n5(e,{...t,dialect:E[n]})},n5=(e,{dialect:t,...n})=>{if("string"!=typeof e)throw Error("Invalid query argument. Expected string, instead got "+typeof e);let a=function(e){if("multilineLists"in e)throw new n2("multilineLists config is no more supported.");if("newlineBeforeOpenParen"in e)throw new n2("newlineBeforeOpenParen config is no more supported.");if("newlineBeforeCloseParen"in e)throw new n2("newlineBeforeCloseParen config is no more supported.");if("aliasAs"in e)throw new n2("aliasAs config is no more supported.");if(e.expressionWidth<=0)throw new n2(`expressionWidth config must be positive number. Received ${e.expressionWidth} instead.`);if("before"===e.commaPosition&&e.useTabs)throw new n2("commaPosition: before does not work when tabs are used for indentation.");return e.params&&!function(e){let t=e instanceof Array?e:Object.values(e);return t.every(e=>"string"==typeof e)}(e.params)&&console.warn('WARNING: All "params" option values should be strings.'),e}({...n6,...n});return new n1(ng(t),a).format(e)}},34702:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},38105:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/34-c924e44753dd2c5b.js b/pilot/server/static/_next/static/chunks/34-c924e44753dd2c5b.js new file mode 100644 index 000000000..c8c3d284e --- /dev/null +++ b/pilot/server/static/_next/static/chunks/34-c924e44753dd2c5b.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34],{84229:function(e,t,n){n.d(t,{Z:function(){return y}});var r=n(63366),i=n(87462),o=n(67294),a=n(14142),l=n(94780),s=n(86010),c=n(20407),u=n(30220),p=n(74312),m=n(34867);function d(e){return(0,m.Z)("MuiBreadcrumbs",e)}(0,n(1588).Z)("MuiBreadcrumbs",["root","ol","li","separator","sizeSm","sizeMd","sizeLg"]);var g=n(85893);let h=["children","className","size","separator","component","slots","slotProps"],v=e=>{let{size:t}=e,n={root:["root",t&&`size${(0,a.Z)(t)}`],li:["li"],ol:["ol"],separator:["separator"]};return(0,l.Z)(n,d,{})},b=(0,p.Z)("nav",{name:"JoyBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,i.Z)({},"sm"===t.size&&{"--Breadcrumbs-gap":"0.25rem",fontSize:e.vars.fontSize.sm,padding:"0.5rem"},"md"===t.size&&{"--Breadcrumbs-gap":"0.375rem",fontSize:e.vars.fontSize.md,padding:"0.75rem"},"lg"===t.size&&{"--Breadcrumbs-gap":"0.5rem",fontSize:e.vars.fontSize.lg,padding:"1rem"},{lineHeight:1})),f=(0,p.Z)("ol",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),x=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({}),$=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginInline:"var(--Breadcrumbs-gap)"}),S=o.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoyBreadcrumbs"}),{children:a,className:l,size:p="md",separator:m="/",component:d,slots:S={},slotProps:y={}}=n,C=(0,r.Z)(n,h),k=(0,i.Z)({},n,{separator:m,size:p}),E=v(k),N=(0,i.Z)({},C,{component:d,slots:S,slotProps:y}),[P,z]=(0,u.Z)("root",{ref:t,className:(0,s.Z)(E.root,l),elementType:b,externalForwardedProps:N,ownerState:k}),[I,O]=(0,u.Z)("ol",{className:E.ol,elementType:f,externalForwardedProps:N,ownerState:k}),[w,j]=(0,u.Z)("li",{className:E.li,elementType:x,externalForwardedProps:N,ownerState:k}),[Z,B]=(0,u.Z)("separator",{additionalProps:{"aria-hidden":!0},className:E.separator,elementType:$,externalForwardedProps:N,ownerState:k}),T=o.Children.toArray(a).filter(e=>o.isValidElement(e)).map((e,t)=>(0,g.jsx)(w,(0,i.Z)({},j,{children:e}),`child-${t}`));return(0,g.jsx)(P,(0,i.Z)({},z,{children:(0,g.jsx)(I,(0,i.Z)({},O,{children:T.reduce((e,t,n)=>(nt.root});function $(e){return(0,p.Z)({props:e,name:"MuiStack",defaultTheme:f})}let S=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],y=({ownerState:e,theme:t})=>{let n=(0,i.Z)({display:"flex",flexDirection:"column"},(0,g.k9)({theme:t},(0,g.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let r=(0,h.hB)(t),i=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),o=(0,g.P$)({values:e.direction,base:i}),a=(0,g.P$)({values:e.spacing,base:i});"object"==typeof o&&Object.keys(o).forEach((e,t,n)=>{let r=o[e];if(!r){let r=t>0?o[n[t-1]]:"column";o[e]=r}}),n=(0,l.Z)(n,(0,g.k9)({theme:t},a,(t,n)=>e.useFlexGap?{gap:(0,h.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${S(n?o[n]:e.direction)}`]:(0,h.NA)(r,t)}}))}return(0,g.dt)(t.breakpoints,n)};var C=n(74312),k=n(20407);let E=function(e={}){let{createStyledComponent:t=x,useThemeProps:n=$,componentName:l="MuiStack"}=e,u=()=>(0,s.Z)({root:["root"]},e=>(0,c.Z)(l,e),{}),p=t(y),d=o.forwardRef(function(e,t){let l=n(e),s=(0,m.Z)(l),{component:c="div",direction:d="column",spacing:g=0,divider:h,children:f,className:x,useFlexGap:$=!1}=s,S=(0,r.Z)(s,b),y=u();return(0,v.jsx)(p,(0,i.Z)({as:c,ownerState:{direction:d,spacing:g,useFlexGap:$},ref:t,className:(0,a.Z)(y.root,x)},S,{children:h?function(e,t){let n=o.Children.toArray(e).filter(Boolean);return n.reduce((e,r,i)=>(e.push(r),it.root}),useThemeProps:e=>(0,k.Z)({props:e,name:"JoyStack"})});var N=E},60122:function(e,t,n){n.d(t,{Z:function(){return et}});var r=n(87462),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},a=n(42135),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))}),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},c=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:s}))}),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},p=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:u}))}),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},d=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:m}))}),g=n(94184),h=n.n(g),v=n(4942),b=n(1413),f=n(15671),x=n(43144),$=n(32531),S=n(73568),y=n(64217),C={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},k=function(e){(0,$.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;(0,f.Z)(this,n);for(var r=arguments.length,i=Array(r),o=0;o=0||t.relatedTarget.className.indexOf("".concat(o,"-item"))>=0)||i(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode===C.ENTER||"click"===t.type)&&(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue()))},e}return(0,x.Z)(n,[{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some(function(e){return e.toString()===t.toString()})?n:n.concat([t.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,o=t.rootPrefixCls,a=t.changeSize,l=t.quickGo,s=t.goButton,c=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,m=t.disabled,d=this.state.goInputText,g="".concat(o,"-options"),h=null,v=null,b=null;if(!a&&!l)return null;var f=this.getPageSizeOptions();if(a&&c){var x=f.map(function(t,n){return i.createElement(c.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))});h=i.createElement(c,{disabled:m,prefixCls:p,showSearch:!1,className:"".concat(g,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(n||f[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},x)}return l&&(s&&(b="boolean"==typeof s?i.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(g,"-quick-jumper-button")},r.jump_to_confirm):i.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),v=i.createElement("div",{className:"".concat(g,"-quick-jumper")},r.jump_to,i.createElement("input",{disabled:m,type:"text",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":r.page}),r.page,b)),i.createElement("li",{className:"".concat(g)},h,v)}}]),n}(i.Component);k.defaultProps={pageSizeOptions:["10","20","50","100"]};var E=function(e){var t,n=e.rootPrefixCls,r=e.page,o=e.active,a=e.className,l=e.showTitle,s=e.onClick,c=e.onKeyPress,u=e.itemRender,p="".concat(n,"-item"),m=h()(p,"".concat(p,"-").concat(r),(t={},(0,v.Z)(t,"".concat(p,"-active"),o),(0,v.Z)(t,"".concat(p,"-disabled"),!r),(0,v.Z)(t,e.className,a),t)),d=u(r,"page",i.createElement("a",{rel:"nofollow"},r));return d?i.createElement("li",{title:l?r.toString():null,className:m,onClick:function(){s(r)},onKeyPress:function(e){c(e,s,r)},tabIndex:0},d):null};function N(){}function P(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function z(e,t,n){var r=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var I=function(e){(0,$.Z)(n,e);var t=(0,S.Z)(n);function n(e){(0,f.Z)(this,n),(r=t.call(this,e)).paginationNode=i.createRef(),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(z(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,o=e||i.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(o=i.createElement(e,(0,b.Z)({},r.props))),o},r.isValid=function(e){var t=r.props.total;return P(e)&&e!==r.state.current&&P(t)&&t>0},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper;return!(e.total<=r.state.pageSize)&&t},r.handleKeyDown=function(e){(e.keyCode===C.ARROW_UP||e.keyCode===C.ARROW_DOWN)&&e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e);t!==r.state.currentInputValue&&r.setState({currentInputValue:t}),e.keyCode===C.ENTER?r.handleChange(t):e.keyCode===C.ARROW_UP?r.handleChange(t-1):e.keyCode===C.ARROW_DOWN&&r.handleChange(t+1)},r.handleBlur=function(e){var t=r.getValidValue(e);r.handleChange(t)},r.changePageSize=function(e){var t=r.state.current,n=z(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"!=typeof e||("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange,o=r.state,a=o.pageSize,l=o.current,s=o.currentInputValue;if(r.isValid(e)&&!n){var c=z(void 0,r.state,r.props),u=e;return e>c?u=c:e<1&&(u=1),"current"in r.props||r.setState({current:u}),u!==s&&r.setState({currentInputValue:u}),i(u,a),u}return l},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current2?n-2:0),i=2;i=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>r}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,o=e.style,a=e.disabled,l=e.hideOnSinglePage,s=e.total,c=e.locale,u=e.showQuickJumper,p=e.showLessItems,m=e.showTitle,d=e.showTotal,g=e.simple,b=e.itemRender,f=e.showPrevNextJumpers,x=e.jumpPrevIcon,$=e.jumpNextIcon,S=e.selectComponentClass,C=e.selectPrefixCls,N=e.pageSizeOptions,P=this.state,I=P.current,O=P.pageSize,w=P.currentInputValue;if(!0===l&&s<=O)return null;var j=z(void 0,this.state,this.props),Z=[],B=null,T=null,M=null,R=null,D=null,_=u&&u.goButton,A=p?1:2,H=I-1>0?I-1:0,W=I+1s?s:I*O]));if(g){_&&(D="boolean"==typeof _?i.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},c.jump_to_confirm):i.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_),D=i.createElement("li",{title:m?"".concat(c.jump_to).concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},D));var J=this.renderPrev(H);return i.createElement("ul",(0,r.Z)({className:h()(t,"".concat(t,"-simple"),(0,v.Z)({},"".concat(t,"-disabled"),a),n),style:o,ref:this.paginationNode},V),L,J?i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},J):null,i.createElement("li",{title:m?"".concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},i.createElement("input",{type:"text",value:w,disabled:a,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),i.createElement("span",{className:"".concat(t,"-slash")},"/"),j),i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(W)),D)}if(j<=3+2*A){var K={locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:m,itemRender:b};j||Z.push(i.createElement(E,(0,r.Z)({},K,{key:"noPager",page:1,className:"".concat(t,"-item-disabled")})));for(var G=1;G<=j;G+=1){var U=I===G;Z.push(i.createElement(E,(0,r.Z)({},K,{key:G,page:G,active:U})))}}else{var X=p?c.prev_3:c.prev_5,F=p?c.next_3:c.next_5,q=b(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(x,"prev page")),Q=b(this.getJumpNextPage(),"jump-next",this.getItemIcon($,"next page"));f&&(B=q?i.createElement("li",{title:m?X:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:h()("".concat(t,"-jump-prev"),(0,v.Z)({},"".concat(t,"-jump-prev-custom-icon"),!!x))},q):null,T=Q?i.createElement("li",{title:m?F:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:h()("".concat(t,"-jump-next"),(0,v.Z)({},"".concat(t,"-jump-next-custom-icon"),!!$))},Q):null),R=i.createElement(E,{locale:c,last:!0,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:j,page:j,active:!1,showTitle:m,itemRender:b}),M=i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:m,itemRender:b});var Y=Math.max(1,I-A),ee=Math.min(I+A,j);I-1<=A&&(ee=1+2*A),j-I<=A&&(Y=j-2*A);for(var et=Y;et<=ee;et+=1){var en=I===et;Z.push(i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:et,page:et,active:en,showTitle:m,itemRender:b}))}I-1>=2*A&&3!==I&&(Z[0]=(0,i.cloneElement)(Z[0],{className:"".concat(t,"-item-after-jump-prev")}),Z.unshift(B)),j-I>=2*A&&I!==j-2&&(Z[Z.length-1]=(0,i.cloneElement)(Z[Z.length-1],{className:"".concat(t,"-item-before-jump-next")}),Z.push(T)),1!==Y&&Z.unshift(M),ee!==j&&Z.push(R)}var er=!this.hasPrev()||!j,ei=!this.hasNext()||!j,eo=this.renderPrev(H),ea=this.renderNext(W);return i.createElement("ul",(0,r.Z)({className:h()(t,n,(0,v.Z)({},"".concat(t,"-disabled"),a)),style:o,ref:this.paginationNode},V),L,eo?i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:er?null:0,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),er)),"aria-disabled":er},eo):null,Z,ea?i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:ei?null:0,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),ei)),"aria-disabled":ei},ea):null,i.createElement(k,{disabled:a,locale:c,rootPrefixCls:t,selectComponentClass:S,selectPrefixCls:C,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:I,pageSize:O,pageSizeOptions:N,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,i=z(e.pageSize,t,e);r=r>i?i:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(i.Component);I.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:N,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:N,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var O=n(62906),w=n(53124),j=n(98675),Z=n(8410),B=n(57838),T=n(74443),M=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)({}),n=(0,B.Z)(),r=(0,T.Z)();return(0,Z.Z)(()=>{let i=r.subscribe(r=>{t.current=r,e&&n()});return()=>r.unsubscribe(i)},[]),t.current},R=n(10110),D=n(50965);let _=e=>i.createElement(D.Z,Object.assign({},e,{showSearch:!0,size:"small"})),A=e=>i.createElement(D.Z,Object.assign({},e,{showSearch:!0,size:"middle"}));_.Option=D.Z.Option,A.Option=D.Z.Option;var H=n(47673),W=n(14747),V=n(67968),L=n(45503);let J=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},K=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM-2}px`},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,H.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},G=e=>{let{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},U=e=>{let{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,H.ik)(e)),{width:1.25*e.controlHeightLG,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},X=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:`${e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},F=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.Wf)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.itemSize-2}px`,verticalAlign:"middle"}}),X(e)),U(e)),G(e)),K(e)),J(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},q=e=>{let{componentCls:t}=e;return{[`${t}${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Q=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,W.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,W.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,W.oN)(e))}}}};var Y=(0,V.Z)("Pagination",e=>{let t=(0,L.TS)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:1.1*e.controlHeightLG,paginationItemPaddingInline:1.5*e.marginXXS,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,H.e5)(e));return[F(t),Q(t),e.wireframe&&q(t)]},e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0})),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},et=e=>{let{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:o,style:a,size:s,locale:u,selectComponentClass:m,responsive:g,showSizeChanger:v}=e,b=ee(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:f}=M(g),{getPrefixCls:x,direction:$,pagination:S={}}=i.useContext(w.E_),y=x("pagination",t),[C,k]=Y(y),E=null!=v?v:S.showSizeChanger,N=i.useMemo(()=>{let e=i.createElement("span",{className:`${y}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${y}-item-link`,type:"button",tabIndex:-1},"rtl"===$?i.createElement(d,null):i.createElement(p,null)),n=i.createElement("button",{className:`${y}-item-link`,type:"button",tabIndex:-1},"rtl"===$?i.createElement(p,null):i.createElement(d,null)),r=i.createElement("a",{className:`${y}-item-link`},i.createElement("div",{className:`${y}-item-container`},"rtl"===$?i.createElement(c,{className:`${y}-item-link-icon`}):i.createElement(l,{className:`${y}-item-link-icon`}),e)),o=i.createElement("a",{className:`${y}-item-link`},i.createElement("div",{className:`${y}-item-container`},"rtl"===$?i.createElement(l,{className:`${y}-item-link-icon`}):i.createElement(c,{className:`${y}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:o}},[$,y]),[P]=(0,R.Z)("Pagination",O.Z),z=Object.assign(Object.assign({},P),u),Z=(0,j.Z)(s),B="small"===Z||!!(f&&!Z&&g),T=x("select",n),D=h()({[`${y}-mini`]:B,[`${y}-rtl`]:"rtl"===$},null==S?void 0:S.className,r,o,k),H=Object.assign(Object.assign({},null==S?void 0:S.style),a);return C(i.createElement(I,Object.assign({},N,b,{style:H,prefixCls:y,selectPrefixCls:T,className:D,selectComponentClass:m||(B?_:A),locale:z,showSizeChanger:E})))}},74627:function(e,t,n){n.d(t,{Z:function(){return P}});var r=n(94184),i=n.n(r),o=n(67294);let a=e=>e?"function"==typeof e?e():e:null;var l=n(33603),s=n(53124),c=n(94139),u=n(92419),p=n(14747),m=n(50438),d=n(77786),g=n(8796),h=n(67968),v=n(45503);let b=e=>{let{componentCls:t,popoverColor:n,minWidth:r,fontWeightStrong:i,popoverPadding:o,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:c,marginXS:u,colorBgElevated:m,popoverBg:g}=e;return[{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:g,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:u,color:l,fontWeight:i},[`${t}-inner-content`]:{color:n}})},(0,d.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},f=e=>{let{componentCls:t}=e;return{[t]:g.i.map(n=>{let r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},x=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:i,paddingSM:o,controlHeight:a,fontSize:l,lineHeight:s,padding:c}=e,u=a-Math.round(l*s);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${u/2}px ${c}px ${u/2-n}px`,borderBottom:`${n}px ${r} ${i}`},[`${t}-inner-content`]:{padding:`${o}px ${c}px`}}}};var $=(0,h.Z)("Popover",e=>{let{colorBgElevated:t,colorText:n,wireframe:r}=e,i=(0,v.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[b(i),f(i),r&&x(i),(0,m._y)(i,"zoom-big")]},e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30}),{deprecatedTokens:[["width","minWidth"]]}),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let y=(e,t,n)=>{if(t||n)return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${e}-title`},a(t)),o.createElement("div",{className:`${e}-inner-content`},a(n)))},C=e=>{let{hashId:t,prefixCls:n,className:r,style:a,placement:l="top",title:s,content:c,children:p}=e;return o.createElement("div",{className:i()(t,n,`${n}-pure`,`${n}-placement-${l}`,r),style:a},o.createElement("div",{className:`${n}-arrow`}),o.createElement(u.G,Object.assign({},e,{className:t,prefixCls:n}),p||y(n,s,c)))};var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let E=e=>{let{title:t,content:n,prefixCls:r}=e;return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${r}-title`},a(t)),o.createElement("div",{className:`${r}-inner-content`},a(n)))},N=o.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:a,overlayClassName:u,placement:p="top",trigger:m="hover",mouseEnterDelay:d=.1,mouseLeaveDelay:g=.1,overlayStyle:h={}}=e,v=k(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:b}=o.useContext(s.E_),f=b("popover",n),[x,S]=$(f),y=b(),C=i()(u,S);return x(o.createElement(c.Z,Object.assign({placement:p,trigger:m,mouseEnterDelay:d,mouseLeaveDelay:g,overlayStyle:h},v,{prefixCls:f,overlayClassName:C,ref:t,overlay:r||a?o.createElement(E,{prefixCls:f,title:r,content:a}):null,transitionName:(0,l.m)(y,"zoom-big",v.transitionName),"data-popover-inject":!0})))});N._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t}=e,n=S(e,["prefixCls"]),{getPrefixCls:r}=o.useContext(s.E_),i=r("popover",t),[a,l]=$(i);return a(o.createElement(C,Object.assign({},n,{prefixCls:i,hashId:l})))};var P=N}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/355-f67a136d901a8c5f.js b/pilot/server/static/_next/static/chunks/355-f67a136d901a8c5f.js deleted file mode 100644 index c3c9cd9ec..000000000 --- a/pilot/server/static/_next/static/chunks/355-f67a136d901a8c5f.js +++ /dev/null @@ -1,71 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[355],{70333:function(e,t,r){"use strict";r.d(t,{iN:function(){return g},R_:function(){return f},ez:function(){return h}});var n=r(32675),o=r(79185),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,r=e.g,o=e.b,i=(0,n.py)(t,r,o);return{h:360*i.h,s:i.s,v:i.v}}function c(e){var t=e.r,r=e.g,o=e.b;return"#".concat((0,n.vq)(t,r,o,!1))}function u(e,t,r){var n;return(n=Math.round(e.h)>=60&&240>=Math.round(e.h)?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function s(e,t,r){var n;return 0===e.h&&0===e.s?e.s:((n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)))}function l(e,t,r){var n;return(n=r?e.v+.05*t:e.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=(0,o.uA)(e),f=5;f>0;f-=1){var h=a(n),d=c((0,o.uA)({h:u(h,f,!0),s:s(h,f,!0),v:l(h,f,!0)}));r.push(d)}r.push(c(n));for(var p=1;p<=4;p+=1){var g=a(n),m=c((0,o.uA)({h:u(g,p),s:s(g,p),v:l(g,p)}));r.push(m)}return"dark"===t.theme?i.map(function(e){var n,i,a,u=e.index,s=e.opacity;return c((n=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(r[u]),a=100*s/100,{r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b}))}):r}var h={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},d={},p={};Object.keys(h).forEach(function(e){d[e]=f(h[e]),d[e].primary=d[e][5],p[e]=f(h[e],{theme:"dark",backgroundColor:"#141414"}),p[e].primary=p[e][5]}),d.red,d.volcano,d.gold,d.orange,d.yellow,d.lime,d.green,d.cyan;var g=d.blue;d.geekblue,d.purple,d.magenta,d.grey,d.grey},84596:function(e,t,r){"use strict";r.d(t,{E4:function(){return ew},jG:function(){return A},t2:function(){return B},fp:function(){return F},xy:function(){return ex}});var n,o=r(90151),i=r(88684),a=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)},c=r(86006),u=r.t(c,2);r(55567),r(81027);var s=r(18050),l=r(49449),f=r(65877),h=function(){function e(t){(0,s.Z)(this,e),(0,f.Z)(this,"instanceId",void 0),(0,f.Z)(this,"cache",new Map),this.instanceId=t}return(0,l.Z)(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var r=e.join("%"),n=t(this.cache.get(r));null===n?this.cache.delete(r):this.cache.set(r,n)}}]),e}(),d="data-token-hash",p="data-css-hash",g="__cssinjs_instance__",m=c.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(p,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(t){t[g]=t[g]||e,t[g]===e&&document.head.insertBefore(t,r)});var n={};Array.from(document.querySelectorAll("style[".concat(p,"]"))).forEach(function(t){var r,o=t.getAttribute(p);n[o]?t[g]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0})}return new h(e)}(),defaultCache:!0}),y=r(965),v=r(71693),b=r(52160),E=r(60456),x=function(){function e(){(0,s.Z)(this,e),(0,f.Z)(this,"cache",void 0),(0,f.Z)(this,"keys",void 0),(0,f.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,l.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t,r;o=null===(t=o)||void 0===t?void 0:null===(r=t.map)||void 0===r?void 0:r.get(e)}else o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,r){var n=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var r=(0,E.Z)(e,2)[1];return n.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),S+=1}return(0,l.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,r){return r(e,t)},void 0)}}]),e}(),C=new x;function A(e){var t=Array.isArray(e)?e:[e];return C.has(t)||C.set(t,new O(t)),C.get(t)}function k(e){var t="";return Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof O?t+=n.id:n&&"object"===(0,y.Z)(n)?t+=k(n):t+=n}),t}var T="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Z="_bAmBoO_",j=void 0,R=r(38358),P=(0,i.Z)({},u).useInsertionEffect,M=P?function(e,t,r){return P(function(){return e(),t()},r)}:function(e,t,r){c.useMemo(e,r),(0,R.Z)(function(){return t(!0)},r)},N=void 0!==(0,i.Z)({},u).useInsertionEffect?function(e){var t=[],r=!1;return c.useEffect(function(){return r=!1,function(){r=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){r||t.push(e)}}:function(){return function(e){e()}};function L(e,t,r,n,i){var a=c.useContext(m).cache,u=[e].concat((0,o.Z)(t)),s=u.join("_"),l=N([s]),f=function(e){a.update(u,function(t){var n=(0,E.Z)(t||[],2),o=n[0],i=[void 0===o?0:o,n[1]||r()];return e?e(i):i})};c.useMemo(function(){f()},[s]);var h=a.get(u)[1];return M(function(){null==i||i(h)},function(e){return f(function(t){var r=(0,E.Z)(t,2),n=r[0],o=r[1];return e&&0===n&&(null==i||i(h)),[n+1,o]}),function(){a.update(u,function(e){var t=(0,E.Z)(e||[],2),r=t[0],o=void 0===r?0:r,i=t[1];return 0==o-1?(l(function(){return null==n?void 0:n(i,!1)}),null):[o-1,i]})}},[s]),h}var _={},I=new Map,B=function(e,t,r,n){var o=r.getDerivativeToken(e),a=(0,i.Z)((0,i.Z)({},o),t);return n&&(a=n(a)),a};function F(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=(0,c.useContext)(m).cache.instanceId,i=r.salt,u=void 0===i?"":i,s=r.override,l=void 0===s?_:s,f=r.formatToken,h=r.getComputedToken,p=c.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(t)))},[t]),y=c.useMemo(function(){return k(p)},[p]),v=c.useMemo(function(){return k(l)},[l]);return L("token",[u,e.id,y,v],function(){var t=h?h(p,l,e):B(p,l,e,f),r=a("".concat(u,"_").concat(k(t)));t._tokenKey=r,I.set(r,(I.get(r)||0)+1);var n="".concat("css","-").concat(a(r));return t._hashId=n,[t,n]},function(e){var t,r,o;t=e[0]._tokenKey,I.set(t,(I.get(t)||0)-1),o=(r=Array.from(I.keys())).filter(function(e){return 0>=(I.get(e)||0)}),r.length-o.length>0&&o.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(d,'="').concat(e,'"]')).forEach(function(e){if(e[g]===n){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),I.delete(e)})})}var U=r(40431),D={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},H="comm",z="rule",$="decl",W=Math.abs,q=String.fromCharCode;function G(e,t,r){return e.replace(t,r)}function X(e,t){return 0|e.charCodeAt(t)}function V(e,t,r){return e.slice(t,r)}function K(e){return e.length}function Y(e,t){return t.push(e),e}function J(e,t){for(var r="",n=0;n0?d[v]+" "+b:G(b,/&\f/g,d[v])).trim())&&(u[y++]=E);return ea(e,t,r,0===o?z:c,u,s,l,f)}function eh(e,t,r,n,o){return ea(e,t,r,$,V(e,0,n),V(e,n+1,-1),n,o)}var ed="data-ant-cssinjs-cache-path",ep="_FILE_STYLE__",eg=!0,em=(0,v.Z)(),ey="_multi_value_";function ev(e){var t,r,n;return J((n=function e(t,r,n,o,i,a,c,u,s){for(var l,f=0,h=0,d=c,p=0,g=0,m=0,y=1,v=1,b=1,E=0,x="",w=i,S=a,O=o,C=x;v;)switch(m=E,E=ec()){case 40:if(108!=m&&58==X(C,d-1)){-1!=(C+=G(el(E),"&","&\f")).indexOf("&\f")&&(b=-1);break}case 34:case 39:case 91:C+=el(E);break;case 9:case 10:case 13:case 32:C+=function(e){for(;eo=eu();)if(eo<33)ec();else break;return es(e)>2||es(eo)>3?"":" "}(m);break;case 92:C+=function(e,t){for(var r;--t&&ec()&&!(eo<48)&&!(eo>102)&&(!(eo>57)||!(eo<65))&&(!(eo>70)||!(eo<97)););return r=en+(t<6&&32==eu()&&32==ec()),V(ei,e,r)}(en-1,7);continue;case 47:switch(eu()){case 42:case 47:Y(ea(l=function(e,t){for(;ec();)if(e+eo===57)break;else if(e+eo===84&&47===eu())break;return"/*"+V(ei,t,en-1)+"*"+q(47===e?e:ec())}(ec(),en),r,n,H,q(eo),V(l,2,-2),0,s),s);break;default:C+="/"}break;case 123*y:u[f++]=K(C)*b;case 125*y:case 59:case 0:switch(E){case 0:case 125:v=0;case 59+h:-1==b&&(C=G(C,/\f/g,"")),g>0&&K(C)-d&&Y(g>32?eh(C+";",o,n,d-1,s):eh(G(C," ","")+";",o,n,d-2,s),s);break;case 59:C+=";";default:if(Y(O=ef(C,r,n,f,h,i,u,x,w=[],S=[],d,a),a),123===E){if(0===h)e(C,r,O,O,w,a,d,u,S);else switch(99===p&&110===X(C,3)?100:p){case 100:case 108:case 109:case 115:e(t,O,O,o&&Y(ef(t,O,O,0,0,i,u,x,i,w=[],d,S),S),i,S,d,u,o?w:S);break;default:e(C,O,O,O,[""],S,0,u,S)}}}f=h=g=0,y=b=1,x=C="",d=c;break;case 58:d=1+K(C),g=m;default:if(y<1){if(123==E)--y;else if(125==E&&0==y++&&125==(eo=en>0?X(ei,--en):0,et--,10===eo&&(et=1,ee--),eo))continue}switch(C+=q(E),E*y){case 38:b=h>0?1:(C+="\f",-1);break;case 44:u[f++]=(K(C)-1)*b,b=1;break;case 64:45===eu()&&(C+=el(ec())),p=eu(),h=d=K(x=C+=function(e){for(;!es(eu());)ec();return V(ei,e,en)}(en)),E++;break;case 45:45===m&&2==K(C)&&(y=0)}}return a}("",null,null,null,[""],(r=t=e,ee=et=1,er=K(ei=r),en=0,t=[]),0,[0],t),ei="",n),Q).replace(/\{%%%\:[^;];}/g,";")}var eb=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=n.root,c=n.injectHash,u=n.parentSelectors,s=r.hashId,l=r.layer,f=(r.path,r.hashPriority),h=r.transformers,d=void 0===h?[]:h;r.linters;var p="",g={};function m(t){var n=t.getName(s);if(!g[n]){var o=e(t.style,r,{root:!1,parentSelectors:u}),i=(0,E.Z)(o,1)[0];g[n]="@keyframes ".concat(t.getName(s)).concat(i)}}if((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,r):t&&r.push(t)}),r})(Array.isArray(t)?t:[t]).forEach(function(t){var n="string"!=typeof t||a?t:{};if("string"==typeof n)p+="".concat(n,"\n");else if(n._keyframe)m(n);else{var l=d.reduce(function(e,t){var r;return(null==t?void 0:null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e},n);Object.keys(l).forEach(function(t){var n=l[t];if("object"!==(0,y.Z)(n)||!n||"animationName"===t&&n._keyframe||"object"===(0,y.Z)(n)&&n&&("_skip_check_"in n||ey in n)){function h(e,t){var r=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),n=t;D[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(m(t),n=t.getName(s)),p+="".concat(r,":").concat(n,";")}var d,v=null!==(d=null==n?void 0:n.value)&&void 0!==d?d:n;"object"===(0,y.Z)(n)&&null!=n&&n[ey]&&Array.isArray(v)?v.forEach(function(e){h(t,e)}):h(t,v)}else{var b=!1,x=t.trim(),w=!1;(a||c)&&s?x.startsWith("@")?b=!0:x=function(e,t,r){if(!t)return e;var n=".".concat(t),i="low"===r?":where(".concat(n,")"):n;return e.split(",").map(function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",a=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(a).concat(i).concat(n.slice(a.length))].concat((0,o.Z)(r.slice(1))).join(" ")}).join(",")}(t,s,f):a&&!s&&("&"===x||""===x)&&(x="",w=!0);var S=e(n,r,{root:w,injectHash:b,parentSelectors:[].concat((0,o.Z)(u),[x])}),O=(0,E.Z)(S,2),C=O[0],A=O[1];g=(0,i.Z)((0,i.Z)({},g),A),p+="".concat(x).concat(C)}})}}),a){if(l&&(void 0===j&&(j=function(e,t,r){if((0,v.Z)()){(0,b.hq)(e,T);var n,o,i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=r?r(i):null===(n=getComputedStyle(i).content)||void 0===n?void 0:n.includes(Z);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,b.jL)(T),a}return!1}("@layer ".concat(T," { .").concat(T,' { content: "').concat(Z,'"!important; } }'),function(e){e.className=T})),j)){var x=l.split(","),w=x[x.length-1].trim();p="@layer ".concat(w," {").concat(p,"}"),x.length>1&&(p="@layer ".concat(l,"{%%%:%}").concat(p))}}else p="{".concat(p,"}");return[p,g]};function eE(){return null}function ex(e,t){var r=e.token,i=e.path,u=e.hashId,s=e.layer,l=e.nonce,h=e.clientOnly,y=e.order,x=void 0===y?0:y,w=c.useContext(m),S=w.autoClear,O=(w.mock,w.defaultCache),C=w.hashPriority,A=w.container,k=w.ssrInline,T=w.transformers,Z=w.linters,j=w.cache,R=r._tokenKey,P=[R].concat((0,o.Z)(i)),M=L("style",P,function(){var e=P.join("|");if(!function(){if(!n&&(n={},(0,v.Z)())){var e,t=document.createElement("div");t.className=ed,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var r=getComputedStyle(t).content||"";(r=r.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),r=(0,E.Z)(t,2),o=r[0],i=r[1];n[o]=i});var o=document.querySelector("style[".concat(ed,"]"));o&&(eg=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}(),n[e]){var r=function(e){var t=n[e],r=null;if(t&&(0,v.Z)()){if(eg)r=ep;else{var o=document.querySelector("style[".concat(p,'="').concat(n[e],'"]'));o?r=o.innerHTML:delete n[e]}}return[r,t]}(e),o=(0,E.Z)(r,2),c=o[0],l=o[1];if(c)return[c,R,l,{},h,x]}var f=eb(t(),{hashId:u,hashPriority:C,layer:s,path:i.join("-"),transformers:T,linters:Z}),d=(0,E.Z)(f,2),g=d[0],m=d[1],y=ev(g),b=a("".concat(P.join("%")).concat(y));return[y,R,b,m,h,x]},function(e,t){var r=(0,E.Z)(e,3)[2];(t||S)&&em&&(0,b.jL)(r,{mark:p})},function(e){var t=(0,E.Z)(e,4),r=t[0],n=(t[1],t[2]),o=t[3];if(em&&r!==ep){var i={mark:p,prepend:"queue",attachTo:A,priority:x},a="function"==typeof l?l():l;a&&(i.csp={nonce:a});var c=(0,b.hq)(r,n,i);c[g]=j.instanceId,c.setAttribute(d,R),Object.keys(o).forEach(function(e){(0,b.hq)(ev(o[e]),"_effect-".concat(e),i)})}}),N=(0,E.Z)(M,3),_=N[0],I=N[1],B=N[2];return function(e){var t,r;return t=k&&!em&&O?c.createElement("style",(0,U.Z)({},(r={},(0,f.Z)(r,d,I),(0,f.Z)(r,p,B),r),{dangerouslySetInnerHTML:{__html:_}})):c.createElement(eE,null),c.createElement(c.Fragment,null,t,e)}}var ew=function(){function e(t,r){(0,s.Z)(this,e),(0,f.Z)(this,"name",void 0),(0,f.Z)(this,"style",void 0),(0,f.Z)(this,"_keyframe",!0),this.name=t,this.style=r}return(0,l.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function eS(e){return e.notSplit=!0,e}eS(["borderTop","borderBottom"]),eS(["borderTop"]),eS(["borderBottom"]),eS(["borderLeft","borderRight"]),eS(["borderLeft"]),eS(["borderRight"])},1240:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(40431),o=r(60456),i=r(65877),a=r(89301),c=r(86006),u=r(8683),s=r.n(u),l=r(70333),f=r(83346),h=r(88684),d=r(965),p=r(76135),g=r.n(p),m=r(52160),y=r(60618),v=r(5004);function b(e){return"object"===(0,d.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,d.Z)(e.icon)||"function"==typeof e.icon)}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];return"class"===r?(t.className=n,delete t.class):(delete t[r],t[g()(r)]=n),t},{})}function x(e){return(0,l.R_)(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var S=function(e){var t=(0,c.useContext)(f.Z),r=t.csp,n=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";n&&(o=o.replace(/anticon/g,n)),(0,c.useEffect)(function(){var t=e.current,n=(0,y.A)(t);(0,m.hq)(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})},[])},O=["icon","className","onClick","style","primaryColor","secondaryColor"],C={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},A=function(e){var t,r,n=e.icon,o=e.className,i=e.onClick,u=e.style,s=e.primaryColor,l=e.secondaryColor,f=(0,a.Z)(e,O),d=c.useRef(),p=C;if(s&&(p={primaryColor:s,secondaryColor:l||x(s)}),S(d),t=b(n),r="icon should be icon definiton, but got ".concat(n),(0,v.ZP)(t,"[@ant-design/icons] ".concat(r)),!b(n))return null;var g=n;return g&&"function"==typeof g.icon&&(g=(0,h.Z)((0,h.Z)({},g),{},{icon:g.icon(p.primaryColor,p.secondaryColor)})),function e(t,r,n){return n?c.createElement(t.tag,(0,h.Z)((0,h.Z)({key:r},E(t.attrs)),n),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))})):c.createElement(t.tag,(0,h.Z)({key:r},E(t.attrs)),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))}))}(g.icon,"svg-".concat(g.name),(0,h.Z)((0,h.Z)({className:o,onClick:i,style:u,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:d}))};function k(e){var t=w(e),r=(0,o.Z)(t,2),n=r[0],i=r[1];return A.setTwoToneColors({primaryColor:n,secondaryColor:i})}A.displayName="IconReact",A.getTwoToneColors=function(){return(0,h.Z)({},C)},A.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;C.primaryColor=t,C.secondaryColor=r||x(t),C.calculated=!!r};var T=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];k(l.iN.primary);var Z=c.forwardRef(function(e,t){var r,u=e.className,l=e.icon,h=e.spin,d=e.rotate,p=e.tabIndex,g=e.onClick,m=e.twoToneColor,y=(0,a.Z)(e,T),v=c.useContext(f.Z),b=v.prefixCls,E=void 0===b?"anticon":b,x=v.rootClassName,S=s()(x,E,(r={},(0,i.Z)(r,"".concat(E,"-").concat(l.name),!!l.name),(0,i.Z)(r,"".concat(E,"-spin"),!!h||"loading"===l.name),r),u),O=p;void 0===O&&g&&(O=-1);var C=w(m),k=(0,o.Z)(C,2),Z=k[0],j=k[1];return c.createElement("span",(0,n.Z)({role:"img","aria-label":l.name},y,{ref:t,tabIndex:O,onClick:g,className:S}),c.createElement(A,{icon:l,primaryColor:Z,secondaryColor:j,style:d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0}))});Z.displayName="AntdIcon",Z.getTwoToneColor=function(){var e=A.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Z.setTwoToneColor=k;var j=Z},83346:function(e,t,r){"use strict";var n=(0,r(86006).createContext)({});t.Z=n},34777:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=r(1240),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},56222:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},a=r(1240),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},31533:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=r(1240),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},27977:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=r(1240),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},49132:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=r(1240),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},75710:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=r(1240),c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},32675:function(e,t,r){"use strict";r.d(t,{T6:function(){return h},VD:function(){return d},WE:function(){return s},Yt:function(){return p},lC:function(){return i},py:function(){return u},rW:function(){return o},s:function(){return f},ve:function(){return c},vq:function(){return l}});var n=r(25752);function o(e,t,r){return{r:255*(0,n.sh)(e,255),g:255*(0,n.sh)(t,255),b:255*(0,n.sh)(r,255)}}function i(e,t,r){var o=Math.max(e=(0,n.sh)(e,255),t=(0,n.sh)(t,255),r=(0,n.sh)(r,255)),i=Math.min(e,t,r),a=0,c=0,u=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=u>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-r)/s+(t1&&(r-=1),r<1/6)?e+(t-e)*(6*r):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function c(e,t,r){if(e=(0,n.sh)(e,360),t=(0,n.sh)(t,100),r=(0,n.sh)(r,100),0===t)i=r,c=r,o=r;else{var o,i,c,u=r<.5?r*(1+t):r+t-r*t,s=2*r-u;o=a(s,u,e+1/3),i=a(s,u,e),c=a(s,u,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function u(e,t,r){var o=Math.max(e=(0,n.sh)(e,255),t=(0,n.sh)(t,255),r=(0,n.sh)(r,255)),i=Math.min(e,t,r),a=0,c=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-r)/c+(t>16,g:(65280&e)>>8,b:255&e}}},29888:function(e,t,r){"use strict";r.d(t,{R:function(){return n}});var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},79185:function(e,t,r){"use strict";r.d(t,{uA:function(){return a}});var n=r(32675),o=r(29888),i=r(25752);function a(e){var t={r:0,g:0,b:0},r=1,a=null,c=null,u=null,s=!1,h=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=l.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=l.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=l.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=l.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=l.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=l.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=l.hex8.exec(e))?{r:(0,n.VD)(r[1]),g:(0,n.VD)(r[2]),b:(0,n.VD)(r[3]),a:(0,n.T6)(r[4]),format:t?"name":"hex8"}:(r=l.hex6.exec(e))?{r:(0,n.VD)(r[1]),g:(0,n.VD)(r[2]),b:(0,n.VD)(r[3]),format:t?"name":"hex"}:(r=l.hex4.exec(e))?{r:(0,n.VD)(r[1]+r[1]),g:(0,n.VD)(r[2]+r[2]),b:(0,n.VD)(r[3]+r[3]),a:(0,n.T6)(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=l.hex3.exec(e))&&{r:(0,n.VD)(r[1]+r[1]),g:(0,n.VD)(r[2]+r[2]),b:(0,n.VD)(r[3]+r[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,n.rW)(e.r,e.g,e.b),s=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(a=(0,i.JX)(e.s),c=(0,i.JX)(e.v),t=(0,n.WE)(e.h,a,c),s=!0,h="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(a=(0,i.JX)(e.s),u=(0,i.JX)(e.l),t=(0,n.ve)(e.h,a,u),s=!0,h="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=(0,i.Yq)(r),{ok:s,format:e.format||h,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),u="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),l={CSS_UNIT:new RegExp(c),rgb:RegExp("rgb"+u),rgba:RegExp("rgba"+s),hsl:RegExp("hsl"+u),hsla:RegExp("hsla"+s),hsv:RegExp("hsv"+u),hsva:RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){return!!l.CSS_UNIT.exec(String(e))}},57389:function(e,t,r){"use strict";r.d(t,{C:function(){return c}});var n=r(32675),o=r(29888),i=r(79185),a=r(25752),c=function(){function e(t,r){if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=(0,n.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=r.format)&&void 0!==o?o:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,n=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,n.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,n.py)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,n.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,n.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,n.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,n.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,n.vq)(this.r,this.g,this.b,!1),t=0,r=Object.entries(o.R);t=0;return!t&&n&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=(0,a.V2)(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(255*(t/100))))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(255*(t/100))))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(255*(t/100))))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=(0,a.V2)(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=(0,a.V2)(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=(0,a.V2)(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),i=r/100,a={r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a};return new e(a)},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,a=[],c=1/t;t--;)a.push(new e({h:n,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}r.d(t,{FZ:function(){return c},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return n}})},20538:function(e,t,r){"use strict";r.d(t,{n:function(){return i}});var n=r(86006);let o=n.createContext(!1),i=e=>{let{children:t,disabled:r}=e,i=n.useContext(o);return n.createElement(o.Provider,{value:null!=r?r:i},t)};t.Z=o},25844:function(e,t,r){"use strict";r.d(t,{q:function(){return i}});var n=r(86006);let o=n.createContext(void 0),i=e=>{let{children:t,size:r}=e,i=n.useContext(o);return n.createElement(o.Provider,{value:r||i},t)};t.Z=o},79746:function(e,t,r){"use strict";r.d(t,{E_:function(){return i},oR:function(){return o}});var n=r(86006);let o="anticon",i=n.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},46134:function(e,t,r){"use strict";let n,o,i;r.d(t,{ZP:function(){return F},w6:function(){return _}});var a=r(84596),c=r(83346),u=r(55567),s=r(79035),l=r(86006),f=r(94986),h=r(66255),d=r(67044),p=e=>{let{locale:t={},children:r,_ANT_MARK__:n}=e;l.useEffect(()=>{let e=(0,h.f)(t&&t.Modal);return e},[t]);let o=l.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return l.createElement(d.Z.Provider,{value:o},r)},g=r(91295),m=r(60632),y=r(99528),v=r(79746),b=r(70333),E=r(57389),x=r(71693),w=r(52160);let S=`-ant-${Date.now()}-${Math.random()}`;var O=r(20538),C=r(25844),A=r(81027),k=r(78641),T=r(3184);function Z(e){let{children:t}=e,[,r]=(0,T.Z)(),{motion:n}=r,o=l.useRef(!1);return(o.current=o.current||!1===n,o.current)?l.createElement(k.zt,{motion:n},t):t}var j=r(98663),R=(e,t)=>{let[r,n]=(0,T.Z)();return(0,a.xy)({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,j.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},P=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let M=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"];function N(){return n||"ant"}function L(){return o||v.oR}let _=()=>({getPrefixCls:(e,t)=>t||(e?`${N()}-${e}`:N()),getIconPrefixCls:L,getRootPrefixCls:()=>n||N(),getTheme:()=>i}),I=e=>{let{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:i,form:h,locale:d,componentSize:b,direction:E,space:x,virtual:w,dropdownMatchSelectWidth:S,popupMatchSelectWidth:k,popupOverflow:T,legacyLocale:j,parentContext:N,iconPrefixCls:L,theme:_,componentDisabled:I,segmented:B,statistic:F,spin:U,calendar:D,carousel:H,cascader:z,collapse:$,typography:W,checkbox:q,descriptions:G,divider:X,drawer:V,skeleton:K,steps:Y,image:J,layout:Q,list:ee,mentions:et,modal:er,progress:en,result:eo,slider:ei,breadcrumb:ea,menu:ec,pagination:eu,input:es,empty:el,badge:ef,radio:eh,rate:ed,switch:ep,transfer:eg,avatar:em,message:ey,tag:ev,table:eb,card:eE,tabs:ex,timeline:ew,timePicker:eS,upload:eO,notification:eC,tree:eA,colorPicker:ek,datePicker:eT,wave:eZ}=e,ej=l.useCallback((t,r)=>{let{prefixCls:n}=e;if(r)return r;let o=n||N.getPrefixCls("");return t?`${o}-${t}`:o},[N.getPrefixCls,e.prefixCls]),eR=L||N.iconPrefixCls||v.oR,eP=eR!==N.iconPrefixCls,eM=r||N.csp,eN=R(eR,eM),eL=function(e,t){let r=e||{},n=!1!==r.inherit&&t?t:m.u_;return(0,u.Z)(()=>{if(!e)return t;let o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(e,t)=>e.some((e,r)=>{let n=t[r];return!(0,A.Z)(e,n,!0)}))}(_,N.theme),e_={csp:eM,autoInsertSpaceInButton:n,alert:o,anchor:i,locale:d||j,direction:E,space:x,virtual:w,popupMatchSelectWidth:null!=k?k:S,popupOverflow:T,getPrefixCls:ej,iconPrefixCls:eR,theme:eL,segmented:B,statistic:F,spin:U,calendar:D,carousel:H,cascader:z,collapse:$,typography:W,checkbox:q,descriptions:G,divider:X,drawer:V,skeleton:K,steps:Y,image:J,input:es,layout:Q,list:ee,mentions:et,modal:er,progress:en,result:eo,slider:ei,breadcrumb:ea,menu:ec,pagination:eu,empty:el,badge:ef,radio:eh,rate:ed,switch:ep,transfer:eg,avatar:em,message:ey,tag:ev,table:eb,card:eE,tabs:ex,timeline:ew,timePicker:eS,upload:eO,notification:eC,tree:eA,colorPicker:ek,datePicker:eT,wave:eZ},eI=Object.assign({},N);Object.keys(e_).forEach(e=>{void 0!==e_[e]&&(eI[e]=e_[e])}),M.forEach(t=>{let r=e[t];r&&(eI[t]=r)});let eB=(0,u.Z)(()=>eI,eI,(e,t)=>{let r=Object.keys(e),n=Object.keys(t);return r.length!==n.length||r.some(r=>e[r]!==t[r])}),eF=l.useMemo(()=>({prefixCls:eR,csp:eM}),[eR,eM]),eU=eP?eN(t):t,eD=l.useMemo(()=>{var e,t,r,n;return(0,s.T)((null===(e=g.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(r=null===(t=eB.locale)||void 0===t?void 0:t.Form)||void 0===r?void 0:r.defaultValidateMessages)||{},(null===(n=eB.form)||void 0===n?void 0:n.validateMessages)||{},(null==h?void 0:h.validateMessages)||{})},[eB,null==h?void 0:h.validateMessages]);Object.keys(eD).length>0&&(eU=l.createElement(f.Z.Provider,{value:eD},t)),d&&(eU=l.createElement(p,{locale:d,_ANT_MARK__:"internalMark"},eU)),(eR||eM)&&(eU=l.createElement(c.Z.Provider,{value:eF},eU)),b&&(eU=l.createElement(C.q,{size:b},eU)),eU=l.createElement(Z,null,eU);let eH=l.useMemo(()=>{let e=eL||{},{algorithm:t,token:r,components:n}=e,o=P(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?(0,a.jG)(t):m.uH,c={};return Object.entries(n||{}).forEach(e=>{let[t,r]=e,n=Object.assign({},r);"algorithm"in n&&(!0===n.algorithm?n.theme=i:(Array.isArray(n.algorithm)||"function"==typeof n.algorithm)&&(n.theme=(0,a.jG)(n.algorithm)),delete n.algorithm),c[t]=n}),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},y.Z),r),components:c})},[eL]);return _&&(eU=l.createElement(m.Mj.Provider,{value:eH},eU)),void 0!==I&&(eU=l.createElement(O.n,{disabled:I},eU)),l.createElement(v.E_.Provider,{value:eB},eU)},B=e=>{let t=l.useContext(v.E_),r=l.useContext(d.Z);return l.createElement(I,Object.assign({parentContext:t,legacyLocale:r},e))};B.ConfigContext=v.E_,B.SizeContext=C.Z,B.config=e=>{let{prefixCls:t,iconPrefixCls:r,theme:a}=e;void 0!==t&&(n=t),void 0!==r&&(o=r),a&&(Object.keys(a).some(e=>e.endsWith("Color"))?function(e,t){let r=function(e,t){let r={},n=(e,t)=>{let r=e.clone();return(r=(null==t?void 0:t(r))||r).toRgbString()},o=(e,t)=>{let o=new E.C(e),i=(0,b.R_)(o.toRgbString());r[`${t}-color`]=n(o),r[`${t}-color-disabled`]=i[1],r[`${t}-color-hover`]=i[4],r[`${t}-color-active`]=i[6],r[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),r[`${t}-color-deprecated-bg`]=i[0],r[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new E.C(t.primaryColor),i=(0,b.R_)(e.toRgbString());i.forEach((e,t)=>{r[`primary-${t+1}`]=e}),r["primary-color-deprecated-l-35"]=n(e,e=>e.lighten(35)),r["primary-color-deprecated-l-20"]=n(e,e=>e.lighten(20)),r["primary-color-deprecated-t-20"]=n(e,e=>e.tint(20)),r["primary-color-deprecated-t-50"]=n(e,e=>e.tint(50)),r["primary-color-deprecated-f-12"]=n(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new E.C(i[0]);r["primary-color-active-deprecated-f-30"]=n(a,e=>e.setAlpha(.3*e.getAlpha())),r["primary-color-active-deprecated-d-02"]=n(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(r).map(t=>`--${e}-${t}: ${r[t]};`);return` - :root { - ${i.join("\n")} - } - `.trim()}(e,t);(0,x.Z)()&&(0,w.hq)(r,`${S}-dynamic-theme`)}(N(),a):i=a)},B.useConfig=function(){let e=(0,l.useContext)(O.Z),t=(0,l.useContext)(C.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty(B,"SizeContext",{get:()=>C.Z});var F=B},94986:function(e,t,r){"use strict";var n=r(86006);t.Z=(0,n.createContext)(void 0)},67044:function(e,t,r){"use strict";var n=r(86006);let o=(0,n.createContext)(void 0);t.Z=o},91295:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(91219),o={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};let i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},o)},a="${label} is not a valid ${type}",c={locale:"en",Pagination:n.Z,DatePicker:i,TimePicker:o,Calendar:i,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};var u=c},21628:function(e,t,r){"use strict";r.d(t,{ZP:function(){return K}});var n=r(90151),o=r(88101),i=r(86006),a=r(46134),c=r(34777),u=r(56222),s=r(27977),l=r(49132),f=r(75710),h=r(8683),d=r.n(h),p=r(60456),g=r(89301),m=r(40431),y=r(88684),v=r(8431),b=r(78641),E=r(65877),x=r(48580),w=i.forwardRef(function(e,t){var r=e.prefixCls,n=e.style,o=e.className,a=e.duration,c=void 0===a?4.5:a,u=e.eventKey,s=e.content,l=e.closable,f=e.closeIcon,h=void 0===f?"x":f,g=e.props,y=e.onClick,v=e.onNoticeClose,b=e.times,w=i.useState(!1),S=(0,p.Z)(w,2),O=S[0],C=S[1],A=function(){v(u)};i.useEffect(function(){if(!O&&c>0){var e=setTimeout(function(){A()},1e3*c);return function(){clearTimeout(e)}}},[c,O,b]);var k="".concat(r,"-notice");return i.createElement("div",(0,m.Z)({},g,{ref:t,className:d()(k,o,(0,E.Z)({},"".concat(k,"-closable"),l)),style:n,onMouseEnter:function(){C(!0)},onMouseLeave:function(){C(!1)},onClick:y}),i.createElement("div",{className:"".concat(k,"-content")},s),l&&i.createElement("a",{tabIndex:0,className:"".concat(k,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===x.Z.ENTER)&&A()},onClick:function(e){e.preventDefault(),e.stopPropagation(),A()}},h))}),S=i.forwardRef(function(e,t){var r=e.prefixCls,o=void 0===r?"rc-notification":r,a=e.container,c=e.motion,u=e.maxCount,s=e.className,l=e.style,f=e.onAllRemoved,h=i.useState([]),g=(0,p.Z)(h,2),E=g[0],x=g[1],S=function(e){var t,r=E.find(function(t){return t.key===e});null==r||null===(t=r.onClose)||void 0===t||t.call(r),x(function(t){return t.filter(function(t){return t.key!==e})})};i.useImperativeHandle(t,function(){return{open:function(e){x(function(t){var r,o=(0,n.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,y.Z)({},e);return i>=0?(a.times=((null===(r=t[i])||void 0===r?void 0:r.times)||0)+1,o[i]=a):(a.times=0,o.push(a)),u>0&&o.length>u&&(o=o.slice(-u)),o})},close:function(e){S(e)},destroy:function(){x([])}}});var O=i.useState({}),C=(0,p.Z)(O,2),A=C[0],k=C[1];i.useEffect(function(){var e={};E.forEach(function(t){var r=t.placement,n=void 0===r?"topRight":r;n&&(e[n]=e[n]||[],e[n].push(t))}),Object.keys(A).forEach(function(t){e[t]=e[t]||[]}),k(e)},[E]);var T=function(e){k(function(t){var r=(0,y.Z)({},t);return(r[e]||[]).length||delete r[e],r})},Z=i.useRef(!1);if(i.useEffect(function(){Object.keys(A).length>0?Z.current=!0:Z.current&&(null==f||f(),Z.current=!1)},[A]),!a)return null;var j=Object.keys(A);return(0,v.createPortal)(i.createElement(i.Fragment,null,j.map(function(e){var t=A[e].map(function(e){return{config:e,key:e.key}}),r="function"==typeof c?c(e):c;return i.createElement(b.V4,(0,m.Z)({key:e,className:d()(o,"".concat(o,"-").concat(e),null==s?void 0:s(e)),style:null==l?void 0:l(e),keys:t,motionAppear:!0},r,{onAllRemoved:function(){T(e)}}),function(e,t){var r=e.config,n=e.className,a=e.style,c=r.key,u=r.times,s=r.className,l=r.style;return i.createElement(w,(0,m.Z)({},r,{ref:t,prefixCls:o,className:d()(n,s),style:(0,y.Z)((0,y.Z)({},a),l),times:u,key:c,eventKey:c,onNoticeClose:S}))})})),a)}),O=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],C=function(){return document.body},A=0,k=r(79746),T=r(84596),Z=r(98663),j=r(40650),R=r(70721);let P=e=>{let{componentCls:t,iconCls:r,boxShadow:n,colorText:o,colorSuccess:i,colorError:a,colorWarning:c,colorInfo:u,fontSizeLG:s,motionEaseInOutCirc:l,motionDurationSlow:f,marginXS:h,paddingXS:d,borderRadiusLG:p,zIndexPopup:g,contentPadding:m,contentBg:y}=e,v=`${t}-notice`,b=new T.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:d,transform:"translateY(0)",opacity:1}}),E=new T.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:d,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:d,textAlign:"center",[`${t}-custom-content > ${r}`]:{verticalAlign:"text-bottom",marginInlineEnd:h,fontSize:s},[`${v}-content`]:{display:"inline-block",padding:m,background:y,borderRadius:p,boxShadow:n,pointerEvents:"all"},[`${t}-success > ${r}`]:{color:i},[`${t}-error > ${r}`]:{color:a},[`${t}-warning > ${r}`]:{color:c},[`${t}-info > ${r}, - ${t}-loading > ${r}`]:{color:u}};return[{[t]:Object.assign(Object.assign({},(0,Z.Wf)(e)),{color:o,position:"fixed",top:h,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:b,animationDuration:f,animationPlayState:"paused",animationTimingFunction:l},[` - ${t}-move-up-appear${t}-move-up-appear-active, - ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:E,animationDuration:f,animationPlayState:"paused",animationTimingFunction:l},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[v]:Object.assign({},x)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]};var M=(0,j.Z)("Message",e=>{let t=(0,R.TS)(e,{height:150});return[P(t)]},e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),{clientOnly:!0}),N=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let L={info:i.createElement(l.Z,null),success:i.createElement(c.Z,null),error:i.createElement(u.Z,null),warning:i.createElement(s.Z,null),loading:i.createElement(f.Z,null)},_=e=>{let{prefixCls:t,type:r,icon:n,children:o}=e;return i.createElement("div",{className:d()(`${t}-custom-content`,`${t}-${r}`)},n||L[r],i.createElement("span",null,o))};var I=r(31533);function B(e){let t;let r=new Promise(r=>{t=e(()=>{r(!0)})}),n=()=>{null==t||t()};return n.then=(e,t)=>r.then(e,t),n.promise=r,n}var F=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let U=i.forwardRef((e,t)=>{let{top:r,prefixCls:o,getContainer:a,maxCount:c,duration:u=3,rtl:s,transitionName:l,onAllRemoved:f}=e,{getPrefixCls:h,getPopupContainer:m,message:y}=i.useContext(k.E_),v=o||h("message"),[,b]=M(v),E=i.createElement("span",{className:`${v}-close-x`},i.createElement(I.Z,{className:`${v}-close-icon`})),[x,w]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,r=void 0===t?C:t,o=e.motion,a=e.prefixCls,c=e.maxCount,u=e.className,s=e.style,l=e.onAllRemoved,f=(0,g.Z)(e,O),h=i.useState(),d=(0,p.Z)(h,2),m=d[0],y=d[1],v=i.useRef(),b=i.createElement(S,{container:m,ref:v,prefixCls:a,motion:o,maxCount:c,className:u,style:s,onAllRemoved:l}),E=i.useState([]),x=(0,p.Z)(E,2),w=x[0],k=x[1],T=i.useMemo(function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,r=Array(t),n=0;n({left:"50%",transform:"translateX(-50%)",top:null!=r?r:8}),className:()=>d()(b,{[`${v}-rtl`]:s}),motion:()=>({motionName:null!=l?l:`${v}-move-up`}),closable:!1,closeIcon:E,duration:u,getContainer:()=>(null==a?void 0:a())||(null==m?void 0:m())||document.body,maxCount:c,onAllRemoved:f});return i.useImperativeHandle(t,()=>Object.assign(Object.assign({},x),{prefixCls:v,hashId:b,message:y})),w}),D=0;function H(e){let t=i.useRef(null),r=i.useMemo(()=>{let e=e=>{var r;null===(r=t.current)||void 0===r||r.close(e)},r=r=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:n,prefixCls:o,hashId:a,message:c}=t.current,u=`${o}-notice`,{content:s,icon:l,type:f,key:h,className:p,style:g,onClose:m}=r,y=F(r,["content","icon","type","key","className","style","onClose"]),v=h;return null==v&&(D+=1,v=`antd-message-${D}`),B(t=>(n(Object.assign(Object.assign({},y),{key:v,content:i.createElement(_,{prefixCls:o,type:f,icon:l},s),placement:"top",className:d()(f&&`${u}-${f}`,a,p,null==c?void 0:c.className),style:Object.assign(Object.assign({},null==c?void 0:c.style),g),onClose:()=>{null==m||m(),t()}})),()=>{e(v)}))},n={open:r,destroy:r=>{var n;void 0!==r?e(r):null===(n=t.current)||void 0===n||n.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{n[e]=(t,n,o)=>{let i,a,c;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof n?c=n:(a=n,c=o);let u=Object.assign(Object.assign({onClose:c,duration:a},i),{type:e});return r(u)}}),n},[]);return[r,i.createElement(U,Object.assign({key:"message-holder"},e,{ref:t}))]}let z=null,$=e=>e(),W=[],q={},G=i.forwardRef((e,t)=>{let r=()=>{let{prefixCls:e,container:t,maxCount:r,duration:n,rtl:o,top:i}=function(){let{prefixCls:e,getContainer:t,duration:r,rtl:n,maxCount:o,top:i}=q,c=null!=e?e:(0,a.w6)().getPrefixCls("message"),u=(null==t?void 0:t())||document.body;return{prefixCls:c,container:u,duration:r,rtl:n,maxCount:o,top:i}}();return{prefixCls:e,getContainer:()=>t,maxCount:r,duration:n,rtl:o,top:i}},[n,o]=i.useState(r),[c,u]=H(n),s=(0,a.w6)(),l=s.getRootPrefixCls(),f=s.getIconPrefixCls(),h=s.getTheme(),d=()=>{o(r)};return i.useEffect(d,[]),i.useImperativeHandle(t,()=>{let e=Object.assign({},c);return Object.keys(e).forEach(t=>{e[t]=function(){return d(),c[t].apply(c,arguments)}}),{instance:e,sync:d}}),i.createElement(a.ZP,{prefixCls:l,iconPrefixCls:f,theme:h},u)});function X(){if(!z){let e=document.createDocumentFragment(),t={fragment:e};z=t,$(()=>{(0,o.s)(i.createElement(G,{ref:e=>{let{instance:r,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=n,X())})}}),e)});return}z.instance&&(W.forEach(e=>{let{type:t,skipped:r}=e;if(!r)switch(t){case"open":$(()=>{let t=z.instance.open(Object.assign(Object.assign({},q),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":$(()=>{null==z||z.instance.destroy(e.key)});break;default:$(()=>{var r;let o=(r=z.instance)[t].apply(r,(0,n.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),W=[])}let V={open:function(e){let t=B(t=>{let r;let n={type:"open",config:e,resolve:t,setCloseFn:e=>{r=e}};return W.push(n),()=>{r?$(()=>{r()}):n.skipped=!0}});return X(),t},destroy:function(e){W.push({type:"destroy",key:e}),X()},config:function(e){q=Object.assign(Object.assign({},q),e),$(()=>{var e;null===(e=null==z?void 0:z.sync)||void 0===e||e.call(z)})},useMessage:function(e){return H(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{let{prefixCls:t,className:r,type:n,icon:o,content:a}=e,c=N(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:u}=i.useContext(k.E_),s=t||u("message"),[,l]=M(s);return i.createElement(w,Object.assign({},c,{prefixCls:s,className:d()(r,l,`${s}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(_,{prefixCls:s,type:n,icon:o},a)}))}};["success","info","warning","error","loading"].forEach(e=>{V[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{let n;let o={type:e,args:t,resolve:r,setCloseFn:e=>{n=e}};return W.push(o),()=>{n?$(()=>{n()}):o.skipped=!0}});return X(),r}(e,r)}});var K=V},66255:function(e,t,r){"use strict";r.d(t,{A:function(){return u},f:function(){return c}});var n=r(91295);let o=Object.assign({},n.Z.Modal),i=[],a=()=>i.reduce((e,t)=>Object.assign(Object.assign({},e),t),n.Z.Modal);function c(e){if(e){let t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter(e=>e!==t),o=a()}}o=Object.assign({},n.Z.Modal)}function u(){return o}},98663:function(e,t,r){"use strict";r.d(t,{Lx:function(){return c},Qy:function(){return l},Ro:function(){return i},Wf:function(){return o},dF:function(){return a},du:function(){return u},oN:function(){return s},vS:function(){return n}});let n={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},o=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),c=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active, - &:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),u=(e,t)=>{let{fontFamily:r,fontSize:n}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:r,fontSize:n,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},s=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),l=e=>({"&:focus-visible":Object.assign({},s(e))})},60632:function(e,t,r){"use strict";r.d(t,{Mj:function(){return s},uH:function(){return c},u_:function(){return u}});var n=r(84596),o=r(86006),i=r(47794),a=r(99528);let c=(0,n.jG)(i.Z),u={token:a.Z,hashed:!0},s=o.createContext(u)},47794:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(70333),o=r(33058),i=r(99528),a=r(41433),c=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},u=r(57389);let s=(e,t)=>new u.C(e).setAlpha(t).toRgbString(),l=(e,t)=>{let r=new u.C(e);return r.darken(t).toHexString()},f=e=>{let t=(0,n.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},h=(e,t)=>{let r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:s(n,.88),colorTextSecondary:s(n,.65),colorTextTertiary:s(n,.45),colorTextQuaternary:s(n,.25),colorFill:s(n,.15),colorFillSecondary:s(n,.06),colorFillTertiary:s(n,.04),colorFillQuaternary:s(n,.02),colorBgLayout:l(r,4),colorBgContainer:l(r,0),colorBgElevated:l(r,0),colorBgSpotlight:s(n,.85),colorBorder:l(r,15),colorBorderSecondary:l(r,6)}};var d=r(89931);function p(e){let t=Object.keys(i.M).map(t=>{let r=(0,n.R_)(e[t]);return Array(10).fill(1).reduce((e,n,o)=>(e[`${t}-${o+1}`]=r[o],e[`${t}${o+1}`]=r[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,a.Z)(e,{generateColorPalettes:f,generateNeutralColorPalettes:h})),(0,d.Z)(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}(e)),(0,o.Z)(e)),function(e){let{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+2*t).toFixed(1)}s`,motionDurationSlow:`${(r+3*t).toFixed(1)}s`,lineWidthBold:o+1},c(n))}(e))}},99528:function(e,t,r){"use strict";r.d(t,{M:function(){return n}});let n={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},n),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-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'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});t.Z=o},41433:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(57389);function o(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:o}=t,{colorSuccess:i,colorWarning:a,colorError:c,colorInfo:u,colorPrimary:s,colorBgBase:l,colorTextBase:f}=e,h=r(s),d=r(i),p=r(a),g=r(c),m=r(u),y=o(l,f),v=e.colorLink||e.colorInfo,b=r(v);return Object.assign(Object.assign({},y),{colorPrimaryBg:h[1],colorPrimaryBgHover:h[2],colorPrimaryBorder:h[3],colorPrimaryBorderHover:h[4],colorPrimaryHover:h[5],colorPrimary:h[6],colorPrimaryActive:h[7],colorPrimaryTextHover:h[8],colorPrimaryText:h[9],colorPrimaryTextActive:h[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new n.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},33058:function(e,t){"use strict";t.Z=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},89931:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=e=>{let t=function(e){let t=Array(10).fill(null).map((t,r)=>{let n=e*Math.pow(2.71828,(r-1)/5);return 2*Math.floor((r>1?Math.floor(n):Math.ceil(n))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),r=t.map(e=>e.size),n=t.map(e=>e.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}}},3184:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(84596),o=r(86006),i=r(60632),a=r(99528),c=r(85207),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let s=(e,t,r)=>{let n=r.getDerivativeToken(e),{override:o}=t,i=u(t,["override"]),a=Object.assign(Object.assign({},n),{override:o});return a=(0,c.Z)(a),i&&Object.entries(i).forEach(e=>{let[t,r]=e,{theme:n}=r,o=u(r,["theme"]),i=o;n&&(i=s(Object.assign(Object.assign({},a),o),{override:o},n)),a[t]=i}),a};function l(){let{token:e,hashed:t,theme:r,components:c}=o.useContext(i.Mj),u=`5.8.2-${t||""}`,l=r||i.uH,[f,h]=(0,n.fp)(l,[a.Z,e],{salt:u,override:Object.assign({override:e},c),getComputedToken:s});return[l,f,t?h:""]}},85207:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(57389),o=r(99528);function i(e){return e>=0&&e<=255}var a=function(e,t){let{r:r,g:o,b:a,a:c}=new n.C(e).toRgb();if(c<1)return e;let{r:u,g:s,b:l}=new n.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((r-u*(1-e))/e),c=Math.round((o-s*(1-e))/e),f=Math.round((a-l*(1-e))/e);if(i(t)&&i(c)&&i(f))return new n.C({r:t,g:c,b:f,a:Math.round(100*e)/100}).toRgbString()}return new n.C({r:r,g:o,b:a,a:1}).toRgbString()},c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function u(e){let{override:t}=e,r=c(e,["override"]),i=Object.assign({},t);Object.keys(o.Z).forEach(e=>{delete i[e]});let u=Object.assign(Object.assign({},r),i);!1===u.motion&&(u.motionDurationFast="0s",u.motionDurationMid="0s",u.motionDurationSlow="0s");let s=Object.assign(Object.assign(Object.assign({},u),{colorFillContent:u.colorFillSecondary,colorFillContentHover:u.colorFill,colorFillAlter:u.colorFillQuaternary,colorBgContainerDisabled:u.colorFillTertiary,colorBorderBg:u.colorBgContainer,colorSplit:a(u.colorBorderSecondary,u.colorBgContainer),colorTextPlaceholder:u.colorTextQuaternary,colorTextDisabled:u.colorTextQuaternary,colorTextHeading:u.colorText,colorTextLabel:u.colorTextSecondary,colorTextDescription:u.colorTextTertiary,colorTextLightSolid:u.colorWhite,colorHighlight:u.colorError,colorBgTextHover:u.colorFillSecondary,colorBgTextActive:u.colorFill,colorIcon:u.colorTextTertiary,colorIconHover:u.colorText,colorErrorOutline:a(u.colorErrorBg,u.colorBgContainer),colorWarningOutline:a(u.colorWarningBg,u.colorBgContainer),fontSizeIcon:u.fontSizeSM,lineWidthFocus:4*u.lineWidth,lineWidth:u.lineWidth,controlOutlineWidth:2*u.lineWidth,controlInteractiveSize:u.controlHeight/2,controlItemBgHover:u.colorFillTertiary,controlItemBgActive:u.colorPrimaryBg,controlItemBgActiveHover:u.colorPrimaryBgHover,controlItemBgActiveDisabled:u.colorFill,controlTmpOutline:u.colorFillQuaternary,controlOutline:a(u.colorPrimaryBg,u.colorBgContainer),lineType:u.lineType,borderRadius:u.borderRadius,borderRadiusXS:u.borderRadiusXS,borderRadiusSM:u.borderRadiusSM,borderRadiusLG:u.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:u.sizeXXS,paddingXS:u.sizeXS,paddingSM:u.sizeSM,padding:u.size,paddingMD:u.sizeMD,paddingLG:u.sizeLG,paddingXL:u.sizeXL,paddingContentHorizontalLG:u.sizeLG,paddingContentVerticalLG:u.sizeMS,paddingContentHorizontal:u.sizeMS,paddingContentVertical:u.sizeSM,paddingContentHorizontalSM:u.size,paddingContentVerticalSM:u.sizeXS,marginXXS:u.sizeXXS,marginXS:u.sizeXS,marginSM:u.sizeSM,margin:u.size,marginMD:u.sizeMD,marginLG:u.sizeLG,marginXL:u.sizeXL,marginXXL:u.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new n.C("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new n.C("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new n.C("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i);return s}},40650:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(84596);r(65493);var o=r(86006),i=r(79746),a=r(98663),c=r(3184),u=r(70721);function s(e,t,r,s){return l=>{let[f,h,d]=(0,c.Z)(),{getPrefixCls:p,iconPrefixCls:g,csp:m}=(0,o.useContext)(i.E_),y=p(),v={theme:f,token:h,hashId:d,nonce:()=>null==m?void 0:m.nonce,clientOnly:null==s?void 0:s.clientOnly,order:-999};return(0,n.xy)(Object.assign(Object.assign({},v),{clientOnly:!1,path:["Shared",y]}),()=>[{"&":(0,a.Lx)(h)}]),[(0,n.xy)(Object.assign(Object.assign({},v),{path:[e,l,g]}),()=>{let{token:n,flush:o}=(0,u.ZP)(h),i=Object.assign({},h[e]);if(null==s?void 0:s.deprecatedTokens){let{deprecatedTokens:e}=s;e.forEach(e=>{var t;let[r,n]=e;((null==i?void 0:i[r])||(null==i?void 0:i[n]))&&(null!==(t=i[n])&&void 0!==t||(i[n]=null==i?void 0:i[r]))})}let c="function"==typeof r?r((0,u.TS)(n,null!=i?i:{})):r,f=Object.assign(Object.assign({},c),i),p=`.${l}`,m=(0,u.TS)(n,{componentCls:p,prefixCls:l,iconCls:`.${g}`,antCls:`.${y}`},f),v=t(m,{hashId:d,prefixCls:l,rootPrefixCls:y,iconPrefixCls:g,overrideComponentToken:i});return o(e,f),[(null==s?void 0:s.resetStyle)===!1?null:(0,a.du)(h,l),v]}),d]}}},70721:function(e,t,r){"use strict";r.d(t,{TS:function(){return i},ZP:function(){return u}});let n="undefined"!=typeof CSSINJS_STATISTIC,o=!0;function i(){for(var e=arguments.length,t=Array(e),r=0;r{let t=Object.keys(e);t.forEach(t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})})}),o=!0,i}let a={};function c(){}function u(e){let t;let r=e,i=c;return n&&(t=new Set,r=new Proxy(e,{get:(e,r)=>(o&&t.add(r),e[r])}),i=(e,r)=>{a[e]={global:Array.from(t),component:r}}),{token:r,keys:t,flush:i}}},8683:function(e,t){var r;/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n0?a-4:a;for(r=0;r>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===c&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,s[l++]=255&t),1===c&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,c=n-o;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>c?c:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!c.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return k(e).length;default:if(o)return n?-1:C(e).length;t=(""+t).toLowerCase(),o=!0}}function p(e,t,r){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var i,a=1,c=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,c/=2,u/=2,r/=2}function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;ic&&(r=c-u),i=r;i>=0;i--){for(var f=!0,h=0;h239?4:s>223?3:s>191?2:1;if(o+f<=r)switch(f){case 1:s<128&&(l=s);break;case 2:(192&(i=e[o+1]))==128&&(u=(31&s)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(u=(15&s)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],c=e[o+3],(192&i)==128&&(192&a)==128&&(192&c)==128&&(u=(15&s)<<18|(63&i)<<12|(63&a)<<6|63&c)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,o,i){if(!c.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function x(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function w(e,t,r,n,i){return t=+t,r>>>=0,i||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,i){return t=+t,r>>>=0,i||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.Buffer=c,t.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,c.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,r){return(s(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},c.allocUnsafe=function(e){return l(e)},c.allocUnsafeSlow=function(e){return l(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);or&&(e+=" ... "),""},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(e,t,r,n,o){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,u=Math.min(i,a),s=this.slice(n,o),l=e.slice(t,r),f=0;f>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,c,u,s,l,f,h,d,p,g,m=this.length-t;if((void 0===r||r>m)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var y=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a>8,o.push(r%256),o.push(n);return o}(e,this.length-p),this,p,g);default:if(y)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),y=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},c.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,e,t,r,o-1,-o)}var i=0,a=1,c=0;for(this[t]=255&e;++i>0)-c&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,e,t,r,o-1,-o)}var i=r-1,a=1,c=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===c&&0!==this[t+i+1]&&(c=1),this[t+i]=(e/a>>0)-c&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeFloatLE=function(e,t,r){return w(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return w(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(!c.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},c.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function A(e){for(var t=[],r=0;r=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var j=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,r,n,o){var i,a,c=8*o-n-1,u=(1<>1,l=-7,f=r?o-1:0,h=r?-1:1,d=e[t+f];for(f+=h,i=d&(1<<-l)-1,d>>=-l,l+=c;l>0;i=256*i+e[t+f],f+=h,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=h,l-=8);if(0===i)i=1-s;else{if(i===u)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,n),i-=s}return(d?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,c,u,s=8*i-o-1,l=(1<>1,h=23===o?5960464477539062e-23:0,d=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(c=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?t+=h/u:t+=h*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=l?(c=0,a=l):a+f>=1?(c=(t*u-1)*Math.pow(2,o),a+=f):(c=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+d]=255&c,d+=p,c/=256,o-=8);for(a=a<0;e[r+d]=255&a,d+=p,a/=256,s-=8);e[r+d-p]|=128*g}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab="//";var o=n(72);e.exports=o}()},66003:function(e){!function(){var t={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function c(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u=[],s=!1,l=-1;function f(){s&&n&&(s=!1,n.length?u=n.concat(u):l=-1,u.length&&h())}function h(){if(!s){var e=c(f);s=!0;for(var t=u.length;t;){for(n=u,u=[];++l1)for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,K.Z)(function(){o<=1?n({isCanceled:function(){return i!==e.current}}):r(n,o-1)});e.current=i},t]},J=[P,M,N,"end"],Q=[P,L];function ee(e){return e===N||"end"===e}var et=function(e,t,r){var n=(0,A.Z)(R),o=(0,l.Z)(n,2),i=o[0],a=o[1],c=Y(),u=(0,l.Z)(c,2),s=u[0],f=u[1],h=t?Q:J;return V(function(){if(i!==R&&"end"!==i){var e=h.indexOf(i),t=h[e+1],n=r(i);!1===n?a(t,!0):t&&s(function(e){function r(){e.isCanceled()||a(t,!0)}!0===n?r():Promise.resolve(n).then(r)})}},[e,i]),m.useEffect(function(){return function(){f()}},[]),[function(){a(P,!0)},i]},er=(a=$,"object"===(0,f.Z)($)&&(a=$.transitionSupport),(c=m.forwardRef(function(e,t){var r=e.visible,n=void 0===r||r,o=e.removeOnLeave,i=void 0===o||o,c=e.forceRender,f=e.children,h=e.motionName,y=e.leavedClassName,v=e.eventProps,E=m.useContext(b).motion,x=!!(e.motionName&&a&&!1!==E),w=(0,m.useRef)(),S=(0,m.useRef)(),O=function(e,t,r,n){var o=n.motionEnter,i=void 0===o||o,a=n.motionAppear,c=void 0===a||a,f=n.motionLeave,h=void 0===f||f,d=n.motionDeadline,p=n.motionLeaveImmediately,g=n.onAppearPrepare,y=n.onEnterPrepare,v=n.onLeavePrepare,b=n.onAppearStart,E=n.onEnterStart,x=n.onLeaveStart,w=n.onAppearActive,S=n.onEnterActive,O=n.onLeaveActive,C=n.onAppearEnd,R=n.onEnterEnd,_=n.onLeaveEnd,I=n.onVisibleChanged,B=(0,A.Z)(),F=(0,l.Z)(B,2),U=F[0],D=F[1],H=(0,A.Z)(k),z=(0,l.Z)(H,2),$=z[0],W=z[1],q=(0,A.Z)(null),G=(0,l.Z)(q,2),K=G[0],Y=G[1],J=(0,m.useRef)(!1),Q=(0,m.useRef)(null),er=(0,m.useRef)(!1);function en(){W(k,!0),Y(null,!0)}function eo(e){var t,n=r();if(!e||e.deadline||e.target===n){var o=er.current;$===T&&o?t=null==C?void 0:C(n,e):$===Z&&o?t=null==R?void 0:R(n,e):$===j&&o&&(t=null==_?void 0:_(n,e)),$!==k&&o&&!1!==t&&en()}}var ei=X(eo),ea=(0,l.Z)(ei,1)[0],ec=function(e){var t,r,n;switch(e){case T:return t={},(0,u.Z)(t,P,g),(0,u.Z)(t,M,b),(0,u.Z)(t,N,w),t;case Z:return r={},(0,u.Z)(r,P,y),(0,u.Z)(r,M,E),(0,u.Z)(r,N,S),r;case j:return n={},(0,u.Z)(n,P,v),(0,u.Z)(n,M,x),(0,u.Z)(n,N,O),n;default:return{}}},eu=m.useMemo(function(){return ec($)},[$]),es=et($,!e,function(e){if(e===P){var t,n=eu[P];return!!n&&n(r())}return eh in eu&&Y((null===(t=eu[eh])||void 0===t?void 0:t.call(eu,r(),null))||null),eh===N&&(ea(r()),d>0&&(clearTimeout(Q.current),Q.current=setTimeout(function(){eo({deadline:!0})},d))),eh===L&&en(),!0}),el=(0,l.Z)(es,2),ef=el[0],eh=el[1],ed=ee(eh);er.current=ed,V(function(){D(t);var r,n=J.current;J.current=!0,!n&&t&&c&&(r=T),n&&t&&i&&(r=Z),(n&&!t&&h||!n&&p&&!t&&h)&&(r=j);var o=ec(r);r&&(e||o[P])?(W(r),ef()):W(k)},[t]),(0,m.useEffect)(function(){($!==T||c)&&($!==Z||i)&&($!==j||h)||W(k)},[c,i,h]),(0,m.useEffect)(function(){return function(){J.current=!1,clearTimeout(Q.current)}},[]);var ep=m.useRef(!1);(0,m.useEffect)(function(){U&&(ep.current=!0),void 0!==U&&$===k&&((ep.current||U)&&(null==I||I(U)),ep.current=!0)},[U,$]);var eg=K;return eu[P]&&eh===M&&(eg=(0,s.Z)({transition:"none"},eg)),[$,eh,eg,null!=U?U:t]}(x,n,function(){try{return w.current instanceof HTMLElement?w.current:(0,p.Z)(S.current)}catch(e){return null}},e),R=(0,l.Z)(O,4),_=R[0],I=R[1],B=R[2],F=R[3],U=m.useRef(F);F&&(U.current=!0);var D=m.useCallback(function(e){w.current=e,(0,g.mH)(t,e)},[t]),H=(0,s.Z)((0,s.Z)({},v),{},{visible:n});if(f){if(_===k)z=F?f((0,s.Z)({},H),D):!i&&U.current&&y?f((0,s.Z)((0,s.Z)({},H),{},{className:y}),D):!c&&(i||y)?null:f((0,s.Z)((0,s.Z)({},H),{},{style:{display:"none"}}),D);else{I===P?W="prepare":ee(I)?W="active":I===M&&(W="start");var z,$,W,q=G(h,"".concat(_,"-").concat(W));z=f((0,s.Z)((0,s.Z)({},H),{},{className:d()(G(h,_),($={},(0,u.Z)($,q,q&&W),(0,u.Z)($,h,"string"==typeof h),$)),style:B}),D)}}else z=null;return m.isValidElement(z)&&(0,g.Yr)(z)&&!z.ref&&(z=m.cloneElement(z,{ref:D})),m.createElement(C,{ref:S},z)})).displayName="CSSMotion",c),en=r(40431),eo=r(70184),ei="keep",ea="remove",ec="removed";function eu(e){var t;return t=e&&"object"===(0,f.Z)(e)&&"key"in e?e:{key:e},(0,s.Z)((0,s.Z)({},t),{},{key:String(t.key)})}function es(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(eu)}var el=["component","children","onVisibleChanged","onAllRemoved"],ef=["status"],eh=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ed=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:er,r=function(e){(0,S.Z)(n,e);var r=(0,O.Z)(n);function n(){var e;(0,x.Z)(this,n);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],n=0,o=t.length,i=es(e),a=es(t);i.forEach(function(e){for(var t=!1,i=n;i1}).forEach(function(e){(r=r.filter(function(t){var r=t.key,n=t.status;return r!==e||n!==ea})).forEach(function(t){t.key===e&&(t.status=ei)})}),r})(n,es(r)).filter(function(e){var t=n.find(function(t){var r=t.key;return e.key===r});return!t||t.status!==ec||e.status!==ea})}}}]),n}(m.Component);return(0,u.Z)(r,"defaultProps",{component:"div"}),r}($),ep=er},91219:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},71693:function(e,t,r){"use strict";function n(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}r.d(t,{Z:function(){return n}})},14071:function(e,t,r){"use strict";function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}r.d(t,{Z:function(){return n}})},52160:function(e,t,r){"use strict";r.d(t,{hq:function(){return p},jL:function(){return d}});var n=r(71693),o=r(14071),i="data-rc-order",a="data-rc-priority",c=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function s(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function l(e){return Array.from((c.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.Z)())return null;var r=t.csp,o=t.prepend,c=t.priority,u=void 0===c?0:c,f="queue"===o?"prependQueue":o?"prepend":"append",h="prependQueue"===f,d=document.createElement("style");d.setAttribute(i,f),h&&u&&d.setAttribute(a,"".concat(u)),null!=r&&r.nonce&&(d.nonce=null==r?void 0:r.nonce),d.innerHTML=e;var p=s(t),g=p.firstChild;if(o){if(h){var m=l(p).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(i))&&u>=Number(e.getAttribute(a)||0)});if(m.length)return p.insertBefore(d,m[m.length-1].nextSibling),d}p.insertBefore(d,g)}else p.appendChild(d);return d}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(s(t)).find(function(r){return r.getAttribute(u(t))===e})}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);r&&s(t).removeChild(r)}function p(e,t){var r,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var r=c.get(e);if(!r||!(0,o.Z)(document,r)){var n=f("",t),i=n.parentNode;c.set(e,i),e.removeChild(n)}}(s(a),a);var l=h(t,a);if(l)return null!==(r=a.csp)&&void 0!==r&&r.nonce&&l.nonce!==(null===(n=a.csp)||void 0===n?void 0:n.nonce)&&(l.nonce=null===(i=a.csp)||void 0===i?void 0:i.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;var d=f(e,a);return d.setAttribute(u(a),t),d}},49175:function(e,t,r){"use strict";r.d(t,{S:function(){return i},Z:function(){return a}});var n=r(86006),o=r(8431);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof n.Component?o.findDOMNode(e):null}},60618:function(e,t,r){"use strict";function n(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return n(e) instanceof ShadowRoot?n(e):null}r.d(t,{A:function(){return o}})},48580:function(e,t){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=r},88101:function(e,t,r){"use strict";r.d(t,{s:function(){return m},v:function(){return v}});var n,o,i=r(71971),a=r(27859),c=r(965),u=r(88684),s=r(8431),l=(0,u.Z)({},n||(n=r.t(s,2))),f=l.version,h=l.render,d=l.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=l.createRoot)}catch(e){}function p(e){var t=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,c.Z)(t)&&(t.usingClientEntryPoint=e)}var g="__rc_react_root__";function m(e,t){if(o){var r;p(!0),r=t[g]||o(t),p(!1),r.render(e),t[g]=r;return}h(e,t)}function y(){return(y=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[g])||void 0===e||e.unmount(),delete t[g]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return y.apply(this,arguments)}(t));case 2:d(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},23254:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(86006);function o(e){var t=n.useRef();return t.current=e,n.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=i.has(t);if((0,o.ZP)(!u,"Warning: There may be circular references"),u)return!1;if(t===a)return!0;if(r&&c>1)return!1;i.add(t);var s=c+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var l=0;l1&&void 0!==arguments[1]?arguments[1]:1,n=o+=1;return!function t(o){if(0===o)i.delete(n),e();else{var a=r(function(){t(o-1)});i.set(n,a)}}(t),n};a.cancel=function(e){var t=i.get(e);return i.delete(t),n(t)},t.Z=a},92510:function(e,t,r){"use strict";r.d(t,{Yr:function(){return s},mH:function(){return a},sQ:function(){return c},x1:function(){return u}});var n=r(965),o=r(24488),i=r(55567);function a(e,t){"function"==typeof e?e(t):"object"===(0,n.Z)(e)&&e&&"current"in e&&(e.current=t)}function c(){for(var e=arguments.length,t=Array(e),r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&n&&void 0===r&&!(0,c.Z)(e,t.slice(0,-1))?e:function e(t,r,n,c){if(!r.length)return n;var u,s=(0,a.Z)(r),l=s[0],f=s.slice(1);return u=t||"number"!=typeof l?Array.isArray(t)?(0,i.Z)(t):(0,o.Z)({},t):[],c&&void 0===n&&1===f.length?delete u[l][f[0]]:u[l]=e(u[l],f,n,c),u}(e,t,r,n)}function s(e){return Array.isArray(e)?[]:{}}var l="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function f(){for(var e=arguments.length,t=Array(e),r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},46750:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,{Z:function(){return n}})},71971:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(965);function o(){o=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o,a,c=Object.create((t&&t.prototype instanceof p?t:p).prototype);return i(c,"_invoke",{value:(o=new C(n||[]),a="suspendedStart",function(t,n){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===t)throw n;return{value:void 0,done:!0}}for(o.method=t,o.arg=n;;){var i=o.delegate;if(i){var c=function e(t,r){var n=r.method,o=t.iterator[n];if(void 0===o)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=void 0,e(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+n+"' method")),d;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):a:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,d)}(i,o);if(c){if(c===d)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var u=h(e,r,o);if("normal"===u.type){if(a=o.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:o.done}}"throw"===u.type&&(a="completed",o.method="throw",o.arg=u.arg)}})}),c}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var d={};function p(){}function g(){}function m(){}var y={};l(y,c,function(){return this});var v=Object.getPrototypeOf,b=v&&v(v(A([])));b&&b!==t&&r.call(b,c)&&(y=b);var E=m.prototype=p.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var o;i(this,"_invoke",{value:function(i,a){function c(){return new t(function(o,c){!function o(i,a,c,u){var s=h(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==(0,n.Z)(f)&&r.call(f,"__await")?t.resolve(f.__await).then(function(e){o("next",e,c,u)},function(e){o("throw",e,c,u)}):t.resolve(f).then(function(e){l.value=e,c(l)},function(e){return o("throw",e,c,u)})}u(s.arg)}(i,a,o,c)})}return o=o?o.then(c,c):c()}})}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e||""===e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}},60456:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(86351),o=r(24537),i=r(62160);function a(e,t){return(0,n.Z)(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},29221:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(86351),o=r(13804),i=r(24537),a=r(62160);function c(e){return(0,n.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},90151:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(16544),o=r(13804),i=r(24537);function a(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},58774:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(965);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},965:function(e,t,r){"use strict";function n(e){return(n="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})(e)}r.d(t,{Z:function(){return n}})},24537:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(16544);function o(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.Z)(e,t)}}},24214:function(e,t,r){"use strict";let n;function o(e,t){return function(){return e.apply(t,arguments)}}r.d(t,{Z:function(){return ez}});let{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,c=(_=Object.create(null),e=>{let t=i.call(e);return _[t]||(_[t]=t.slice(8,-1).toLowerCase())}),u=e=>(e=e.toLowerCase(),t=>c(t)===e),s=e=>t=>typeof t===e,{isArray:l}=Array,f=s("undefined"),h=u("ArrayBuffer"),d=s("string"),p=s("function"),g=s("number"),m=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==c(e))return!1;let t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},v=u("Date"),b=u("File"),E=u("Blob"),x=u("FileList"),w=u("URLSearchParams");function S(e,t,{allOwnKeys:r=!1}={}){let n,o;if(null!=e){if("object"!=typeof e&&(e=[e]),l(e))for(n=0,o=e.length;n0;)if(t===(r=n[o]).toLowerCase())return r;return null}let C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,A=e=>!f(e)&&e!==C,k=(I="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>I&&e instanceof I),T=u("HTMLFormElement"),Z=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),j=u("RegExp"),R=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};S(r,(r,o)=>{!1!==t(r,o,e)&&(n[o]=r)}),Object.defineProperties(e,n)},P="abcdefghijklmnopqrstuvwxyz",M="0123456789",N={DIGIT:M,ALPHA:P,ALPHA_DIGIT:P+P.toUpperCase()+M},L=u("AsyncFunction");var _,I,B={isArray:l,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||p(e.append)&&("formdata"===(t=c(e))||"object"===t&&p(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer)},isString:d,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:y,isUndefined:f,isDate:v,isFile:b,isBlob:E,isRegExp:j,isFunction:p,isStream:e=>m(e)&&p(e.pipe),isURLSearchParams:w,isTypedArray:k,isFileList:x,forEach:S,merge:function e(){let{caseless:t}=A(this)&&this||{},r={},n=(n,o)=>{let i=t&&O(r,o)||o;y(r[i])&&y(n)?r[i]=e(r[i],n):y(n)?r[i]=e({},n):l(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e(S(t,(t,n)=>{r&&p(t)?e[n]=o(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,c;let u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)c=o[i],(!n||n(c,e,t))&&!u[c]&&(t[c]=e[c],u[c]=!0);e=!1!==r&&a(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:u,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!g(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=e&&e[Symbol.iterator],o=n.call(e);for(;(r=o.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:T,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:R,freezeMethods:e=>{R(e,(t,r)=>{if(p(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;let n=e[r];if(p(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(l(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>Number.isFinite(e=+e)?e:t,findKey:O,global:C,isContextDefined:A,ALPHABET:N,generateString:(e=16,t=N.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&p(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let o=l(e)?[]:{};return S(e,(e,t)=>{let i=r(e,n+1);f(i)||(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:L,isThenable:e=>e&&(m(e)||p(e))&&p(e.then)&&p(e.catch)};function F(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}B.inherits(F,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let U=F.prototype,D={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{D[e]={value:e}}),Object.defineProperties(F,D),Object.defineProperty(U,"isAxiosError",{value:!0}),F.from=(e,t,r,n,o,i)=>{let a=Object.create(U);return B.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),F.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var H=r(91083).Buffer;function z(e){return B.isPlainObject(e)||B.isArray(e)}function $(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function W(e,t,r){return e?e.concat(t).map(function(e,t){return e=$(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let q=B.toFlatObject(B,{},null,function(e){return/^is[A-Z]/.test(e)});var G=function(e,t,r){if(!B.isObject(e))throw TypeError("target must be an object");t=t||new FormData,r=B.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!B.isUndefined(t[e])});let n=r.metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,c=r.Blob||"undefined"!=typeof Blob&&Blob,u=c&&B.isSpecCompliantForm(t);if(!B.isFunction(o))throw TypeError("visitor must be a function");function s(e){if(null===e)return"";if(B.isDate(e))return e.toISOString();if(!u&&B.isBlob(e))throw new F("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(e)||B.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):H.from(e):e}function l(e,r,o){let c=e;if(e&&!o&&"object"==typeof e){if(B.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(B.isArray(e)&&(u=e,B.isArray(u)&&!u.some(z))||(B.isFileList(e)||B.endsWith(r,"[]"))&&(c=B.toArray(e)))return r=$(r),c.forEach(function(e,n){B.isUndefined(e)||null===e||t.append(!0===a?W([r],n,i):null===a?r:r+"[]",s(e))}),!1}}return!!z(e)||(t.append(W(o,r,i),s(e)),!1)}let f=[],h=Object.assign(q,{defaultVisitor:l,convertValue:s,isVisitable:z});if(!B.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!B.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),B.forEach(r,function(r,i){let a=!(B.isUndefined(r)||null===r)&&o.call(t,r,B.isString(i)?i.trim():i,n,h);!0===a&&e(r,n?n.concat(i):[i])}),f.pop()}}(e),t};function X(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function V(e,t){this._pairs=[],e&&G(e,this,t)}let K=V.prototype;function Y(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J(e,t,r){let n;if(!t)return e;let o=r&&r.encode||Y,i=r&&r.serialize;if(n=i?i(t,r):B.isURLSearchParams(t)?t.toString():new V(t,r).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}K.append=function(e,t){this._pairs.push([e,t])},K.toString=function(e){let t=e?function(t){return e.call(this,t,X)}:X;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Q=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){B.forEach(this.handlers,function(t){null!==t&&e(t)})}},ee={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},et="undefined"!=typeof URLSearchParams?URLSearchParams:V,er="undefined"!=typeof FormData?FormData:null,en="undefined"!=typeof Blob?Blob:null;let eo=("undefined"==typeof navigator||"ReactNative"!==(n=navigator.product)&&"NativeScript"!==n&&"NS"!==n)&&"undefined"!=typeof window&&"undefined"!=typeof document,ei="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ea={isBrowser:!0,classes:{URLSearchParams:et,FormData:er,Blob:en},isStandardBrowserEnv:eo,isStandardBrowserWebWorkerEnv:ei,protocols:["http","https","file","blob","url","data"]},ec=function(e){if(B.isFormData(e)&&B.isFunction(e.entries)){let t={};return B.forEachEntry(e,(e,r)=>{!function e(t,r,n,o){let i=t[o++],a=Number.isFinite(+i),c=o>=t.length;if(i=!i&&B.isArray(n)?n.length:i,c)return B.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&B.isObject(n[i])||(n[i]=[]);let u=e(t,r,n[i],o);return u&&B.isArray(n[i])&&(n[i]=function(e){let t,r;let n={},o=Object.keys(e),i=o.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let eu={"Content-Type":void 0},es={transitional:ee,adapter:["xhr","http"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=B.isObject(e);i&&B.isHTMLForm(e)&&(e=new FormData(e));let a=B.isFormData(e);if(a)return o&&o?JSON.stringify(ec(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1){var c,u;return(c=e,u=this.formSerializer,G(c,new ea.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return ea.isNode&&B.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},u))).toString()}if((r=B.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return G(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,r){if(B.isString(e))try{return(0,JSON.parse)(e),B.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||es.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&B.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw F.from(e,F.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ea.classes.FormData,Blob:ea.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};B.forEach(["delete","get","head"],function(e){es.headers[e]={}}),B.forEach(["post","put","patch"],function(e){es.headers[e]=B.merge(eu)});let el=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ef=e=>{let t,r,n;let o={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&el[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)}),o};let eh=Symbol("internals");function ed(e){return e&&String(e).trim().toLowerCase()}function ep(e){return!1===e||null==e?e:B.isArray(e)?e.map(ep):String(e)}let eg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function em(e,t,r,n,o){if(B.isFunction(n))return n.call(this,t,r);if(o&&(t=r),B.isString(t)){if(B.isString(n))return -1!==t.indexOf(n);if(B.isRegExp(n))return n.test(t)}}class ey{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=ed(t);if(!o)throw Error("header name must be a non-empty string");let i=B.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=ep(e))}let i=(e,t)=>B.forEach(e,(e,r)=>o(e,r,t));return B.isPlainObject(e)||e instanceof this.constructor?i(e,t):B.isString(e)&&(e=e.trim())&&!eg(e)?i(ef(e),t):null!=e&&o(t,e,r),this}get(e,t){if(e=ed(e)){let r=B.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(B.isFunction(t))return t.call(this,e,r);if(B.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ed(e)){let r=B.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||em(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=ed(e)){let o=B.findKey(r,e);o&&(!t||em(r,r[o],o,t))&&(delete r[o],n=!0)}}return B.isArray(e)?e.forEach(o):o(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let o=t[r];(!e||em(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return B.forEach(this,(n,o)=>{let i=B.findKey(r,o);if(i){t[i]=ep(n),delete t[o];return}let a=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(o).trim();a!==o&&delete t[o],t[a]=ep(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return B.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&B.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=this[eh]=this[eh]={accessors:{}},r=t.accessors,n=this.prototype;function o(e){let t=ed(e);r[t]||(!function(e,t){let r=B.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(n,e),r[t]=!0)}return B.isArray(e)?e.forEach(o):o(e),this}}function ev(e,t){let r=this||es,n=t||r,o=ey.from(n.headers),i=n.data;return B.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function eb(e){return!!(e&&e.__CANCEL__)}function eE(e,t,r){F.call(this,null==e?"canceled":e,F.ERR_CANCELED,t,r),this.name="CanceledError"}ey.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.freezeMethods(ey.prototype),B.freezeMethods(ey),B.inherits(eE,F,{__CANCEL__:!0});var ex=ea.isStandardBrowserEnv?{write:function(e,t,r,n,o,i){let a=[];a.push(e+"="+encodeURIComponent(t)),B.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),B.isString(n)&&a.push("path="+n),B.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ew(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e:t}var eS=ea.isStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=B.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},eO=function(e,t){let r;e=e||10;let n=Array(e),o=Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(c){let u=Date.now(),s=o[a];r||(r=u),n[i]=c,o[i]=u;let l=a,f=0;for(;l!==i;)f+=n[l++],l%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),u-r{let i=o.loaded,a=o.lengthComputable?o.total:void 0,c=i-r,u=n(c),s=i<=a;r=i;let l={loaded:i,total:a,progress:a?i/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&s?(a-i)/u:void 0,event:o};l[t?"download":"upload"]=!0,e(l)}}let eA="undefined"!=typeof XMLHttpRequest;var ek=eA&&function(e){return new Promise(function(t,r){let n,o=e.data,i=ey.from(e.headers).normalize(),a=e.responseType;function c(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}B.isFormData(o)&&(ea.isStandardBrowserEnv||ea.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){let t=e.auth.username||"",r=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+r))}let s=ew(e.baseURL,e.url);function l(){if(!u)return;let n=ey.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),o=a&&"text"!==a&&"json"!==a?u.response:u.responseText,i={data:o,status:u.status,statusText:u.statusText,headers:n,config:e,request:u};!function(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new F("Request failed with status code "+r.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}(function(e){t(e),c()},function(e){r(e),c()},i),u=null}if(u.open(e.method.toUpperCase(),J(s,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(l)},u.onabort=function(){u&&(r(new F("Request aborted",F.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new F("Network Error",F.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||ee;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new F(t,n.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,u)),u=null},ea.isStandardBrowserEnv){let t=(e.withCredentials||eS(s))&&e.xsrfCookieName&&ex.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===o&&i.setContentType(null),"setRequestHeader"in u&&B.forEach(i.toJSON(),function(e,t){u.setRequestHeader(t,e)}),B.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&"json"!==a&&(u.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",eC(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",eC(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=t=>{u&&(r(!t||t.type?new eE(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));let f=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(s);if(f&&-1===ea.protocols.indexOf(f)){r(new F("Unsupported protocol "+f+":",F.ERR_BAD_REQUEST,e));return}u.send(o||null)})};let eT={http:null,xhr:ek};B.forEach(eT,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});var eZ={getAdapter:e=>{let t,r;e=B.isArray(e)?e:[e];let{length:n}=e;for(let o=0;oe instanceof ey?e.toJSON():e;function eM(e,t){t=t||{};let r={};function n(e,t,r){return B.isPlainObject(e)&&B.isPlainObject(t)?B.merge.call({caseless:r},e,t):B.isPlainObject(t)?B.merge({},t):B.isArray(t)?t.slice():t}function o(e,t,r){return B.isUndefined(t)?B.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function i(e,t){if(!B.isUndefined(t))return n(void 0,t)}function a(e,t){return B.isUndefined(t)?B.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function c(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}let u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(e,t)=>o(eP(e),eP(t),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),function(n){let i=u[n]||o,a=i(e[n],t[n],n);B.isUndefined(a)&&i!==c||(r[n]=a)}),r}let eN="1.4.0",eL={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eL[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let e_={};eL.transitional=function(e,t,r){function n(e,t){return"[Axios v"+eN+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new F(n(o," has been removed"+(t?" in "+t:"")),F.ERR_DEPRECATED);return t&&!e_[o]&&(e_[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var eI={assertOptions:function(e,t,r){if("object"!=typeof e)throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let i=n[o],a=t[i];if(a){let t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new F("option "+i+" must be "+r,F.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new F("Unknown option "+i,F.ERR_BAD_OPTION)}},validators:eL};let eB=eI.validators;class eF{constructor(e){this.defaults=e,this.interceptors={request:new Q,response:new Q}}request(e,t){let r,n,o;"string"==typeof e?(t=t||{}).url=e:t=e||{},t=eM(this.defaults,t);let{transitional:i,paramsSerializer:a,headers:c}=t;void 0!==i&&eI.assertOptions(i,{silentJSONParsing:eB.transitional(eB.boolean),forcedJSONParsing:eB.transitional(eB.boolean),clarifyTimeoutError:eB.transitional(eB.boolean)},!1),null!=a&&(B.isFunction(a)?t.paramsSerializer={serialize:a}:eI.assertOptions(a,{encode:eB.function,serialize:eB.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(r=c&&B.merge(c.common,c[t.method]))&&B.forEach(["delete","get","head","post","put","patch","common"],e=>{delete c[e]}),t.headers=ey.concat(r,c);let u=[],s=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(s=s&&e.synchronous,u.unshift(e.fulfilled,e.rejected))});let l=[];this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let f=0;if(!s){let e=[eR.bind(this),void 0];for(e.unshift.apply(e,u),e.push.apply(e,l),o=e.length,n=Promise.resolve(t);f{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new eE(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;let t=new eU(function(t){e=t});return{token:t,cancel:e}}}let eD={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(eD).forEach(([e,t])=>{eD[t]=e});let eH=function e(t){let r=new eF(t),n=o(eF.prototype.request,r);return B.extend(n,eF.prototype,r,{allOwnKeys:!0}),B.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eM(t,r))},n}(es);eH.Axios=eF,eH.CanceledError=eE,eH.CancelToken=eU,eH.isCancel=eb,eH.VERSION=eN,eH.toFormData=G,eH.AxiosError=F,eH.Cancel=eH.CanceledError,eH.all=function(e){return Promise.all(e)},eH.spread=function(e){return function(t){return e.apply(null,t)}},eH.isAxiosError=function(e){return B.isObject(e)&&!0===e.isAxiosError},eH.mergeConfig=eM,eH.AxiosHeaders=ey,eH.formToJSON=e=>ec(B.isHTMLForm(e)?new FormData(e):e),eH.HttpStatusCode=eD,eH.default=eH;var ez=eH}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/358-a690ea06b8189dc6.js b/pilot/server/static/_next/static/chunks/358-a690ea06b8189dc6.js deleted file mode 100644 index 0319f8850..000000000 --- a/pilot/server/static/_next/static/chunks/358-a690ea06b8189dc6.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[358],{61085:function(n,t,e){e.d(t,{Z:function(){return E}});var o,r=e(60456),a=e(86006),i=e(8431),c=e(71693);e(5004);var u=e(92510),l=a.createContext(null),s=e(90151),m=e(38358),f=[],d=e(52160);function p(n){var t=n.match(/^(.*)px$/),e=Number(null==t?void 0:t[1]);return Number.isNaN(e)?function(n){if("undefined"==typeof document)return 0;if(void 0===o){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div"),r=e.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",e.appendChild(t),document.body.appendChild(e);var a=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;a===i&&(i=e.clientWidth),document.body.removeChild(e),o=a-i}return o}():e}var g="rc-util-locker-".concat(Date.now()),h=0,v=!1,y=function(n){return!1!==n&&((0,c.Z)()&&n?"string"==typeof n?document.querySelector(n):"function"==typeof n?n():n:null)},E=a.forwardRef(function(n,t){var e,o,E,$,b=n.open,w=n.autoLock,Z=n.getContainer,O=(n.debug,n.autoDestroy),C=void 0===O||O,S=n.children,x=a.useState(b),D=(0,r.Z)(x,2),M=D[0],k=D[1],P=M||b;a.useEffect(function(){(C||b)&&k(b)},[b,C]);var K=a.useState(function(){return y(Z)}),L=(0,r.Z)(K,2),z=L[0],I=L[1];a.useEffect(function(){var n=y(Z);I(null!=n?n:null)});var R=function(n,t){var e=a.useState(function(){return(0,c.Z)()?document.createElement("div"):null}),o=(0,r.Z)(e,1)[0],i=a.useRef(!1),u=a.useContext(l),d=a.useState(f),p=(0,r.Z)(d,2),g=p[0],h=p[1],v=u||(i.current?void 0:function(n){h(function(t){return[n].concat((0,s.Z)(t))})});function y(){o.parentElement||document.body.appendChild(o),i.current=!0}function E(){var n;null===(n=o.parentElement)||void 0===n||n.removeChild(o),i.current=!1}return(0,m.Z)(function(){return n?u?u(y):y():E(),E},[n]),(0,m.Z)(function(){g.length&&(g.forEach(function(n){return n()}),h(f))},[g]),[o,v]}(P&&!z,0),T=(0,r.Z)(R,2),j=T[0],A=T[1],B=null!=z?z:j;e=!!(w&&b&&(0,c.Z)()&&(B===j||B===document.body)),o=a.useState(function(){return h+=1,"".concat(g,"_").concat(h)}),E=(0,r.Z)(o,1)[0],(0,m.Z)(function(){if(e){var n=function(n){if("undefined"==typeof document||!n||!(n instanceof Element))return{width:0,height:0};var t=getComputedStyle(n,"::-webkit-scrollbar"),e=t.width,o=t.height;return{width:p(e),height:p(o)}}(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(n,"px);"):"","\n}"),E)}else(0,d.jL)(E);return function(){(0,d.jL)(E)}},[e,E]);var F=null;S&&(0,u.Yr)(S)&&t&&(F=S.ref);var N=(0,u.x1)(F,t);if(!P||!(0,c.Z)()||void 0===z)return null;var W=!1===B||("boolean"==typeof $&&(v=$),v),_=S;return t&&(_=a.cloneElement(S,{ref:N})),a.createElement(l.Provider,{value:A},W?_:(0,i.createPortal)(_,B))})},80716:function(n,t,e){e.d(t,{m:function(){return c}});let o=()=>({height:0,opacity:0}),r=n=>{let{scrollHeight:t}=n;return{height:t,opacity:1}},a=n=>({height:n?n.offsetHeight:0}),i=(n,t)=>(null==t?void 0:t.deadline)===!0||"height"===t.propertyName,c=(n,t,e)=>void 0!==e?e:`${n}-${t}`;t.Z=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant";return{motionName:`${n}-motion-collapse`,onAppearStart:o,onEnterStart:o,onAppearActive:r,onEnterActive:r,onLeaveStart:a,onLeaveActive:o,onAppearEnd:i,onEnterEnd:i,onLeaveEnd:i,motionDeadline:500}}},52593:function(n,t,e){e.d(t,{M2:function(){return i},Tm:function(){return c},l$:function(){return a}});var o,r=e(86006);let{isValidElement:a}=o||(o=e.t(r,2));function i(n){return n&&a(n)&&n.type===r.Fragment}function c(n,t){return a(n)?r.cloneElement(n,"function"==typeof t?t(n.props||{}):t):n}},30069:function(n,t,e){var o=e(86006),r=e(25844);t.Z=n=>{let t=o.useContext(r.Z),e=o.useMemo(()=>n?"string"==typeof n?null!=n?n:t:n instanceof Function?n(t):t:t,[n,t]);return e}},6783:function(n,t,e){var o=e(86006),r=e(67044),a=e(91295);t.Z=(n,t)=>{let e=o.useContext(r.Z),i=o.useMemo(()=>{var o;let r=t||a.Z[n],i=null!==(o=null==e?void 0:e[n])&&void 0!==o?o:{};return Object.assign(Object.assign({},"function"==typeof r?r():r),i||{})},[n,t,e]),c=o.useMemo(()=>{let n=null==e?void 0:e.locale;return(null==e?void 0:e.exist)&&!n?a.Z.locale:n},[e]);return[i,c]}},12381:function(n,t,e){e.d(t,{BR:function(){return u},ri:function(){return c}});var o=e(8683),r=e.n(o);e(25912);var a=e(86006);let i=a.createContext(null),c=(n,t)=>{let e=a.useContext(i),o=a.useMemo(()=>{if(!e)return"";let{compactDirection:o,isFirstItem:a,isLastItem:i}=e,c="vertical"===o?"-vertical-":"-";return r()(`${n}-compact${c}item`,{[`${n}-compact${c}first-item`]:a,[`${n}-compact${c}last-item`]:i,[`${n}-compact${c}item-rtl`]:"rtl"===t})},[n,t,e]);return{compactSize:null==e?void 0:e.compactSize,compactDirection:null==e?void 0:e.compactDirection,compactItemClassnames:o}},u=n=>{let{children:t}=n;return a.createElement(i.Provider,{value:null},t)}},75872:function(n,t,e){e.d(t,{c:function(){return o}});function o(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:e}=n,o=`${e}-compact`;return{[o]:Object.assign(Object.assign({},function(n,t,e){let{focusElCls:o,focus:r,borderElCls:a}=e,i=a?"> *":"",c=["hover",r?"focus":null,"active"].filter(Boolean).map(n=>`&:${n} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-n.lineWidth},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},o?{[`&${o}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}(n,o,t)),function(n,t,e){let{borderElCls:o}=e,r=o?`> ${o}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${n}-sm ${r}, &${n}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${n}-sm ${r}, &${n}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}(e,o,t))}}},29138:function(n,t,e){e.d(t,{R:function(){return a}});let o=n=>({animationDuration:n,animationFillMode:"both"}),r=n=>({animationDuration:n,animationFillMode:"both"}),a=function(n,t,e,a){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=i?"&":"";return{[` - ${c}${n}-enter, - ${c}${n}-appear - `]:Object.assign(Object.assign({},o(a)),{animationPlayState:"paused"}),[`${c}${n}-leave`]:Object.assign(Object.assign({},r(a)),{animationPlayState:"paused"}),[` - ${c}${n}-enter${n}-enter-active, - ${c}${n}-appear${n}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${c}${n}-leave${n}-leave-active`]:{animationName:e,animationPlayState:"running",pointerEvents:"none"}}}},87270:function(n,t,e){e.d(t,{_y:function(){return y},kr:function(){return a}});var o=e(84596),r=e(29138);let a=new o.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),i=new o.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),c=new o.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),u=new o.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),l=new o.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),s=new o.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),m=new o.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),f=new o.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),d=new o.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),p=new o.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),g=new o.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),h=new o.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),v={zoom:{inKeyframes:a,outKeyframes:i},"zoom-big":{inKeyframes:c,outKeyframes:u},"zoom-big-fast":{inKeyframes:c,outKeyframes:u},"zoom-left":{inKeyframes:m,outKeyframes:f},"zoom-right":{inKeyframes:d,outKeyframes:p},"zoom-up":{inKeyframes:l,outKeyframes:s},"zoom-down":{inKeyframes:g,outKeyframes:h}},y=(n,t)=>{let{antCls:e}=n,o=`${e}-${t}`,{inKeyframes:a,outKeyframes:i}=v[t];return[(0,r.R)(o,a,i,"zoom-big-fast"===t?n.motionDurationFast:n.motionDurationMid),{[` - ${o}-enter, - ${o}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:n.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${o}-leave`]:{animationTimingFunction:n.motionEaseInOutCirc}}]}},25912:function(n,t,e){e.d(t,{Z:function(){return function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=[];return o.Children.forEach(t,function(t){(null!=t||e.keepEmpty)&&(Array.isArray(t)?a=a.concat(n(t)):(0,r.isFragment)(t)&&t.props?a=a.concat(n(t.props.children,e)):a.push(t))}),a}}});var o=e(86006),r=e(24488)},98498:function(n,t){t.Z=function(n){if(!n)return!1;if(n instanceof Element){if(n.offsetParent)return!0;if(n.getBBox){var t=n.getBBox(),e=t.width,o=t.height;if(e||o)return!0}if(n.getBoundingClientRect){var r=n.getBoundingClientRect(),a=r.width,i=r.height;if(a||i)return!0}}return!1}},53457:function(n,t,e){e.d(t,{Z:function(){return u}});var o,r=e(60456),a=e(88684),i=e(86006),c=0;function u(n){var t=i.useState("ssr-id"),u=(0,r.Z)(t,2),l=u[0],s=u[1],m=(0,a.Z)({},o||(o=e.t(i,2))).useId,f=null==m?void 0:m();return(i.useEffect(function(){if(!m){var n=c;c+=1,s("rc_unique_".concat(n))}},[]),n)?n:f||l}},73234:function(n,t,e){e.d(t,{Z:function(){return r}});var o=e(88684);function r(n,t){var e=(0,o.Z)({},n);return Array.isArray(t)&&t.forEach(function(n){delete e[n]}),e}},42442:function(n,t,e){e.d(t,{Z:function(){return i}});var o=e(88684),r="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function a(n,t){return 0===n.indexOf(t)}function i(n){var t,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===e?{aria:!0,data:!0,attr:!0}:!0===e?{aria:!0}:(0,o.Z)({},e);var i={};return Object.keys(n).forEach(function(e){(t.aria&&("role"===e||a(e,"aria-"))||t.data&&a(e,"data-")||t.attr&&r.includes(e))&&(i[e]=n[e])}),i}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/375-096a2ebcb46d13b2.js b/pilot/server/static/_next/static/chunks/375-096a2ebcb46d13b2.js deleted file mode 100644 index 5dc868d63..000000000 --- a/pilot/server/static/_next/static/chunks/375-096a2ebcb46d13b2.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[375],{64185:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(40431),i=n(86006),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"},o=n(1240),l=i.forwardRef(function(e,t){return i.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},8835:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(40431),i=n(86006),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},o=n(1240),l=i.forwardRef(function(e,t){return i.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},2637:function(e,t,n){var r=n(78466),i=n(86006),a=n(35571);t.Z=function(e,t){(0,i.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,a.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},35571:function(e,t,n){n.d(t,{mf:function(){return r}});var r=function(e){return"function"==typeof e}},29274:function(e,t,n){n.d(t,{Z:function(){return k}});var r=n(8683),i=n.n(r),a=n(78641),o=n(86006),l=n(38626),s=n(52593),c=n(79746),u=n(84596),d=n(98663),p=n(57419),m=n(40650),f=n(70721);let g=new u.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),b=new u.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),h=new u.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),v=new u.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),$=new u.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new u.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),x=e=>{let{componentCls:t,iconCls:n,antCls:r,badgeFontHeight:i,badgeShadowSize:a,badgeHeightSm:o,motionDurationSlow:l,badgeStatusSize:s,marginXS:c,badgeRibbonOffset:u}=e,m=`${r}-scroll-number`,f=`${r}-ribbon`,x=`${r}-ribbon-wrapper`,w=(0,p.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r}}}}),S=(0,p.Z)(e,(e,t)=>{let{darkColor:n}=t;return{[`&${f}-color-${e}`]:{background:n,color:n}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:o,height:o,fontSize:e.badgeFontSizeSm,lineHeight:`${o}px`,borderRadius:o/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${a}px ${e.badgeShadowColor}`},[`${t}-dot${m}`]:{transition:`background ${l}`},[`${t}-count, ${t}-dot, ${m}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{position:"relative",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:g,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:c,color:e.colorText,fontSize:e.fontSize}}}),w),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:h,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:$,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${m}-custom-component, ${t}-count`]:{transform:"none"},[`${m}-custom-component, ${m}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${m}`]:{overflow:"hidden",[`${m}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${m}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${m}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${m}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${x}`]:{position:"relative"},[`${f}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"absolute",top:c,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${i}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${f}-text`]:{color:e.colorTextLightSolid},[`${f}-corner`]:{position:"absolute",top:"100%",width:u,height:u,color:"currentcolor",border:`${u/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),S),{[`&${f}-placement-end`]:{insetInlineEnd:-u,borderEndEndRadius:0,[`${f}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${f}-placement-start`]:{insetInlineStart:-u,borderEndStartRadius:0,[`${f}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var w=(0,m.Z)("Badge",e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:i,marginXS:a,colorBorderBg:o}=e,l=Math.round(t*n),s=l-2*i,c=e.colorBgContainer,u=e.colorError,d=e.colorErrorHover,p=r/2,m=r/2,g=(0,f.TS)(e,{badgeFontHeight:l,badgeShadowSize:i,badgeZIndex:"auto",badgeHeight:s,badgeTextColor:c,badgeFontWeight:"normal",badgeFontSize:r,badgeColor:u,badgeColorHover:d,badgeShadowColor:o,badgeHeightSm:t,badgeDotSize:p,badgeFontSizeSm:r,badgeStatusSize:m,badgeProcessingDuration:"1.2s",badgeRibbonOffset:a,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[x(g)]});function S(e){let t,{prefixCls:n,value:r,current:a,offset:l=0}=e;return l&&(t={position:"absolute",top:`${l}00%`,left:0}),o.createElement("span",{style:t,className:i()(`${n}-only-unit`,{current:a})},r)}function E(e){let t,n;let{prefixCls:r,count:i,value:a}=e,l=Number(a),s=Math.abs(i),[c,u]=o.useState(l),[d,p]=o.useState(s),m=()=>{u(l),p(s)};if(o.useEffect(()=>{let e=setTimeout(()=>{m()},1e3);return()=>{clearTimeout(e)}},[l]),c===l||Number.isNaN(l)||Number.isNaN(c))t=[o.createElement(S,Object.assign({},e,{key:l,current:!0}))],n={transition:"none"};else{t=[];let r=l+10,i=[];for(let e=l;e<=r;e+=1)i.push(e);let a=i.findIndex(e=>e%10===c);t=i.map((t,n)=>o.createElement(S,Object.assign({},e,{key:t,value:t%10,offset:n-a,current:n===a})));let u=dt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let N=o.forwardRef((e,t)=>{let{prefixCls:n,count:r,className:a,motionClassName:l,style:u,title:d,show:p,component:m="sup",children:f}=e,g=O(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:b}=o.useContext(c.E_),h=b("scroll-number",n),v=Object.assign(Object.assign({},g),{"data-show":p,style:u,className:i()(h,a,l),title:d}),$=r;if(r&&Number(r)%1==0){let e=String(r).split("");$=e.map((t,n)=>o.createElement(E,{prefixCls:h,count:Number(r),value:t,key:e.length-n}))}return(u&&u.borderColor&&(v.style=Object.assign(Object.assign({},u),{boxShadow:`0 0 0 1px ${u.borderColor} inset`})),f)?(0,s.Tm)(f,e=>({className:i()(`${h}-custom-component`,null==e?void 0:e.className,l)})):o.createElement(m,Object.assign({},v,{ref:t}),$)});var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let j=o.forwardRef((e,t)=>{var n,r,u,d,p;let{prefixCls:m,scrollNumberPrefixCls:f,children:g,status:b,text:h,color:v,count:$=null,overflowCount:y=99,dot:x=!1,size:S="default",title:E,offset:O,style:j,className:k,rootClassName:I,classNames:z,styles:M,showZero:Z=!1}=e,R=C(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:D,direction:T,badge:P}=o.useContext(c.E_),W=D("badge",m),[H,B]=w(W),A=$>y?`${y}+`:$,F="0"===A||0===A,_=null===$||F&&!Z,L=(null!=b||null!=v)&&_,q=x&&!F,G=q?"":A,X=(0,o.useMemo)(()=>{let e=null==G||""===G;return(e||F&&!Z)&&!q},[G,F,Z,q]),V=(0,o.useRef)($);X||(V.current=$);let K=V.current,U=(0,o.useRef)(G);X||(U.current=G);let Y=U.current,Q=(0,o.useRef)(q);X||(Q.current=q);let J=(0,o.useMemo)(()=>{if(!O)return Object.assign(Object.assign({},null==P?void 0:P.style),j);let e={marginTop:O[1]};return"rtl"===T?e.left=parseInt(O[0],10):e.right=-parseInt(O[0],10),Object.assign(Object.assign(Object.assign({},e),null==P?void 0:P.style),j)},[T,O,j,null==P?void 0:P.style]),ee=null!=E?E:"string"==typeof K||"number"==typeof K?K:void 0,et=X||!h?null:o.createElement("span",{className:`${W}-status-text`},h),en=K&&"object"==typeof K?(0,s.Tm)(K,e=>({style:Object.assign(Object.assign({},J),e.style)})):void 0,er=(0,l.o2)(v,!1),ei=i()(null==z?void 0:z.indicator,null===(n=null==P?void 0:P.classNames)||void 0===n?void 0:n.indicator,{[`${W}-status-dot`]:L,[`${W}-status-${b}`]:!!b,[`${W}-color-${v}`]:er}),ea={};v&&!er&&(ea.color=v,ea.background=v);let eo=i()(W,{[`${W}-status`]:L,[`${W}-not-a-wrapper`]:!g,[`${W}-rtl`]:"rtl"===T},k,I,null==P?void 0:P.className,null===(r=null==P?void 0:P.classNames)||void 0===r?void 0:r.root,null==z?void 0:z.root,B);if(!g&&L){let e=J.color;return H(o.createElement("span",Object.assign({},R,{className:eo,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null===(u=null==P?void 0:P.styles)||void 0===u?void 0:u.root),J)}),o.createElement("span",{className:ei,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(d=null==P?void 0:P.styles)||void 0===d?void 0:d.indicator),ea)}),h&&o.createElement("span",{style:{color:e},className:`${W}-status-text`},h)))}return H(o.createElement("span",Object.assign({ref:t},R,{className:eo,style:Object.assign(Object.assign({},null===(p=null==P?void 0:P.styles)||void 0===p?void 0:p.root),null==M?void 0:M.root)}),g,o.createElement(a.ZP,{visible:!X,motionName:`${W}-zoom`,motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:r,ref:a}=e,l=D("scroll-number",f),s=Q.current,c=i()(null==z?void 0:z.indicator,null===(t=null==P?void 0:P.classNames)||void 0===t?void 0:t.indicator,{[`${W}-dot`]:s,[`${W}-count`]:!s,[`${W}-count-sm`]:"small"===S,[`${W}-multiple-words`]:!s&&Y&&Y.toString().length>1,[`${W}-status-${b}`]:!!b,[`${W}-color-${v}`]:er}),u=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(n=null==P?void 0:P.styles)||void 0===n?void 0:n.indicator),J);return v&&!er&&((u=u||{}).background=v),o.createElement(N,{prefixCls:l,show:!X,motionClassName:r,className:c,count:Y,title:ee,style:u,key:"scrollNumber",ref:a},en)}),et))});j.Ribbon=e=>{let{className:t,prefixCls:n,style:r,color:a,children:s,text:u,placement:d="end"}=e,{getPrefixCls:p,direction:m}=o.useContext(c.E_),f=p("ribbon",n),g=(0,l.o2)(a,!1),b=i()(f,`${f}-placement-${d}`,{[`${f}-rtl`]:"rtl"===m,[`${f}-color-${a}`]:g},t),[h,v]=w(f),$={},y={};return a&&!g&&($.background=a,y.color=a),h(o.createElement("div",{className:i()(`${f}-wrapper`,v)},s,o.createElement("div",{className:i()(b,v),style:Object.assign(Object.assign({},$),r)},o.createElement("span",{className:`${f}-text`},u),o.createElement("div",{className:`${f}-corner`,style:y}))))};var k=j},25571:function(e,t,n){n.d(t,{Z:function(){return Q}});var r=n(8683),i=n.n(r),a=n(73234),o=n(86006),l=n(79746),s=n(30069),c=e=>{let{prefixCls:t,className:n,style:r,size:a,shape:l}=e,s=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),c=i()({[`${t}-circle`]:"circle"===l,[`${t}-square`]:"square"===l,[`${t}-round`]:"round"===l}),u=o.useMemo(()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return o.createElement("span",{className:i()(t,s,c,n),style:Object.assign(Object.assign({},u),r)})},u=n(84596),d=n(40650),p=n(70721);let m=new u.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),f=e=>({height:e,lineHeight:`${e}px`}),g=e=>Object.assign({width:e},f(e)),b=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:m,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),h=e=>Object.assign({width:5*e,minWidth:5*e},f(e)),v=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},g(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},g(i)),[`${t}${t}-sm`]:Object.assign({},g(a))}},$=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},h(t)),[`${r}-lg`]:Object.assign({},h(i)),[`${r}-sm`]:Object.assign({},h(a))}},y=e=>Object.assign({width:e},f(e)),x=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:i},y(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},y(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},w=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},S=e=>Object.assign({width:2*e,minWidth:2*e},f(e)),E=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:2*r,minWidth:2*r},S(r))},w(e,r,n)),{[`${n}-lg`]:Object.assign({},S(i))}),w(e,i,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},S(a))}),w(e,a,`${n}-sm`))},O=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:a,skeletonInputCls:o,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:p,marginSM:m,borderRadius:f,titleHeight:h,blockRadius:y,paragraphLiHeight:w,controlHeightXS:S,paragraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},g(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},g(c)),[`${n}-sm`]:Object.assign({},g(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:h,background:d,borderRadius:y,[`+ ${i}`]:{marginBlockStart:u}},[`${i}`]:{padding:0,"> li":{width:"100%",height:w,listStyle:"none",background:d,borderRadius:y,"+ li":{marginBlockStart:S}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:f}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:m,[`+ ${i}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},E(e)),v(e)),$(e)),x(e)),[`${t}${t}-block`]:{width:"100%",[`${a}`]:{width:"100%"},[`${o}`]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${i} > li, - ${n}, - ${a}, - ${o}, - ${l} - `]:Object.assign({},b(e))}}};var N=(0,d.Z)("Skeleton",e=>{let{componentCls:t}=e,n=(0,p.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[O(n)]},e=>{let{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),C=n(40431),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},k=n(1240),I=o.forwardRef(function(e,t){return o.createElement(k.Z,(0,C.Z)({},e,{ref:t,icon:j}))}),z=n(90151),M=e=>{let t=t=>{let{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:a,rows:l}=e,s=(0,z.Z)(Array(l)).map((e,n)=>o.createElement("li",{key:n,style:{width:t(n)}}));return o.createElement("ul",{className:i()(n,r),style:a},s)},Z=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return o.createElement("h3",{className:i()(t,n),style:Object.assign({width:r},a)})};function R(e){return e&&"object"==typeof e?e:{}}let D=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:a,style:s,children:u,avatar:d=!1,title:p=!0,paragraph:m=!0,active:f,round:g}=e,{getPrefixCls:b,direction:h,skeleton:v}=o.useContext(l.E_),$=b("skeleton",t),[y,x]=N($);if(n||!("loading"in e)){let e,t;let n=!!d,l=!!p,u=!!m;if(n){let t=Object.assign(Object.assign({prefixCls:`${$}-avatar`},l&&!u?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),R(d));e=o.createElement("div",{className:`${$}-header`},o.createElement(c,Object.assign({},t)))}if(l||u){let e,r;if(l){let t=Object.assign(Object.assign({prefixCls:`${$}-title`},!n&&u?{width:"38%"}:n&&u?{width:"50%"}:{}),R(p));e=o.createElement(Z,Object.assign({},t))}if(u){let e=Object.assign(Object.assign({prefixCls:`${$}-paragraph`},function(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}(n,l)),R(m));r=o.createElement(M,Object.assign({},e))}t=o.createElement("div",{className:`${$}-content`},e,r)}let b=i()($,{[`${$}-with-avatar`]:n,[`${$}-active`]:f,[`${$}-rtl`]:"rtl"===h,[`${$}-round`]:g},null==v?void 0:v.className,r,a,x);return y(o.createElement("div",{className:b,style:Object.assign(Object.assign({},null==v?void 0:v.style),s)},e,t))}return void 0!==u?u:null};D.Button=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u=!1,size:d="default"}=e,{getPrefixCls:p}=o.useContext(l.E_),m=p("skeleton",t),[f,g]=N(m),b=(0,a.Z)(e,["prefixCls"]),h=i()(m,`${m}-element`,{[`${m}-active`]:s,[`${m}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${m}-button`,size:d},b))))},D.Avatar=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,shape:u="circle",size:d="default"}=e,{getPrefixCls:p}=o.useContext(l.E_),m=p("skeleton",t),[f,g]=N(m),b=(0,a.Z)(e,["prefixCls","className"]),h=i()(m,`${m}-element`,{[`${m}-active`]:s},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${m}-avatar`,shape:u,size:d},b))))},D.Input=e=>{let{prefixCls:t,className:n,rootClassName:r,active:s,block:u,size:d="default"}=e,{getPrefixCls:p}=o.useContext(l.E_),m=p("skeleton",t),[f,g]=N(m),b=(0,a.Z)(e,["prefixCls"]),h=i()(m,`${m}-element`,{[`${m}-active`]:s,[`${m}-block`]:u},n,r,g);return f(o.createElement("div",{className:h},o.createElement(c,Object.assign({prefixCls:`${m}-input`,size:d},b))))},D.Image=e=>{let{prefixCls:t,className:n,rootClassName:r,style:a,active:s}=e,{getPrefixCls:c}=o.useContext(l.E_),u=c("skeleton",t),[d,p]=N(u),m=i()(u,`${u}-element`,{[`${u}-active`]:s},n,r,p);return d(o.createElement("div",{className:m},o.createElement("div",{className:i()(`${u}-image`,n),style:a},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},o.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},D.Node=e=>{let{prefixCls:t,className:n,rootClassName:r,style:a,active:s,children:c}=e,{getPrefixCls:u}=o.useContext(l.E_),d=u("skeleton",t),[p,m]=N(d),f=i()(d,`${d}-element`,{[`${d}-active`]:s},m,n,r),g=null!=c?c:o.createElement(I,null);return p(o.createElement("div",{className:f},o.createElement("div",{className:i()(`${d}-image`,n),style:a},g)))};var T=n(98222),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},W=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=P(e,["prefixCls","className","hoverable"]);let{getPrefixCls:s}=o.useContext(l.E_),c=s("card",t),u=i()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:r});return o.createElement("div",Object.assign({},a,{className:u}))},H=n(98663);let B=e=>{let{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:i,tabsMarginBottom:a}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${i}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,H.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},H.vS),{[` - > ${n}-typography, - > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},A=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${i}px 0 0 0 ${n}, - 0 ${i}px 0 0 ${n}, - ${i}px ${i}px 0 0 ${n}, - ${i}px 0 0 0 ${n} inset, - 0 ${i}px 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},F=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:a,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${e.lineWidth}px ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,H.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:`${i*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${a}`}}})},_=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,H.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},H.vS),"&-description":{color:e.colorTextDescription}}),L=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},q=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},G=e=>{let{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:i,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},(0,H.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:o},[`${n}-head`]:B(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,H.dF)()),[`${n}-grid`]:A(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${n}-actions`]:F(e),[`${n}-meta`]:_(e)}),[`${n}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${a}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{paddingTop:i}}},[`${n}-type-inner`]:L(e),[`${n}-loading`]:q(e),[`${n}-rtl`]:{direction:"rtl"}}},X=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:i}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:i,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}};var V=(0,d.Z)("Card",e=>{let t=(0,p.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[G(t),X(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let U=o.forwardRef((e,t)=>{let n;let{prefixCls:r,className:c,rootClassName:u,style:d,extra:p,headStyle:m={},bodyStyle:f={},title:g,loading:b,bordered:h=!0,size:v,type:$,cover:y,actions:x,tabList:w,children:S,activeTabKey:E,defaultActiveTabKey:O,tabBarExtraContent:N,hoverable:C,tabProps:j={}}=e,k=K(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:I,direction:z,card:M}=o.useContext(l.E_),Z=o.useMemo(()=>{let e=!1;return o.Children.forEach(S,t=>{t&&t.type&&t.type===W&&(e=!0)}),e},[S]),R=I("card",r),[P,H]=V(R),B=o.createElement(D,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),A=void 0!==E,F=Object.assign(Object.assign({},j),{[A?"activeKey":"defaultActiveKey"]:A?E:O,tabBarExtraContent:N}),_=(0,s.Z)(v),L=w?o.createElement(T.Z,Object.assign({size:_&&"default"!==_?_:"large"},F,{className:`${R}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:w.map(e=>{var{tab:t}=e;return Object.assign({label:t},K(e,["tab"]))})})):null;(g||p||L)&&(n=o.createElement("div",{className:`${R}-head`,style:m},o.createElement("div",{className:`${R}-head-wrapper`},g&&o.createElement("div",{className:`${R}-head-title`},g),p&&o.createElement("div",{className:`${R}-extra`},p)),L));let q=y?o.createElement("div",{className:`${R}-cover`},y):null,G=o.createElement("div",{className:`${R}-body`,style:f},b?B:S),X=x&&x.length?o.createElement("ul",{className:`${R}-actions`},x.map((e,t)=>o.createElement("li",{style:{width:`${100/x.length}%`},key:`action-${t}`},o.createElement("span",null,e)))):null,U=(0,a.Z)(k,["onTabChange"]),Y=i()(R,null==M?void 0:M.className,{[`${R}-loading`]:b,[`${R}-bordered`]:h,[`${R}-hoverable`]:C,[`${R}-contain-grid`]:Z,[`${R}-contain-tabs`]:w&&w.length,[`${R}-${_}`]:_,[`${R}-type-${$}`]:!!$,[`${R}-rtl`]:"rtl"===z},c,u,H),Q=Object.assign(Object.assign({},null==M?void 0:M.style),d);return P(o.createElement("div",Object.assign({ref:t},U,{className:Y,style:Q}),n,q,G,X))});var Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};U.Grid=W,U.Meta=e=>{let{prefixCls:t,className:n,avatar:r,title:a,description:s}=e,c=Y(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=o.useContext(l.E_),d=u("card",t),p=i()(`${d}-meta`,n),m=r?o.createElement("div",{className:`${d}-meta-avatar`},r):null,f=a?o.createElement("div",{className:`${d}-meta-title`},a):null,g=s?o.createElement("div",{className:`${d}-meta-description`},s):null,b=f||g?o.createElement("div",{className:`${d}-meta-detail`},f,g):null;return o.createElement("div",Object.assign({},c,{className:p}),m,b)};var Q=U},68224:function(e,t,n){n.d(t,{Z:function(){return T}});var r=n(8683),i=n.n(r),a=n(88684),o=n(60456),l=n(86006),s=n(61085),c=n(38358),u=n(65877),d=n(40431),p=n(78641),m=n(48580),f=n(42442),g=l.createContext(null),b=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,s=e.containerRef,c=e.onMouseEnter,u=e.onMouseOver,p=e.onMouseLeave,m=e.onClick,f=e.onKeyDown,g=e.onKeyUp;return l.createElement(l.Fragment,null,l.createElement("div",(0,d.Z)({className:i()("".concat(t,"-content"),n),style:(0,a.Z)({},r),"aria-modal":"true",role:"dialog",ref:s},{onMouseEnter:c,onMouseOver:u,onMouseLeave:p,onClick:m,onKeyDown:f,onKeyUp:g}),o))},h=n(5004);function v(e){return"string"==typeof e&&String(Number(e))===e?((0,h.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var $={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},y=l.forwardRef(function(e,t){var n,r,s,c,h=e.prefixCls,y=e.open,x=e.placement,w=e.inline,S=e.push,E=e.forceRender,O=e.autoFocus,N=e.keyboard,C=e.rootClassName,j=e.rootStyle,k=e.zIndex,I=e.className,z=e.style,M=e.motion,Z=e.width,R=e.height,D=e.children,T=e.contentWrapperStyle,P=e.mask,W=e.maskClosable,H=e.maskMotion,B=e.maskClassName,A=e.maskStyle,F=e.afterOpenChange,_=e.onClose,L=e.onMouseEnter,q=e.onMouseOver,G=e.onMouseLeave,X=e.onClick,V=e.onKeyDown,K=e.onKeyUp,U=l.useRef(),Y=l.useRef(),Q=l.useRef();l.useImperativeHandle(t,function(){return U.current}),l.useEffect(function(){if(y&&O){var e;null===(e=U.current)||void 0===e||e.focus({preventScroll:!0})}},[y]);var J=l.useState(!1),ee=(0,o.Z)(J,2),et=ee[0],en=ee[1],er=l.useContext(g),ei=null!==(n=null!==(r=null===(s=!1===S?{distance:0}:!0===S?{}:S||{})||void 0===s?void 0:s.distance)&&void 0!==r?r:null==er?void 0:er.pushDistance)&&void 0!==n?n:180,ea=l.useMemo(function(){return{pushDistance:ei,push:function(){en(!0)},pull:function(){en(!1)}}},[ei]);l.useEffect(function(){var e,t;y?null==er||null===(e=er.push)||void 0===e||e.call(er):null==er||null===(t=er.pull)||void 0===t||t.call(er)},[y]),l.useEffect(function(){return function(){var e;null==er||null===(e=er.pull)||void 0===e||e.call(er)}},[]);var eo=P&&l.createElement(p.ZP,(0,d.Z)({key:"mask"},H,{visible:y}),function(e,t){var n=e.className,r=e.style;return l.createElement("div",{className:i()("".concat(h,"-mask"),n,B),style:(0,a.Z)((0,a.Z)({},r),A),onClick:W&&y?_:void 0,ref:t})}),el="function"==typeof M?M(x):M,es={};if(et&&ei)switch(x){case"top":es.transform="translateY(".concat(ei,"px)");break;case"bottom":es.transform="translateY(".concat(-ei,"px)");break;case"left":es.transform="translateX(".concat(ei,"px)");break;default:es.transform="translateX(".concat(-ei,"px)")}"left"===x||"right"===x?es.width=v(Z):es.height=v(R);var ec={onMouseEnter:L,onMouseOver:q,onMouseLeave:G,onClick:X,onKeyDown:V,onKeyUp:K},eu=l.createElement(p.ZP,(0,d.Z)({key:"panel"},el,{visible:y,forceRender:E,onVisibleChanged:function(e){null==F||F(e)},removeOnLeave:!1,leavedClassName:"".concat(h,"-content-wrapper-hidden")}),function(t,n){var r=t.className,o=t.style;return l.createElement("div",(0,d.Z)({className:i()("".concat(h,"-content-wrapper"),r),style:(0,a.Z)((0,a.Z)((0,a.Z)({},es),o),T)},(0,f.Z)(e,{data:!0})),l.createElement(b,(0,d.Z)({containerRef:n,prefixCls:h,className:I,style:z},ec),D))}),ed=(0,a.Z)({},j);return k&&(ed.zIndex=k),l.createElement(g.Provider,{value:ea},l.createElement("div",{className:i()(h,"".concat(h,"-").concat(x),C,(c={},(0,u.Z)(c,"".concat(h,"-open"),y),(0,u.Z)(c,"".concat(h,"-inline"),w),c)),style:ed,tabIndex:-1,ref:U,onKeyDown:function(e){var t,n,r=e.keyCode,i=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(i||document.activeElement!==Q.current?i&&document.activeElement===Y.current&&(null===(n=Q.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=Y.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:_&&N&&(e.stopPropagation(),_(e))}}},eo,l.createElement("div",{tabIndex:0,ref:Y,style:$,"aria-hidden":"true","data-sentinel":"start"}),eu,l.createElement("div",{tabIndex:0,ref:Q,style:$,"aria-hidden":"true","data-sentinel":"end"})))}),x=function(e){var t=e.open,n=e.prefixCls,r=e.placement,i=e.autoFocus,u=e.keyboard,d=e.width,p=e.mask,m=void 0===p||p,f=e.maskClosable,g=e.getContainer,b=e.forceRender,h=e.afterOpenChange,v=e.destroyOnClose,$=e.onMouseEnter,x=e.onMouseOver,w=e.onMouseLeave,S=e.onClick,E=e.onKeyDown,O=e.onKeyUp,N=l.useState(!1),C=(0,o.Z)(N,2),j=C[0],k=C[1],I=l.useState(!1),z=(0,o.Z)(I,2),M=z[0],Z=z[1];(0,c.Z)(function(){Z(!0)},[]);var R=!!M&&void 0!==t&&t,D=l.useRef(),T=l.useRef();if((0,c.Z)(function(){R&&(T.current=document.activeElement)},[R]),!b&&!j&&!R&&v)return null;var P=(0,a.Z)((0,a.Z)({},e),{},{open:R,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===r?"right":r,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===d?378:d,mask:m,maskClosable:void 0===f||f,inline:!1===g,afterOpenChange:function(e){var t,n;k(e),null==h||h(e),e||!T.current||(null===(t=D.current)||void 0===t?void 0:t.contains(T.current))||null===(n=T.current)||void 0===n||n.focus({preventScroll:!0})},ref:D},{onMouseEnter:$,onMouseOver:x,onMouseLeave:w,onClick:S,onKeyDown:E,onKeyUp:O});return l.createElement(s.Z,{open:R||b||j,autoDestroy:!1,getContainer:g,autoLock:m&&(R||j)},l.createElement(y,P))},w=n(80716),S=n(79746),E=n(61191),O=n(35978),N=e=>{let{prefixCls:t,title:n,footer:r,extra:a,closeIcon:o,closable:s,onClose:c,headerStyle:u,drawerStyle:d,bodyStyle:p,footerStyle:m,children:f}=e,g=l.useCallback(e=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${t}-close`},e),[c]),[b,h]=(0,O.Z)(s,o,g,void 0,!0),v=l.useMemo(()=>n||b?l.createElement("div",{style:u,className:i()(`${t}-header`,{[`${t}-header-close-only`]:b&&!n&&!a})},l.createElement("div",{className:`${t}-header-title`},h,n&&l.createElement("div",{className:`${t}-title`},n)),a&&l.createElement("div",{className:`${t}-extra`},a)):null,[b,h,a,u,t,n]),$=l.useMemo(()=>{if(!r)return null;let e=`${t}-footer`;return l.createElement("div",{className:e,style:m},r)},[r,m,t]);return l.createElement("div",{className:`${t}-wrapper-body`,style:d},v,l.createElement("div",{className:`${t}-body`,style:p},f),$)},C=n(12381),j=n(40650),k=n(70721),I=e=>{let{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};let z=e=>{let{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:o,padding:l,paddingLG:s,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:p,colorSplit:m,marginSM:f,colorIcon:g,colorIconHover:b,colorText:h,fontWeightStrong:v,footerPaddingBlock:$,footerPaddingInline:y}=e,x=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:i,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${p} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:f,color:g,fontWeight:v,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${o}`,textRendering:"auto","&:focus, &:hover":{color:b,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:h,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${$}px ${y}px`,borderTop:`${d}px ${p} ${m}`},"&-rtl":{direction:"rtl"}}}};var M=(0,j.Z)("Drawer",e=>{let t=(0,k.TS)(e,{});return[z(t),I(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let R={distance:180},D=e=>{let{rootClassName:t,width:n,height:r,size:a="default",mask:o=!0,push:s=R,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:m,style:f,className:g,visible:b,afterVisibleChange:h}=e,v=Z(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:$,getPrefixCls:y,direction:O,drawer:j}=l.useContext(S.E_),k=y("drawer",p),[I,z]=M(k),D=i()({"no-mask":!o,[`${k}-rtl`]:"rtl"===O},t,z),T=l.useMemo(()=>null!=n?n:"large"===a?736:378,[n,a]),P=l.useMemo(()=>null!=r?r:"large"===a?736:378,[r,a]),W={motionName:(0,w.m)(k,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return I(l.createElement(C.BR,null,l.createElement(E.Ux,{status:!0,override:!0},l.createElement(x,Object.assign({prefixCls:k,onClose:d,maskMotion:W,motion:e=>({motionName:(0,w.m)(k,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},v,{open:null!=c?c:b,mask:o,push:s,width:T,height:P,style:Object.assign(Object.assign({},null==j?void 0:j.style),f),className:i()(null==j?void 0:j.className,g),rootClassName:D,getContainer:void 0===m&&$?()=>$(document.body):m,afterOpenChange:null!=u?u:h}),l.createElement(N,Object.assign({prefixCls:k},v,{onClose:d}))))))};D._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:a="right"}=e,o=Z(e,["prefixCls","style","className","placement"]),{getPrefixCls:s}=l.useContext(S.E_),c=s("drawer",t),[u,d]=M(c),p=i()(c,`${c}-pure`,`${c}-${a}`,d,r);return u(l.createElement("div",{className:p,style:n},l.createElement(N,Object.assign({prefixCls:c},o))))};var T=D},50148:function(e,t,n){n.d(t,{Z:function(){return e_}});var r=n(90151),i=n(8683),a=n.n(i),o=n(78641),l=n(86006),s=n(80716),c=n(61191);function u(e){let[t,n]=l.useState(e);return l.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var d=n(98663),p=n(87270),m=n(57406),f=n(40650),g=n(70721),b=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, - opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};let h=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, - input[type='radio']:focus, - input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),v=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},$=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),h(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},v(e,e.controlHeightSM)),"&-large":Object.assign({},v(e,e.controlHeightLG))})}},y=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:i}=e;return{[t]:Object.assign(Object.assign({},(0,d.Wf)(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${i}-col-'"]):not([class*="' ${i}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:p.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},x=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},w=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},S=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),E=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:S(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, - ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},O=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, - .${r}-col-24${n}-label, - .${r}-col-xl-24${n}-label`]:S(e),[`@media (max-width: ${e.screenXSMax}px)`]:[E(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:S(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:S(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:S(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:S(e)}}}};var N=(0,f.Z)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=(0,g.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[$(r),y(r),b(r),x(r),w(r),O(r),(0,m.Z)(r),p.kr]});let C=[];function j(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}var k=e=>{let{help:t,helpStatus:n,errors:i=C,warnings:d=C,className:p,fieldId:m,onVisibleChanged:f}=e,{prefixCls:g}=l.useContext(c.Rk),b=`${g}-item-explain`,[,h]=N(g),v=(0,l.useMemo)(()=>(0,s.Z)(g),[g]),$=u(i),y=u(d),x=l.useMemo(()=>null!=t?[j(t,"help",n)]:[].concat((0,r.Z)($.map((e,t)=>j(e,"error","error",t))),(0,r.Z)(y.map((e,t)=>j(e,"warning","warning",t)))),[t,n,$,y]),w={};return m&&(w.id=`${m}_help`),l.createElement(o.ZP,{motionDeadline:v.motionDeadline,motionName:`${g}-show-help`,visible:!!x.length,onVisibleChanged:f},e=>{let{className:t,style:n}=e;return l.createElement("div",Object.assign({},w,{className:a()(b,t,p,h),style:n,role:"alert"}),l.createElement(o.V4,Object.assign({keys:x},(0,s.Z)(g),{motionName:`${g}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:i,style:o}=e;return l.createElement("div",{key:t,className:a()(i,{[`${b}-${r}`]:r}),style:o},n)}))})},I=n(40942),z=n(79746),M=n(20538),Z=n(25844),R=n(30069);let D=e=>"object"==typeof e&&null!=e&&1===e.nodeType,T=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,P=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightat||a>e&&o=t&&l>=n?a-e-r:o>t&&ln?o-t+i:0,H=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},B=(e,t)=>{var n,r,i,a;if("undefined"==typeof document)return[];let{scrollMode:o,block:l,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!D(e))throw TypeError("Invalid target");let p=document.scrollingElement||document.documentElement,m=[],f=e;for(;D(f)&&d(f);){if((f=H(f))===p){m.push(f);break}null!=f&&f===document.body&&P(f)&&!P(document.documentElement)||null!=f&&P(f,u)&&m.push(f)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,b=null!=(a=null==(i=window.visualViewport)?void 0:i.height)?a:innerHeight,{scrollX:h,scrollY:v}=window,{height:$,width:y,top:x,right:w,bottom:S,left:E}=e.getBoundingClientRect(),O="start"===l||"nearest"===l?x:"end"===l?S:x+$/2,N="center"===s?E+y/2:"end"===s?w:E,C=[];for(let e=0;e=0&&E>=0&&S<=b&&w<=g&&x>=i&&S<=c&&E>=u&&w<=a)break;let d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),j=parseInt(d.borderTopWidth,10),k=parseInt(d.borderRightWidth,10),I=parseInt(d.borderBottomWidth,10),z=0,M=0,Z="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-k:0,R="offsetHeight"in t?t.offsetHeight-t.clientHeight-j-I:0,D="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,T="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)z="start"===l?O:"end"===l?O-b:"nearest"===l?W(v,v+b,b,j,I,v+O,v+O+$,$):O-b/2,M="start"===s?N:"center"===s?N-g/2:"end"===s?N-g:W(h,h+g,g,f,k,h+N,h+N+y,y),z=Math.max(0,z+v),M=Math.max(0,M+h);else{z="start"===l?O-i-j:"end"===l?O-c+I+R:"nearest"===l?W(i,c,n,j,I+R,O,O+$,$):O-(i+n/2)+R/2,M="start"===s?N-u-f:"center"===s?N-(u+r/2)+Z/2:"end"===s?N-a+k+Z:W(u,a,r,f,k+Z,N,N+y,y);let{scrollLeft:e,scrollTop:o}=t;z=Math.max(0,Math.min(o+z/T,t.scrollHeight-n/T+R)),M=Math.max(0,Math.min(e+M/D,t.scrollWidth-r/D+Z)),O+=o-z,N+=e-M}C.push({el:t,top:z,left:M})}return C},A=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},F=["parentNode"];function _(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function L(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=F.includes(n);return r?`form_item_${n}`:n}function q(e){let t=_(e);return t.join("_")}function G(e){let[t]=(0,I.cI)(),n=l.useRef({}),r=l.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=q(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e),i=L(n,r.__INTERNAL__.name),a=i?document.getElementById(i):null;a&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(B(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:i,left:a}of B(e,A(t)))r.scroll({top:i,left:a,behavior:n})}(a,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=q(e);return n.current[t]}}),[e,t]);return[r]}var X=n(94986),V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let K=l.forwardRef((e,t)=>{let n=l.useContext(M.Z),{getPrefixCls:r,direction:i,form:o}=l.useContext(z.E_),{prefixCls:s,className:u,rootClassName:d,size:p,disabled:m=n,form:f,colon:g,labelAlign:b,labelWrap:h,labelCol:v,wrapperCol:$,hideRequiredMark:y,layout:x="horizontal",scrollToFirstError:w,requiredMark:S,onFinishFailed:E,name:O,style:C}=e,j=V(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),k=(0,R.Z)(p),D=l.useContext(X.Z),T=(0,l.useMemo)(()=>void 0!==S?S:o&&void 0!==o.requiredMark?o.requiredMark:!y,[y,S,o]),P=null!=g?g:null==o?void 0:o.colon,W=r("form",s),[H,B]=N(W),A=a()(W,`${W}-${x}`,{[`${W}-hide-required-mark`]:!1===T,[`${W}-rtl`]:"rtl"===i,[`${W}-${k}`]:k},B,null==o?void 0:o.className,u,d),[F]=G(f),{__INTERNAL__:_}=F;_.name=O;let L=(0,l.useMemo)(()=>({name:O,labelAlign:b,labelCol:v,labelWrap:h,wrapperCol:$,vertical:"vertical"===x,colon:P,requiredMark:T,itemRef:_.itemRef,form:F}),[O,b,v,$,x,P,T,F]);l.useImperativeHandle(t,()=>F);let q=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),F.scrollToField(t,n)}};return H(l.createElement(M.n,{disabled:m},l.createElement(Z.q,{size:k},l.createElement(c.RV,{validateMessages:D},l.createElement(c.q3.Provider,{value:L},l.createElement(I.ZP,Object.assign({id:O},j,{name:O,onFinishFailed:e=>{if(null==E||E(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==w){q(w,t);return}o&&void 0!==o.scrollToFirstError&&q(o.scrollToFirstError,t)}},form:F,style:Object.assign(Object.assign({},null==o?void 0:o.style),C),className:A})))))))});var U=n(39112),Y=n(92510),Q=n(52593);let J=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,l.useContext)(c.aM);return{status:e,errors:t,warnings:n}};J.Context=c.aM;var ee=n(66643),et=n(34777),en=n(56222),er=n(27977),ei=n(75710),ea=n(38358),eo=n(98498),el=n(73234),es=n(61911),ec=()=>{let[e,t]=l.useState(!1);return l.useEffect(()=>{t((0,es.fk)())},[]),e},eu=n(16997);let ed=(0,l.createContext)({}),ep=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},em=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},ef=(e,t)=>{let{componentCls:n,gridColumns:r}=e,i={};for(let e=r;e>=0;e--)0===e?(i[`${n}${t}-${e}`]={display:"none"},i[`${n}-push-${e}`]={insetInlineStart:"auto"},i[`${n}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${e}`]={marginInlineStart:0},i[`${n}${t}-order-${e}`]={order:0}):(i[`${n}${t}-${e}`]={display:"block",flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`},i[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},i[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},i[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},i[`${n}${t}-order-${e}`]={order:e});return i},eg=(e,t)=>ef(e,t),eb=(e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},eg(e,n))}),eh=(0,f.Z)("Grid",e=>[ep(e)]),ev=(0,f.Z)("Grid",e=>{let t=(0,g.TS)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[em(t),eg(t,""),eg(t,"-xs"),Object.keys(n).map(e=>eb(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]});var e$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function ey(e,t){let[n,r]=l.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{i()},[JSON.stringify(e),t]),n}let ex=l.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:i,className:o,style:s,children:c,gutter:u=0,wrap:d}=e,p=e$(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:m,direction:f}=l.useContext(z.E_),[g,b]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,v]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),$=ey(i,h),y=ey(r,h),x=ec(),w=l.useRef(u),S=(0,eu.Z)();l.useEffect(()=>{let e=S.subscribe(e=>{v(e);let t=w.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&b(e)});return()=>S.unsubscribe(e)},[]);let E=m("row",n),[O,N]=eh(E),C=(()=>{let e=[void 0,void 0],t=Array.isArray(u)?u:[u,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(C[0]/2):void 0,M=null!=C[1]&&C[1]>0?-(C[1]/2):void 0;I&&(k.marginLeft=I,k.marginRight=I),x?[,k.rowGap]=C:M&&(k.marginTop=M,k.marginBottom=M);let[Z,R]=C,D=l.useMemo(()=>({gutter:[Z,R],wrap:d,supportFlexGap:x}),[Z,R,d,x]);return O(l.createElement(ed.Provider,{value:D},l.createElement("div",Object.assign({},p,{className:j,style:Object.assign(Object.assign({},k),s),ref:t}),c)))});var ew=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let eS=["xs","sm","md","lg","xl","xxl"],eE=l.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=l.useContext(z.E_),{gutter:i,wrap:o,supportFlexGap:s}=l.useContext(ed),{prefixCls:c,span:u,order:d,offset:p,push:m,pull:f,className:g,children:b,flex:h,style:v}=e,$=ew(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",c),[x,w]=ev(y),S={};eS.forEach(t=>{let n={},i=e[t];"number"==typeof i?n.span=i:"object"==typeof i&&(n=i||{}),delete $[t],S=Object.assign(Object.assign({},S),{[`${y}-${t}-${n.span}`]:void 0!==n.span,[`${y}-${t}-order-${n.order}`]:n.order||0===n.order,[`${y}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${y}-${t}-push-${n.push}`]:n.push||0===n.push,[`${y}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${y}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${y}-rtl`]:"rtl"===r})});let E=a()(y,{[`${y}-${u}`]:void 0!==u,[`${y}-order-${d}`]:d,[`${y}-offset-${p}`]:p,[`${y}-push-${m}`]:m,[`${y}-pull-${f}`]:f},g,S,w),O={};if(i&&i[0]>0){let e=i[0]/2;O.paddingLeft=e,O.paddingRight=e}if(i&&i[1]>0&&!s){let e=i[1]/2;O.paddingTop=e,O.paddingBottom=e}return h&&(O.flex="number"==typeof h?`${h} ${h} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(h)?`0 0 ${h}`:h,!1!==o||O.minWidth||(O.minWidth=0)),x(l.createElement("div",Object.assign({},$,{style:Object.assign(Object.assign({},O),v),className:E,ref:t}),b))});var eO=e=>{let{prefixCls:t,status:n,wrapperCol:r,children:i,errors:o,warnings:s,_internalItemRender:u,extra:d,help:p,fieldId:m,marginBottom:f,onErrorVisibleChanged:g}=e,b=`${t}-item`,h=l.useContext(c.q3),v=r||h.wrapperCol||{},$=a()(`${b}-control`,v.className),y=l.useMemo(()=>Object.assign({},h),[h]);delete y.labelCol,delete y.wrapperCol;let x=l.createElement("div",{className:`${b}-control-input`},l.createElement("div",{className:`${b}-control-input-content`},i)),w=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),S=null!==f||o.length||s.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(c.Rk.Provider,{value:w},l.createElement(k,{fieldId:m,errors:o,warnings:s,help:p,helpStatus:n,className:`${b}-explain-connected`,onVisibleChanged:g})),!!f&&l.createElement("div",{style:{width:0,height:f}})):null,E={};m&&(E.id=`${m}_extra`);let O=d?l.createElement("div",Object.assign({},E,{className:`${b}-extra`}),d):null,N=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:S,extra:O}):l.createElement(l.Fragment,null,x,S,O);return l.createElement(c.q3.Provider,{value:y},l.createElement(eE,Object.assign({},v,{className:$}),N))},eN=n(40431),eC={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},ej=n(1240),ek=l.forwardRef(function(e,t){return l.createElement(ej.Z,(0,eN.Z)({},e,{ref:t,icon:eC}))}),eI=n(91295),ez=n(6783),eM=n(71563),eZ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},eR=e=>{var t;let{prefixCls:n,label:r,htmlFor:i,labelCol:o,labelAlign:s,colon:u,required:d,requiredMark:p,tooltip:m}=e,[f]=(0,ez.Z)("Form"),{vertical:g,labelAlign:b,labelCol:h,labelWrap:v,colon:$}=l.useContext(c.q3);if(!r)return null;let y=o||h||{},x=`${n}-item-label`,w=a()(x,"left"===(s||b)&&`${x}-left`,y.className,{[`${x}-wrap`]:!!v}),S=r,E=!0===u||!1!==$&&!1!==u;E&&!g&&"string"==typeof r&&""!==r.trim()&&(S=r.replace(/[:|:]\s*$/,""));let O=m?"object"!=typeof m||l.isValidElement(m)?{title:m}:m:null;if(O){let{icon:e=l.createElement(ek,null)}=O,t=eZ(O,["icon"]),r=l.createElement(eM.Z,Object.assign({},t),l.cloneElement(e,{className:`${n}-item-tooltip`,title:""}));S=l.createElement(l.Fragment,null,S,r)}"optional"!==p||d||(S=l.createElement(l.Fragment,null,S,l.createElement("span",{className:`${n}-item-optional`,title:""},(null==f?void 0:f.optional)||(null===(t=eI.Z.Form)||void 0===t?void 0:t.optional))));let N=a()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:"optional"===p,[`${n}-item-no-colon`]:!E});return l.createElement(eE,Object.assign({},y,{className:w}),l.createElement("label",{htmlFor:i,className:N,title:"string"==typeof r?r:""},S))},eD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let eT={success:et.Z,warning:er.Z,error:en.Z,validating:ei.Z};function eP(e){let{prefixCls:t,className:n,rootClassName:r,style:i,help:o,errors:s,warnings:d,validateStatus:p,meta:m,hasFeedback:f,hidden:g,children:b,fieldId:h,required:v,isRequired:$,onSubItemMetaChange:y}=e,x=eD(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),w=`${t}-item`,{requiredMark:S}=l.useContext(c.q3),E=l.useRef(null),O=u(s),N=u(d),C=null!=o,j=!!(C||s.length||d.length),k=!!E.current&&(0,eo.Z)(E.current),[I,z]=l.useState(null);(0,ea.Z)(()=>{if(j&&E.current){let e=getComputedStyle(E.current);z(parseInt(e.marginBottom,10))}},[j,k]);let M=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="",n=e?O:m.errors,r=e?N:m.warnings;return void 0!==p?t=p:m.validating?t="validating":n.length?t="error":r.length?t="warning":(m.touched||f&&m.validated)&&(t="success"),t}(),Z=l.useMemo(()=>{let e;if(f){let t=M&&eT[M];e=t?l.createElement("span",{className:a()(`${w}-feedback-icon`,`${w}-feedback-icon-${M}`)},l.createElement(t,null)):null}return{status:M,errors:s,warnings:d,hasFeedback:f,feedbackIcon:e,isFormItemInput:!0}},[M,f]),R=a()(w,n,r,{[`${w}-with-help`]:C||O.length||N.length,[`${w}-has-feedback`]:M&&f,[`${w}-has-success`]:"success"===M,[`${w}-has-warning`]:"warning"===M,[`${w}-has-error`]:"error"===M,[`${w}-is-validating`]:"validating"===M,[`${w}-hidden`]:g});return l.createElement("div",{className:R,style:i,ref:E},l.createElement(ex,Object.assign({className:`${w}-row`},(0,el.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),l.createElement(eR,Object.assign({htmlFor:h},e,{requiredMark:S,required:null!=v?v:$,prefixCls:t})),l.createElement(eO,Object.assign({},e,m,{errors:O,warnings:N,prefixCls:t,status:M,help:o,marginBottom:I,onErrorVisibleChanged:e=>{e||z(null)}}),l.createElement(c.qI.Provider,{value:y},l.createElement(c.aM.Provider,{value:Z},b)))),!!I&&l.createElement("div",{className:`${w}-margin-offset`,style:{marginBottom:-I}}))}var eW=n(25912);let eH=l.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function eB(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eA=function(e){let{name:t,noStyle:n,className:i,dependencies:o,prefixCls:s,shouldUpdate:u,rules:d,children:p,required:m,label:f,messageVariables:g,trigger:b="onChange",validateTrigger:h,hidden:v,help:$}=e,{getPrefixCls:y}=l.useContext(z.E_),{name:x}=l.useContext(c.q3),w=function(e){if("function"==typeof e)return e;let t=(0,eW.Z)(e);return t.length<=1?t[0]:t}(p),S="function"==typeof w,E=l.useContext(c.qI),{validateTrigger:O}=l.useContext(I.zb),C=void 0!==h?h:O,j=null!=t,k=y("form",s),[M,Z]=N(k),R=l.useContext(I.ZM),D=l.useRef(),[T,P]=function(e){let[t,n]=l.useState(e),r=(0,l.useRef)(null),i=(0,l.useRef)([]),a=(0,l.useRef)(!1);return l.useEffect(()=>(a.current=!1,()=>{a.current=!0,ee.Z.cancel(r.current),r.current=null}),[]),[t,function(e){a.current||(null===r.current&&(i.current=[],r.current=(0,ee.Z)(()=>{r.current=null,n(e=>{let t=e;return i.current.forEach(e=>{t=e(t)}),t})})),i.current.push(e))}]}({}),[W,H]=(0,U.Z)(()=>eB()),B=(e,t)=>{P(n=>{let i=Object.assign({},n),a=[].concat((0,r.Z)(e.name.slice(0,-1)),(0,r.Z)(t)),o=a.join("__SPLIT__");return e.destroy?delete i[o]:i[o]=e,i})},[A,F]=l.useMemo(()=>{let e=(0,r.Z)(W.errors),t=(0,r.Z)(W.warnings);return Object.values(T).forEach(n=>{e.push.apply(e,(0,r.Z)(n.errors||[])),t.push.apply(t,(0,r.Z)(n.warnings||[]))}),[e,t]},[T,W.errors,W.warnings]),q=function(){let{itemRef:e}=l.useContext(c.q3),t=l.useRef({});return function(n,r){let i=r&&"object"==typeof r&&r.ref,a=n.join("_");return(t.current.name!==a||t.current.originRef!==i)&&(t.current.name=a,t.current.originRef=i,t.current.ref=(0,Y.sQ)(e(n),i)),t.current.ref}}();function G(t,r,o){return n&&!v?t:l.createElement(eP,Object.assign({key:"row"},e,{className:a()(i,Z),prefixCls:k,fieldId:r,isRequired:o,errors:A,warnings:F,meta:W,onSubItemMetaChange:B}),t)}if(!j&&!S&&!o)return M(G(w));let X={};return"string"==typeof f?X.label=f:t&&(X.label=String(t)),g&&(X=Object.assign(Object.assign({},X),g)),M(l.createElement(I.gN,Object.assign({},e,{messageVariables:X,trigger:b,validateTrigger:C,onMetaChange:e=>{let t=null==R?void 0:R.getKey(e.name);if(H(e.destroy?eB():e,!0),n&&!1!==$&&E){let n=e.name;if(e.destroy)n=D.current||n;else if(void 0!==t){let[e,i]=t;n=[e].concat((0,r.Z)(i)),D.current=n}E(e,n)}}}),(n,i,a)=>{let s=_(t).length&&i?i.name:[],c=L(s,x),p=void 0!==m?m:!!(d&&d.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(a);return t&&t.required&&!t.warningOnly}return!1})),f=Object.assign({},n),g=null;if(Array.isArray(w)&&j)g=w;else if(S&&(!(u||o)||j));else if(!o||S||j){if((0,Q.l$)(w)){let t=Object.assign(Object.assign({},w.props),f);if(t.id||(t.id=c),$||A.length>0||F.length>0||e.extra){let n=[];($||A.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}A.length>0&&(t["aria-invalid"]="true"),p&&(t["aria-required"]="true"),(0,Y.Yr)(w)&&(t.ref=q(s,w));let n=new Set([].concat((0,r.Z)(_(b)),(0,r.Z)(_(C))));n.forEach(e=>{t[e]=function(){for(var t,n,r,i=arguments.length,a=Array(i),o=0;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};K.Item=eA,K.List=e=>{var{prefixCls:t,children:n}=e,r=eF(e,["prefixCls","children"]);let{getPrefixCls:i}=l.useContext(z.E_),a=i("form",t),o=l.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return l.createElement(I.aV,Object.assign({},r),(e,t,r)=>l.createElement(c.Rk.Provider,{value:o},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))},K.ErrorList=k,K.useForm=G,K.useFormInstance=function(){let{form:e}=(0,l.useContext)(c.q3);return e},K.useWatch=I.qo,K.Provider=c.RV,K.create=()=>{};var e_=K},44244:function(e,t,n){n.d(t,{Z:function(){return es}});var r=n(588),i=n(40431),a=n(86006),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},l=n(1240),s=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,i.Z)({},e,{ref:t,icon:o}))}),c=n(8683),u=n.n(c),d=n(65877),p=n(965),m=n(60456),f=n(89301),g=n(18050),b=n(49449);function h(){return"function"==typeof BigInt}function v(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function $(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",i=r.split("."),a=i[0]||"0",o=i[1]||"0";"0"===a&&"0"===o&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:a,decimalStr:o,fullStr:"".concat(l).concat(r)}}function y(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function x(e){var t=String(e);if(y(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&S(t)?t.length-t.indexOf(".")-1:0}function w(e){var t=String(e);if(y(e)){if(e>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":$("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),O=function(){function e(t){if((0,g.Z)(this,e),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),v(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,b.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":w(this.number):this.origin}}]),e}();function N(e){return h()?new E(e):new O(e)}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var i=$(e),a=i.negativeStr,o=i.integerStr,l=i.decimalStr,s="".concat(t).concat(l),c="".concat(a).concat(o);if(n>=0){var u=Number(l[n]);return u>=5&&!r?C(N(e).add("".concat(a,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?c:"".concat(c).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===s?c:"".concat(c).concat(s)}var j=n(23961),k=n(38358),I=n(92510),z=n(5004),M=n(98861),Z=function(){var e=(0,a.useState)(!1),t=(0,m.Z)(e,2),n=t[0],r=t[1];return(0,k.Z)(function(){r((0,M.Z)())},[]),n},R=n(66643);function D(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,l=e.downDisabled,s=e.onStep,c=a.useRef(),p=a.useRef([]),m=a.useRef();m.current=s;var f=function(){clearTimeout(c.current)},g=function(e,t){e.preventDefault(),f(),m.current(t),c.current=setTimeout(function e(){m.current(t),c.current=setTimeout(e,200)},600)};if(a.useEffect(function(){return function(){f(),p.current.forEach(function(e){return R.Z.cancel(e)})}},[]),Z())return null;var b="".concat(t,"-handler"),h=u()(b,"".concat(b,"-up"),(0,d.Z)({},"".concat(b,"-up-disabled"),o)),v=u()(b,"".concat(b,"-down"),(0,d.Z)({},"".concat(b,"-down-disabled"),l)),$=function(){return p.current.push((0,R.Z)(f))},y={unselectable:"on",role:"button",onMouseUp:$,onMouseLeave:$};return a.createElement("div",{className:"".concat(b,"-wrap")},a.createElement("span",(0,i.Z)({},y,{onMouseDown:function(e){g(e,!0)},"aria-label":"Increase Value","aria-disabled":o,className:h}),n||a.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),a.createElement("span",(0,i.Z)({},y,{onMouseDown:function(e){g(e,!1)},"aria-label":"Decrease Value","aria-disabled":l,className:v}),r||a.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function T(e){var t="number"==typeof e?w(e):$(e).fullStr;return t.includes(".")?$(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var P=n(44698),W=function(){var e=(0,a.useRef)(0),t=function(){R.Z.cancel(e.current)};return(0,a.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,R.Z)(function(){n()})}},H=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],B=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],A=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},F=function(e){var t=N(e);return t.isInvalidate()?null:t},_=a.forwardRef(function(e,t){var n,r,o,l=e.prefixCls,s=void 0===l?"rc-input-number":l,c=e.className,g=e.style,b=e.min,h=e.max,v=e.step,$=void 0===v?1:v,y=e.defaultValue,E=e.value,O=e.disabled,j=e.readOnly,M=e.upHandler,Z=e.downHandler,R=e.keyboard,P=e.controls,B=void 0===P||P,_=e.classNames,L=e.stringMode,q=e.parser,G=e.formatter,X=e.precision,V=e.decimalSeparator,K=e.onChange,U=e.onInput,Y=e.onPressEnter,Q=e.onStep,J=(0,f.Z)(e,H),ee="".concat(s,"-input"),et=a.useRef(null),en=a.useState(!1),er=(0,m.Z)(en,2),ei=er[0],ea=er[1],eo=a.useRef(!1),el=a.useRef(!1),es=a.useRef(!1),ec=a.useState(function(){return N(null!=E?E:y)}),eu=(0,m.Z)(ec,2),ed=eu[0],ep=eu[1],em=a.useCallback(function(e,t){return t?void 0:X>=0?X:Math.max(x(e),x($))},[X,$]),ef=a.useCallback(function(e){var t=String(e);if(q)return q(t);var n=t;return V&&(n=n.replace(V,".")),n.replace(/[^\w.-]+/g,"")},[q,V]),eg=a.useRef(""),eb=a.useCallback(function(e,t){if(G)return G(e,{userTyping:t,input:String(eg.current)});var n="number"==typeof e?w(e):e;if(!t){var r=em(n,t);S(n)&&(V||r>=0)&&(n=C(n,V||".",r))}return n},[G,em,V]),eh=a.useState(function(){var e=null!=y?y:E;return ed.isInvalidate()&&["string","number"].includes((0,p.Z)(e))?Number.isNaN(e)?"":e:eb(ed.toString(),!1)}),ev=(0,m.Z)(eh,2),e$=ev[0],ey=ev[1];function ex(e,t){ey(eb(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eg.current=e$;var ew=a.useMemo(function(){return F(h)},[h,X]),eS=a.useMemo(function(){return F(b)},[b,X]),eE=a.useMemo(function(){return!(!ew||!ed||ed.isInvalidate())&&ew.lessEquals(ed)},[ew,ed]),eO=a.useMemo(function(){return!(!eS||!ed||ed.isInvalidate())&&ed.lessEquals(eS)},[eS,ed]),eN=(n=et.current,r=(0,a.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,i=n.value,a=i.substring(0,e),o=i.substring(t);r.current={start:e,end:t,value:i,beforeTxt:a,afterTxt:o}}catch(e){}},function(){if(n&&r.current&&ei)try{var e=n.value,t=r.current,i=t.beforeTxt,a=t.afterTxt,o=t.start,l=e.length;if(e.endsWith(a))l=e.length-r.current.afterTxt.length;else if(e.startsWith(i))l=i.length;else{var s=i[o-1],c=e.indexOf(s,o-1);-1!==c&&(l=c+1)}n.setSelectionRange(l,l)}catch(e){(0,z.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]),eC=(0,m.Z)(eN,2),ej=eC[0],ek=eC[1],eI=function(e){return ew&&!e.lessEquals(ew)?ew:eS&&!eS.lessEquals(e)?eS:null},ez=function(e){return!eI(e)},eM=function(e,t){var n=e,r=ez(n)||n.isEmpty();if(n.isEmpty()||t||(n=eI(n)||n,r=!0),!j&&!O&&r){var i,a=n.toString(),o=em(a,t);return o>=0&&!ez(n=N(C(a,".",o)))&&(n=N(C(a,".",o,!0))),n.equals(ed)||(i=n,void 0===E&&ep(i),null==K||K(n.isEmpty()?null:A(L,n)),void 0===E&&ex(n,t)),n}return ed},eZ=W(),eR=function e(t){if(ej(),eg.current=t,ey(t),!el.current){var n=N(ef(t));n.isNaN()||eM(n,!0)}null==U||U(t),eZ(function(){var n=t;q||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eD=function(e){if((!e||!eE)&&(e||!eO)){eo.current=!1;var t,n=N(es.current?T($):$);e||(n=n.negate());var r=eM((ed||N(0)).add(n.toString()),!1);null==Q||Q(A(L,r),{offset:es.current?T($):$,type:e?"up":"down"}),null===(t=et.current)||void 0===t||t.focus()}},eT=function(e){var t=N(ef(e$)),n=t;n=t.isNaN()?eM(ed,e):eM(t,e),void 0!==E?ex(ed,!1):n.isNaN()||ex(n,!1)};return(0,k.o)(function(){ed.isInvalidate()||ex(ed,!1)},[X]),(0,k.o)(function(){var e=N(E);ep(e);var t=N(ef(e$));e.equals(t)&&eo.current&&!G||ex(e,eo.current)},[E]),(0,k.o)(function(){G&&ek()},[e$]),a.createElement("div",{className:u()(s,null==_?void 0:_.input,c,(o={},(0,d.Z)(o,"".concat(s,"-focused"),ei),(0,d.Z)(o,"".concat(s,"-disabled"),O),(0,d.Z)(o,"".concat(s,"-readonly"),j),(0,d.Z)(o,"".concat(s,"-not-a-number"),ed.isNaN()),(0,d.Z)(o,"".concat(s,"-out-of-range"),!ed.isInvalidate()&&!ez(ed)),o)),style:g,onFocus:function(){ea(!0)},onBlur:function(){eT(!1),ea(!1),eo.current=!1},onKeyDown:function(e){var t=e.key,n=e.shiftKey;eo.current=!0,es.current=n,"Enter"===t&&(el.current||(eo.current=!1),eT(!1),null==Y||Y(e)),!1!==R&&!el.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(eD("Up"===t||"ArrowUp"===t),e.preventDefault())},onKeyUp:function(){eo.current=!1,es.current=!1},onCompositionStart:function(){el.current=!0},onCompositionEnd:function(){el.current=!1,eR(et.current.value)},onBeforeInput:function(){eo.current=!0}},B&&a.createElement(D,{prefixCls:s,upNode:M,downNode:Z,upDisabled:eE,downDisabled:eO,onStep:eD}),a.createElement("div",{className:"".concat(ee,"-wrap")},a.createElement("input",(0,i.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":b,"aria-valuemax":h,"aria-valuenow":ed.isInvalidate()?null:ed.toString(),step:$},J,{ref:(0,I.sQ)(et,t),className:ee,value:e$,onChange:function(e){eR(e.target.value)},disabled:O,readOnly:j}))))}),L=a.forwardRef(function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,l=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.classes,m=e.className,g=e.classNames,b=(0,f.Z)(e,B),h=a.useRef(null);return a.createElement(j.Q,{inputElement:a.createElement(_,(0,i.Z)({prefixCls:o,disabled:n,classNames:g,ref:(0,I.sQ)(h,t)},b)),className:m,triggerFocus:function(e){h.current&&(0,P.nH)(h.current,e)},prefixCls:o,value:l,disabled:n,style:r,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classes:p,classNames:g,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});L.displayName="InputNumber";var q=n(24338),G=n(79746),X=n(46134),V=n(20538),K=n(30069),U=n(61191),Y=n(12381),Q=n(40399),J=n(98663),ee=n(75872),et=n(40650);let en=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:i}=e,a="lg"===t?i:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:a,borderEndEndRadius:a},[`${n}-handler-up`]:{borderStartEndRadius:a},[`${n}-handler-down`]:{borderEndEndRadius:a}}}},er=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorBorder:i,borderRadius:a,fontSizeLG:o,controlHeightLG:l,controlHeightSM:s,colorError:c,inputPaddingHorizontalSM:u,colorTextDescription:d,motionDurationMid:p,colorPrimary:m,inputPaddingHorizontal:f,inputPaddingVertical:g,colorBgContainer:b,colorTextDisabled:h,borderRadiusSM:v,borderRadiusLG:$,controlWidth:y,handleVisible:x}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.ik)(e)),(0,Q.bi)(e,t)),{display:"inline-block",width:y,margin:0,padding:0,border:`${n}px ${r} ${i}`,borderRadius:a,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,borderRadius:$,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:v,[`input${t}-input`]:{height:s-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},(0,Q.pU)(e)),"&-focused":Object.assign({},(0,Q.M1)(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),(0,Q.s7)(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:$}},"&-sm":{[`${t}-group-addon`]:{borderRadius:v}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},(0,Q.Xy)(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(e)),{width:"100%",padding:`${g}px ${f}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${p} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Q.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:b,borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,opacity:!0===x?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${i}`,transition:`all ${p} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{color:m}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,J.Ro)()),{color:d,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${i}`,borderEndEndRadius:a}},en(e,"lg")),en(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` - ${t}-handler-up-disabled, - ${t}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${t}-handler-up-disabled:hover &-handler-up-inner, - ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:h}})},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},ei=e=>{let{componentCls:t,inputPaddingVertical:n,inputPaddingHorizontal:r,inputAffixPadding:i,controlWidth:a,borderRadiusLG:o,borderRadiusSM:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Q.ik)(e)),(0,Q.bi)(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:a,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o},"&-sm":{borderRadius:l},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Q.pU)(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:i},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:i}}})}};var ea=(0,et.Z)("InputNumber",e=>{let t=(0,Q.e5)(e);return[er(t),ei(t),(0,ee.c)(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto"})),eo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let el=a.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i}=a.useContext(G.E_),o=a.useRef(null);a.useImperativeHandle(t,()=>o.current);let{className:l,rootClassName:c,size:d,disabled:p,prefixCls:m,addonBefore:f,addonAfter:g,prefix:b,bordered:h=!0,readOnly:v,status:$,controls:y}=e,x=eo(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),w=n("input-number",m),[S,E]=ea(w),{compactSize:O,compactItemClassnames:N}=(0,Y.ri)(w,i),C=a.createElement(s,{className:`${w}-handler-up-inner`}),j=a.createElement(r.Z,{className:`${w}-handler-down-inner`});"object"==typeof y&&(C=void 0===y.upIcon?C:a.createElement("span",{className:`${w}-handler-up-inner`},y.upIcon),j=void 0===y.downIcon?j:a.createElement("span",{className:`${w}-handler-down-inner`},y.downIcon));let{hasFeedback:k,status:I,isFormItemInput:z,feedbackIcon:M}=a.useContext(U.aM),Z=(0,q.F)(I,$),R=(0,K.Z)(e=>{var t;return null!==(t=null!=d?d:O)&&void 0!==t?t:e}),D=a.useContext(V.Z),T=null!=p?p:D,P=u()({[`${w}-lg`]:"large"===R,[`${w}-sm`]:"small"===R,[`${w}-rtl`]:"rtl"===i,[`${w}-borderless`]:!h,[`${w}-in-form-item`]:z},(0,q.Z)(w,Z),N,E),W=`${w}-group`,H=a.createElement(L,Object.assign({ref:o,disabled:T,className:u()(l,c),upHandler:C,downHandler:j,prefixCls:w,readOnly:v,controls:"boolean"==typeof y?y:void 0,prefix:b,suffix:k&&M,addonAfter:g&&a.createElement(Y.BR,null,a.createElement(U.Ux,{override:!0,status:!0},g)),addonBefore:f&&a.createElement(Y.BR,null,a.createElement(U.Ux,{override:!0,status:!0},f)),classNames:{input:P},classes:{affixWrapper:u()((0,q.Z)(`${w}-affix-wrapper`,Z,k),{[`${w}-affix-wrapper-sm`]:"small"===R,[`${w}-affix-wrapper-lg`]:"large"===R,[`${w}-affix-wrapper-rtl`]:"rtl"===i,[`${w}-affix-wrapper-borderless`]:!h},E),wrapper:u()({[`${W}-rtl`]:"rtl"===i,[`${w}-wrapper-disabled`]:T},E),group:u()({[`${w}-group-wrapper-sm`]:"small"===R,[`${w}-group-wrapper-lg`]:"large"===R,[`${w}-group-wrapper-rtl`]:"rtl"===i},(0,q.Z)(`${w}-group-wrapper`,Z,k),E)}},x));return S(H)});el._InternalPanelDoNotUseOrYouWillBeFired=e=>a.createElement(X.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},a.createElement(el,Object.assign({},e)));var es=el},87451:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(8683),i=n.n(r),a=n(73234),o=n(86006),l=n(52593),s=n(79746),c=n(84596),u=n(98663),d=n(40650),p=n(70721);let m=new c.E4("antSpinMove",{to:{opacity:1}}),f=new c.E4("antRotate",{to:{transform:"rotate(405deg)"}}),g=e=>({[`${e.componentCls}`]:Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`,fontSize:e.fontSize},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:m,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:f,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})});var b=(0,d.Z)("Spin",e=>{let t=(0,p.TS)(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:.35*e.controlHeightLG,spinDotSizeLG:e.controlHeight});return[g(t)]},{contentHeight:400}),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let v=null,$=e=>{let{spinPrefixCls:t,spinning:n=!0,delay:r=0,className:c,rootClassName:u,size:d="default",tip:p,wrapperClassName:m,style:f,children:g,hashId:b}=e,$=h(e,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[y,x]=o.useState(()=>n&&(!n||!r||!!isNaN(Number(r))));o.useEffect(()=>{if(n){var e;let t=function(e,t,n){var r,i=n||{},a=i.noTrailing,o=void 0!==a&&a,l=i.noLeading,s=void 0!==l&&l,c=i.debounceMode,u=void 0===c?void 0:c,d=!1,p=0;function m(){r&&clearTimeout(r)}function f(){for(var n=arguments.length,i=Array(n),a=0;ae?s?(p=Date.now(),o||(r=setTimeout(u?g:f,e))):f():!0!==o&&(r=setTimeout(u?g:f,void 0===u?e-c:e)))}return f.cancel=function(e){var t=(e||{}).upcomingOnly;m(),d=!(void 0!==t&&t)},f}(r,()=>{x(!0)},{debounceMode:!1!==(void 0!==(e=({}).atBegin)&&e)});return t(),()=>{var e;null===(e=null==t?void 0:t.cancel)||void 0===e||e.call(t)}}x(!1)},[r,n]);let w=o.useMemo(()=>void 0!==g,[g]),{direction:S,spin:E}=o.useContext(s.E_),O=i()(t,null==E?void 0:E.className,{[`${t}-sm`]:"small"===d,[`${t}-lg`]:"large"===d,[`${t}-spinning`]:y,[`${t}-show-text`]:!!p,[`${t}-rtl`]:"rtl"===S},c,u,b),N=i()(`${t}-container`,{[`${t}-blur`]:y}),C=(0,a.Z)($,["indicator","prefixCls"]),j=Object.assign(Object.assign({},null==E?void 0:E.style),f),k=o.createElement("div",Object.assign({},C,{style:j,className:O,"aria-live":"polite","aria-busy":y}),function(e,t){let{indicator:n}=t,r=`${e}-dot`;return null===n?null:(0,l.l$)(n)?(0,l.Tm)(n,{className:i()(n.props.className,r)}):(0,l.l$)(v)?(0,l.Tm)(v,{className:i()(v.props.className,r)}):o.createElement("span",{className:i()(r,`${e}-dot-spin`)},o.createElement("i",{className:`${e}-dot-item`,key:1}),o.createElement("i",{className:`${e}-dot-item`,key:2}),o.createElement("i",{className:`${e}-dot-item`,key:3}),o.createElement("i",{className:`${e}-dot-item`,key:4}))}(t,e),p&&w?o.createElement("div",{className:`${t}-text`},p):null);return w?o.createElement("div",Object.assign({},C,{className:i()(`${t}-nested-loading`,m,b)}),y&&o.createElement("div",{key:"loading"},k),o.createElement("div",{className:N,key:"container"},g)):k},y=e=>{let{prefixCls:t}=e,{getPrefixCls:n}=o.useContext(s.E_),r=n("spin",t),[i,a]=b(r),l=Object.assign(Object.assign({},e),{spinPrefixCls:r,hashId:a});return i(o.createElement($,Object.assign({},l)))};y.setDefaultIndicator=e=>{v=e};var x=y},78466:function(e,t,n){n.d(t,{CR:function(){return l},Jh:function(){return o},_T:function(){return i},ev:function(){return s},mG:function(){return a},pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function a(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{s(r.next(e))}catch(e){a(e)}}function l(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,l)}s((r=r.apply(e,t||[])).next())})}function o(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function s(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i{let l=(0,s.useReducer)((e,l)=>({...e,...l}),{...e});return l},v=a(58301),f=a(41468),g=e=>{let{queryAgentURL:l,channel:a,queryBody:t,initHistory:n=[]}=e,[r,i]=p({history:n}),{refreshDialogList:c,chatId:o,model:d}=(0,s.useContext)(f.p),u=new AbortController;(0,s.useEffect)(()=>{n&&n.length&&i({history:n})},[n]);let h=async(e,s)=>{if(!e)return;let n=[...r.history,{role:"human",context:e}],h=n.length;i({history:n});let m={conv_uid:o,...s,...t,user_input:e,channel:a};if(!(null==m?void 0:m.conv_uid)){v.ZP.error("conv_uid 不存在,请刷新后重试");return}try{await (0,x.L)("".concat("http://127.0.0.1:5000").concat("/api"+l),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(m),signal:u.signal,openWhenHidden:!0,async onopen(e){if(n.length<=1){var l;c();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),null===(l=window.history)||void 0===l||l.replaceState(null,"","?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==x.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw console.log("onerror"),Error(e)},onmessage:e=>{var l,a,t;if(e.data=null===(l=e.data)||void 0===l?void 0:l.replaceAll("\\n","\n"),"[DONE]"===e.data);else if(null===(a=e.data)||void 0===a?void 0:a.startsWith("[ERROR]"))i({history:[...n,{role:"view",context:null===(t=e.data)||void 0===t?void 0:t.replace("[ERROR]","")}]});else{let l=[...n];e.data&&((null==l?void 0:l[h])?l[h].context="".concat(e.data):l.push({role:"view",context:e.data,model_name:d}),i({history:l}))}}})}catch(e){console.log(e),i({history:[...n,{role:"view",context:"Sorry, We meet some error, please try agin later."}]})}};return{handleChatSubmit:h,history:r.history}},b=a(24339),j=a(14986),y=a(30322),w=a(75913),N=a(14553),Z=a(48699),_=a(13245),k=a(43458),C=a(47556),S=a(87536),P=a(39332),B=a(96486),E=a.n(B),L=a(99513),O=a(2166),M=a(50228),R=a(87547),z=a(35576),F=a(56986),U=a(93179),I=a(51792);let q={overrides:{code:e=>{let{children:l,className:a}=e;return(0,t.jsx)(U.Z,{language:"javascript",style:F.Z,children:l})},img:{props:{className:"my-2 !max-h-none"}},table:{props:{className:"my-2 border-collapse border border-slate-400 dark:border-slate-500 bg-white dark:bg-slate-800 text-sm shadow-sm"}},thead:{props:{className:"bg-slate-50 dark:bg-slate-700"}},th:{props:{className:"border border-slate-300 dark:border-slate-600 font-semibold !p-2 text-slate-900 dark:text-slate-200 !text-left"}},td:{props:{className:"border border-slate-300 dark:border-slate-700 !p-2 text-slate-500 dark:text-slate-400 !text-left"}}},wrapper:s.Fragment,namedCodesToUnicode:{amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"}};var A=function(e){let{content:l,isChartChat:a,onLinkClick:s}=e,{context:n,model_name:r,role:i}=l,c="view"===i;return(0,t.jsxs)("div",{className:"overflow-x-auto w-full lg:w-4/5 xl:w-3/4 mx-auto flex px-2 py-2 sm:px-4 sm:py-6 rounded-xl ".concat(c?"bg-slate-100 dark:bg-[#353539]":""),children:[(0,t.jsx)("div",{className:"mr-2 flex items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:c?(0,I.A)(r)||(0,t.jsx)(M.Z,{}):(0,t.jsx)(R.Z,{})}),(0,t.jsxs)("div",{className:"flex-1 items-center text-md leading-7",children:[a&&"object"==typeof n&&(0,t.jsxs)(t.Fragment,{children:["[".concat(n.template_name,"]: "),(0,t.jsx)(O.Z,{sx:{color:"#1677ff"},component:"button",onClick:s,children:n.template_introduce||"More Details"})]}),"string"==typeof n&&(0,t.jsx)(z.Z,{options:q,children:n.replaceAll("\\n","\n")})]})]})},D=e=>{let{messages:l,onSubmit:a,paramsObj:n={},clearInitMessage:r}=e,i=(0,P.useSearchParams)(),c=i&&i.get("initMessage"),o=i&&i.get("spaceNameOriginal"),{currentDialogue:d,scene:u,model:h}=(0,s.useContext)(f.p),m="chat_dashboard"===u,[x,p]=(0,s.useState)(!1),[v,g]=(0,s.useState)(""),[B,O]=(0,s.useState)(!1),[M,R]=(0,s.useState)(),[z,F]=(0,s.useState)(l),[U,q]=(0,s.useState)(""),D=(0,s.useRef)(null),V=(0,s.useMemo)(()=>Object.entries(n).map(e=>{let[l,a]=e;return{key:l,value:a}}),[n]),W=(0,S.cI)(),T=async e=>{let{query:l}=e;try{p(!0),W.reset(),await a(l,{select_param:"chat_excel"===u?null==d?void 0:d.select_param:n[v]})}catch(e){}finally{p(!1)}},H=async()=>{try{var e;let l=new URLSearchParams(window.location.search),a=l.get("initMessage");l.delete("initMessage"),null===(e=window.history)||void 0===e||e.replaceState(null,"","?".concat(l.toString())),await T({query:a})}catch(e){console.log(e)}finally{null==r||r()}},J=e=>{let l=e;try{l=JSON.parse(e)}catch(e){console.log(e)}return l};return(0,s.useEffect)(()=>{D.current&&D.current.scrollTo(0,D.current.scrollHeight)},[null==l?void 0:l.length]),(0,s.useEffect)(()=>{c&&l.length<=0&&H()},[H,c,l.length]),(0,s.useEffect)(()=>{(null==V?void 0:V.length)&&g(o||V[0].value)},[V,null==V?void 0:V.length,o]),(0,s.useEffect)(()=>{if(m){let e=E().cloneDeep(l);e.forEach(e=>{(null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=J(null==e?void 0:e.context))}),F(e.filter(e=>["view","human"].includes(e.role)))}else F(l.filter(e=>["view","human"].includes(e.role)))},[m,l]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:D,className:"flex flex-1 overflow-y-auto pb-8 w-full flex-col",children:(0,t.jsx)("div",{className:"flex items-center flex-1 flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:null==z?void 0:z.map((e,l)=>(0,t.jsx)(A,{content:e,isChartChat:m,onLinkClick:()=>{O(!0),R(l),q(JSON.stringify(null==e?void 0:e.context,null,2))}},l))})}),(0,t.jsx)("div",{className:"relative after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-white after:to-transparent dark:after:from-[#212121]",children:(0,t.jsxs)("form",{className:"flex flex-wrap w-full lg:w-4/5 xl:w-3/4 mx-auto py-2 sm:pt-6 sm:pb-10",onSubmit:e=>{e.stopPropagation(),W.handleSubmit(T)(e)},children:[!!(null==V?void 0:V.length)&&(0,t.jsx)("div",{className:"flex items-center max-w-[6rem] sm:max-w-[12rem] h-12 mr-2 mb-2",children:(0,t.jsx)(j.Z,{className:"h-full w-full",value:v,onChange:(e,l)=>{g(null!=l?l:"")},children:V.map(e=>(0,t.jsx)(y.Z,{value:e.value,children:e.key},e.key))})}),(0,t.jsx)(w.ZP,{disabled:"chat_excel"===u&&!(null==d?void 0:d.select_param),className:"flex-1 h-12",variant:"outlined",startDecorator:(0,I.A)(h||""),endDecorator:(0,t.jsx)(N.ZP,{type:"submit",children:x?(0,t.jsx)(Z.Z,{}):(0,t.jsx)(b.Z,{})}),...W.register("query")})]})}),(0,t.jsx)(_.Z,{open:B,onClose:()=>{O(!1)},children:(0,t.jsxs)(k.Z,{className:"w-1/2 h-[600px] flex items-center justify-center","aria-labelledby":"variant-modal-title","aria-describedby":"variant-modal-description",children:[(0,t.jsx)(L.Z,{className:"w-full h-[500px]",language:"json",value:U}),(0,t.jsx)(C.Z,{variant:"outlined",className:"w-full mt-2",onClick:()=>O(!1),children:"OK"})]})})]})},V=a(63012);function W(e){let{key:l,chart:a}=e;return(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(n.Z,{className:"h-full",sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"h-full",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:a.chart_name}),(0,t.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:a.chart_desc}),(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsx)(V.Chart,{autoFit:!0,data:a.values,children:(0,t.jsx)(V.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"name*value",color:"type"})})})]})})},l)}function T(e){let{key:l,chart:a}=e;return(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(n.Z,{className:"h-full",sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"h-full",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:a.chart_name}),(0,t.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:a.chart_desc}),(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsxs)(V.Chart,{autoFit:!0,data:a.values,children:[(0,t.jsx)(V.Interval,{position:"name*value",style:{lineWidth:3,stroke:(0,V.getTheme)().colors10[0]}}),(0,t.jsx)(V.Tooltip,{shared:!0})]})})]})})},l)}var H=a(61685);function J(e){var l,a;let{key:s,chart:r}=e,i=(0,B.groupBy)(r.values,"type");return(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(n.Z,{className:"h-full overflow-auto",sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"h-full",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:r.chart_name}),"\xb7",(0,t.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:r.chart_desc}),(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsxs)(H.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{children:Object.keys(i).map(e=>(0,t.jsx)("th",{children:e},e))})}),(0,t.jsx)("tbody",{children:null===(l=Object.values(i))||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.map((e,l)=>{var a;return(0,t.jsx)("tr",{children:null===(a=Object.keys(i))||void 0===a?void 0:a.map(e=>{var a;return(0,t.jsx)("td",{children:(null==i?void 0:null===(a=i[e])||void 0===a?void 0:a[l].value)||""},e)})},l)})})]})})]})})},s)}var $=a(43893),G=a(45247),K=a(94139),Q=a(65170),X=a(71577),Y=a(69814),ee=a(49591),el=a(88484),ea=a(29158),et=function(e){var l;let{convUid:a,chatMode:n,onComplete:r,...i}=e,[c,o]=(0,s.useState)(!1),[d,u]=(0,s.useState)([]),[h,m]=(0,s.useState)(),[x,p]=(0,s.useState)(),{model:g}=(0,s.useContext)(f.p),b=async e=>{var l;if(!e){v.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(l=e.file.name)&&void 0!==l?l:"")){v.ZP.error("File type must be csv, xlsx or xls");return}u([e.file])},j=async()=>{o(!0),p("normal");try{let e=new FormData;e.append("doc_file",d[0]);let[l]=await (0,$.Vx)((0,$.qn)({convUid:a,chatMode:n,data:e,model:g,config:{timeout:36e5,onUploadProgress:e=>{let l=Math.ceil(e.loaded/(e.total||0)*100);m(l)}}}));if(l)return;v.ZP.success("success"),p("success"),null==r||r()}catch(e){p("exception"),v.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{o(!1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"h-full flex items-start",children:[(0,t.jsx)(K.Z,{placement:"topLeft",title:"Files cannot be changed after upload",children:(0,t.jsx)(Q.default,{disabled:c,className:"mr-1",beforeUpload:()=>!1,fileList:d,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:b,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,t.jsx)(t.Fragment,{}),...i,children:(0,t.jsx)(X.ZP,{className:"flex justify-center items-center dark:bg-[#4e4f56] dark:text-gray-200",disabled:c,icon:(0,t.jsx)(ee.Z,{}),children:"Select File"})})}),(0,t.jsx)(X.ZP,{type:"primary",loading:c,className:"flex justify-center items-center dark:text-white",disabled:!d.length,icon:(0,t.jsx)(el.Z,{}),onClick:j,children:c?100===h?"Analysis":"Uploading":"Upload"})]}),!!d.length&&(0,t.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",children:[(0,t.jsx)(ea.Z,{className:"mr-2"}),(0,t.jsx)("span",{children:null===(l=d[0])||void 0===l?void 0:l.name})]}),"number"==typeof h&&(0,t.jsx)(Y.Z,{className:"mb-0",percent:h,size:"small",status:x})]})},es=function(e){let{onComplete:l}=e,{currentDialogue:a,scene:n,chatId:r}=(0,s.useContext)(f.p);return"chat_excel"!==n?null:(0,t.jsx)("div",{className:"max-w-xs h-full",children:a?(0,t.jsxs)("div",{className:"h-full flex overflow-hidden rounded",children:[(0,t.jsx)("div",{className:"h-full flex items-center justify-center px-3 py-2 bg-gray-600",children:(0,t.jsx)(ea.Z,{className:"text-white"})}),(0,t.jsx)("div",{className:"h-full bg-gray-100 px-3 py-2 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:a.select_param})]}):(0,t.jsx)(et,{convUid:r,chatMode:n,onComplete:l})})},en=a(25709),er=a(43927);function ei(){let{isContract:e,setIsContract:l,scene:a}=(0,s.useContext)(f.p),n=a&&["chat_with_db_execute","chat_dashboard"].includes(a);return n?(0,t.jsx)("div",{className:"leading-[3rem] text-right h-12 flex justify-center",children:(0,t.jsx)("div",{className:"flex items-center cursor-pointer",children:(0,t.jsxs)("div",{className:"relative w-56 h-10 mx-auto p-2 flex justify-center items-center bg-[#ece9e0] rounded-3xl model-tab dark:text-violet-600 z-10 ".concat(e?"editor-tab":""),children:[(0,t.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!1)},children:[(0,t.jsx)("span",{children:"Preview"}),(0,t.jsx)(er.Z,{className:"ml-1"})]}),(0,t.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!0)},children:[(0,t.jsx)("span",{children:"Editor"}),(0,t.jsx)(en.Z,{className:"ml-1"})]})]})})}):null}a(23293);var ec=function(e){let{refreshHistory:l,modelChange:a,selectedModel:n}=e,{refreshDialogList:r,model:i}=(0,s.useContext)(f.p);return(0,t.jsxs)("div",{className:"w-full py-4 flex items-center justify-center border-b border-gray-100 gap-5",children:[(0,t.jsx)(es,{onComplete:()=>{null==r||r(),null==l||l()}}),(0,t.jsx)(I.Z,{size:"sm",onChange:a}),(0,t.jsx)(ei,{})]})};let eo=()=>(0,t.jsxs)(n.Z,{className:"h-full w-full flex bg-transparent",children:[(0,t.jsx)(r.Z,{animation:"wave",variant:"text",level:"body2"}),(0,t.jsx)(r.Z,{animation:"wave",variant:"text",level:"body2"}),(0,t.jsx)(i.Z,{ratio:"21/9",className:"flex-1",sx:{["& .".concat(c.Z.content)]:{height:"100%"}},children:(0,t.jsx)(r.Z,{variant:"overlay",className:"h-full"})})]});var ed=()=>{(0,P.useSearchParams)();let[e,l]=(0,s.useState)(!1),[a,r]=(0,s.useState)(),{refreshDialogList:i,scene:c,chatId:x,model:p,setModel:v}=(0,s.useContext)(f.p),{data:b=[],run:j}=(0,m.Z)(async()=>{l(!0);let[,e]=await (0,$.Vx)((0,$.$i)(x));l(!1);let a=(e||[]).filter(e=>"view"===e.role).slice(-1)[0];return a.model_name&&v(a.model_name),null!=e?e:[]},{ready:!!x,refreshDeps:[x]}),{history:y,handleChatSubmit:w}=g({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:x,chat_mode:c||"chat_normal",model_name:p},initHistory:b}),{data:N={}}=(0,m.Z)(async()=>{let[,e]=await (0,$.Vx)((0,$.vD)(c));return null!=e?e:{}},{ready:!!c,refreshDeps:[x,c]});(0,s.useEffect)(()=>{if(y&&!(y.length<1))try{var e;let l=null==y?void 0:null===(e=y[y.length-1])||void 0===e?void 0:e.context,a=JSON.parse(l);r((null==a?void 0:a.template_name)==="report"?null==a?void 0:a.charts:void 0)}catch(e){r(void 0)}},[y]);let Z=(0,s.useMemo)(()=>{if(a){let e=[],l=null==a?void 0:a.filter(e=>"IndicatorValue"===e.chart_type);l.length>0&&e.push({charts:l,type:"IndicatorValue"});let t=null==a?void 0:a.filter(e=>"IndicatorValue"!==e.chart_type),s=t.length,n=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][s].forEach(l=>{if(l>0){let a=t.slice(n,n+l);n+=l,e.push({charts:a})}}),e}},[a]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ec,{selectedModel:p,refreshHistory:j,modelChange:e=>{v(e)}}),(0,t.jsx)(G.Z,{visible:e}),(0,t.jsxs)("div",{className:"px-4 flex flex-1 overflow-hidden",children:[a&&(0,t.jsx)("div",{className:"w-3/4",children:(0,t.jsx)("div",{className:"flex flex-col gap-3 h-full",children:null==Z?void 0:Z.map((e,l)=>(0,t.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type?(0,t.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)(n.Z,{sx:{background:"transparent"},children:(0,t.jsxs)(o.Z,{className:"justify-around",children:[(0,t.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,t.jsx)(d.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type?(0,t.jsx)(W,{chart:e},e.chart_uid):"BarChart"===e.chart_type?(0,t.jsx)(T,{chart:e},e.chart_uid):"Table"===e.chart_type?(0,t.jsx)(J,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(l)))})}),!a&&"chat_dashboard"===c&&(0,t.jsx)("div",{className:"w-3/4 p-6",children:(0,t.jsx)("div",{className:"flex flex-col gap-3 h-full",children:(0,t.jsxs)(u.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,t.jsx)(u.Z,{xs:8,children:(0,t.jsx)(h.Z,{className:"h-full w-full",sx:{display:"flex",gap:2},children:(0,t.jsx)(eo,{})})}),(0,t.jsx)(u.Z,{xs:4,children:(0,t.jsx)(eo,{})}),(0,t.jsx)(u.Z,{xs:4,children:(0,t.jsx)(eo,{})}),(0,t.jsx)(u.Z,{xs:8,children:(0,t.jsx)(eo,{})})]})})}),(0,t.jsx)("div",{className:"".concat("chat_dashboard"===c?"w-1/3":"w-full"," flex flex-1 flex-col h-full"),children:(0,t.jsx)(D,{clearInitMessage:async()=>{await i()},messages:y,onSubmit:w,paramsObj:N})})]})]})}},51792:function(e,l,a){"use strict";a.d(l,{A:function(){return x}});var t=a(85893),s=a(41468),n=a(14986),r=a(30322),i=a(94184),c=a.n(i),o=a(25675),d=a.n(o),u=a(67294),h=a(67421);let m={proxyllm:{label:"Proxy LLM",icon:"/models/chatgpt.png"},"flan-t5-base":{label:"flan-t5-base",icon:"/models/google.png"},"vicuna-13b":{label:"vicuna-13b",icon:"/models/vicuna.jpeg"},"vicuna-7b":{label:"vicuna-7b",icon:"/models/vicuna.jpeg"},"vicuna-13b-v1.5":{label:"vicuna-13b-v1.5",icon:"/models/vicuna.jpeg"},"vicuna-7b-v1.5":{label:"vicuna-7b-v1.5",icon:"/models/vicuna.jpeg"},"codegen2-1b":{label:"codegen2-1B",icon:"/models/vicuna.jpeg"},"codet5p-2b":{label:"codet5p-2b",icon:"/models/vicuna.jpeg"},"chatglm-6b-int4":{label:"chatglm-6b-int4",icon:"/models/chatglm.png"},"chatglm-6b":{label:"chatglm-6b",icon:"/models/chatglm.png"},"chatglm2-6b":{label:"chatglm2-6b",icon:"/models/chatglm.png"},"chatglm2-6b-int4":{label:"chatglm2-6b-int4",icon:"/models/chatglm.png"},"guanaco-33b-merged":{label:"guanaco-33b-merged",icon:"/models/huggingface.svg"},"falcon-40b":{label:"falcon-40b",icon:"/models/falcon.jpeg"},"gorilla-7b":{label:"gorilla-7b",icon:"/models/gorilla.png"},"gptj-6b":{label:"ggml-gpt4all-j-v1.3-groovy.bin",icon:""},chatgpt_proxyllm:{label:"chatgpt_proxyllm",icon:"/models/chatgpt.png"},bard_proxyllm:{label:"bard_proxyllm",icon:"/models/bard.gif"},claude_proxyllm:{label:"claude_proxyllm",icon:"/models/claude.png"},wenxin_proxyllm:{label:"wenxin_proxyllm",icon:""},tongyi_proxyllm:{label:"tongyi_proxyllm",icon:"/models/qwen2.png"},zhipu_proxyllm:{label:"zhipu_proxyllm",icon:"/models/zhipu.png"},"llama-2-7b":{label:"Llama-2-7b-chat-hf",icon:"/models/llama.jpg"},"llama-2-13b":{label:"Llama-2-13b-chat-hf",icon:"/models/llama.jpg"},"llama-2-70b":{label:"Llama-2-70b-chat-hf",icon:"/models/llama.jpg"},"baichuan-13b":{label:"Baichuan-13B-Chat",icon:"/models/baichuan.png"},"baichuan-7b":{label:"baichuan-7b",icon:"/models/baichuan.png"},"baichuan2-7b":{label:"Baichuan2-7B-Chat",icon:"/models/baichuan.png"},"baichuan2-13b":{label:"Baichuan2-13B-Chat",icon:"/models/baichuan.png"},"wizardlm-13b":{label:"WizardLM-13B-V1.2",icon:"/models/wizardlm.png"},"llama-cpp":{label:"ggml-model-q4_0.bin",icon:"/models/huggingface.svg"}};function x(e){var l;return e?(0,t.jsx)(d(),{className:"rounded-full mr-2 border border-gray-200 object-contain bg-white",width:24,height:24,src:null===(l=m[e])||void 0===l?void 0:l.icon,alt:"llm"}):null}l.Z=function(e){let{size:l,onChange:a}=e,{t:i}=(0,h.$G)(),{modelList:o,model:d}=(0,u.useContext)(s.p);return!o||o.length<=0?null:(0,t.jsx)("div",{className:c()({"w-48":"sm"===l||"md"===l||!l,"w-60":"lg"===l}),children:(0,t.jsx)(n.Z,{size:l||"sm",placeholder:i("choose_model"),value:d||"",renderValue:function(e){return e?(0,t.jsxs)(t.Fragment,{children:[x(e.value),e.label]}):null},onChange:(e,l)=>{l&&(null==a||a(l))},children:o.map(e=>{var l;return(0,t.jsxs)(r.Z,{value:e,children:[x(e),(null===(l=m[e])||void 0===l?void 0:l.label)||e]},"model_".concat(e))})})})}},99513:function(e,l,a){"use strict";a.d(l,{Z:function(){return o}});var t=a(85893),s=a(63764),n=a(94184),r=a.n(n),i=a(67294),c=a(36782);function o(e){let{className:l,value:a,language:n="mysql",onChange:o,thoughts:d}=e,u=(0,i.useMemo)(()=>"mysql"!==n?a:d&&d.length>0?(0,c.WU)("-- ".concat(d," \n").concat(a)):(0,c.WU)(a),[a,d]);return(0,t.jsx)(s.ZP,{className:r()(l),value:u,language:n,onChange:o,theme:"vs-dark",options:{minimap:{enabled:!1},wordWrap:"on"}})}},45247:function(e,l,a){"use strict";var t=a(85893),s=a(48699);l.Z=function(e){let{visible:l}=e;return l?(0,t.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50",children:(0,t.jsx)(s.Z,{variant:"plain"})}):null}},23293:function(){}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/394-0ffa189aa535d3eb.js b/pilot/server/static/_next/static/chunks/394-0ffa189aa535d3eb.js deleted file mode 100644 index 7f1c99beb..000000000 --- a/pilot/server/static/_next/static/chunks/394-0ffa189aa535d3eb.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[394],{85962:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(26927),i=n(25909),o=i._(n(86006)),a=r._(n(72930)),l=n(12325),u=n(46374),s=n(80168);n(17653);let d=r._(n(35840)),c={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function f(e){return void 0!==e.default}function p(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function m(e,t,n,r,i,o,a){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let l="decode"in e?e.decode():Promise.resolve();l.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("blur"===n&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(e)}})}function g(e){let[t,n]=o.version.split("."),r=parseInt(t,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let h=(0,o.forwardRef)((e,t)=>{let{imgAttributes:n,heightInt:r,widthInt:i,qualityInt:a,className:l,imgStyle:u,blurStyle:s,isLazy:d,fetchPriority:c,fill:f,placeholder:p,loading:h,srcString:b,config:y,unoptimized:v,loader:_,onLoadRef:w,onLoadingCompleteRef:S,setBlurComplete:j,setShowAltText:C,onLoad:E,onError:P,...x}=e;return h=d?"lazy":h,o.default.createElement("img",{...x,...g(c),loading:h,width:i,height:r,decoding:"async","data-nimg":f?"fill":"1",className:l,style:{...u,...s},...n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(P&&(e.src=e.src),e.complete&&m(e,b,p,w,S,j,v))},[b,p,w,S,j,P,v,t]),onLoad:e=>{let t=e.currentTarget;m(t,b,p,w,S,j,v)},onError:e=>{C(!0),"blur"===p&&j(!0),P&&P(e)}})}),b=(0,o.forwardRef)((e,t)=>{var n;let r,i,{src:m,sizes:b,unoptimized:y=!1,priority:v=!1,loading:_,className:w,quality:S,width:j,height:C,fill:E,style:P,onLoad:x,onLoadingComplete:O,placeholder:M="empty",blurDataURL:k,fetchPriority:I,layout:A,objectFit:z,objectPosition:R,lazyBoundary:D,lazyRoot:N,...U}=e,F=(0,o.useContext)(s.ImageConfigContext),T=(0,o.useMemo)(()=>{let e=c||F||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[F]),W=U.loader||d.default;delete U.loader;let B="__next_img_default"in W;if(B){if("custom"===T.loader)throw Error('Image with src "'+m+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=W;W=t=>{let{config:n,...r}=t;return e(r)}}if(A){"fill"===A&&(E=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(P={...P,...e});let t={responsive:"100vw",fill:"100vw"}[A];t&&!b&&(b=t)}let L="",G=p(j),V=p(C);if("object"==typeof(n=m)&&(f(n)||void 0!==n.src)){let e=f(m)?m.default:m;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(r=e.blurWidth,i=e.blurHeight,k=k||e.blurDataURL,L=e.src,!E){if(G||V){if(G&&!V){let t=G/e.width;V=Math.round(e.height*t)}else if(!G&&V){let t=V/e.height;G=Math.round(e.width*t)}}else G=e.width,V=e.height}}let H=!v&&("lazy"===_||void 0===_);(!(m="string"==typeof m?m:L)||m.startsWith("data:")||m.startsWith("blob:"))&&(y=!0,H=!1),T.unoptimized&&(y=!0),B&&m.endsWith(".svg")&&!T.dangerouslyAllowSVG&&(y=!0),v&&(I="high");let[q,$]=(0,o.useState)(!1),[J,Y]=(0,o.useState)(!1),K=p(S),Q=Object.assign(E?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:R}:{},J?{}:{color:"transparent"},P),X="blur"===M&&k&&!q?{backgroundSize:Q.objectFit||"cover",backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,l.getImageBlurSvg)({widthInt:G,heightInt:V,blurWidth:r,blurHeight:i,blurDataURL:k,objectFit:Q.objectFit})+'")'}:{},Z=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:l}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:u,kind:s}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let o=[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))];return{widths:o,kind:"x"}}(t,i,a),d=u.length-1;return{sizes:a||"w"!==s?a:"100vw",srcSet:u.map((e,r)=>l({config:t,src:n,quality:o,width:e})+" "+("w"===s?e:r+1)+s).join(", "),src:l({config:t,src:n,quality:o,width:u[d]})}}({config:T,src:m,unoptimized:y,width:G,quality:K,sizes:b,loader:W}),ee=m,et=(0,o.useRef)(x);(0,o.useEffect)(()=>{et.current=x},[x]);let en=(0,o.useRef)(O);(0,o.useEffect)(()=>{en.current=O},[O]);let er={isLazy:H,imgAttributes:Z,heightInt:V,widthInt:G,qualityInt:K,className:w,imgStyle:Q,blurStyle:X,loading:_,config:T,fetchPriority:I,fill:E,unoptimized:y,placeholder:M,loader:W,srcString:ee,onLoadRef:et,onLoadingCompleteRef:en,setBlurComplete:$,setShowAltText:Y,...U};return o.default.createElement(o.default.Fragment,null,o.default.createElement(h,{...er,ref:t}),v?o.default.createElement(a.default,null,o.default.createElement("link",{key:"__nimg-"+Z.src+Z.srcSet+Z.sizes,rel:"preload",as:"image",href:Z.srcSet?void 0:Z.src,imageSrcSet:Z.srcSet,imageSizes:Z.sizes,crossOrigin:U.crossOrigin,referrerPolicy:U.referrerPolicy,...g(I)})):null)}),y=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64626:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return o}});let r=n(26927),i=r._(n(86006)),o=i.default.createContext({})},47290:function(e,t){"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},72930:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{defaultHead:function(){return d},default:function(){return m}});let r=n(26927),i=n(25909),o=i._(n(86006)),a=r._(n(69488)),l=n(64626),u=n(46436),s=n(47290);function d(e){void 0===e&&(e=!1);let t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(17653);let f=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:n}=t;return e.reduce(c,[]).reverse().concat(d(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let o=!0,a=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){a=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=f.length;e{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,n=(0,o.useContext)(l.AmpStateContext),r=(0,o.useContext)(u.HeadManagerContext);return o.default.createElement(a.default,{reduceComponentsToState:p,headManager:r,inAmpMode:(0,s.isInAmpMode)(n)},t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12325:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,l=r||t,u=i||n,s=o.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return l&&u?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+l+" "+u+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+(r&&i?"1":"20")+"'/%3E"+s+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+o+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},80168:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let r=n(26927),i=r._(n(86006)),o=n(46374),a=i.default.createContext(o.imageConfigDefault)},46374:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},35840:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},69488:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(25909),i=r._(n(86006)),o=i.useLayoutEffect,a=i.useEffect;function l(e){let{headManager:t,reduceComponentsToState:n}=e;function r(){if(t&&t.mountedInstances){let r=i.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(r,e))}}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=r),()=>{t&&(t._pendingUpdate=r)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},17653:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},76394:function(e,t,n){e.exports=n(85962)}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/400.d11f59e4261f09ad.js b/pilot/server/static/_next/static/chunks/400.d11f59e4261f09ad.js new file mode 100644 index 000000000..798fe0e9c --- /dev/null +++ b/pilot/server/static/_next/static/chunks/400.d11f59e4261f09ad.js @@ -0,0 +1,78 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{29158:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},50228:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},49591:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z"}}]},name:"select",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},87547:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(87462),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},o=n(42135),s=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,a.Z)({},e,{ref:t,icon:i}))})},1375:function(e,t,n){"use strict";async function a(e,t){let n;let a=e.getReader();for(;!(n=await a.read()).done;)t(n.value)}function r(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{a:function(){return o},L:function(){return E}});var i=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};let o="text/event-stream",s="last-event-id";function E(e,t){var{signal:n,headers:E,onopen:T,onmessage:c,onclose:u,onerror:d,openWhenHidden:R,fetch:A}=t,S=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let p;let I=Object.assign({},E);function N(){p.abort(),document.hidden||L()}I.accept||(I.accept=o),R||document.addEventListener("visibilitychange",N);let O=1e3,_=0;function g(){document.removeEventListener("visibilitychange",N),window.clearTimeout(_),p.abort()}null==n||n.addEventListener("abort",()=>{g(),t()});let m=null!=A?A:window.fetch,C=null!=T?T:l;async function L(){var n,o;p=new AbortController;try{let n,i,E,l;let T=await m(e,Object.assign(Object.assign({},S),{headers:I,signal:p.signal}));await C(T),await a(T.body,(o=function(e,t,n){let a=r(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(a),a=r();else if(s>0){let n=i.decode(o.subarray(0,s)),r=s+(32===o[s+1]?2:1),E=i.decode(o.subarray(r));switch(n){case"data":a.data=a.data?a.data+"\n"+E:E;break;case"event":a.event=E;break;case"id":e(a.id=E);break;case"retry":let l=parseInt(E,10);isNaN(l)||t(a.retry=l)}}}}(e=>{e?I[s]=e:delete I[s]},e=>{O=e},c),l=!1,function(e){void 0===n?(n=e,i=0,E=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,a=0;for(;i{let{variant:t,color:n}=e,a={root:["root"],content:["content",t&&`variant${(0,s.Z)(t)}`,n&&`color${(0,s.Z)(n)}`]};return(0,o.Z)(a,u.x,{})},S=(0,T.Z)("div",{name:"JoyAspectRatio",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>{let t="number"==typeof e.minHeight?`${e.minHeight}px`:e.minHeight,n="number"==typeof e.maxHeight?`${e.maxHeight}px`:e.maxHeight;return{"--AspectRatio-paddingBottom":`clamp(var(--AspectRatio-minHeight), calc(100% / (${e.ratio})), var(--AspectRatio-maxHeight))`,"--AspectRatio-maxHeight":n||"9999px","--AspectRatio-minHeight":t||"0px",borderRadius:"var(--AspectRatio-radius)",flexDirection:"column",margin:"var(--AspectRatio-margin)"}}),p=(0,T.Z)("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>{var n;return[{flex:1,position:"relative",borderRadius:"inherit",height:0,paddingBottom:"calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",overflow:"hidden",transition:"inherit","& [data-first-child]":{display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",position:"absolute",width:"100%",height:"100%",objectFit:t.objectFit,margin:0,padding:0,"& > img":{width:"100%",height:"100%",objectFit:t.objectFit}}},null==(n=e.variants[t.variant])?void 0:n[t.color]]}),I=i.forwardRef(function(e,t){let n=(0,E.Z)({props:e,name:"JoyAspectRatio"}),{children:o,ratio:s="16 / 9",minHeight:T,maxHeight:u,objectFit:I="cover",color:N="neutral",variant:O="soft",component:_,slots:g={},slotProps:m={}}=n,C=(0,r.Z)(n,R),{getColor:L}=(0,c.VT)(O),b=L(e.color,N),f=(0,a.Z)({},n,{minHeight:T,maxHeight:u,objectFit:I,ratio:s,color:b,variant:O}),D=A(f),h=(0,a.Z)({},C,{component:_,slots:g,slotProps:m}),[P,y]=(0,l.Z)("root",{ref:t,className:D.root,elementType:S,externalForwardedProps:h,ownerState:f}),[M,U]=(0,l.Z)("content",{className:D.content,elementType:p,externalForwardedProps:h,ownerState:f});return(0,d.jsx)(P,(0,a.Z)({},y,{children:(0,d.jsx)(M,(0,a.Z)({},U,{children:i.Children.map(o,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)}))}))});t.Z=I},79172:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var a=n(26821);function r(e){return(0,a.d6)("MuiAspectRatio",e)}let i=(0,a.sI)("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);t.Z=i},41118:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(94780),E=n(14142),l=n(18719),T=n(20407),c=n(74312),u=n(78653),d=n(26821);function R(e){return(0,d.d6)("MuiCard",e)}(0,d.sI)("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);var A=n(58859),S=n(30220),p=n(85893);let I=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],N=e=>{let{size:t,variant:n,color:a,orientation:r}=e,i={root:["root",r,n&&`variant${(0,E.Z)(n)}`,a&&`color${(0,E.Z)(a)}`,t&&`size${(0,E.Z)(t)}`]};return(0,s.Z)(i,R,{})},O=(0,c.Z)("div",{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,a;return[(0,r.Z)({"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":(0,A.V)({theme:e,ownerState:t},"borderRadius","var(--Card-radius)"),"--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===t.size&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.5rem",gap:"0.375rem 0.5rem"},"md"===t.size&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===t.size&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",boxShadow:e.shadow.sm,backgroundColor:e.vars.palette.background.surface,fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md,position:"relative",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"}),null==(n=e.variants[t.variant])?void 0:n[t.color],"context"!==t.color&&t.invertedColors&&(null==(a=e.colorInversion[t.variant])?void 0:a[t.color])]}),_=i.forwardRef(function(e,t){let n=(0,T.Z)({props:e,name:"JoyCard"}),{className:s,color:E="neutral",component:c="div",invertedColors:d=!1,size:R="md",variant:A="plain",children:_,orientation:g="vertical",slots:m={},slotProps:C={}}=n,L=(0,a.Z)(n,I),{getColor:b}=(0,u.VT)(A),f=b(e.color,E),D=(0,r.Z)({},n,{color:f,component:c,orientation:g,size:R,variant:A}),h=N(D),P=(0,r.Z)({},L,{component:c,slots:m,slotProps:C}),[y,M]=(0,S.Z)("root",{ref:t,className:(0,o.Z)(h.root,s),elementType:O,externalForwardedProps:P,ownerState:D}),U=(0,p.jsx)(y,(0,r.Z)({},M,{children:i.Children.map(_,(e,t)=>{if(!i.isValidElement(e))return e;let n={};if((0,l.Z)(e,["Divider"])){n.inset="inset"in e.props?e.props.inset:"context";let t="vertical"===g?"horizontal":"vertical";n.orientation="orientation"in e.props?e.props.orientation:t}return(0,l.Z)(e,["CardOverflow"])&&("horizontal"===g&&(n["data-parent"]="Card-horizontal"),"vertical"===g&&(n["data-parent"]="Card-vertical")),0===t&&(n["data-first-child"]=""),t===i.Children.count(_)-1&&(n["data-last-child"]=""),i.cloneElement(e,n)})}));return d?(0,p.jsx)(u.do,{variant:A,children:U}):U});var g=_},30208:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var a=n(87462),r=n(63366),i=n(67294),o=n(86010),s=n(94780),E=n(20407),l=n(74312),T=n(26821);function c(e){return(0,T.d6)("MuiCardContent",e)}(0,T.sI)("MuiCardContent",["root"]);let u=(0,T.sI)("MuiCardOverflow",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var d=n(30220),R=n(85893);let A=["className","component","children","orientation","slots","slotProps"],S=()=>(0,s.Z)({root:["root"]},c,{}),p=(0,l.Z)("div",{name:"JoyCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>({display:"flex",flexDirection:"horizontal"===e.orientation?"row":"column",flex:1,zIndex:1,columnGap:"calc(0.75 * var(--Card-padding))",padding:"var(--unstable_padding)",[`.${u.root} > &`]:{"--unstable_padding":"calc(var(--Card-padding) * 0.75) 0px"}})),I=i.forwardRef(function(e,t){let n=(0,E.Z)({props:e,name:"JoyCardContent"}),{className:i,component:s="div",children:l,orientation:T="vertical",slots:c={},slotProps:u={}}=n,I=(0,r.Z)(n,A),N=(0,a.Z)({},I,{component:s,slots:c,slotProps:u}),O=(0,a.Z)({},n,{component:s,orientation:T}),_=S(),[g,m]=(0,d.Z)("root",{ref:t,className:(0,o.Z)(_.root,i),elementType:p,externalForwardedProps:N,ownerState:O});return(0,R.jsx)(g,(0,a.Z)({},m,{children:l}))});var N=I},51610:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var a=n(87462),r=n(63366),i=n(67294),o=n(70828),s=n(94780),E=n(34867),l=n(18719),T=n(13264),c=n(39214),u=n(96682),d=n(39707),R=n(88647);let A=(e,t)=>e.filter(e=>t.includes(e)),S=(e,t,n)=>{let a=e.keys[0];if(Array.isArray(t))t.forEach((t,a)=>{n((t,n)=>{a<=e.keys.length-1&&(0===a?Object.assign(t,n):t[e.up(e.keys[a])]=n)},t)});else if(t&&"object"==typeof t){let r=Object.keys(t).length>e.keys.length?e.keys:A(e.keys,Object.keys(t));r.forEach(r=>{if(-1!==e.keys.indexOf(r)){let i=t[r];void 0!==i&&n((t,n)=>{a===r?Object.assign(t,n):t[e.up(r)]=n},i)}})}else("number"==typeof t||"string"==typeof t)&&n((e,t)=>{Object.assign(e,t)},t)};function p(e){return e?`Level${e}`:""}function I(e){return e.unstable_level>0&&e.container}function N(e){return function(t){return`var(--Grid-${t}Spacing${p(e.unstable_level)})`}}function O(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${p(e.unstable_level-1)})`}}function _(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${p(e.unstable_level-1)})`}let g=({theme:e,ownerState:t})=>{let n=N(t),a={};return S(e.breakpoints,t.gridSize,(e,r)=>{let i={};!0===r&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===r&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof r&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${r} / ${_(t)}${I(t)?` + ${n("column")}`:""})`}),e(a,i)}),a},m=({theme:e,ownerState:t})=>{let n={};return S(e.breakpoints,t.gridOffset,(e,a)=>{let r={};"auto"===a&&(r={marginLeft:"auto"}),"number"==typeof a&&(r={marginLeft:0===a?"0px":`calc(100% * ${a} / ${_(t)})`}),e(n,r)}),n},C=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=I(t)?{[`--Grid-columns${p(t.unstable_level)}`]:_(t)}:{"--Grid-columns":12};return S(e.breakpoints,t.columns,(e,a)=>{e(n,{[`--Grid-columns${p(t.unstable_level)}`]:a})}),n},L=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=O(t),a=I(t)?{[`--Grid-rowSpacing${p(t.unstable_level)}`]:n("row")}:{};return S(e.breakpoints,t.rowSpacing,(n,r)=>{var i;n(a,{[`--Grid-rowSpacing${p(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},b=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=O(t),a=I(t)?{[`--Grid-columnSpacing${p(t.unstable_level)}`]:n("column")}:{};return S(e.breakpoints,t.columnSpacing,(n,r)=>{var i;n(a,{[`--Grid-columnSpacing${p(t.unstable_level)}`]:"string"==typeof r?r:null==(i=e.spacing)?void 0:i.call(e,r)})}),a},f=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return S(e.breakpoints,t.direction,(e,t)=>{e(n,{flexDirection:t})}),n},D=({ownerState:e})=>{let t=N(e),n=O(e);return(0,a.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,a.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||I(e))&&(0,a.Z)({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},h=e=>{let t=[];return Object.entries(e).forEach(([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)}),t},P=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,a])=>{n(a)&&t.push(`spacing-${e}-${String(a)}`)}),t}return[]},y=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var M=n(85893);let U=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],v=(0,R.Z)(),w=(0,T.Z)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function G(e){return(0,c.Z)({props:e,name:"MuiGrid",defaultTheme:v})}var k=n(74312),F=n(20407);let x=function(e={}){let{createStyledComponent:t=w,useThemeProps:n=G,componentName:T="MuiGrid"}=e,c=i.createContext(void 0),R=(e,t)=>{let{container:n,direction:a,spacing:r,wrap:i,gridSize:o}=e,l={root:["root",n&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...y(a),...h(o),...n?P(r,t.breakpoints.keys[0]):[]]};return(0,s.Z)(l,e=>(0,E.Z)(T,e),{})},A=t(C,b,L,g,f,D,m),S=i.forwardRef(function(e,t){var s,E,T,S,p,I,N,O;let _=(0,u.Z)(),g=n(e),m=(0,d.Z)(g),C=i.useContext(c),{className:L,children:b,columns:f=12,container:D=!1,component:h="div",direction:P="row",wrap:y="wrap",spacing:v=0,rowSpacing:w=v,columnSpacing:G=v,disableEqualOverflow:k,unstable_level:F=0}=m,x=(0,r.Z)(m,U),B=k;F&&void 0!==k&&(B=e.disableEqualOverflow);let H={},Y={},V={};Object.entries(x).forEach(([e,t])=>{void 0!==_.breakpoints.values[e]?H[e]=t:void 0!==_.breakpoints.values[e.replace("Offset","")]?Y[e.replace("Offset","")]=t:V[e]=t});let W=null!=(s=e.columns)?s:F?void 0:f,$=null!=(E=e.spacing)?E:F?void 0:v,X=null!=(T=null!=(S=e.rowSpacing)?S:e.spacing)?T:F?void 0:w,K=null!=(p=null!=(I=e.columnSpacing)?I:e.spacing)?p:F?void 0:G,z=(0,a.Z)({},m,{level:F,columns:W,container:D,direction:P,wrap:y,spacing:$,rowSpacing:X,columnSpacing:K,gridSize:H,gridOffset:Y,disableEqualOverflow:null!=(N=null!=(O=B)?O:C)&&N,parentDisableEqualOverflow:C}),j=R(z,_),Z=(0,M.jsx)(A,(0,a.Z)({ref:t,as:h,ownerState:z,className:(0,o.Z)(j.root,L)},V,{children:i.Children.map(b,e=>{if(i.isValidElement(e)&&(0,l.Z)(e,["Grid"])){var t;return i.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:F+1})}return e})}));return void 0!==B&&B!==(null!=C&&C)&&(Z=(0,M.jsx)(c.Provider,{value:B,children:Z})),Z});return S.muiName="Grid",S}({createStyledComponent:(0,k.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,F.Z)({props:e,name:"JoyGrid"})});var B=x},43458:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(94780),E=n(14142),l=n(18719),T=n(74312),c=n(20407),u=n(78653),d=n(3414),R=n(26821);function A(e){return(0,R.d6)("MuiModalDialog",e)}(0,R.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);let S=i.createContext(void 0),p=i.createContext(void 0);var I=n(30220),N=n(85893);let O=["className","children","color","component","variant","size","layout","slots","slotProps"],_=e=>{let{variant:t,color:n,size:a,layout:r}=e,i={root:["root",t&&`variant${(0,E.Z)(t)}`,n&&`color${(0,E.Z)(n)}`,a&&`size${(0,E.Z)(a)}`,r&&`layout${(0,E.Z)(r)}`]};return(0,s.Z)(i,A,{})},g=(0,T.Z)(d.U,{name:"JoyModalDialog",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,r.Z)({"--Divider-inset":"calc(-1 * var(--ModalDialog-padding))","--ModalClose-radius":"max((var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===t.size&&{"--ModalDialog-padding":e.spacing(2),"--ModalDialog-radius":e.vars.radius.sm,"--ModalDialog-gap":e.spacing(.75),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.25),"--ModalClose-inset":e.spacing(1.25),fontSize:e.vars.fontSize.sm},"md"===t.size&&{"--ModalDialog-padding":e.spacing(2.5),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(1.5),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.75),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.md},"lg"===t.size&&{"--ModalDialog-padding":e.spacing(3),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(2),"--ModalDialog-titleOffset":e.spacing(.75),"--ModalDialog-descriptionOffset":e.spacing(1),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.lg},{boxSizing:"border-box",boxShadow:e.shadow.md,borderRadius:"var(--ModalDialog-radius)",fontFamily:e.vars.fontFamily.body,lineHeight:e.vars.lineHeight.md,padding:"var(--ModalDialog-padding)",minWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute",display:"flex",flexDirection:"column"},"fullscreen"===t.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===t.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--ModalDialog-padding))"},{[`& [id="${t["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${t["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${t["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),m=i.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoyModalDialog"}),{className:s,children:E,color:T="neutral",component:d="div",variant:R="outlined",size:A="md",layout:m="center",slots:C={},slotProps:L={}}=n,b=(0,a.Z)(n,O),{getColor:f}=(0,u.VT)(R),D=f(e.color,T),h=(0,r.Z)({},n,{color:D,component:d,layout:m,size:A,variant:R}),P=_(h),y=(0,r.Z)({},b,{component:d,slots:C,slotProps:L}),M=i.useMemo(()=>({variant:R,color:"context"===D?void 0:D}),[D,R]),[U,v]=(0,I.Z)("root",{ref:t,className:(0,o.Z)(P.root,s),elementType:g,externalForwardedProps:y,ownerState:h,additionalProps:{as:d,role:"dialog","aria-modal":"true"}});return(0,N.jsx)(S.Provider,{value:A,children:(0,N.jsx)(p.Provider,{value:M,children:(0,N.jsx)(U,(0,r.Z)({},v,{children:i.Children.map(E,e=>{if(!i.isValidElement(e))return e;if((0,l.Z)(e,["Divider"])){let t={};return t.inset="inset"in e.props?e.props.inset:"context",i.cloneElement(e,t)}return e})}))})})});var C=m},16789:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var a=n(63366),r=n(87462),i=n(67294),o=n(86010),s=n(14142),E=n(70917),l=n(94780),T=n(20407),c=n(74312),u=n(26821);function d(e){return(0,u.d6)("MuiSkeleton",e)}(0,u.sI)("MuiSkeleton",["root","variantOverlay","variantCircular","variantRectangular","variantText","variantInline","h1","h2","h3","h4","h5","h6","body1","body2","body3"]);var R=n(30220),A=n(85893);let S=["className","component","children","animation","overlay","loading","variant","level","height","width","sx","slots","slotProps"],p=e=>e,I,N,O,_,g,m=e=>{let{variant:t,level:n}=e,a={root:["root",t&&`variant${(0,s.Z)(t)}`,n&&`level${(0,s.Z)(n)}`]};return(0,l.Z)(a,d,{})},C=(0,E.F4)(I||(I=p` + 0% { + opacity: 1; + } + + 50% { + opacity: 0.8; + background: var(--unstable_pulse-bg); + } + + 100% { + opacity: 1; + } +`)),L=(0,E.F4)(N||(N=p` + 0% { + transform: translateX(-100%); + } + + 50% { + /* +0.5s of delay between each loop */ + transform: translateX(100%); + } + + 100% { + transform: translateX(100%); + } +`)),b=(0,c.Z)("span",{name:"JoySkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"!==e.variant&&(0,E.iv)(O||(O=p` + &::before { + animation: ${0} 1.5s ease-in-out 0.5s infinite; + background: ${0}; + } + `),C,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"pulse"===e.animation&&"inline"===e.variant&&(0,E.iv)(_||(_=p` + &::after { + animation: ${0} 1.5s ease-in-out 0.5s infinite; + background: ${0}; + } + `),C,t.vars.palette.background.level2),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,E.iv)(g||(g=p` + /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ + -webkit-mask-image: -webkit-radial-gradient(white, black); + background: ${0}; + + &::after { + content: ' '; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: var(--unstable_pseudo-zIndex); + animation: ${0} 1.6s linear 0.5s infinite; + background: linear-gradient( + 90deg, + transparent, + var(--unstable_wave-bg, rgba(0 0 0 / 0.08)), + transparent + ); + transform: translateX(-100%); /* Avoid flash during server-side hydration */ + } + `),t.vars.palette.background.level2,L),({ownerState:e,theme:t})=>{var n,a,i,o;let s=(null==(n=t.components)||null==(n=n.JoyTypography)||null==(n=n.defaultProps)?void 0:n.level)||"body1";return[{display:"block",position:"relative","--unstable_pseudo-zIndex":9,"--unstable_pulse-bg":t.vars.palette.background.level1,overflow:"hidden",cursor:"default","& *":{visibility:"hidden"},"&::before":{display:"block",content:'" "',top:0,bottom:0,left:0,right:0,zIndex:"var(--unstable_pseudo-zIndex)",borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"--unstable_wave-bg":"rgba(255 255 255 / 0.1)"}},"rectangular"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",height:"auto",width:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"circular"===e.variant&&(0,r.Z)({borderRadius:"50%",width:"100%",height:"100%","&::before":{position:"absolute"}},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level])),"text"===e.variant&&(0,r.Z)({borderRadius:"min(0.15em, 6px)",background:"transparent",width:"100%"},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level||s],{paddingBlockStart:`calc((${(null==(a=t.typography[e.level||s])?void 0:a.lineHeight)||1} - 1) * 0.56em)`,paddingBlockEnd:`calc((${(null==(i=t.typography[e.level||s])?void 0:i.lineHeight)||1} - 1) * 0.44em)`,"&::before":(0,r.Z)({height:"1em"},t.typography[e.level||s],"wave"===e.animation&&{backgroundColor:t.vars.palette.background.level2},!e.animation&&{backgroundColor:t.vars.palette.background.level2}),"&::after":(0,r.Z)({height:"1em",top:`calc((${(null==(o=t.typography[e.level||s])?void 0:o.lineHeight)||1} - 1) * 0.56em)`},t.typography[e.level||s])})),"inline"===e.variant&&(0,r.Z)({display:"inline",position:"initial",borderRadius:"min(0.15em, 6px)"},!e.animation&&{backgroundColor:t.vars.palette.background.level2},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"-webkit-mask-image":"-webkit-radial-gradient(white, black)","&::before":{position:"absolute",zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}},"pulse"===e.animation&&{"&::after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:"var(--unstable_pseudo-zIndex)",backgroundColor:t.vars.palette.background.level2}}),"overlay"===e.variant&&(0,r.Z)({borderRadius:t.vars.radius.xs,position:"absolute",width:"100%",height:"100%",zIndex:"var(--unstable_pseudo-zIndex)"},"pulse"===e.animation&&{backgroundColor:t.vars.palette.background.surface},"inherit"!==e.level&&(0,r.Z)({},t.typography[e.level]),{"&::before":{position:"absolute"}})]}),f=i.forwardRef(function(e,t){let n=(0,T.Z)({props:e,name:"JoySkeleton"}),{className:s,component:E="span",children:l,animation:c="pulse",overlay:u=!1,loading:d=!0,variant:p="overlay",level:I="text"===p?"body1":"inherit",height:N,width:O,sx:_,slots:g={},slotProps:C={}}=n,L=(0,a.Z)(n,S),f=(0,r.Z)({},L,{component:E,slots:g,slotProps:C,sx:[{width:O,height:N},...Array.isArray(_)?_:[_]]}),D=(0,r.Z)({},n,{animation:c,component:E,level:I,loading:d,overlay:u,variant:p,width:O,height:N}),h=m(D),[P,y]=(0,R.Z)("root",{ref:t,className:(0,o.Z)(h.root,s),elementType:b,externalForwardedProps:f,ownerState:D});return d?(0,A.jsx)(P,(0,r.Z)({},y,{children:l})):(0,A.jsx)(i.Fragment,{children:i.Children.map(l,(e,t)=>0===t&&i.isValidElement(e)?i.cloneElement(e,{"data-first-child":""}):e)})});f.muiName="Skeleton";var D=f},99484:function(e,t,n){"use strict";/** @license React v16.14.0 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var a=n(96086),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,E=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,T=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,R=r?Symbol.for("react.memo"):60115,A=r?Symbol.for("react.lazy"):60116,S="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nP.length&&P.push(e)}function U(e,t,n){return null==e?0:function e(t,n,a,r){var s=typeof t;("undefined"===s||"boolean"===s)&&(t=null);var E=!1;if(null===t)E=!0;else switch(s){case"string":case"number":E=!0;break;case"object":switch(t.$$typeof){case i:case o:E=!0}}if(E)return a(r,t,""===n?"."+v(t,0):n),1;if(E=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var a=n(46260),r=n(46195);e.exports=function(e){return a(e)||r(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},69654:function(e){var t;t=function(){function e(t,n,a){return this.id=++e.highestId,this.name=t,this.symbols=n,this.postprocess=a,this}function t(e,t,n,a){this.rule=e,this.dot=t,this.reference=n,this.data=[],this.wantedBy=a,this.isComplete=this.dot===e.symbols.length}function n(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function a(e,t){this.rules=e,this.start=t||this.rules[0].name;var n=this.byName={};this.rules.forEach(function(e){n.hasOwnProperty(e.name)||(n[e.name]=[]),n[e.name].push(e)})}function r(){this.reset("")}function i(e,t,i){if(e instanceof a)var o=e,i=t;else var o=a.fromCompiled(e,t);for(var s in this.grammar=o,this.options={keepHistory:!1,lexer:o.lexer||new r},i||{})this.options[s]=i[s];this.lexer=this.options.lexer,this.lexerState=void 0;var E=new n(o,0);this.table=[E],E.wants[o.start]=[],E.predict(o.start),E.process(),this.current=0}function o(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return e.toString();if(e.type)return"%"+e.type;if(e.test)return"<"+String(e.test)+">";else throw Error("Unknown symbol type: "+e)}}return e.highestId=0,e.prototype.toString=function(e){var t=void 0===e?this.symbols.map(o).join(" "):this.symbols.slice(0,e).map(o).join(" ")+" ● "+this.symbols.slice(e).map(o).join(" ");return this.name+" → "+t},t.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},t.prototype.nextState=function(e){var n=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=e,n.isComplete&&(n.data=n.build(),n.right=void 0),n},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,i.fail))},n.prototype.process=function(e){for(var t=this.states,n=this.wants,a=this.completed,r=0;r0&&t.push(" ^ "+a+" more lines identical to this"),a=0,t.push(" "+o)),n=o}},i.prototype.getSymbolDisplay=function(e){return function(e){var t=typeof e;if("string"===t)return e;if("object"===t){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return"character matching "+e;if(e.type)return e.type+" token";if(e.test)return"token matching "+String(e.test);else throw Error("Unknown symbol type: "+e)}}(e)},i.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var n=e.wantedBy[0],a=[e].concat(t),r=this.buildFirstStateStack(n,a);return null===r?null:[e].concat(r)},i.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},i.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},i.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},i.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===t&&n.dot===n.rule.symbols.length&&0===n.reference&&n.data!==i.fail&&e.push(n)}),e.map(function(e){return e.data})},{Parser:i,Grammar:a,Rule:e}},e.exports?e.exports=t():this.nearley=t()},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},89435:function(e){"use strict";var t;e.exports=function(e){var n,a="&"+e+";";return(t=t||document.createElement("i")).innerHTML=a,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==a&&n}},57574:function(e,t,n){"use strict";var a=n(37452),r=n(93580),i=n(46195),o=n(79480),s=n(7961),E=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),u)n=t[i],o[i]=null==n?u[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,u,N,O,_,g,m,C,L,b,f,D,h,P,y,M,U,v,w,G=t.additional,k=t.nonTerminated,F=t.text,x=t.reference,B=t.warning,H=t.textContext,Y=t.referenceContext,V=t.warningContext,W=t.position,$=t.indent||[],X=e.length,K=0,z=-1,j=W.column||1,Z=W.line||1,q="",J=[];for("string"==typeof G&&(G=G.charCodeAt(0)),M=Q(),C=B?function(e,t){var n=Q();n.column+=t,n.offset+=t,B.call(V,I[e],n,e)}:c,K--,X++;++K=55296&&n<=57343||n>1114111?(C(7,v),g=T(65533)):g in r?(C(6,v),g=r[g]):(b="",((i=g)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&C(6,v),g>65535&&(g-=65536,b+=T(g>>>10|55296),g=56320|1023&g),g=b+T(g))):P!==d&&C(4,v)),g?(ee(),M=Q(),K=w-1,j+=w-h+1,J.push(g),U=Q(),U.offset++,x&&x.call(Y,g,{start:M,end:U},e.slice(h-1,w)),M=U):(q+=O=e.slice(h-1,w),j+=O.length,K=w-1)}else 10===_&&(Z++,z++,j=0),_==_?(q+=T(_),j++):ee();return J.join("");function Q(){return{line:Z,column:j,offset:K+(W.offset||0)}}function ee(){q&&(J.push(q),F&&F.call(H,q,{start:M,end:Q()}),q="")}}(e,o)};var l={}.hasOwnProperty,T=String.fromCharCode,c=Function.prototype,u={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d="named",R="hexadecimal",A="decimal",S={};S[R]=16,S[A]=10;var p={};p[d]=s,p[A]=i,p[R]=o;var I={};I[1]="Named character references must be terminated by a semicolon",I[2]="Numeric character references must be terminated by a semicolon",I[3]="Named character references cannot be empty",I[4]="Numeric character references cannot be empty",I[5]="Named character references must be known",I[6]="Numeric character references cannot be disallowed",I[7]="Numeric character references cannot be outside the permissible Unicode range"},99560:function(e,t,n){"use strict";var a=n(66632),r=n(98805),i=n(57643),o="data";e.exports=function(e,t){var n,u,d,R=a(t),A=t,S=i;return R in e.normal?e.property[e.normal[R]]:(R.length>4&&R.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?A=o+(n=t.slice(5).replace(E,c)).charAt(0).toUpperCase()+n.slice(1):(d=(u=t).slice(4),t=E.test(d)?u:("-"!==(d=d.replace(l,T)).charAt(0)&&(d="-"+d),o+d)),S=r),new S(A,t))};var s=/^data[-\w.:]+$/i,E=/-[a-z]/g,l=/[A-Z]/g;function T(e){return"-"+e.toLowerCase()}function c(e){return e.charAt(1).toUpperCase()}},97247:function(e,t,n){"use strict";var a=n(19940),r=n(8289),i=n(5812),o=n(94397),s=n(67716),E=n(61805);e.exports=a([i,r,o,s,E])},67716:function(e,t,n){"use strict";var a=n(17e3),r=n(17596),i=a.booleanish,o=a.number,s=a.spaceSeparated;e.exports=r({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},61805:function(e,t,n){"use strict";var a=n(17e3),r=n(17596),i=n(10855),o=a.boolean,s=a.overloadedBoolean,E=a.booleanish,l=a.number,T=a.spaceSeparated,c=a.commaSeparated;e.exports=r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:c,acceptCharset:T,accessKey:T,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:T,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:T,cols:l,colSpan:null,content:null,contentEditable:E,controls:o,controlsList:T,coords:l|c,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:E,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:T,height:l,hidden:o,high:l,href:null,hrefLang:null,htmlFor:T,httpEquiv:T,id:null,imageSizes:null,imageSrcSet:c,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:T,itemRef:T,itemScope:o,itemType:T,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu: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,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:o,optimum:l,pattern:null,ping:T,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:T,required:o,reversed:o,rows:l,rowSpan:l,sandbox:T,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:E,src:null,srcDoc:null,srcLang:null,srcSet:c,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:E,width:l,wrap:null,align:null,aLink:null,archive:T,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:E,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:l,security:null,unselectable:null}})},10855:function(e,t,n){"use strict";var a=n(28740);e.exports=function(e,t){return a(e,t.toLowerCase())}},28740:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:function(e,t,n){"use strict";var a=n(66632),r=n(99607),i=n(98805);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],E=e.attributes||{},l=e.properties,T=e.transform,c={},u={};for(t in l)n=new i(t,T(E,t),l[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),c[t]=n,u[a(t)]=t,u[a(n.attribute)]=t;return new r(c,u,o)}},98805:function(e,t,n){"use strict";var a=n(57643),r=n(17e3);e.exports=s,s.prototype=new a,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var E,l,T,c=-1;for(s&&(this.space=s),a.call(this,e,t);++c1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return u[n]||(u[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),u[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return c(c({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===r?{}:r),a)})}else S=c(c({},s),{},{className:s.className.join(" ")});var _=p(n.children);return E.createElement(d,(0,l.Z)({key:o},S),_)}}({node:e,stylesheet:n,useInlineStyles:a,key:"code-segement".concat(t)})})}function g(e){return e&&void 0!==e.highlightAuto}var m=n(98695),C=(a=n.n(m)(),r={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,l=void 0===s?r:s,T=e.customStyle,c=void 0===T?{}:T,u=e.codeTagProps,R=void 0===u?{className:t?"language-".concat(t):void 0,style:A(A({},l['code[class*="language-"]']),l['code[class*="language-'.concat(t,'"]')])}:u,m=e.useInlineStyles,C=void 0===m||m,L=e.showLineNumbers,b=void 0!==L&&L,f=e.showInlineLineNumbers,D=void 0===f||f,h=e.startingLineNumber,P=void 0===h?1:h,y=e.lineNumberContainerStyle,M=e.lineNumberStyle,U=void 0===M?{}:M,v=e.wrapLines,w=e.wrapLongLines,G=void 0!==w&&w,k=e.lineProps,F=void 0===k?{}:k,x=e.renderer,B=e.PreTag,H=void 0===B?"pre":B,Y=e.CodeTag,V=void 0===Y?"code":Y,W=e.code,$=void 0===W?(Array.isArray(n)?n[0]:n)||"":W,X=e.astGenerator,K=(0,i.Z)(e,d);X=X||a;var z=b?E.createElement(p,{containerStyle:y,codeStyle:R.style||{},numberStyle:U,startingLineNumber:P,codeString:$}):null,j=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},Z=g(X)?"hljs":"prismjs",q=C?Object.assign({},K,{style:Object.assign({},j,c)}):Object.assign({},K,{className:K.className?"".concat(Z," ").concat(K.className):Z,style:Object.assign({},c)});if(G?R.style=A(A({},R.style),{},{whiteSpace:"pre-wrap"}):R.style=A(A({},R.style),{},{whiteSpace:"pre"}),!X)return E.createElement(H,q,z,E.createElement(V,R,$));(void 0===v&&x||G)&&(v=!0),x=x||_;var J=[{type:"text",value:$}],Q=function(e){var t=e.astGenerator,n=e.language,a=e.code,r=e.defaultCodeValue;if(g(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:r,language:"text"}:i?t.highlight(n,a):t.highlightAuto(a)}try{return n&&"text"!==n?{value:t.highlight(a,n)}:{value:r}}catch(e){return{value:r}}}({astGenerator:X,language:t,code:$,defaultCodeValue:J});null===Q.language&&(Q.value=J);var ee=Q.value.length+P,et=function(e,t,n,a,r,i,s,E,l){var T,c=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return O({children:e,lineNumber:t,lineNumberStyle:E,largestLineNumber:s,showInlineLineNumbers:r,lineProps:n,className:i,showLineNumbers:a,wrapLongLines:l})}(e,i,o):function(e,t){if(a&&t&&r){var n=N(E,t,s);e.unshift(I(t,n))}return e}(e,i)}for(;R code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}},11215:function(e,t,n){"use strict";var a,r,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(r=(a="Prism"in i)?i.Prism:void 0,function(){a?i.Prism=r:delete i.Prism,a=void 0,r=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),E=n(57574),l=n(59216),T=n(2717),c=n(12049),u=n(29726),d=n(36155);o();var R={}.hasOwnProperty;function A(){}A.prototype=l;var S=new A;function p(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===S.languages[e.displayName]&&e(S)}e.exports=S,S.highlight=function(e,t){var n,a=l.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===S.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(R.call(S.languages,t))n=S.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return a.call(this,e,n,t)},S.register=p,S.alias=function(e,t){var n,a,r,i,o=S.languages,s=e;for(n in t&&((s={})[e]=t),s)for(r=(a="string"==typeof(a=s[n])?[a]:a).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},5199:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var a=n(11114);function r(e){e.register(a),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function a(e){return RegExp(e.replace(//g,function(){return n}),"i")}var r={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:a(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:r},{pattern:a(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:r},{pattern:a(/(?=\s*\w+\s*[;=,(){:])/.source),inside:r}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=r,r.displayName="apex",r.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var a=n(80096);function r(e){e.register(a),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=r,r.displayName="arduino",r.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(e){e=e.split(" ");for(var t={},a=0,r=e.length;a>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var a=n(61958);function r(e){e.register(a),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=r,r.displayName="aspnet",r.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,a=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[a],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!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},a={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:a},{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:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.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 r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=a.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,a,r;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,r=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:n,variable:t,number:r,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:n,variable:t,number:r,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:r,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:r,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=r,r.displayName="bison",r.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.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|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.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},e.languages.c.string],char:e.languages.c.char,comment:e.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:e.languages.c}}}}),e.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 e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var a=n(80096);function r(e){e.register(a),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=r,r.displayName="chaiscript",r.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;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}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var a=n(65806);function r(e){var t,n;e.register(a),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"])}e.exports=r,r.displayName="cpp",r.aliases=[]},99176:function(e,t,n){"use strict";var a=n(56939);function r(e){e.register(a),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=r,r.displayName="crystal",r.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(r.typeDeclaration),s=RegExp(i(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),E=i(r.typeDeclaration+" "+r.contextual+" "+r.other),l=i(r.type+" "+r.typeDeclaration+" "+r.other),T=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),c=a(/\((?:[^()]|<>)*\)/.source,2),u=/@?\b[A-Za-z_]\w*\b/.source,d=t(/<<0>>(?:\s*<<1>>)?/.source,[u,T]),R=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[E,d]),A=/\[\s*(?:,\s*)*\]/.source,S=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[R,A]),p=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[T,c,A]),I=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[p]),N=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[I,R,A]),O={keyword:s,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,g=/"(?:\\.|[^\\"\r\n])*"/.source,m=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[m]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[g]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[R]),lookbehind:!0,inside:O},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[u,N]),lookbehind:!0,inside:O},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[u]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,d]),lookbehind:!0,inside:O},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[R]),lookbehind:!0,inside:O},{pattern:n(/(\bwhere\s+)<<0>>/.source,[u]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[S]),lookbehind:!0,inside:O},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[N,l,u]),inside:O}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[u]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[u]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[c]),lookbehind:!0,alias:"class-name",inside:O},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[N,R]),inside:O,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[N]),lookbehind:!0,inside:O,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[u,T]),inside:{function:n(/^<<0>>/.source,[u]),generic:{pattern:RegExp(T),alias:"class-name",inside:O}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,d,u,N,s.source,c,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[d,c]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(N),greedy:!0,inside:O},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var C=g+"|"+_,L=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[C]),b=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[L]),2),f=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[R,b]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[f,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[f]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[b]),inside:e.languages.csharp},"class-name":{pattern:RegExp(R),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var h=/:[^}\r\n]+/.source,P=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[L]),2),y=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,h]),M=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[C]),2),U=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,h]);function v(t,a){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,h]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[y]),lookbehind:!0,greedy:!0,inside:v(y,P)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[U]),lookbehind:!0,greedy:!0,inside:v(U,M)}],char:{pattern:RegExp(_),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var a=n(61958);function r(e){e.register(a),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function a(e,a){for(var r=0;r/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var r=a(/\((?:[^()'"@/]|||)*\)/.source,2),i=a(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=a(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=a(/<(?:[^<>'"@/]|||)*>/.source,2),E=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,l=/(?!\d)[^\s>\/=$<%]+/.source+E+/\s*\/?>/.source,T=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+E+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+l+"|"+a(/<\1/.source+E+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+l+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,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 a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},r={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:a,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:r})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;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,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,a;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var a=t[n],r=[];/^\w+$/.test(n)||r.push(/\w+/.exec(n)[0]),"diff"===n&&r.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+a+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,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})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=r,r.displayName="django",r.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,r=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),i={pattern:RegExp(a),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return r}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},80636:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function a(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=r,r.displayName="ejs",r.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var a=n(56939),r=n(93205);function i(e){e.register(a),e.register(r),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var a=n(59803),r=n(93205);function i(e){e.register(a),e.register(r),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,a,r,i,o;a={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},r=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(r).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){a[e].pattern=i(o[e])}),a.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=a}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};a.string[1].inside.interpolation.inside.rest=a,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}}},e.hooks.add("before-tokenize",function(n){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",a)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=r,r.displayName="ftl",r.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=r,r.displayName="glsl",r.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.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/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.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:e.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+/},e.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=c(/^\{$/,/^\}$/);if(-1===s)continue;for(var E=n;E=0&&u(l,"variable-input")}}}}function T(e,a){a=a||0;for(var r=0;r]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:a,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var a=n(56939);function r(e){e.register(a),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},a=0,r=t.length;a@\[\\\]^`{|}~]/,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}e.exports=r,r.displayName="handlebars",r.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=r,r.displayName="hlsl",r.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,a=e.languages,r={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},i={"application/json":!0,"application/xml":!0};for(var o in r)if(r[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:r[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},r=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(r),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(r),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:{pattern:n,greedy:!0,inside:{escape:a}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var a=n(58090);function r(e){e.register(a),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=r,r.displayName="idris",r.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},30764:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,a;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var a=n(15909),r=n(9858);function i(e){var t,n,i;e.register(a),e.register(r),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var a="doc-comment",r=e.languages[t];if(r){var i=r[a];if(!i){var o={};o[a]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(r=e.languages.insertBefore(t,"comment",o))[a]}if(i instanceof RegExp&&(i=r[a]={pattern:i}),Array.isArray(i))for(var s=0,E=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.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:e.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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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:e.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"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,a,r;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),a={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},r=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:a},string:{pattern:n,lookbehind:!0,greedy:!0,inside:a},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},a.interpolation.inside.content.inside=r}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!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"],a=0;a=u.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var E=u[l],c="string"==typeof o?o:o.content,d=c.indexOf(E);if(-1!==d){++l;var R=c.substring(0,d),A=function(t){var n={};n["interpolation-punctuation"]=r;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,a.alias,t)}(T[E]),S=c.substring(d+E.length),p=[];if(R&&p.push(R),p.push(A),S){var I=[S];t(I),p.push.apply(p,I)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(p)),i+=p.length-1):o.content=p}}else{var N=o.content;Array.isArray(N)?t(N):t([N])}}}(c),new e.Token(o,c,"language-"+o,t)}(u,A,R)}}else t(T)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var a=n(9858),r=n(4979);function i(e){var t,n,i;e.register(a),e.register(r),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.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"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var a=n(45950);function r(e){var t;e.register(a),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=r,r.displayName="json5",r.aliases=[]},80963:function(e,t,n){"use strict";var a=n(45950);function r(e){e.register(a),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=r,r.displayName="jsonp",r.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return a}).replace(//g,function(){return r}),t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\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:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],a=0;a0&&n[n.length-1].tagName===o(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:o(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var E=o(r);a0&&("string"==typeof t[a-1]||"plain-text"===t[a-1].type)&&(E=o(t[a-1])+E,t.splice(a-1,1),a--),t[a]=new e.Token("plain-text",E,null,E)}r.content&&"string"!=typeof r.content&&s(r.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},32409:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var a=n(93205),r=n(88262);function i(e){var t;e.register(a),e.register(r),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.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:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var a=n(9997);function r(e){e.register(a),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var a=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};a["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=a,e.languages.ly=a}(e)}e.exports=r,r.displayName="lilypond",r.aliases=[]},34927:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var a=t[1];if("raw"===a&&!n)return n=!0,!0;if("endraw"===a)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=r,r.displayName="liquid",r.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,r="&"+a,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,E={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},l={"lisp-marker":RegExp(r),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+s+/\)/.source),inside:E},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:E},T="\\S+(?:\\s+\\S+)*",c={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+T),inside:l},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+T),inside:l},keys:{pattern:RegExp("&key\\s+"+T+"(?:\\s+&allow-other-keys)?"),inside:l},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};E.lambda.inside.arguments=c,E.defun.inside.arguments=e.util.clone(c),E.defun.inside.arguments.inside.sublist=c,e.languages.lisp=E,e.languages.elisp=E,e.languages.emacs=E,e.languages["emacs-lisp"]=E}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.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:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!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 a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),i=/\|?[ \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("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),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,a=t.length;n",quot:'"'},E=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,r,i){if(n.language===a){var o=n.tokenStack=[];n.code=n.code.replace(r,function(e){if("function"==typeof i&&!i(e))return e;for(var r,s=o.length;-1!==n.code.indexOf(r=t(a,s));)++s;return o[s]=e,r}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var r=0,i=Object.keys(n.tokenStack);!function o(s){for(var E=0;E=i.length);E++){var l=s[E];if("string"==typeof l||l.content&&"string"==typeof l.content){var T=i[r],c=n.tokenStack[T],u="string"==typeof l?l:l.content,d=t(a,T),R=u.indexOf(d);if(R>-1){++r;var A=u.substring(0,R),S=new e.Token(a,e.tokenize(c,n.grammar),"language-"+a,c),p=u.substring(R+d.length),I=[];A&&I.push.apply(I,o([A])),I.push(S),p&&I.push.apply(I,o([p])),"string"==typeof l?s.splice.apply(s,[E,1].concat(I)):l.content=I}}else l.content&&o(l.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.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]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var a={};a["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},a.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:a}};r["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var a=n(65806);function r(e){e.register(a),e.languages.objectivec=e.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 e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=r,r.displayName="objectivec",r.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.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/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var a=n(65806);function r(e){var t;e.register(a),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=r,r.displayName="opencl",r.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,a,r;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),a=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},r=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=a[t],e},{}),a["class-name"].forEach(function(e){e.inside=r})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var a=n(88262);function r(e){e.register(a),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=r,r.displayName="phpExtras",r.aliases=[]},88262:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n,r,i,o,s,E;e.register(a),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o},E=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:E,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:E,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=r,r.displayName="php",r.aliases=[]},63632:function(e,t,n){"use strict";var a=n(88262),r=n(9858);function i(e){var t;e.register(a),e.register(r),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var a=n(11114);function r(e){e.register(a),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=r,r.displayName="plsql",r.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},r=0,i=n.length;r",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",a)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var a=n;if("string"!=typeof n&&(a=n.alias,n=n.lang),e.languages[a]){var r={};r["inline-lang-"+a]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},r["inline-lang-"+a].inside.rest=e.util.clone(e.languages[a]),e.languages.insertBefore("pure","inline-lang",r)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var a=n(58090);function r(e){e.register(a),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=r,r.displayName="purescript",r.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.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:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),r=0;r<2;r++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,a){return RegExp(t(e,n),a||"")}var a={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},r=RegExp("\\b(?:"+(a.type+" "+a.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:r,punctuation:/[<>()?,.:[\]]/},E=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var l=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[E]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[l]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[l]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var a=n(9997);function r(e){e.register(a),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=r,r.displayName="racket",r.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.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/}),e.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 e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,a,r,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=RegExp((a="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+a),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(e,a){var r={};for(var i in r["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},a)r[i]=a[i];return r.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},r.variable=n,r.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:r}}var r={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":i,documentation:r,property:o}),keywords:a("Keywords",{"keyword-name":i,documentation:r,property:o}),tasks:a("Tasks",{"task-name":i,documentation:r,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,a;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,a,r,i,o,s,E,l,T,c,u,d,R,A,S,p,I;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,a={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={function:T={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":r={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":a,punctuation:l=/[$%@.(){}\[\];,\\]/,string:E={pattern:RegExp(t),greedy:!0}},u={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},d={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},R={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},A={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},S=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,p={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return S}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return S}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:T,"arg-value":c["arg-value"],operator:c.operator,argument:c.arg,number:n,"numeric-constant":a,punctuation:l,string:E}},I={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":R,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:I,"submit-statement":A,"global-statements":R,number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:I,"submit-statement":A,"global-statements":R,number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:c}},"cas-actions":p,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:c},step:o,keyword:I,function:T,format:u,altformat:d,"global-statements":R,number:n,"numeric-constant":a,punctuation:l,string:E}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:c},"macro-keyword":i,"macro-variable":r,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":r,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:l}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":a}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:c},"cas-actions":p,comment:s,function:T,format:u,altformat:d,"numeric-constant":a,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:E,step:o,keyword:I,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:l}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;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,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}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var a=n(15909);function r(e){e.register(a),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=r,r.displayName="scala",r.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.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]+\}/}}}),e.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}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.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}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var a=n(6979);function r(e){var t;e.register(a),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=r,r.displayName="shellSession",r.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var a=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(a=!1),!a&&("{literal}"===e&&(a=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=r,r.displayName="smarty",r.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var a=n(93205);function r(e){var t,n;e.register(a),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=r,r.displayName="soy",r.aliases=[]},98774:function(e,t,n){"use strict";var a=n(24691);function r(e){e.register(a),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=r,r.displayName="sparql",r.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,a;(a={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={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},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:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:a}},a.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"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:a.interpolation}},rest:a}},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:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var a=n(2329),r=n(61958);function i(e){e.register(a),e.register(r),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var a=e.languages[n],r="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",a,r),"class-feature":t("\\+",a,r),standard:t("",a,r)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var a=n(2329),r=n(53813);function i(e){e.register(a),e.register(r),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var a=n(65039);function r(e){e.register(a),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=r,r.displayName="tap",r.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function a(e,a){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),a||"")}var r={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:r},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:r},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:r},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:r},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:r},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var E=o.inline.inside;E.bold.inside=s,E.italic.inside=s,E.inserted.inside=s,E.deleted.inside=s,E.span.inside=s;var l=o.table.inside;l.inline=s.inline,l.link=s.link,l.image=s.image,l.footnote=s.footnote,l.acronym=s.acronym,l.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var a=n(96412),r=n(4979);function i(e){var t,n;e.register(a),e.register(r),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"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=r,r.displayName="tt2",r.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var a=n(93205);function r(e){e.register(a),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=r,r.displayName="twig",r.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,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"],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}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var a=n(46241);function r(e){e.register(a),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=r,r.displayName="vbnet",r.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.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:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};for(var r in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==r&&(a[r]=e.languages["web-idl"][r]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",a),t("fsharp",a),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(a){for(var r=[],i=0;i0&&r[r.length-1].tagName===t(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(r.length>0)||"punctuation"!==o.type||"{"!==o.content||a[i+1]&&"punctuation"===a[i+1].type&&"{"===a[i+1].content||a[i-1]&&"plain-text"===a[i-1].type&&"{"===a[i-1].content?r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:"comment"!==o.type&&(s=!0):r[r.length-1].openedBraces++),(s||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var E=t(o);i0&&("string"==typeof a[i-1]||"plain-text"===a[i-1].type)&&(E=t(a[i-1])+E,a.splice(i-1,1),i--),/^\s+$/.test(E)?a[i]=E:a[i]=new e.Token("plain-text",E,null,E)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\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}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return e}),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 a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+r+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?: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}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+n.source+")(?!\\d)\\w+\\b",r=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(r))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(a))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(r))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=T.reach));g+=_.value.length,_=_.next){var m,C=_.value;if(n.length>t.length)return;if(!(C instanceof i)){var L=1;if(p){if(!(m=o(O,g,t,S))||m.index>=t.length)break;var b=m.index,f=m.index+m[0].length,D=g;for(D+=_.value.length;b>=D;)D+=(_=_.next).value.length;if(D-=_.value.length,g=D,_.value instanceof i)continue;for(var h=_;h!==n.tail&&(DT.reach&&(T.reach=U);var v=_.prev;y&&(v=E(n,v,y),g+=y.length),function(e,t,n){for(var a=t.next,r=0;r1){var G={cause:c+","+d,reach:U};e(t,n,a,_.prev,g,G),T&&G.reach>T.reach&&(T.reach=G.reach)}}}}}}(e,l,t,l.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(l)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t)}},Token:i};function i(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length}function o(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i)}return r}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 E(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}if(e.Prism=r,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),r.hooks.run("wrap",i);var s="";for(var E in i.attributes)s+=" "+E+'="'+(i.attributes[E]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(r.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),a=n.language,i=n.code,o=n.immediateClose;e.postMessage(r.highlight(i,r.languages[a],a)),o&&e.close()},!1)),r;var l=r.util.currentScript();function T(){r.manual||r.highlightAll()}if(l&&(r.filename=l.src,l.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var c=document.readyState;"loading"===c||"interactive"===c&&l&&l.defer?document.addEventListener("DOMContentLoaded",T):window.requestAnimationFrame?window.requestAnimationFrame(T):window.setTimeout(T,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=a),void 0!==n.g&&(n.g.Prism=a)},36582:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},47529:function(e){e.exports=function(){for(var e={},n=0;ne.length)&&(t=e.length);for(var n=0,a=Array(t);n=e.length?e.apply(this,r):function(){for(var e=arguments.length,a=Array(e),i=0;i=c.length?c.apply(this,a):function(){for(var n=arguments.length,r=Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};R.initial(e),R.handler(t);var n={current:e},a=E(p)(n,t),r=E(S)(n),i=E(R.changes)(e),o=E(A)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return R.selector(e),e(n.current)},function(e){(function(){for(var e=arguments.length,t=Array(e),n=0;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(t,["monaco"]);b(function(e){return{config:function e(t,n){return Object.keys(n).forEach(function(a){n[a]instanceof Object&&t[a]&&Object.assign(n[a],e(t[a],n[a]))}),r(r({},t),n)}(e.config,a),monaco:n}})},init:function(){var e=L(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(b({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),m(y);if(window.monaco&&window.monaco.editor)return P(window.monaco),e.resolve(window.monaco),m(y);_(f,D)(h)}return m(y)},__getMonacoInstance:function(){return L(function(e){return e.monaco})}},U=n(67294),v={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},w={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},G=function({children:e}){return U.createElement("div",{style:w.container},e)},k=(0,U.memo)(function({width:e,height:t,isEditorReady:n,loading:a,_ref:r,className:i,wrapperProps:o}){return U.createElement("section",{style:{...v.wrapper,width:e,height:t},...o},!n&&U.createElement(G,null,a),U.createElement("div",{ref:r,style:{...v.fullWidth,...!n&&v.hide},className:i}))}),F=function(e){(0,U.useEffect)(e,[])},x=function(e,t,n=!0){let a=(0,U.useRef)(!0);(0,U.useEffect)(a.current||!n?()=>{a.current=!1}:e,t)};function B(){}function H(e,t,n,a){return e.editor.getModel(Y(e,a))||e.editor.createModel(t,n,a?Y(e,a):void 0)}function Y(e,t){return e.Uri.parse(t)}(0,U.memo)(function({original:e,modified:t,language:n,originalLanguage:a,modifiedLanguage:r,originalModelPath:i,modifiedModelPath:o,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:E=!1,theme:l="light",loading:T="Loading...",options:c={},height:u="100%",width:d="100%",className:R,wrapperProps:A={},beforeMount:S=B,onMount:p=B}){let[I,N]=(0,U.useState)(!1),[O,_]=(0,U.useState)(!0),g=(0,U.useRef)(null),m=(0,U.useRef)(null),C=(0,U.useRef)(null),L=(0,U.useRef)(p),b=(0,U.useRef)(S),f=(0,U.useRef)(!1);F(()=>{let e=M.init();return e.then(e=>(m.current=e)&&_(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>{let t;return g.current?(t=g.current?.getModel(),void(s||t?.original?.dispose(),E||t?.modified?.dispose(),g.current?.dispose())):e.cancel()}}),x(()=>{if(g.current&&m.current){let t=g.current.getOriginalEditor(),r=H(m.current,e||"",a||n||"text",i||"");r!==t.getModel()&&t.setModel(r)}},[i],I),x(()=>{if(g.current&&m.current){let e=g.current.getModifiedEditor(),a=H(m.current,t||"",r||n||"text",o||"");a!==e.getModel()&&e.setModel(a)}},[o],I),x(()=>{let e=g.current.getModifiedEditor();e.getOption(m.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],I),x(()=>{g.current?.getModel()?.original.setValue(e||"")},[e],I),x(()=>{let{original:e,modified:t}=g.current.getModel();m.current.editor.setModelLanguage(e,a||n||"text"),m.current.editor.setModelLanguage(t,r||n||"text")},[n,a,r],I),x(()=>{m.current?.editor.setTheme(l)},[l],I),x(()=>{g.current?.updateOptions(c)},[c],I);let D=(0,U.useCallback)(()=>{if(!m.current)return;b.current(m.current);let s=H(m.current,e||"",a||n||"text",i||""),E=H(m.current,t||"",r||n||"text",o||"");g.current?.setModel({original:s,modified:E})},[n,t,r,e,a,i,o]),h=(0,U.useCallback)(()=>{!f.current&&C.current&&(g.current=m.current.editor.createDiffEditor(C.current,{automaticLayout:!0,...c}),D(),m.current?.editor.setTheme(l),N(!0),f.current=!0)},[c,l,D]);return(0,U.useEffect)(()=>{I&&L.current(g.current,m.current)},[I]),(0,U.useEffect)(()=>{O||I||h()},[O,I,h]),U.createElement(k,{width:d,height:u,isEditorReady:I,loading:T,_ref:C,className:R,wrapperProps:A})});var V=function(e){let t=(0,U.useRef)();return(0,U.useEffect)(()=>{t.current=e},[e]),t.current},W=new Map,$=(0,U.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:a,language:r,path:i,theme:o="light",line:s,loading:E="Loading...",options:l={},overrideServices:T={},saveViewState:c=!0,keepCurrentModel:u=!1,width:d="100%",height:R="100%",className:A,wrapperProps:S={},beforeMount:p=B,onMount:I=B,onChange:N,onValidate:O=B}){let[_,g]=(0,U.useState)(!1),[m,C]=(0,U.useState)(!0),L=(0,U.useRef)(null),b=(0,U.useRef)(null),f=(0,U.useRef)(null),D=(0,U.useRef)(I),h=(0,U.useRef)(p),P=(0,U.useRef)(),y=(0,U.useRef)(a),v=V(i),w=(0,U.useRef)(!1),G=(0,U.useRef)(!1);F(()=>{let e=M.init();return e.then(e=>(L.current=e)&&C(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>b.current?void(P.current?.dispose(),u?c&&W.set(i,b.current.saveViewState()):b.current.getModel()?.dispose(),b.current.dispose()):e.cancel()}),x(()=>{let o=H(L.current,e||a||"",t||r||"",i||n||"");o!==b.current?.getModel()&&(c&&W.set(v,b.current?.saveViewState()),b.current?.setModel(o),c&&b.current?.restoreViewState(W.get(i)))},[i],_),x(()=>{b.current?.updateOptions(l)},[l],_),x(()=>{b.current&&void 0!==a&&(b.current.getOption(L.current.editor.EditorOption.readOnly)?b.current.setValue(a):a===b.current.getValue()||(G.current=!0,b.current.executeEdits("",[{range:b.current.getModel().getFullModelRange(),text:a,forceMoveMarkers:!0}]),b.current.pushUndoStop(),G.current=!1))},[a],_),x(()=>{let e=b.current?.getModel();e&&r&&L.current?.editor.setModelLanguage(e,r)},[r],_),x(()=>{void 0!==s&&b.current?.revealLine(s)},[s],_),x(()=>{L.current?.editor.setTheme(o)},[o],_);let Y=(0,U.useCallback)(()=>{if(!(!f.current||!L.current)&&!w.current){h.current(L.current);let s=i||n,E=H(L.current,a||e||"",t||r||"",s||"");b.current=L.current?.editor.create(f.current,{model:E,automaticLayout:!0,...l},T),c&&b.current.restoreViewState(W.get(s)),L.current.editor.setTheme(o),g(!0),w.current=!0}},[e,t,n,a,r,i,l,T,c,o]);return(0,U.useEffect)(()=>{_&&D.current(b.current,L.current)},[_]),(0,U.useEffect)(()=>{m||_||Y()},[m,_,Y]),y.current=a,(0,U.useEffect)(()=>{_&&N&&(P.current?.dispose(),P.current=b.current?.onDidChangeModelContent(e=>{G.current||N(b.current.getValue(),e)}))},[_,N]),(0,U.useEffect)(()=>{if(_){let e=L.current.editor.onDidChangeMarkers(e=>{let t=b.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=L.current.editor.getModelMarkers({resource:t});O?.(e)}});return()=>{e?.dispose()}}return()=>{}},[_,O]),U.createElement(k,{width:d,height:R,isEditorReady:_,loading:E,_ref:f,className:A,wrapperProps:S})})},35576:function(e,t,n){"use strict";var a,r,i=n(67294);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),l={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"“"},T=["style","script"],c=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,u=/mailto:/i,d=/\n{2,}$/,R=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,A=/^ *> ?/gm,S=/^ {2,}\n/,p=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,I=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,N=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,O=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,_=/^(?:\n *)*\n/,g=/\r\n?/g,m=/^\[\^([^\]]+)](:.*)\n/,C=/^\[\^([^\]]+)]/,L=/\f/g,b=/^\s*?\[(x|\s)\]/,f=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,D=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,h=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,P=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,y=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,M=/^)/,U=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,v=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,w=/^\{.*\}$/,G=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,k=/^<([^ >]+@[^ >]+)>/,F=/^<([^ >]+:\/[^ >]+)>/,x=/-([a-z])?/gi,B=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,H=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Y=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,V=/^\[([^\]]*)\] ?\[([^\]]*)\]/,W=/(\[|\])/g,$=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,X=/\t/g,K=/^ *\| */,z=/(^ *\||\| *$)/g,j=/ *$/,Z=/^ *:-+: *$/,q=/^ *:-+ *$/,J=/^ *-+: *$/,Q=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,ee=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,et=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,en=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,ea=/^\\([^0-9A-Za-z\s])/,er=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ei=/^\n+/,eo=/^([ \t]*)/,es=/\\([^\\])/g,eE=/ *\n+$/,el=/(?:^|\n)( *)$/,eT="(?:\\d+\\.)",ec="(?:[*+-])";function eu(e){return"( *)("+(1===e?eT:ec)+") +"}let ed=eu(1),eR=eu(2);function eA(e){return RegExp("^"+(1===e?ed:eR))}let eS=eA(1),ep=eA(2);function eI(e){return RegExp("^"+(1===e?ed:eR)+"[^\\n]*(?:\\n(?!\\1"+(1===e?eT:ec)+" )[^\\n]*)*(\\n|$)","gm")}let eN=eI(1),eO=eI(2);function e_(e){let t=1===e?eT:ec;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}let eg=e_(1),em=e_(2);function eC(e,t){let n=1===t,a=n?eg:em,i=n?eN:eO,o=n?eS:ep;return{t(e,t,n){let r=el.exec(n);return r&&(t.o||!t._&&!t.u)?a.exec(e=r[1]+e):null},i:r.HIGH,l(e,t,a){let r=n?+e[2]:void 0,s=e[0].replace(d,"\n").match(i),E=!1;return{p:s.map(function(e,n){let r;let i=o.exec(e)[0].length,l=RegExp("^ {1,"+i+"}","gm"),T=e.replace(l,"").replace(o,""),c=n===s.length-1,u=-1!==T.indexOf("\n\n")||c&&E;E=u;let d=a._,R=a.o;a.o=!0,u?(a._=!1,r=T.replace(eE,"\n\n")):(a._=!0,r=T.replace(eE,""));let A=t(r,a);return a._=d,a.o=R,A}),m:n,g:r}},h:(t,n,a)=>e(t.m?"ol":"ul",{key:a.k,start:t.g},t.p.map(function(t,r){return e("li",{key:r},n(t,a))}))}}let eL=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,eb=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ef=[R,I,N,f,h,D,M,B,eN,eg,eO,em],eD=[...ef,/^[^\n]+(?: \n|\n{2,})/,P,v];function eh(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function eP(e){return J.test(e)?"right":Z.test(e)?"center":q.test(e)?"left":null}function ey(e,t,n){let a=n.$;n.$=!0;let r=t(e.trim(),n);n.$=a;let i=[[]];return r.forEach(function(e,t){"tableSeparator"===e.type?0!==t&&t!==r.length-1&&i.push([]):("text"!==e.type||null!=r[t+1]&&"tableSeparator"!==r[t+1].type||(e.v=e.v.replace(j,"")),i[i.length-1].push(e))}),i}function eM(e,t,n){n._=!0;let a=ey(e[1],t,n),r=e[2].replace(z,"").split("|").map(eP),i=e[3].trim().split("\n").map(function(e){return ey(e,t,n)});return n._=!1,{S:r,A:i,L:a,type:"table"}}function eU(e,t){return null==e.S[t]?{}:{textAlign:e.S[t]}}function ev(e){return function(t,n){return n._?e.exec(t):null}}function ew(e){return function(t,n){return n._||n.u?e.exec(t):null}}function eG(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function ek(e){return function(t){return e.exec(t)}}function eF(e,t,n){if(t._||t.u||n&&!n.endsWith("\n"))return null;let a="";e.split("\n").every(e=>!ef.some(t=>t.test(e))&&(a+=e+"\n",e.trim()));let r=a.trimEnd();return""==r?null:[a,r]}function ex(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(e){return null}return e}function eB(e){return e.replace(es,"$1")}function eH(e,t,n){let a=n._||!1,r=n.u||!1;n._=!0,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}function eY(e,t,n){return n._=!1,e(t,n)}let eV=(e,t,n)=>({v:eH(t,e[1],n)});function eW(){return{}}function e$(){return null}function eX(e,t,n){let a=e,r=t.split(".");for(;r.length&&void 0!==(a=a[r[0]]);)r.shift();return a||n}(a=r||(r={}))[a.MAX=0]="MAX",a[a.HIGH=1]="HIGH",a[a.MED=2]="MED",a[a.LOW=3]="LOW",a[a.MIN=4]="MIN",t.Z=e=>{let{children:t,options:n}=e,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,s);return i.cloneElement(function(e,t={}){let n;t.overrides=t.overrides||{},t.slugify=t.slugify||eh,t.namedCodesToUnicode=t.namedCodesToUnicode?o({},l,t.namedCodesToUnicode):l;let a=t.createElement||i.createElement;function s(e,n,...r){let i=eX(t.overrides,`${e}.props`,{});return a(function(e,t){let n=eX(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:eX(t,`${e}.component`,e):e}(e,t.overrides),o({},n,i,{className:function(...e){return e.filter(Boolean).join(" ")}(null==n?void 0:n.className,i.className)||void 0}),...r)}function d(e){let n,a=!1;t.forceInline?a=!0:t.forceBlock||(a=!1===$.test(e));let r=es(J(a?e:`${e.trimEnd().replace(ei,"")} + +`,{_:a}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===t.wrapper)return r;let o=t.wrapper||(a?"span":"div");if(r.length>1||t.forceWrapper)n=r;else{if(1===r.length)return"string"==typeof(n=r[0])?s("span",{key:"outer"},n):n;n=null}return i.createElement(o,{key:"outer"},n)}function z(e){let t=e.match(c);return t?t.reduce(function(e,t,n){let a=t.indexOf("=");if(-1!==a){var r,o;let s=(-1!==(r=t.slice(0,a)).indexOf("-")&&null===r.match(U)&&(r=r.replace(x,function(e,t){return t.toUpperCase()})),r).trim(),l=function(e){let t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(t.slice(a+1).trim()),T=E[s]||s,c=e[T]=(o=l,"style"===s?o.split(/;\s?/).reduce(function(e,t){let n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,e=>e[1].toUpperCase())]=t.slice(n.length+1).trim(),e},{}):"href"===s?ex(o):(o.match(w)&&(o=o.slice(1,o.length-1)),"true"===o||"false"!==o&&o));"string"==typeof c&&(P.test(c)||v.test(c))&&(e[T]=i.cloneElement(d(c.trim()),{key:n}))}else"style"!==t&&(e[E[t]||t]=!0);return e},{}):null}let j=[],Z={},q={blockQuote:{t:eG(R),i:r.HIGH,l:(e,t,n)=>({v:t(e[0].replace(A,""),n)}),h:(e,t,n)=>s("blockquote",{key:n.k},t(e.v,n))},breakLine:{t:ek(S),i:r.HIGH,l:eW,h:(e,t,n)=>s("br",{key:n.k})},breakThematic:{t:eG(p),i:r.HIGH,l:eW,h:(e,t,n)=>s("hr",{key:n.k})},codeBlock:{t:eG(N),i:r.MAX,l:e=>({v:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(e,t,n)=>s("pre",{key:n.k},s("code",o({},e.O,{className:e.M?`lang-${e.M}`:""}),e.v))},codeFenced:{t:eG(I),i:r.MAX,l:e=>({O:z(e[3]||""),v:e[4],M:e[2]||void 0,type:"codeBlock"})},codeInline:{t:ew(O),i:r.LOW,l:e=>({v:e[2]}),h:(e,t,n)=>s("code",{key:n.k},e.v)},footnote:{t:eG(m),i:r.MAX,l:e=>(j.push({I:e[2],j:e[1]}),{}),h:e$},footnoteReference:{t:ev(C),i:r.HIGH,l:e=>({v:e[1],B:`#${t.slugify(e[1])}`}),h:(e,t,n)=>s("a",{key:n.k,href:ex(e.B)},s("sup",{key:n.k},e.v))},gfmTask:{t:ev(b),i:r.HIGH,l:e=>({R:"x"===e[1].toLowerCase()}),h:(e,t,n)=>s("input",{checked:e.R,key:n.k,readOnly:!0,type:"checkbox"})},heading:{t:eG(t.enforceAtxHeadings?D:f),i:r.HIGH,l:(e,n,a)=>({v:eH(n,e[2],a),T:t.slugify(e[2]),C:e[1].length}),h:(e,t,n)=>s(`h${e.C}`,{id:e.T,key:n.k},t(e.v,n))},headingSetext:{t:eG(h),i:r.MAX,l:(e,t,n)=>({v:eH(t,e[1],n),C:"="===e[2]?1:2,type:"heading"})},htmlComment:{t:ek(M),i:r.HIGH,l:()=>({}),h:e$},image:{t:ew(eb),i:r.HIGH,l:e=>({D:e[1],B:eB(e[2]),F:e[3]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D||void 0,title:e.F||void 0,src:ex(e.B)})},link:{t:ev(eL),i:r.LOW,l:(e,t,n)=>({v:function(e,t,n){let a=n._||!1,r=n.u||!1;n._=!1,n.u=!0;let i=e(t,n);return n._=a,n.u=r,i}(t,e[1],n),B:eB(e[2]),F:e[3]}),h:(e,t,n)=>s("a",{key:n.k,href:ex(e.B),title:e.F},t(e.v,n))},linkAngleBraceStyleDetector:{t:ev(F),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],type:"link"})},linkBareUrlDetector:{t:(e,t)=>t.N?null:ev(G)(e,t),i:r.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ev(k),i:r.MAX,l(e){let t=e[1],n=e[1];return u.test(n)||(n="mailto:"+n),{v:[{v:t.replace("mailto:",""),type:"text"}],B:n,type:"link"}}},orderedList:eC(s,1),unorderedList:eC(s,2),newlineCoalescer:{t:eG(_),i:r.LOW,l:eW,h:()=>"\n"},paragraph:{t:eF,i:r.LOW,l:eV,h:(e,t,n)=>s("p",{key:n.k},t(e.v,n))},ref:{t:ev(H),i:r.MAX,l:e=>(Z[e[1]]={B:e[2],F:e[4]},{}),h:e$},refImage:{t:ew(Y),i:r.MAX,l:e=>({D:e[1]||void 0,P:e[2]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D,src:ex(Z[e.P].B),title:Z[e.P].F})},refLink:{t:ev(V),i:r.MAX,l:(e,t,n)=>({v:t(e[1],n),Z:t(e[0].replace(W,"\\$1"),n),P:e[2]}),h:(e,t,n)=>Z[e.P]?s("a",{key:n.k,href:ex(Z[e.P].B),title:Z[e.P].F},t(e.v,n)):s("span",{key:n.k},t(e.Z,n))},table:{t:eG(B),i:r.HIGH,l:eM,h:(e,t,n)=>s("table",{key:n.k},s("thead",null,s("tr",null,e.L.map(function(a,r){return s("th",{key:r,style:eU(e,r)},t(a,n))}))),s("tbody",null,e.A.map(function(a,r){return s("tr",{key:r},a.map(function(a,r){return s("td",{key:r,style:eU(e,r)},t(a,n))}))})))},tableSeparator:{t:function(e,t){return t.$?(t._=!0,K.exec(e)):null},i:r.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:ek(er),i:r.MIN,l:e=>({v:e[0].replace(y,(e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e)}),h:e=>e.v},textBolded:{t:ew(Q),i:r.MED,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("strong",{key:n.k},t(e.v,n))},textEmphasized:{t:ew(ee),i:r.LOW,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>s("em",{key:n.k},t(e.v,n))},textEscaped:{t:ew(ea),i:r.HIGH,l:e=>({v:e[1],type:"text"})},textMarked:{t:ew(et),i:r.LOW,l:eV,h:(e,t,n)=>s("mark",{key:n.k},t(e.v,n))},textStrikethroughed:{t:ew(en),i:r.LOW,l:eV,h:(e,t,n)=>s("del",{key:n.k},t(e.v,n))}};!0!==t.disableParsingRawHTML&&(q.htmlBlock={t:ek(P),i:r.HIGH,l(e,t,n){let[,a]=e[3].match(eo),r=RegExp(`^${a}`,"gm"),i=e[3].replace(r,""),o=eD.some(e=>e.test(i))?eY:eH,s=e[1].toLowerCase(),E=-1!==T.indexOf(s);n.N=n.N||"a"===s;let l=E?e[3]:o(t,i,n);return n.N=!1,{O:z(e[2]),v:l,G:E,H:E?s:e[1]}},h:(e,t,n)=>s(e.H,o({key:n.k},e.O),e.G?e.v:t(e.v,n))},q.htmlSelfClosing={t:ek(v),i:r.HIGH,l:e=>({O:z(e[2]||""),H:e[1]}),h:(e,t,n)=>s(e.H,o({},e.O,{key:n.k}))});let J=((n=Object.keys(q)).sort(function(e,t){let n=q[e].i,a=q[t].i;return n!==a?n-a:e({type:a.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),c=T(1/0),u=e=>t=>t.type===e.type&&t.text===e.text,d={ARRAY:u({text:"ARRAY",type:a.RESERVED_KEYWORD}),BY:u({text:"BY",type:a.RESERVED_KEYWORD}),SET:u({text:"SET",type:a.RESERVED_CLAUSE}),STRUCT:u({text:"STRUCT",type:a.RESERVED_KEYWORD}),WINDOW:u({text:"WINDOW",type:a.RESERVED_CLAUSE})},R=e=>e===a.RESERVED_KEYWORD||e===a.RESERVED_FUNCTION_NAME||e===a.RESERVED_PHRASE||e===a.RESERVED_CLAUSE||e===a.RESERVED_SELECT||e===a.RESERVED_SET_OPERATION||e===a.RESERVED_JOIN||e===a.ARRAY_KEYWORD||e===a.CASE||e===a.END||e===a.WHEN||e===a.ELSE||e===a.THEN||e===a.LIMIT||e===a.BETWEEN||e===a.AND||e===a.OR||e===a.XOR,A=e=>e===a.AND||e===a.OR||e===a.XOR,S=e=>e.flatMap(p),p=e=>g(_(e)).map(e=>e.trim()),I=/[^[\]{}]+/y,N=/\{.*?\}/y,O=/\[.*?\]/y,_=e=>{let t=0,n=[];for(;te.trim());n.push(["",...e]),t+=r[0].length}N.lastIndex=t;let i=N.exec(e);if(i){let e=i[0].slice(1,-1).split("|").map(e=>e.trim());n.push(e),t+=i[0].length}if(!a&&!r&&!i)throw Error(`Unbalanced parenthesis in: ${e}`)}return n},g=([e,...t])=>void 0===e?[""]:g(t).flatMap(t=>e.map(e=>e.trim()+" "+t.trim())),m=e=>[...new Set(e)],C=e=>e[e.length-1],L=e=>e.sort((e,t)=>t.length-e.length||e.localeCompare(t)),b=e=>e.reduce((e,t)=>Math.max(e,t.length),0),f=e=>e.replace(/\s+/gu," "),D=e=>m(Object.values(e).flat()),h=e=>/\n/.test(e),P=D({keywords:["ALL","AND","ANY","ARRAY","AS","ASC","ASSERT_ROWS_MODIFIED","AT","BETWEEN","BY","CASE","CAST","COLLATE","CONTAINS","CREATE","CROSS","CUBE","CURRENT","DEFAULT","DEFINE","DESC","DISTINCT","ELSE","END","ENUM","ESCAPE","EXCEPT","EXCLUDE","EXISTS","EXTRACT","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","GROUP","GROUPING","GROUPS","HASH","HAVING","IF","IGNORE","IN","INNER","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LIKE","LIMIT","LOOKUP","MERGE","NATURAL","NEW","NO","NOT","NULL","NULLS","OF","ON","OR","ORDER","OUTER","OVER","PARTITION","PRECEDING","PROTO","RANGE","RECURSIVE","RESPECT","RIGHT","ROLLUP","ROWS","SELECT","SET","SOME","STRUCT","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN"],datatypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],stringFormat:["HEX","BASEX","BASE64M","ASCII","UTF-8","UTF8"],misc:["SAFE"],ddl:["LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"]}),y=D({aead:["KEYS.NEW_KEYSET","KEYS.ADD_KEY_FROM_RAW_BYTES","AEAD.DECRYPT_BYTES","AEAD.DECRYPT_STRING","AEAD.ENCRYPT","KEYS.KEYSET_CHAIN","KEYS.KEYSET_FROM_JSON","KEYS.KEYSET_TO_JSON","KEYS.ROTATE_KEYSET","KEYS.KEYSET_LENGTH"],aggregateAnalytic:["ANY_VALUE","ARRAY_AGG","AVG","CORR","COUNT","COUNTIF","COVAR_POP","COVAR_SAMP","MAX","MIN","ST_CLUSTERDBSCAN","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","VAR_POP","VAR_SAMP"],aggregate:["ANY_VALUE","ARRAY_AGG","ARRAY_CONCAT_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","COUNT","COUNTIF","LOGICAL_AND","LOGICAL_OR","MAX","MIN","STRING_AGG","SUM"],approximateAggregate:["APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM"],array:["ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL"],bitwise:["BIT_COUNT"],conversion:["PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST"],date:["CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE"],datetime:["CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME"],debugging:["ERROR"],federatedQuery:["EXTERNAL_QUERY"],geography:["S2_CELLIDFROMPOINT","S2_COVERINGCELLIDS","ST_ANGLE","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_AZIMUTH","ST_BOUNDARY","ST_BOUNDINGBOX","ST_BUFFER","ST_BUFFERWITHTOLERANCE","ST_CENTROID","ST_CENTROID_AGG","ST_CLOSESTPOINT","ST_CLUSTERDBSCAN","ST_CONTAINS","ST_CONVEXHULL","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DUMP","ST_DWITHIN","ST_ENDPOINT","ST_EQUALS","ST_EXTENT","ST_EXTERIORRING","ST_GEOGFROM","ST_GEOGFROMGEOJSON","ST_GEOGFROMTEXT","ST_GEOGFROMWKB","ST_GEOGPOINT","ST_GEOGPOINTFROMGEOHASH","ST_GEOHASH","ST_GEOMETRYTYPE","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_INTERSECTSBOX","ST_ISCOLLECTION","ST_ISEMPTY","ST_LENGTH","ST_MAKELINE","ST_MAKEPOLYGON","ST_MAKEPOLYGONORIENTED","ST_MAXDISTANCE","ST_NPOINTS","ST_NUMGEOMETRIES","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SIMPLIFY","ST_SNAPTOGRID","ST_STARTPOINT","ST_TOUCHES","ST_UNION","ST_UNION_AGG","ST_WITHIN","ST_X","ST_Y"],hash:["FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512"],hll:["HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT"],interval:["MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL"],json:["JSON_EXTRACT","JSON_QUERY","JSON_EXTRACT_SCALAR","JSON_VALUE","JSON_EXTRACT_ARRAY","JSON_QUERY_ARRAY","JSON_EXTRACT_STRING_ARRAY","JSON_VALUE_ARRAY","TO_JSON_STRING"],math:["ABS","SIGN","IS_INF","IS_NAN","IEEE_DIVIDE","RAND","SQRT","POW","POWER","EXP","LN","LOG","LOG10","GREATEST","LEAST","DIV","SAFE_DIVIDE","SAFE_MULTIPLY","SAFE_NEGATE","SAFE_ADD","SAFE_SUBTRACT","MOD","ROUND","TRUNC","CEIL","CEILING","FLOOR","COS","COSH","ACOS","ACOSH","SIN","SINH","ASIN","ASINH","TAN","TANH","ATAN","ATANH","ATAN2","RANGE_BUCKET"],navigation:["FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC"],net:["NET.IP_FROM_STRING","NET.SAFE_IP_FROM_STRING","NET.IP_TO_STRING","NET.IP_NET_MASK","NET.IP_TRUNC","NET.IPV4_FROM_INT64","NET.IPV4_TO_INT64","NET.HOST","NET.PUBLIC_SUFFIX","NET.REG_DOMAIN"],numbering:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER"],security:["SESSION_USER"],statisticalAggregate:["CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE"],string:["ASCII","BYTE_LENGTH","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CODE_POINTS_TO_BYTES","CODE_POINTS_TO_STRING","CONCAT","CONTAINS_SUBSTR","ENDS_WITH","FORMAT","FROM_BASE32","FROM_BASE64","FROM_HEX","INITCAP","INSTR","LEFT","LENGTH","LPAD","LOWER","LTRIM","NORMALIZE","NORMALIZE_AND_CASEFOLD","OCTET_LENGTH","REGEXP_CONTAINS","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","REPEAT","REVERSE","RIGHT","RPAD","RTRIM","SAFE_CONVERT_BYTES_TO_STRING","SOUNDEX","SPLIT","STARTS_WITH","STRPOS","SUBSTR","SUBSTRING","TO_BASE32","TO_BASE64","TO_CODE_POINTS","TO_HEX","TRANSLATE","TRIM","UNICODE","UPPER"],time:["CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME"],timestamp:["CURRENT_TIMESTAMP","EXTRACT","STRING","TIMESTAMP","TIMESTAMP_ADD","TIMESTAMP_SUB","TIMESTAMP_DIFF","TIMESTAMP_TRUNC","FORMAT_TIMESTAMP","PARSE_TIMESTAMP","TIMESTAMP_SECONDS","TIMESTAMP_MILLIS","TIMESTAMP_MICROS","UNIX_SECONDS","UNIX_MILLIS","UNIX_MICROS"],uuid:["GENERATE_UUID"],conditional:["COALESCE","IF","IFNULL","NULLIF"],legacyAggregate:["AVG","BIT_AND","BIT_OR","BIT_XOR","CORR","COUNT","COVAR_POP","COVAR_SAMP","EXACT_COUNT_DISTINCT","FIRST","GROUP_CONCAT","GROUP_CONCAT_UNQUOTED","LAST","MAX","MIN","NEST","NTH","QUANTILES","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","TOP","UNIQUE","VARIANCE","VAR_POP","VAR_SAMP"],legacyBitwise:["BIT_COUNT"],legacyCasting:["BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING"],legacyComparison:["COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL"],legacyDatetime:["CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE","DATE_ADD","DATEDIFF","DAY","DAYOFWEEK","DAYOFYEAR","FORMAT_UTC_USEC","HOUR","MINUTE","MONTH","MSEC_TO_TIMESTAMP","NOW","PARSE_UTC_USEC","QUARTER","SEC_TO_TIMESTAMP","SECOND","STRFTIME_UTC_USEC","TIME","TIMESTAMP","TIMESTAMP_TO_MSEC","TIMESTAMP_TO_SEC","TIMESTAMP_TO_USEC","USEC_TO_TIMESTAMP","UTC_USEC_TO_DAY","UTC_USEC_TO_HOUR","UTC_USEC_TO_MONTH","UTC_USEC_TO_WEEK","UTC_USEC_TO_YEAR","WEEK","YEAR"],legacyIp:["FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP"],legacyJson:["JSON_EXTRACT","JSON_EXTRACT_SCALAR"],legacyMath:["ABS","ACOS","ACOSH","ASIN","ASINH","ATAN","ATANH","ATAN2","CEIL","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG2","LOG10","PI","POW","RADIANS","RAND","ROUND","SIN","SINH","SQRT","TAN","TANH"],legacyRegex:["REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE"],legacyString:["CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER"],legacyTableWildcard:["TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY"],legacyUrl:["HOST","DOMAIN","TLD"],legacyWindow:["AVG","COUNT","MAX","MIN","STDDEV","SUM","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER"],legacyMisc:["CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64"],other:["BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW"],ddl:["OPTIONS"],pivot:["PIVOT","UNPIVOT"],dataTypes:["BYTES","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","STRING"]}),M=S(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),U=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","OMIT RECORD IF","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY SOURCE | BY TARGET] [THEN]","UPDATE SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),v=S(["UPDATE","DELETE [FROM]","DROP [SNAPSHOT | EXTERNAL] TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME TO","ALTER COLUMN [IF EXISTS]","SET DEFAULT COLLATE","SET OPTIONS","DROP NOT NULL","SET DATA TYPE","ALTER SCHEMA [IF EXISTS]","ALTER [MATERIALIZED] VIEW [IF EXISTS]","ALTER BI_CAPACITY","TRUNCATE TABLE","CREATE SCHEMA [IF NOT EXISTS]","DEFAULT COLLATE","CREATE [OR REPLACE] [TEMP|TEMPORARY|TABLE] FUNCTION [IF NOT EXISTS]","CREATE [OR REPLACE] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] ROW ACCESS POLICY [IF NOT EXISTS]","GRANT TO","FILTER USING","CREATE CAPACITY","AS JSON","CREATE RESERVATION","CREATE ASSIGNMENT","CREATE SEARCH INDEX [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","DROP [MATERIALIZED] VIEW [IF EXISTS]","DROP [TABLE] FUNCTION [IF EXISTS]","DROP PROCEDURE [IF EXISTS]","DROP ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","DROP CAPACITY [IF EXISTS]","DROP RESERVATION [IF EXISTS]","DROP ASSIGNMENT [IF EXISTS]","DROP SEARCH INDEX [IF EXISTS]","DROP [IF EXISTS]","GRANT","REVOKE","DECLARE","EXECUTE IMMEDIATE","LOOP","END LOOP","REPEAT","END REPEAT","WHILE","END WHILE","BREAK","LEAVE","CONTINUE","ITERATE","FOR","END FOR","BEGIN","BEGIN TRANSACTION","COMMIT TRANSACTION","ROLLBACK TRANSACTION","RAISE","RETURN","CALL","ASSERT","EXPORT DATA"]),w=S(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),G=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),k=S(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),F={tokenizerOptions:{reservedSelect:M,reservedClauses:[...U,...v],reservedSetOperations:w,reservedJoins:G,reservedPhrases:k,reservedKeywords:P,reservedFunctionNames:y,extraParens:["[]"],stringTypes:[{quote:'""".."""',prefixes:["R","B","RB","BR"]},{quote:"'''..'''",prefixes:["R","B","RB","BR"]},'""-bs',"''-bs",{quote:'""-raw',prefixes:["R","B","RB","BR"],requirePrefix:!0},{quote:"''-raw",prefixes:["R","B","RB","BR"],requirePrefix:!0}],identTypes:["``"],identChars:{dashes:!0},paramTypes:{positional:!0,named:["@"],quoted:["@"]},variableTypes:[{regex:String.raw`@@\w+`}],lineCommentTypes:["--","#"],operators:["&","|","^","~",">>","<<","||","=>"],postProcess:function(e){var t;let n;return t=function(e){let t=[];for(let r=0;r"===t.text?n--:">>"===t.text&&(n-=2),0===n)return a}return e.length-1}(e,r+1),o=e.slice(r,n+1);t.push({type:a.IDENTIFIER,raw:o.map(x("raw")).join(""),text:o.map(x("text")).join(""),start:i.start}),r=n}else t.push(i)}return t}(e),n=c,t.map(e=>"OFFSET"===e.text&&"["===n.text?(n=e,{...e,type:a.RESERVED_FUNCTION_NAME}):(n=e,e))}},formatOptions:{onelineClauses:v}},x=e=>t=>t.type===a.IDENTIFIER||t.type===a.COMMA?t[e]+" ":t[e],B=D({aggregate:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","CUME_DIST","GROUPING","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_ICPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG"],scalar:["ABS","ABSVAL","ACOS","ADD_DAYS","ADD_MONTHS","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ARRAY_TRIM","ASCII","ASCII_CHR","ASCII_STR","ASCIISTR","ASIN","ATAN","ATANH","ATAN2","BIGINT","BINARY","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BLOB","BTRIM","CARDINALITY","CCSID_ENCODING","CEILING","CEIL","CHAR","CHAR9","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CLOB","COALESCE","COLLATION_KEY","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","DATE","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DBCLOB","DECFLOAT","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECIMAL","DEC","DECODE","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DECRYPT_DATAKEY_BIGINT","DECRYPT_DATAKEY_BIT","DECRYPT_DATAKEY_CLOB","DECRYPT_DATAKEY_DBCLOB","DECRYPT_DATAKEY_DECIMAL","DECRYPT_DATAKEY_INTEGER","DECRYPT_DATAKEY_VARCHAR","DECRYPT_DATAKEY_VARGRAPHIC","DEGREES","DIFFERENCE","DIGITS","DOUBLE_PRECISION","DOUBLE","DSN_XMLVALIDATE","EBCDIC_CHR","EBCDIC_STR","ENCRYPT_DATAKEY","ENCRYPT_TDES","EXP","EXTRACT","FLOAT","FLOOR","GENERATE_UNIQUE","GENERATE_UNIQUE_BINARY","GETHINT","GETVARIABLE","GRAPHIC","GREATEST","HASH","HASH_CRC32","HASH_MD5","HASH_SHA1","HASH_SHA256","HEX","HOUR","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTEGER","INT","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LOCATE","LOCATE_IN_STRING","LOG10","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NORMALIZE_DECFLOAT","NORMALIZE_STRING","NULLIF","NVL","OVERLAY","PACK","POSITION","POSSTR","POWER","POW","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND","ROUND_TIMESTAMP","ROWID","RPAD","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SMALLINT","SOUNDEX","SOAPHTTPC","SOAPHTTPV","SOAPHTTPNC","SOAPHTTPNV","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TAN","TANH","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMP_TZ","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TOTALORDER","TO_TIMESTAMP","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRUNC","TRUNC_TIMESTAMP","UCASE","UNICODE","UNICODE_STR","UNISTR","UPPER","VALUE","VARBINARY","VARCHAR","VARCHAR9","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARGRAPHIC","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLMODIFY","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLSERIALIZE","XMLTEXT","XMLXSROBJECTID","XSLTRANSFORM","YEAR"],table:["ADMIN_TASK_LIST","ADMIN_TASK_OUTPUT","ADMIN_TASK_STATUS","BLOCKING_THREADS","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE"],row:["UNPACK"],olap:["CUME_DIST","PERCENT_RANK","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT"],cast:["CAST"]}),H=D({standard:["ALL","ALLOCATE","ALLOW","ALTERAND","ANY","AS","ARRAY","ARRAY_EXISTS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","AUDIT","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BUFFERPOOL","BY","CAPTURE","CASCADED","CAST","CCSID","CHARACTER","CHECK","CLONE","CLUSTER","COLLECTION","COLLID","COLUMN","CONDITION","CONNECTION","CONSTRAINT","CONTENT","CONTINUE","CREATE","CUBE","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRVAL","CURSOR","DATA","DATABASE","DBINFO","DECLARE","DEFAULT","DESCRIPTOR","DETERMINISTIC","DISABLE","DISALLOW","DISTINCT","DO","DOCUMENT","DSSIZE","DYNAMIC","EDITPROC","ELSE","ELSEIF","ENCODING","ENCRYPTION","ENDING","END-EXEC","ERASE","ESCAPE","EXCEPTION","EXISTS","EXIT","EXTERNAL","FENCED","FIELDPROC","FINAL","FIRST","FOR","FREE","FULL","FUNCTION","GENERATED","GET","GLOBAL","GOTO","GROUP","HANDLER","HOLD","HOURS","IF","IMMEDIATE","IN","INCLUSIVE","INDEX","INHERIT","INNER","INOUT","INSENSITIVE","INTO","IS","ISOBID","ITERATE","JAR","KEEP","KEY","LANGUAGE","LAST","LC_CTYPE","LEAVE","LIKE","LOCAL","LOCALE","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LONG","LOOP","MAINTAINED","MATERIALIZED","MICROSECONDS","MINUTEMINUTES","MODIFIES","MONTHS","NEXT","NEXTVAL","NO","NONE","NOT","NULL","NULLS","NUMPARTS","OBID","OF","OLD","ON","OPTIMIZATION","OPTIMIZE","ORDER","ORGANIZATION","OUT","OUTER","PACKAGE","PARAMETER","PART","PADDED","PARTITION","PARTITIONED","PARTITIONING","PATH","PIECESIZE","PERIOD","PLAN","PRECISION","PREVVAL","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","READS","REFERENCES","RESIGNAL","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","ROLE","ROLLUP","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROW","ROWSET","SCHEMA","SCRATCHPAD","SECONDS","SECQTY","SECURITY","SEQUENCE","SENSITIVE","SESSION_USER","SIMPLE","SOME","SOURCE","SPECIFIC","STANDARD","STATIC","STATEMENT","STAY","STOGROUP","STORES","STYLE","SUMMARY","SYNONYM","SYSDATE","SYSTEM","SYSTIMESTAMP","TABLE","TABLESPACE","THEN","TO","TRIGGER","TYPE","UNDO","UNIQUE","UNTIL","USER","USING","VALIDPROC","VARIABLE","VARIANT","VCAT","VERSIONING","VIEW","VOLATILE","VOLUMES","WHILE","WLM","XMLEXISTS","XMLCAST","YEARS","ZONE"]}),Y=S(["SELECT [ALL | DISTINCT]"]),V=S(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","FETCH FIRST","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT","CREATE [OR REPLACE] VIEW","CREATE [GLOBAL TEMPORARY] TABLE"]),W=S(["UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [HIERARCHY]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {IDENTITY | EXPRESSION | DEFAULT | NOT NULL}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","AFTER","GO","ALLOCATE CURSOR","ALTER DATABASE","ALTER FUNCTION","ALTER INDEX","ALTER MASK","ALTER PERMISSION","ALTER PROCEDURE","ALTER SEQUENCE","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE LOCATORS","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT","COMMIT","CONNECT","CREATE ALIAS","CREATE AUXILIARY TABLE","CREATE DATABASE","CREATE FUNCTION","CREATE GLOBAL TEMPORARY TABLE","CREATE INDEX","CREATE LOB TABLESPACE","CREATE MASK","CREATE PERMISSION","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE STOGROUP","CREATE SYNONYM","CREATE TABLESPACE","CREATE TRIGGER","CREATE TRUSTED CONTEXT","CREATE TYPE","CREATE VARIABLE","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE STATEMENT","DECLARE TABLE","DECLARE VARIABLE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE OUTPUT","DESCRIBE PROCEDURE","DESCRIBE TABLE","DROP","END DECLARE SECTION","EXCHANGE","EXECUTE","EXECUTE IMMEDIATE","EXPLAIN","FETCH","FREE LOCATOR","GET DIAGNOSTICS","GRANT","HOLD LOCATOR","INCLUDE","LABEL","LOCK TABLE","OPEN","PREPARE","REFRESH","RELEASE","RELEASE SAVEPOINT","RENAME","REVOKE","ROLLBACK","SAVEPOINT","SELECT INTO","SET CONNECTION","SET CURRENT ACCELERATOR","SET CURRENT APPLICATION COMPATIBILITY","SET CURRENT APPLICATION ENCODING SCHEME","SET CURRENT DEBUG MODE","SET CURRENT DECFLOAT ROUNDING MODE","SET CURRENT DEGREE","SET CURRENT EXPLAIN MODE","SET CURRENT GET_ACCEL_ARCHIVE","SET CURRENT LOCALE LC_CTYPE","SET CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION","SET CURRENT OPTIMIZATION HINT","SET CURRENT PACKAGE PATH","SET CURRENT PACKAGESET","SET CURRENT PRECISION","SET CURRENT QUERY ACCELERATION","SET CURRENT QUERY ACCELERATION WAITFORDATA","SET CURRENT REFRESH AGE","SET CURRENT ROUTINE VERSION","SET CURRENT RULES","SET CURRENT SQLID","SET CURRENT TEMPORAL BUSINESS_TIME","SET CURRENT TEMPORAL SYSTEM_TIME","SET ENCRYPTION PASSWORD","SET PATH","SET SESSION TIME ZONE","SIGNAL","VALUES INTO","WHENEVER"]),$=S(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),X=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),K=S(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),z={tokenizerOptions:{reservedSelect:Y,reservedClauses:[...V,...W],reservedSetOperations:$,reservedJoins:X,reservedPhrases:K,reservedKeywords:H,reservedFunctionNames:B,stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||"]},formatOptions:{onelineClauses:W}},j=D({math:["ABS","ACOS","ASIN","ATAN","BIN","BROUND","CBRT","CEIL","CEILING","CONV","COS","DEGREES","EXP","FACTORIAL","FLOOR","GREATEST","HEX","LEAST","LN","LOG","LOG10","LOG2","NEGATIVE","PI","PMOD","POSITIVE","POW","POWER","RADIANS","RAND","ROUND","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIN","SQRT","TAN","UNHEX","WIDTH_BUCKET"],array:["ARRAY_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY"],conversion:["BINARY","CAST"],date:["ADD_MONTHS","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","QUARTER","SECOND","TIMESTAMP","TO_DATE","TO_UTC_TIMESTAMP","TRUNC","UNIX_TIMESTAMP","WEEKOFYEAR","YEAR"],conditional:["ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL"],string:["ASCII","BASE64","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONTEXT_NGRAMS","DECODE","ELT","ENCODE","FIELD","FIND_IN_SET","FORMAT_NUMBER","GET_JSON_OBJECT","IN_FILE","INITCAP","INSTR","LCASE","LENGTH","LEVENSHTEIN","LOCATE","LOWER","LPAD","LTRIM","NGRAMS","OCTET_LENGTH","PARSE_URL","PRINTF","QUOTE","REGEXP_EXTRACT","REGEXP_REPLACE","REPEAT","REVERSE","RPAD","RTRIM","SENTENCES","SOUNDEX","SPACE","SPLIT","STR_TO_MAP","SUBSTR","SUBSTRING","TRANSLATE","TRIM","UCASE","UNBASE64","UPPER"],masking:["MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N"],misc:["AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION"],aggregate:["AVG","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COVAR_POP","COVAR_SAMP","HISTOGRAM_NUMERIC","MAX","MIN","NTILE","PERCENTILE","PERCENTILE_APPROX","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],table:["EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK"],window:["LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],dataTypes:["DECIMAL","NUMERIC","VARCHAR","CHAR"]}),Z=D({nonReserved:["ADD","ADMIN","AFTER","ANALYZE","ARCHIVE","ASC","BEFORE","BUCKET","BUCKETS","CASCADE","CHANGE","CLUSTER","CLUSTERED","CLUSTERSTATUS","COLLECTION","COLUMNS","COMMENT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONTINUE","DATA","DATABASES","DATETIME","DAY","DBPROPERTIES","DEFERRED","DEFINED","DELIMITED","DEPENDENCY","DESC","DIRECTORIES","DIRECTORY","DISABLE","DISTRIBUTE","ELEM_TYPE","ENABLE","ESCAPED","EXCLUSIVE","EXPLAIN","EXPORT","FIELDS","FILE","FILEFORMAT","FIRST","FORMAT","FORMATTED","FUNCTIONS","HOLD_DDLTIME","HOUR","IDXPROPERTIES","IGNORE","INDEX","INDEXES","INPATH","INPUTDRIVER","INPUTFORMAT","ITEMS","JAR","KEYS","KEY_TYPE","LIMIT","LINES","LOAD","LOCATION","LOCK","LOCKS","LOGICAL","LONG","MAPJOIN","MATERIALIZED","METADATA","MINUS","MINUTE","MONTH","MSCK","NOSCAN","NO_DROP","OFFLINE","OPTION","OUTPUTDRIVER","OUTPUTFORMAT","OVERWRITE","OWNER","PARTITIONED","PARTITIONS","PLUS","PRETTY","PRINCIPALS","PROTECTION","PURGE","READ","READONLY","REBUILD","RECORDREADER","RECORDWRITER","RELOAD","RENAME","REPAIR","REPLACE","REPLICATION","RESTRICT","REWRITE","ROLE","ROLES","SCHEMA","SCHEMAS","SECOND","SEMI","SERDE","SERDEPROPERTIES","SERVER","SETS","SHARED","SHOW","SHOW_DATABASE","SKEWED","SORT","SORTED","SSL","STATISTICS","STORED","STREAMTABLE","STRING","STRUCT","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","TINYINT","TOUCH","TRANSACTIONS","UNARCHIVE","UNDO","UNIONTYPE","UNLOCK","UNSET","UNSIGNED","URI","USE","UTC","UTCTIMESTAMP","VALUE_TYPE","VIEW","WHILE","YEAR","AUTOCOMMIT","ISOLATION","LEVEL","OFFSET","SNAPSHOT","TRANSACTION","WORK","WRITE","ABORT","KEY","LAST","NORELY","NOVALIDATE","NULLS","RELY","VALIDATE","DETAIL","DOW","EXPRESSION","OPERATOR","QUARTER","SUMMARY","VECTORIZATION","WEEK","YEARS","MONTHS","WEEKS","DAYS","HOURS","MINUTES","SECONDS","TIMESTAMPTZ","ZONE"],reserved:["ALL","ALTER","AND","ARRAY","AS","AUTHORIZATION","BETWEEN","BIGINT","BINARY","BOOLEAN","BOTH","BY","CASE","CAST","CHAR","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DATE","DECIMAL","DELETE","DESCRIBE","DISTINCT","DOUBLE","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FLOAT","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INT","INTERSECT","INTERVAL","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","MAP","MORE","NONE","NOT","NULL","OF","ON","OR","ORDER","OUT","OUTER","OVER","PARTIALSCAN","PARTITION","PERCENT","PRECEDING","PRESERVE","PROCEDURE","RANGE","READS","REDUCE","REVOKE","RIGHT","ROLLUP","ROW","ROWS","SELECT","SET","SMALLINT","TABLE","TABLESAMPLE","THEN","TIMESTAMP","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","VARCHAR","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","INTEGER","PRECISION","VIEWS","TIME","NUMERIC","SYNC"],fileTypes:["TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"]}),q=S(["SELECT [ALL | DISTINCT]"]),J=S(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT INTO [TABLE]","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT [VALUES]","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),Q=S(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","RENAME TO","TRUNCATE [TABLE]","ALTER","CREATE","USE","DESCRIBE","DROP","FETCH","SHOW","STORED AS","STORED BY","ROW FORMAT"]),ee=S(["UNION [ALL | DISTINCT]"]),et=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),en=S(["{ROWS | RANGE} BETWEEN"]),ea={tokenizerOptions:{reservedSelect:q,reservedClauses:[...J,...Q],reservedSetOperations:ee,reservedJoins:et,reservedPhrases:en,reservedKeywords:Z,reservedFunctionNames:j,extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:Q}},er=D({all:["ACCESSIBLE","ACCOUNT","ACTION","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALL","ALGORITHM","ALTER","ALWAYS","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","ATOMIC","AUTHORS","AUTO_INCREMENT","AUTOEXTEND_SIZE","AUTO","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BODY","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHAR","CHARACTER","CHARSET","CHECK","CHECKPOINT","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOB","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMN_NAME","COLUMNS","COLUMN_ADD","COLUMN_CHECK","COLUMN_CREATE","COLUMN_DELETE","COLUMN_GET","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONTRIBUTORS","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_POS","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DO_DOMAIN_IDS","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ELSIF","EMPTY","ENABLE","ENCLOSED","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXAMINED","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXCEPTION","EXISTS","EXIT","EXPANSION","EXPIRE","EXPORT","EXPLAIN","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FEDERATED","FETCH","FIELDS","FILE","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GET_FORMAT","GET","GLOBAL","GOTO","GRANT","GRANTS","GROUP","HANDLER","HARD","HASH","HAVING","HELP","HIGH_PRIORITY","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORED","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IMMEDIATE","IMPORT","INTERSECT","IN","INCREMENT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INVISIBLE","INTO","IO","IO_THREAD","IPC","IS","ISOLATION","ISOPEN","ISSUER","ITERATE","INVOKER","JOIN","JSON","JSON_TABLE","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LAST_VALUE","LASTVAL","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_GTID_POS","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_USER","MASTER_USE_GTID","MASTER_HEARTBEAT_PERIOD","MATCH","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MAXVALUE","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUS","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONITOR","MONTH","MUTEX","MYSQL","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NESTED","NEVER","NEW","NEXT","NEXTVAL","NO","NOMAXVALUE","NOMINVALUE","NOCACHE","NOCYCLE","NO_WAIT","NOWAIT","NODEGROUP","NONE","NOT","NOTFOUND","NO_WRITE_TO_BINLOG","NULL","NUMBER","NUMERIC","NVARCHAR","OF","OFFSET","OLD_PASSWORD","ON","ONE","ONLINE","ONLY","OPEN","OPTIMIZE","OPTIONS","OPTION","OPTIONALLY","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OUTFILE","OVER","OVERLAPS","OWNER","PACKAGE","PACK_KEYS","PAGE","PAGE_CHECKSUM","PARSER","PARSE_VCOL_EXPR","PATH","PERIOD","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PERSISTENT","PHASE","PLUGIN","PLUGINS","PORT","PORTION","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PREVIOUS","PRIMARY","PRIVILEGES","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RAISE","RANGE","RAW","READ","READ_ONLY","READ_WRITE","READS","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDOFILE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEATABLE","REPLACE","REPLAY","REPLICA","REPLICAS","REPLICA_POS","REPLICATION","REPEAT","REQUIRE","RESET","RESIGNAL","RESTART","RESTORE","RESTRICT","RESUME","RETURNED_SQLSTATE","RETURN","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROW","ROWCOUNT","ROWNUM","ROWS","ROWTYPE","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMA_NAME","SCHEMAS","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SEQUENCE","SERIAL","SERIALIZABLE","SESSION","SERVER","SET","SETVAL","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLAVES","SLAVE_POS","SLOW","SNAPSHOT","SMALLINT","SOCKET","SOFT","SOME","SONAME","SOUNDS","SOURCE","STAGE","STORED","SPATIAL","SPECIFIC","REF_SYSTEM_ID","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_SECOND","SQL_TSI_MINUTE","SQL_TSI_HOUR","SQL_TSI_DAY","SQL_TSI_WEEK","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_YEAR","SSL","START","STARTING","STARTS","STATEMENT","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSDATE","SYSTEM","SYSTEM_TIME","TABLE","TABLE_NAME","TABLES","TABLESPACE","TABLE_CHECKSUM","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRANSACTIONAL","THREADS","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO_BUFFER_SIZE","UNDOFILE","UNDO","UNICODE","UNION","UNIQUE","UNKNOWN","UNLOCK","UNINSTALL","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARCHAR2","VARIABLES","VARYING","VIA","VIEW","VIRTUAL","VISIBLE","VERSIONING","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","X509","XOR","XA","XML","YEAR","YEAR_MONTH","ZEROFILL"]}),ei=D({all:["ADDDATE","ADD_MONTHS","BIT_AND","BIT_OR","BIT_XOR","CAST","COUNT","CUME_DIST","CURDATE","CURTIME","DATE_ADD","DATE_SUB","DATE_FORMAT","DECODE","DENSE_RANK","EXTRACT","FIRST_VALUE","GROUP_CONCAT","JSON_ARRAYAGG","JSON_OBJECTAGG","LAG","LEAD","MAX","MEDIAN","MID","MIN","NOW","NTH_VALUE","NTILE","POSITION","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","ROW_NUMBER","SESSION_USER","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUBDATE","SUBSTR","SUBSTRING","SUM","SYSTEM_USER","TRIM","TRIM_ORACLE","VARIANCE","VAR_POP","VAR_SAMP","ABS","ACOS","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ASIN","ATAN","ATAN2","BENCHMARK","BIN","BINLOG_GTID_POS","BIT_COUNT","BIT_LENGTH","CEIL","CEILING","CHARACTER_LENGTH","CHAR_LENGTH","CHR","COERCIBILITY","COLUMN_CHECK","COLUMN_EXISTS","COLUMN_LIST","COLUMN_JSON","COMPRESS","CONCAT","CONCAT_OPERATOR_ORACLE","CONCAT_WS","CONNECTION_ID","CONV","CONVERT_TZ","COS","COT","CRC32","DATEDIFF","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEGREES","DECODE_HISTOGRAM","DECODE_ORACLE","DES_DECRYPT","DES_ENCRYPT","ELT","ENCODE","ENCRYPT","EXP","EXPORT_SET","EXTRACTVALUE","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GET_LOCK","GREATEST","HEX","IFNULL","INSTR","ISNULL","IS_FREE_LOCK","IS_USED_LOCK","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_COMPACT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_DETAILED","JSON_EXISTS","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_LOOSE","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_QUERY","JSON_QUOTE","JSON_OBJECT","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_SEARCH","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAST_DAY","LAST_INSERT_ID","LCASE","LEAST","LENGTH","LENGTHB","LN","LOAD_FILE","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LPAD_ORACLE","LTRIM","LTRIM_ORACLE","MAKEDATE","MAKETIME","MAKE_SET","MASTER_GTID_WAIT","MASTER_POS_WAIT","MD5","MONTHNAME","NAME_CONST","NVL","NVL2","OCT","OCTET_LENGTH","ORD","PERIOD_ADD","PERIOD_DIFF","PI","POW","POWER","QUOTE","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","RADIANS","RAND","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPLACE_ORACLE","REVERSE","ROUND","RPAD","RPAD_ORACLE","RTRIM","RTRIM_ORACLE","SEC_TO_TIME","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","STRCMP","STR_TO_DATE","SUBSTR_ORACLE","SUBSTRING_INDEX","SUBTIME","SYS_GUID","TAN","TIMEDIFF","TIME_FORMAT","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_SECONDS","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","UUID","UUID_SHORT","VERSION","WEEKDAY","WEEKOFYEAR","WSREP_LAST_WRITTEN_GTID","WSREP_LAST_SEEN_GTID","WSREP_SYNC_WAIT_UPTO_GTID","YEARWEEK","COALESCE","NULLIF","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","BIT","BINARY","BLOB","CHAR","NATIONAL CHAR","CHAR BYTE","ENUM","VARBINARY","VARCHAR","NATIONAL VARCHAR","TIME","DATETIME","TIMESTAMP","YEAR"]}),eo=S(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),es=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]","RETURNING"]),eE=S(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] [IGNORE] TABLE [IF EXISTS]","ADD [COLUMN] [IF NOT EXISTS]","{CHANGE | MODIFY} [COLUMN] [IF EXISTS]","DROP [COLUMN] [IF EXISTS]","RENAME [TO]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","SET {VISIBLE | INVISIBLE}","TRUNCATE [TABLE]","ALTER DATABASE","ALTER DATABASE COMMENT","ALTER EVENT","ALTER FUNCTION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SCHEMA COMMENT","ALTER SEQUENCE","ALTER SERVER","ALTER USER","ALTER VIEW","ANALYZE","ANALYZE TABLE","BACKUP LOCK","BACKUP STAGE","BACKUP UNLOCK","BEGIN","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHECK TABLE","CHECK VIEW","CHECKSUM TABLE","COMMIT","CREATE AGGREGATE FUNCTION","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE INDEX","CREATE PROCEDURE","CREATE ROLE","CREATE SEQUENCE","CREATE SERVER","CREATE SPATIAL INDEX","CREATE TRIGGER","CREATE UNIQUE INDEX","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP INDEX","DROP PREPARE","DROP PROCEDURE","DROP ROLE","DROP SEQUENCE","DROP SERVER","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GET DIAGNOSTICS","GET DIAGNOSTICS CONDITION","GRANT","HANDLER","HELP","INSTALL PLUGIN","INSTALL SONAME","KILL","LOAD DATA INFILE","LOAD INDEX INTO CACHE","LOAD XML INFILE","LOCK TABLE","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","PURGE MASTER LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","REPAIR VIEW","RESET MASTER","RESET QUERY CACHE","RESET REPLICA","RESET SLAVE","RESIGNAL","REVOKE","ROLLBACK","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET GLOBAL TRANSACTION","SET NAMES","SET PASSWORD","SET ROLE","SET STATEMENT","SET TRANSACTION","SHOW","SHOW ALL REPLICAS STATUS","SHOW ALL SLAVES STATUS","SHOW AUTHORS","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW BINLOG STATUS","SHOW CHARACTER SET","SHOW CLIENT_STATISTICS","SHOW COLLATION","SHOW COLUMNS","SHOW CONTRIBUTORS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PACKAGE","SHOW CREATE PACKAGE BODY","SHOW CREATE PROCEDURE","SHOW CREATE SEQUENCE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINE INNODB STATUS","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW EXPLAIN","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW INDEXES","SHOW INDEX_STATISTICS","SHOW KEYS","SHOW LOCALES","SHOW MASTER LOGS","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PACKAGE BODY CODE","SHOW PACKAGE BODY STATUS","SHOW PACKAGE STATUS","SHOW PLUGINS","SHOW PLUGINS SONAME","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW QUERY_RESPONSE_TIME","SHOW RELAYLOG EVENTS","SHOW REPLICA","SHOW REPLICA HOSTS","SHOW REPLICA STATUS","SHOW SCHEMAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW SLAVE STATUS","SHOW STATUS","SHOW STORAGE ENGINES","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW USER_STATISTICS","SHOW VARIABLES","SHOW WARNINGS","SHOW WSREP_MEMBERSHIP","SHOW WSREP_STATUS","SHUTDOWN","SIGNAL","START ALL REPLICAS","START ALL SLAVES","START REPLICA","START SLAVE","START TRANSACTION","STOP ALL REPLICAS","STOP ALL SLAVES","STOP REPLICA","STOP SLAVE","UNINSTALL PLUGIN","UNINSTALL SONAME","UNLOCK TABLE","USE","XA BEGIN","XA COMMIT","XA END","XA PREPARE","XA RECOVER","XA ROLLBACK","XA START"]),el=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),eT=S(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),ec=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eu={tokenizerOptions:{reservedSelect:eo,reservedClauses:[...es,...eE],reservedSetOperations:el,reservedJoins:eT,reservedPhrases:ec,supportsXor:!0,reservedKeywords:er,reservedFunctionNames:ei,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||c;return d.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:eE}},ed=D({all:["ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASCII","ASENSITIVE","AT","ATTRIBUTE","AUTHENTICATION","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BUCKETS","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHALLENGE_RESPONSE","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLONE","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPONENT","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DEFINITION","DELAYED","DELAY_KEY_WRITE","DELETE","DENSE_RANK","DESC","DESCRIBE","DESCRIPTION","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENFORCED","ENGINE","ENGINES","ENGINE_ATTRIBUTE","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXCLUDE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FACTOR","FAILED_LOGIN_ATTEMPTS","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FINISH","FIRST","FIRST_VALUE","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMCOLLECTION","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GET_MASTER_PUBLIC_KEY","GET_SOURCE_PUBLIC_KEY","GLOBAL","GRANT","GRANTS","GROUP","GROUPING","GROUPS","GROUP_REPLICATION","GTID_ONLY","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HISTOGRAM","HISTORY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","IN","INACTIVE","INDEX","INDEXES","INFILE","INITIAL","INITIAL_SIZE","INITIATE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","IS","ISOLATION","ISSUER","ITERATE","JOIN","JSON","JSON_TABLE","JSON_VALUE","KEY","KEYRING","KEYS","KEY_BLOCK_SIZE","KILL","LAG","LANGUAGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKED","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_COMPRESSION_ALGORITHMS","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_PUBLIC_KEY_PATH","MASTER_RETRY_COUNT","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_CIPHERSUITES","MASTER_TLS_VERSION","MASTER_USER","MASTER_ZSTD_COMPRESSION_LEVEL","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NESTED","NETWORK_NAMESPACE","NEVER","NEW","NEXT","NO","NODEGROUP","NONE","NOT","NOWAIT","NO_WAIT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","NULLS","NUMBER","NUMERIC","NVARCHAR","OF","OFF","OFFSET","OJ","OLD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONAL","OPTIONALLY","OPTIONS","OR","ORDER","ORDINALITY","ORGANIZATION","OTHERS","OUT","OUTER","OUTFILE","OVER","OWNER","PACK_KEYS","PAGE","PARSER","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PASSWORD_LOCK_TIME","PATH","PERCENT_RANK","PERSIST","PERSIST_ONLY","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECEDING","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PRIVILEGE_CHECKS_USER","PROCEDURE","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANDOM","RANGE","RANK","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","RECURSIVE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCE","REFERENCES","REGEXP","REGISTRATION","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICA","REPLICAS","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","REQUIRE_ROW_FORMAT","RESET","RESIGNAL","RESOURCE","RESPECT","RESTART","RESTORE","RESTRICT","RESUME","RETAIN","RETURN","RETURNED_SQLSTATE","RETURNING","RETURNS","REUSE","REVERSE","REVOKE","RIGHT","RLIKE","ROLE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECONDARY","SECONDARY_ENGINE","SECONDARY_ENGINE_ATTRIBUTE","SECONDARY_LOAD","SECONDARY_UNLOAD","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SKIP","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SOURCE_AUTO_POSITION","SOURCE_BIND","SOURCE_COMPRESSION_ALGORITHMS","SOURCE_CONNECT_RETRY","SOURCE_DELAY","SOURCE_HEARTBEAT_PERIOD","SOURCE_HOST","SOURCE_LOG_FILE","SOURCE_LOG_POS","SOURCE_PASSWORD","SOURCE_PORT","SOURCE_PUBLIC_KEY_PATH","SOURCE_RETRY_COUNT","SOURCE_SSL","SOURCE_SSL_CA","SOURCE_SSL_CAPATH","SOURCE_SSL_CERT","SOURCE_SSL_CIPHER","SOURCE_SSL_CRL","SOURCE_SSL_CRLPATH","SOURCE_SSL_KEY","SOURCE_SSL_VERIFY_SERVER_CERT","SOURCE_TLS_CIPHERSUITES","SOURCE_TLS_VERSION","SOURCE_USER","SOURCE_ZSTD_COMPRESSION_LEVEL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SRID","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STREAM","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","SYSTEM","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","THREAD_PRIORITY","TIES","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TLS","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNREGISTER","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VCPU","VIEW","VIRTUAL","VISIBLE","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WINDOW","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL","ZONE"]}),eR=D({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BINARY","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","CAN_ACCESS_COLUMN","CAN_ACCESS_DATABASE","CAN_ACCESS_TABLE","CAN_ACCESS_USER","CAN_ACCESS_VIEW","CAST","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CRC32","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DEFAULT","DEGREES","DENSE_RANK","DIV","ELT","EXP","EXPORT_SET","EXTRACT","EXTRACTVALUE","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_PICO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOMCOLLECTION","GEOMETRYCOLLECTION","GET_DD_COLUMN_PRIVILEGES","GET_DD_CREATE_OPTIONS","GET_DD_INDEX_SUB_PART_LENGTH","GET_FORMAT","GET_LOCK","GREATEST","GROUP_CONCAT","GROUPING","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","INTERNAL_AUTO_INCREMENT","INTERNAL_AVG_ROW_LENGTH","INTERNAL_CHECK_TIME","INTERNAL_CHECKSUM","INTERNAL_DATA_FREE","INTERNAL_DATA_LENGTH","INTERNAL_DD_CHAR_LENGTH","INTERNAL_GET_COMMENT_OR_ERROR","INTERNAL_GET_ENABLED_ROLE_JSON","INTERNAL_GET_HOSTNAME","INTERNAL_GET_USERNAME","INTERNAL_GET_VIEW_WARNING_OR_ERROR","INTERNAL_INDEX_COLUMN_CARDINALITY","INTERNAL_INDEX_LENGTH","INTERNAL_IS_ENABLED_ROLE","INTERNAL_IS_MANDATORY_ROLE","INTERNAL_KEYS_DISABLED","INTERNAL_MAX_DATA_LENGTH","INTERNAL_TABLE_ROWS","INTERNAL_UPDATE_TIME","INTERVAL","IS","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS NOT","IS NOT NULL","IS NULL","IS_USED_LOCK","IS_UUID","ISNULL","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_ARRAYAGG","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SCHEMA_VALID","JSON_SCHEMA_VALIDATION_REPORT","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TABLE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","JSON_VALUE","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LINESTRING","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MATCH","MAX","MBRCONTAINS","MBRCOVEREDBY","MBRCOVERS","MBRDISJOINT","MBREQUALS","MBRINTERSECTS","MBROVERLAPS","MBRTOUCHES","MBRWITHIN","MD5","MEMBER OF","MICROSECOND","MID","MIN","MINUTE","MOD","MONTH","MONTHNAME","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","NAME_CONST","NOT","NOT IN","NOT LIKE","NOT REGEXP","NOW","NTH_VALUE","NTILE","NULLIF","OCT","OCTET_LENGTH","ORD","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","POINT","POLYGON","POSITION","POW","POWER","PS_CURRENT_THREAD_ID","PS_THREAD_ID","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RANK","REGEXP","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROLES_GRAPHML","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","ST_AREA","ST_ASBINARY","ST_ASGEOJSON","ST_ASTEXT","ST_BUFFER","ST_BUFFER_STRATEGY","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_CONVEXHULL","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DISTANCE_SPHERE","ST_ENDPOINT","ST_ENVELOPE","ST_EQUALS","ST_EXTERIORRING","ST_FRECHETDISTANCE","ST_GEOHASH","ST_GEOMCOLLFROMTEXT","ST_GEOMCOLLFROMWKB","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMGEOJSON","ST_GEOMFROMTEXT","ST_GEOMFROMWKB","ST_HAUSDORFFDISTANCE","ST_INTERIORRINGN","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISSIMPLE","ST_ISVALID","ST_LATFROMGEOHASH","ST_LATITUDE","ST_LENGTH","ST_LINEFROMTEXT","ST_LINEFROMWKB","ST_LINEINTERPOLATEPOINT","ST_LINEINTERPOLATEPOINTS","ST_LONGFROMGEOHASH","ST_LONGITUDE","ST_MAKEENVELOPE","ST_MLINEFROMTEXT","ST_MLINEFROMWKB","ST_MPOINTFROMTEXT","ST_MPOINTFROMWKB","ST_MPOLYFROMTEXT","ST_MPOLYFROMWKB","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINTATDISTANCE","ST_POINTFROMGEOHASH","ST_POINTFROMTEXT","ST_POINTFROMWKB","ST_POINTN","ST_POLYFROMTEXT","ST_POLYFROMWKB","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SWAPXY","ST_SYMDIFFERENCE","ST_TOUCHES","ST_TRANSFORM","ST_UNION","ST_VALIDATE","ST_WITHIN","ST_X","ST_Y","STATEMENT_DIGEST","STATEMENT_DIGEST_TEXT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),eA=S(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eS=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] [INTO]","REPLACE [LOW_PRIORITY | DELAYED] [INTO]","VALUES","SET","CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),ep=S(["UPDATE [LOW_PRIORITY] [IGNORE]","DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","{CHANGE | MODIFY} [COLUMN]","DROP [COLUMN]","RENAME [TO | AS]","RENAME COLUMN","ALTER [COLUMN]","{SET | DROP} DEFAULT","TRUNCATE [TABLE]","ALTER DATABASE","ALTER EVENT","ALTER FUNCTION","ALTER INSTANCE","ALTER LOGFILE GROUP","ALTER PROCEDURE","ALTER RESOURCE GROUP","ALTER SERVER","ALTER TABLESPACE","ALTER USER","ALTER VIEW","ANALYZE TABLE","BINLOG","CACHE INDEX","CALL","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK TABLE","CHECKSUM TABLE","CLONE","COMMIT","CREATE DATABASE","CREATE EVENT","CREATE FUNCTION","CREATE FUNCTION","CREATE INDEX","CREATE LOGFILE GROUP","CREATE PROCEDURE","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SERVER","CREATE SPATIAL REFERENCE SYSTEM","CREATE TABLESPACE","CREATE TRIGGER","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP EVENT","DROP FUNCTION","DROP FUNCTION","DROP INDEX","DROP LOGFILE GROUP","DROP PROCEDURE","DROP RESOURCE GROUP","DROP ROLE","DROP SERVER","DROP SPATIAL REFERENCE SYSTEM","DROP TABLESPACE","DROP TRIGGER","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","GRANT","HANDLER","HELP","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW BINARY LOGS","SHOW BINLOG EVENTS","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE EVENT","SHOW CREATE FUNCTION","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE TRIGGER","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SOURCE_POS_WAIT","START GROUP_REPLICATION","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP REPLICA","STOP SLAVE","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),eI=S(["UNION [ALL | DISTINCT]"]),eN=S(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eO=S(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),e_={tokenizerOptions:{reservedSelect:eA,reservedClauses:[...eS,...ep],reservedSetOperations:eI,reservedJoins:eN,reservedPhrases:eO,supportsXor:!0,reservedKeywords:ed,reservedFunctionNames:eR,stringTypes:['""-qq-bs',{quote:"''-qq-bs",prefixes:["N"]},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_.$]+"},{quote:'""-qq-bs',prefixes:["@"],requirePrefix:!0},{quote:"''-qq-bs",prefixes:["@"],requirePrefix:!0},{quote:"``",prefixes:["@"],requirePrefix:!0}],paramTypes:{positional:!0},lineCommentTypes:["--","#"],operators:["%",":=","&","|","^","~","<<",">>","<=>","->","->>","&&","||","!"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||c;return d.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{onelineClauses:ep}},eg=D({all:["ABORT","ABS","ACOS","ADVISOR","ARRAY_AGG","ARRAY_AGG","ARRAY_APPEND","ARRAY_AVG","ARRAY_BINARY_SEARCH","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COUNT","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_FLATTEN","ARRAY_IFNULL","ARRAY_INSERT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_MAX","ARRAY_MIN","ARRAY_MOVE","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUT","ARRAY_RANGE","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_REPLACE","ARRAY_REVERSE","ARRAY_SORT","ARRAY_STAR","ARRAY_SUM","ARRAY_SYMDIFF","ARRAY_SYMDIFF1","ARRAY_SYMDIFFN","ARRAY_UNION","ASIN","ATAN","ATAN2","AVG","BASE64","BASE64_DECODE","BASE64_ENCODE","BITAND ","BITCLEAR ","BITNOT ","BITOR ","BITSET ","BITSHIFT ","BITTEST ","BITXOR ","CEIL","CLOCK_LOCAL","CLOCK_MILLIS","CLOCK_STR","CLOCK_TZ","CLOCK_UTC","COALESCE","CONCAT","CONCAT2","CONTAINS","CONTAINS_TOKEN","CONTAINS_TOKEN_LIKE","CONTAINS_TOKEN_REGEXP","COS","COUNT","COUNT","COUNTN","CUME_DIST","CURL","DATE_ADD_MILLIS","DATE_ADD_STR","DATE_DIFF_MILLIS","DATE_DIFF_STR","DATE_FORMAT_STR","DATE_PART_MILLIS","DATE_PART_STR","DATE_RANGE_MILLIS","DATE_RANGE_STR","DATE_TRUNC_MILLIS","DATE_TRUNC_STR","DECODE","DECODE_JSON","DEGREES","DENSE_RANK","DURATION_TO_STR","ENCODED_SIZE","ENCODE_JSON","EXP","FIRST_VALUE","FLOOR","GREATEST","HAS_TOKEN","IFINF","IFMISSING","IFMISSINGORNULL","IFNAN","IFNANORINF","IFNULL","INITCAP","ISARRAY","ISATOM","ISBITSET","ISBOOLEAN","ISNUMBER","ISOBJECT","ISSTRING","LAG","LAST_VALUE","LEAD","LEAST","LENGTH","LN","LOG","LOWER","LTRIM","MAX","MEAN","MEDIAN","META","MILLIS","MILLIS_TO_LOCAL","MILLIS_TO_STR","MILLIS_TO_TZ","MILLIS_TO_UTC","MILLIS_TO_ZONE_NAME","MIN","MISSINGIF","NANIF","NEGINFIF","NOW_LOCAL","NOW_MILLIS","NOW_STR","NOW_TZ","NOW_UTC","NTH_VALUE","NTILE","NULLIF","NVL","NVL2","OBJECT_ADD","OBJECT_CONCAT","OBJECT_INNER_PAIRS","OBJECT_INNER_VALUES","OBJECT_LENGTH","OBJECT_NAMES","OBJECT_PAIRS","OBJECT_PUT","OBJECT_REMOVE","OBJECT_RENAME","OBJECT_REPLACE","OBJECT_UNWRAP","OBJECT_VALUES","PAIRS","PERCENT_RANK","PI","POLY_LENGTH","POSINFIF","POSITION","POWER","RADIANS","RANDOM","RANK","RATIO_TO_REPORT","REGEXP_CONTAINS","REGEXP_LIKE","REGEXP_MATCHES","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGEX_CONTAINS","REGEX_LIKE","REGEX_MATCHES","REGEX_POSITION","REGEX_REPLACE","REGEX_SPLIT","REPEAT","REPLACE","REVERSE","ROUND","ROW_NUMBER","RTRIM","SEARCH","SEARCH_META","SEARCH_SCORE","SIGN","SIN","SPLIT","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DURATION","STR_TO_MILLIS","STR_TO_TZ","STR_TO_UTC","STR_TO_ZONE_NAME","SUBSTR","SUFFIXES","SUM","TAN","TITLE","TOARRAY","TOATOM","TOBOOLEAN","TOKENS","TOKENS","TONUMBER","TOOBJECT","TOSTRING","TRIM","TRUNC","UPPER","UUID","VARIANCE","VARIANCE_POP","VARIANCE_SAMP","VAR_POP","VAR_SAMP","WEEKDAY_MILLIS","WEEKDAY_STR","CAST"]}),em=D({all:["ADVISE","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","BEGIN","BETWEEN","BINARY","BOOLEAN","BREAK","BUCKET","BUILD","BY","CALL","CASE","CAST","CLUSTER","COLLATE","COLLECTION","COMMIT","COMMITTED","CONNECT","CONTINUE","CORRELATED","COVER","CREATE","CURRENT","DATABASE","DATASET","DATASTORE","DECLARE","DECREMENT","DELETE","DERIVED","DESC","DESCRIBE","DISTINCT","DO","DROP","EACH","ELEMENT","ELSE","END","EVERY","EXCEPT","EXCLUDE","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FILTER","FIRST","FLATTEN","FLUSH","FOLLOWING","FOR","FORCE","FROM","FTS","FUNCTION","GOLANG","GRANT","GROUP","GROUPS","GSI","HASH","HAVING","IF","ISOLATION","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","JAVASCRIPT","JOIN","KEY","KEYS","KEYSPACE","KNOWN","LANGUAGE","LAST","LEFT","LET","LETTING","LEVEL","LIKE","LIMIT","LSM","MAP","MAPPING","MATCHED","MATERIALIZED","MERGE","MINUS","MISSING","NAMESPACE","NEST","NL","NO","NOT","NTH_VALUE","NULL","NULLS","NUMBER","OBJECT","OFFSET","ON","OPTION","OPTIONS","OR","ORDER","OTHERS","OUTER","OVER","PARSE","PARTITION","PASSWORD","PATH","POOL","PRECEDING","PREPARE","PRIMARY","PRIVATE","PRIVILEGE","PROBE","PROCEDURE","PUBLIC","RANGE","RAW","REALM","REDUCE","RENAME","RESPECT","RETURN","RETURNING","REVOKE","RIGHT","ROLE","ROLLBACK","ROW","ROWS","SATISFIES","SAVEPOINT","SCHEMA","SCOPE","SELECT","SELF","SEMI","SET","SHOW","SOME","START","STATISTICS","STRING","SYSTEM","THEN","TIES","TO","TRAN","TRANSACTION","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNDER","UNION","UNIQUE","UNKNOWN","UNNEST","UNSET","UPDATE","UPSERT","USE","USER","USING","VALIDATE","VALUE","VALUED","VALUES","VIA","VIEW","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WORK","XOR"]}),eC=S(["SELECT [ALL | DISTINCT]"]),eL=S(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED THEN","UPDATE SET","INSERT","NEST","UNNEST","RETURNING"]),eb=S(["UPDATE","DELETE FROM","SET SCHEMA","ADVISE","ALTER INDEX","BEGIN TRANSACTION","BUILD INDEX","COMMIT TRANSACTION","CREATE COLLECTION","CREATE FUNCTION","CREATE INDEX","CREATE PRIMARY INDEX","CREATE SCOPE","DROP COLLECTION","DROP FUNCTION","DROP INDEX","DROP PRIMARY INDEX","DROP SCOPE","EXECUTE","EXECUTE FUNCTION","EXPLAIN","GRANT","INFER","PREPARE","REVOKE","ROLLBACK TRANSACTION","SAVEPOINT","SET TRANSACTION","UPDATE STATISTICS","UPSERT","LET","SET CURRENT SCHEMA","SHOW","USE [PRIMARY] KEYS"]),ef=S(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),eD=S(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),eh=S(["{ROWS | RANGE | GROUPS} BETWEEN"]),eP={tokenizerOptions:{reservedSelect:eC,reservedClauses:[...eL,...eb],reservedSetOperations:ef,reservedJoins:eD,reservedPhrases:eh,supportsXor:!0,reservedKeywords:em,reservedFunctionNames:eg,stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:eb}},ey=D({all:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARRAY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BFILE_BASE","BINARY","BLOB_BASE","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHAR","CHAR_BASE","CHARACTER","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOB_BASE","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DATE","DATE_BASE","DAY","DECIMAL","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DOUBLE","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","FLOAT","FOR","FORALL","FORCE","FORM","FROM","FUNCTION","GENERAL","GOTO","GRANT","GROUP","HASH","HAVING","HEAP","HIDDEN","HOUR","IDENTIFIED","IF","IMMEDIATE","IN","INCLUDING","INDEX","INDEXES","INDICATOR","INDICES","INFINITE","INSERT","INSTANTIABLE","INT","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LONG","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NCHAR","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","NUMBER_BASE","OBJECT","OCICOLL","OCIDATE","OCIDATETIME","OCIDURATION","OCIINTERVAL","OCILOBLOCATOR","OCINUMBER","OCIRAW","OCIREF","OCIREFCURSOR","OCIROWID","OCISTRING","OCITYPE","OF","ON","ONLY","OPAQUE","OPEN","OPERATOR","OPTION","OR","ORACLE","ORADATA","ORDER","OVERLAPS","ORGANIZATION","ORLANY","ORLVARY","OTHERS","OUT","OVERRIDING","PACKAGE","PARALLEL_ENABLE","PARAMETER","PARAMETERS","PARTITION","PASCAL","PIPE","PIPELINED","PRAGMA","PRECISION","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","RAW","READ","RECORD","REF","REFERENCE","REM","REMAINDER","RENAME","RESOURCE","RESULT","RETURN","RETURNING","REVERSE","REVOKE","ROLLBACK","ROW","SAMPLE","SAVE","SAVEPOINT","SB1","SB2","SB4","SECOND","SEGMENT","SELECT","SELF","SEPARATE","SEQUENCE","SERIALIZABLE","SET","SHARE","SHORT","SIZE","SIZE_T","SOME","SPARSE","SQL","SQLCODE","SQLDATA","SQLNAME","SQLSTATE","STANDARD","START","STATIC","STDDEV","STORED","STRING","STRUCT","STYLE","SUBMULTISET","SUBPARTITION","SUBSTITUTABLE","SUBTYPE","SUM","SYNONYM","TABAUTH","TABLE","TDO","THE","THEN","TIME","TIMESTAMP","TIMEZONE_ABBR","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIMEZONE_REGION","TO","TRAILING","TRANSAC","TRANSACTIONAL","TRUSTED","TYPE","UB1","UB2","UB4","UNDER","UNION","UNIQUE","UNSIGNED","UNTRUSTED","UPDATE","USE","USING","VALIST","VALUE","VALUES","VARIABLE","VARIANCE","VARRAY","VARYING","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"]}),eM=D({numeric:["ABS","ACOS","ASIN","ATAN","ATAN2","BITAND","CEIL","COS","COSH","EXP","FLOOR","LN","LOG","MOD","NANVL","POWER","REMAINDER","ROUND","SIGN","SIN","SINH","SQRT","TAN","TANH","TRUNC","WIDTH_BUCKET"],character:["CHR","CONCAT","INITCAP","LOWER","LPAD","LTRIM","NLS_INITCAP","NLS_LOWER","NLSSORT","NLS_UPPER","REGEXP_REPLACE","REGEXP_SUBSTR","REPLACE","RPAD","RTRIM","SOUNDEX","SUBSTR","TRANSLATE","TREAT","TRIM","UPPER","NLS_CHARSET_DECL_LEN","NLS_CHARSET_ID","NLS_CHARSET_NAME","ASCII","INSTR","LENGTH","REGEXP_INSTR"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_TIMESTAMP","DBTIMEZONE","EXTRACT","FROM_TZ","LAST_DAY","LOCALTIMESTAMP","MONTHS_BETWEEN","NEW_TIME","NEXT_DAY","NUMTODSINTERVAL","NUMTOYMINTERVAL","ROUND","SESSIONTIMEZONE","SYS_EXTRACT_UTC","SYSDATE","SYSTIMESTAMP","TO_CHAR","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_DSINTERVAL","TO_YMINTERVAL","TRUNC","TZ_OFFSET"],comparison:["GREATEST","LEAST"],conversion:["ASCIISTR","BIN_TO_NUM","CAST","CHARTOROWID","COMPOSE","CONVERT","DECOMPOSE","HEXTORAW","NUMTODSINTERVAL","NUMTOYMINTERVAL","RAWTOHEX","RAWTONHEX","ROWIDTOCHAR","ROWIDTONCHAR","SCN_TO_TIMESTAMP","TIMESTAMP_TO_SCN","TO_BINARY_DOUBLE","TO_BINARY_FLOAT","TO_CHAR","TO_CLOB","TO_DATE","TO_DSINTERVAL","TO_LOB","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_DSINTERVAL","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_TIMESTAMP_TZ","TO_YMINTERVAL","TO_YMINTERVAL","TRANSLATE","UNISTR"],largeObject:["BFILENAME","EMPTY_BLOB,","EMPTY_CLOB"],collection:["CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET"],hierarchical:["SYS_CONNECT_BY_PATH"],dataMining:["CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET"],xml:["APPENDCHILDXML","DELETEXML","DEPTH","EXTRACT","EXISTSNODE","EXTRACTVALUE","INSERTCHILDXML","INSERTXMLBEFORE","PATH","SYS_DBURIGEN","SYS_XMLAGG","SYS_XMLGEN","UPDATEXML","XMLAGG","XMLCDATA","XMLCOLATTVAL","XMLCOMMENT","XMLCONCAT","XMLFOREST","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSEQUENCE","XMLSERIALIZE","XMLTABLE","XMLTRANSFORM"],encoding:["DECODE","DUMP","ORA_HASH","VSIZE"],nullRelated:["COALESCE","LNNVL","NULLIF","NVL","NVL2"],env:["SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV"],aggregate:["AVG","COLLECT","CORR","CORR_S","CORR_K","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","FIRST","GROUP_ID","GROUPING","GROUPING_ID","LAST","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANK","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","STATS_BINOMIAL_TEST","STATS_CROSSTAB","STATS_F_TEST","STATS_KS_TEST","STATS_MODE","STATS_MW_TEST","STATS_ONE_WAY_ANOVA","STATS_T_TEST_ONE","STATS_T_TEST_PAIRED","STATS_T_TEST_INDEP","STATS_T_TEST_INDEPU","STATS_WSR_TEST","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER"],objectReference:["DEREF","MAKE_REF","REF","REFTOHEX","VALUE"],model:["CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],dataTypes:["VARCHAR2","NVARCHAR2","NUMBER","FLOAT","TIMESTAMP","INTERVAL YEAR","INTERVAL DAY","RAW","UROWID","NCHAR","CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NUMERIC","DECIMAL","FLOAT","VARCHAR"]}),eU=S(["SELECT [ALL | DISTINCT | UNIQUE]"]),ev=S(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","INSERT [INTO | ALL INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [THEN]","UPDATE SET","CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE","RETURNING"]),ew=S(["UPDATE [ONLY]","DELETE FROM [ONLY]","DROP TABLE","ALTER TABLE","ADD","DROP {COLUMN | UNUSED COLUMNS | COLUMNS CONTINUE}","MODIFY","RENAME TO","RENAME COLUMN","TRUNCATE TABLE","SET SCHEMA","BEGIN","CONNECT BY","DECLARE","EXCEPT","EXCEPTION","LOOP","START WITH"]),eG=S(["UNION [ALL]","EXCEPT","INTERSECT"]),ek=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),eF=S(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),ex={tokenizerOptions:{reservedSelect:eU,reservedClauses:[...ev,...ew],reservedSetOperations:eG,reservedJoins:ek,reservedPhrases:eF,supportsXor:!0,reservedKeywords:ey,reservedFunctionNames:eM,stringTypes:[{quote:"''-qq",prefixes:["N"]},{quote:"q''",prefixes:["N"]}],identTypes:['""-qq'],identChars:{rest:"$#"},variableTypes:[{regex:"&{1,2}[A-Za-z][A-Za-z0-9_$#]*"}],paramTypes:{numbered:[":"],named:[":"]},paramChars:{},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(e){let t=c;return e.map(e=>d.SET(e)&&d.BY(t)?{...e,type:a.RESERVED_KEYWORD}:(R(e.type)&&(t=e),e))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:ew}},eB=D({math:["ABS","ACOS","ACOSD","ACOSH","ASIN","ASIND","ASINH","ATAN","ATAN2","ATAN2D","ATAND","ATANH","CBRT","CEIL","CEILING","COS","COSD","COSH","COT","COTD","DEGREES","DIV","EXP","FACTORIAL","FLOOR","GCD","LCM","LN","LOG","LOG10","MIN_SCALE","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SCALE","SETSEED","SIGN","SIN","SIND","SINH","SQRT","TAN","TAND","TANH","TRIM_SCALE","TRUNC","WIDTH_BUCKET"],string:["ABS","ASCII","BIT_LENGTH","BTRIM","CHARACTER_LENGTH","CHAR_LENGTH","CHR","CONCAT","CONCAT_WS","FORMAT","INITCAP","LEFT","LENGTH","LOWER","LPAD","LTRIM","MD5","NORMALIZE","OCTET_LENGTH","OVERLAY","PARSE_IDENT","PG_CLIENT_ENCODING","POSITION","QUOTE_IDENT","QUOTE_LITERAL","QUOTE_NULLABLE","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REPEAT","REPLACE","REVERSE","RIGHT","RPAD","RTRIM","SPLIT_PART","SPRINTF","STARTS_WITH","STRING_AGG","STRING_TO_ARRAY","STRING_TO_TABLE","STRPOS","SUBSTR","SUBSTRING","TO_ASCII","TO_HEX","TRANSLATE","TRIM","UNISTR","UPPER"],binary:["BIT_COUNT","BIT_LENGTH","BTRIM","CONVERT","CONVERT_FROM","CONVERT_TO","DECODE","ENCODE","GET_BIT","GET_BYTE","LENGTH","LTRIM","MD5","OCTET_LENGTH","OVERLAY","POSITION","RTRIM","SET_BIT","SET_BYTE","SHA224","SHA256","SHA384","SHA512","STRING_AGG","SUBSTR","SUBSTRING","TRIM"],bitstring:["BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING"],pattern:["REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE"],datatype:["TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP"],datetime:["CLOCK_TIMESTAMP","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_BIN","DATE_PART","DATE_TRUNC","EXTRACT","ISFINITE","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","LOCALTIME","LOCALTIMESTAMP","MAKE_DATE","MAKE_INTERVAL","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","NOW","PG_SLEEP","PG_SLEEP_FOR","PG_SLEEP_UNTIL","STATEMENT_TIMESTAMP","TIMEOFDAY","TO_TIMESTAMP","TRANSACTION_TIMESTAMP"],enum:["ENUM_FIRST","ENUM_LAST","ENUM_RANGE"],geometry:["AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH"],network:["ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TEXT","TRUNC"],textsearch:["ARRAY_TO_TSVECTOR","GET_CURRENT_TS_CONFIG","JSONB_TO_TSVECTOR","JSON_TO_TSVECTOR","LENGTH","NUMNODE","PHRASETO_TSQUERY","PLAINTO_TSQUERY","QUERYTREE","SETWEIGHT","STRIP","TO_TSQUERY","TO_TSVECTOR","TSQUERY_PHRASE","TSVECTOR_TO_ARRAY","TS_DEBUG","TS_DELETE","TS_FILTER","TS_HEADLINE","TS_LEXIZE","TS_PARSE","TS_RANK","TS_RANK_CD","TS_REWRITE","TS_STAT","TS_TOKEN_TYPE","WEBSEARCH_TO_TSQUERY"],uuid:["UUID"],xml:["CURSOR_TO_XML","CURSOR_TO_XMLSCHEMA","DATABASE_TO_XML","DATABASE_TO_XMLSCHEMA","DATABASE_TO_XML_AND_XMLSCHEMA","NEXTVAL","QUERY_TO_XML","QUERY_TO_XMLSCHEMA","QUERY_TO_XML_AND_XMLSCHEMA","SCHEMA_TO_XML","SCHEMA_TO_XMLSCHEMA","SCHEMA_TO_XML_AND_XMLSCHEMA","STRING","TABLE_TO_XML","TABLE_TO_XMLSCHEMA","TABLE_TO_XML_AND_XMLSCHEMA","XMLAGG","XMLCOMMENT","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","XML_IS_WELL_FORMED","XML_IS_WELL_FORMED_CONTENT","XML_IS_WELL_FORMED_DOCUMENT","XPATH","XPATH_EXISTS"],json:["ARRAY_TO_JSON","JSONB_AGG","JSONB_ARRAY_ELEMENTS","JSONB_ARRAY_ELEMENTS_TEXT","JSONB_ARRAY_LENGTH","JSONB_BUILD_ARRAY","JSONB_BUILD_OBJECT","JSONB_EACH","JSONB_EACH_TEXT","JSONB_EXTRACT_PATH","JSONB_EXTRACT_PATH_TEXT","JSONB_INSERT","JSONB_OBJECT","JSONB_OBJECT_AGG","JSONB_OBJECT_KEYS","JSONB_PATH_EXISTS","JSONB_PATH_EXISTS_TZ","JSONB_PATH_MATCH","JSONB_PATH_MATCH_TZ","JSONB_PATH_QUERY","JSONB_PATH_QUERY_ARRAY","JSONB_PATH_QUERY_ARRAY_TZ","JSONB_PATH_QUERY_FIRST","JSONB_PATH_QUERY_FIRST_TZ","JSONB_PATH_QUERY_TZ","JSONB_POPULATE_RECORD","JSONB_POPULATE_RECORDSET","JSONB_PRETTY","JSONB_SET","JSONB_SET_LAX","JSONB_STRIP_NULLS","JSONB_TO_RECORD","JSONB_TO_RECORDSET","JSONB_TYPEOF","JSON_AGG","JSON_ARRAY_ELEMENTS","JSON_ARRAY_ELEMENTS_TEXT","JSON_ARRAY_LENGTH","JSON_BUILD_ARRAY","JSON_BUILD_OBJECT","JSON_EACH","JSON_EACH_TEXT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_OBJECT","JSON_OBJECT_AGG","JSON_OBJECT_KEYS","JSON_POPULATE_RECORD","JSON_POPULATE_RECORDSET","JSON_STRIP_NULLS","JSON_TO_RECORD","JSON_TO_RECORDSET","JSON_TYPEOF","ROW_TO_JSON","TO_JSON","TO_JSONB","TO_TIMESTAMP"],sequence:["CURRVAL","LASTVAL","NEXTVAL","SETVAL"],conditional:["COALESCE","GREATEST","LEAST","NULLIF"],array:["ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_DIMS","ARRAY_FILL","ARRAY_LENGTH","ARRAY_LOWER","ARRAY_NDIMS","ARRAY_POSITION","ARRAY_POSITIONS","ARRAY_PREPEND","ARRAY_REMOVE","ARRAY_REPLACE","ARRAY_TO_STRING","ARRAY_UPPER","CARDINALITY","STRING_TO_ARRAY","TRIM_ARRAY","UNNEST"],range:["ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF"],aggregate:["ARRAY_AGG","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COALESCE","CORR","COUNT","COVAR_POP","COVAR_SAMP","CUME_DIST","DENSE_RANK","EVERY","GROUPING","JSONB_AGG","JSONB_OBJECT_AGG","JSON_AGG","JSON_OBJECT_AGG","MAX","MIN","MODE","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","RANGE_AGG","RANGE_INTERSECT_AGG","RANK","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","STDDEV","STDDEV_POP","STDDEV_SAMP","STRING_AGG","SUM","TO_JSON","TO_JSONB","VARIANCE","VAR_POP","VAR_SAMP","XMLAGG"],window:["CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],set:["GENERATE_SERIES","GENERATE_SUBSCRIPTS"],sysInfo:["ACLDEFAULT","ACLEXPLODE","COL_DESCRIPTION","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","FORMAT_TYPE","HAS_ANY_COLUMN_PRIVILEGE","HAS_COLUMN_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_FOREIGN_DATA_WRAPPER_PRIVILEGE","HAS_FUNCTION_PRIVILEGE","HAS_LANGUAGE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_SEQUENCE_PRIVILEGE","HAS_SERVER_PRIVILEGE","HAS_TABLESPACE_PRIVILEGE","HAS_TABLE_PRIVILEGE","HAS_TYPE_PRIVILEGE","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","MAKEACLITEM","OBJ_DESCRIPTION","PG_BACKEND_PID","PG_BLOCKING_PIDS","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONTROL_CHECKPOINT","PG_CONTROL_INIT","PG_CONTROL_SYSTEM","PG_CONVERSION_IS_VISIBLE","PG_CURRENT_LOGFILE","PG_CURRENT_SNAPSHOT","PG_CURRENT_XACT_ID","PG_CURRENT_XACT_ID_IF_ASSIGNED","PG_DESCRIBE_OBJECT","PG_FUNCTION_IS_VISIBLE","PG_GET_CATALOG_FOREIGN_KEYS","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_FUNCTIONDEF","PG_GET_FUNCTION_ARGUMENTS","PG_GET_FUNCTION_IDENTITY_ARGUMENTS","PG_GET_FUNCTION_RESULT","PG_GET_INDEXDEF","PG_GET_KEYWORDS","PG_GET_OBJECT_ADDRESS","PG_GET_OWNED_SEQUENCE","PG_GET_RULEDEF","PG_GET_SERIAL_SEQUENCE","PG_GET_STATISTICSOBJDEF","PG_GET_TRIGGERDEF","PG_GET_USERBYID","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IDENTIFY_OBJECT","PG_IDENTIFY_OBJECT_AS_ADDRESS","PG_INDEXAM_HAS_PROPERTY","PG_INDEX_COLUMN_HAS_PROPERTY","PG_INDEX_HAS_PROPERTY","PG_IS_OTHER_TEMP_SCHEMA","PG_JIT_AVAILABLE","PG_LAST_COMMITTED_XACT","PG_LISTENING_CHANNELS","PG_MY_TEMP_SCHEMA","PG_NOTIFICATION_QUEUE_USAGE","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_OPTIONS_TO_TABLE","PG_POSTMASTER_START_TIME","PG_SAFE_SNAPSHOT_BLOCKING_PIDS","PG_SNAPSHOT_XIP","PG_SNAPSHOT_XMAX","PG_SNAPSHOT_XMIN","PG_STATISTICS_OBJ_IS_VISIBLE","PG_TABLESPACE_DATABASES","PG_TABLESPACE_LOCATION","PG_TABLE_IS_VISIBLE","PG_TRIGGER_DEPTH","PG_TS_CONFIG_IS_VISIBLE","PG_TS_DICT_IS_VISIBLE","PG_TS_PARSER_IS_VISIBLE","PG_TS_TEMPLATE_IS_VISIBLE","PG_TYPEOF","PG_TYPE_IS_VISIBLE","PG_VISIBLE_IN_SNAPSHOT","PG_XACT_COMMIT_TIMESTAMP","PG_XACT_COMMIT_TIMESTAMP_ORIGIN","PG_XACT_STATUS","PQSERVERVERSION","ROW_SECURITY_ACTIVE","SESSION_USER","SHOBJ_DESCRIPTION","TO_REGCLASS","TO_REGCOLLATION","TO_REGNAMESPACE","TO_REGOPER","TO_REGOPERATOR","TO_REGPROC","TO_REGPROCEDURE","TO_REGROLE","TO_REGTYPE","TXID_CURRENT","TXID_CURRENT_IF_ASSIGNED","TXID_CURRENT_SNAPSHOT","TXID_SNAPSHOT_XIP","TXID_SNAPSHOT_XMAX","TXID_SNAPSHOT_XMIN","TXID_STATUS","TXID_VISIBLE_IN_SNAPSHOT","USER","VERSION"],sysAdmin:["BRIN_DESUMMARIZE_RANGE","BRIN_SUMMARIZE_NEW_VALUES","BRIN_SUMMARIZE_RANGE","CONVERT_FROM","CURRENT_SETTING","GIN_CLEAN_PENDING_LIST","PG_ADVISORY_LOCK","PG_ADVISORY_LOCK_SHARED","PG_ADVISORY_UNLOCK","PG_ADVISORY_UNLOCK_ALL","PG_ADVISORY_UNLOCK_SHARED","PG_ADVISORY_XACT_LOCK","PG_ADVISORY_XACT_LOCK_SHARED","PG_BACKUP_START_TIME","PG_CANCEL_BACKEND","PG_COLLATION_ACTUAL_VERSION","PG_COLUMN_COMPRESSION","PG_COLUMN_SIZE","PG_COPY_LOGICAL_REPLICATION_SLOT","PG_COPY_PHYSICAL_REPLICATION_SLOT","PG_CREATE_LOGICAL_REPLICATION_SLOT","PG_CREATE_PHYSICAL_REPLICATION_SLOT","PG_CREATE_RESTORE_POINT","PG_CURRENT_WAL_FLUSH_LSN","PG_CURRENT_WAL_INSERT_LSN","PG_CURRENT_WAL_LSN","PG_DATABASE_SIZE","PG_DROP_REPLICATION_SLOT","PG_EXPORT_SNAPSHOT","PG_FILENODE_RELATION","PG_GET_WAL_REPLAY_PAUSE_STATE","PG_IMPORT_SYSTEM_COLLATIONS","PG_INDEXES_SIZE","PG_IS_IN_BACKUP","PG_IS_IN_RECOVERY","PG_IS_WAL_REPLAY_PAUSED","PG_LAST_WAL_RECEIVE_LSN","PG_LAST_WAL_REPLAY_LSN","PG_LAST_XACT_REPLAY_TIMESTAMP","PG_LOGICAL_EMIT_MESSAGE","PG_LOGICAL_SLOT_GET_BINARY_CHANGES","PG_LOGICAL_SLOT_GET_CHANGES","PG_LOGICAL_SLOT_PEEK_BINARY_CHANGES","PG_LOGICAL_SLOT_PEEK_CHANGES","PG_LOG_BACKEND_MEMORY_CONTEXTS","PG_LS_ARCHIVE_STATUSDIR","PG_LS_DIR","PG_LS_LOGDIR","PG_LS_TMPDIR","PG_LS_WALDIR","PG_PARTITION_ANCESTORS","PG_PARTITION_ROOT","PG_PARTITION_TREE","PG_PROMOTE","PG_READ_BINARY_FILE","PG_READ_FILE","PG_RELATION_FILENODE","PG_RELATION_FILEPATH","PG_RELATION_SIZE","PG_RELOAD_CONF","PG_REPLICATION_ORIGIN_ADVANCE","PG_REPLICATION_ORIGIN_CREATE","PG_REPLICATION_ORIGIN_DROP","PG_REPLICATION_ORIGIN_OID","PG_REPLICATION_ORIGIN_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_IS_SETUP","PG_REPLICATION_ORIGIN_SESSION_PROGRESS","PG_REPLICATION_ORIGIN_SESSION_RESET","PG_REPLICATION_ORIGIN_SESSION_SETUP","PG_REPLICATION_ORIGIN_XACT_RESET","PG_REPLICATION_ORIGIN_XACT_SETUP","PG_REPLICATION_SLOT_ADVANCE","PG_ROTATE_LOGFILE","PG_SIZE_BYTES","PG_SIZE_PRETTY","PG_START_BACKUP","PG_STAT_FILE","PG_STOP_BACKUP","PG_SWITCH_WAL","PG_TABLESPACE_SIZE","PG_TABLE_SIZE","PG_TERMINATE_BACKEND","PG_TOTAL_RELATION_SIZE","PG_TRY_ADVISORY_LOCK","PG_TRY_ADVISORY_LOCK_SHARED","PG_TRY_ADVISORY_XACT_LOCK","PG_TRY_ADVISORY_XACT_LOCK_SHARED","PG_WALFILE_NAME","PG_WALFILE_NAME_OFFSET","PG_WAL_LSN_DIFF","PG_WAL_REPLAY_PAUSE","PG_WAL_REPLAY_RESUME","SET_CONFIG"],trigger:["SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN"],eventTrigger:["PG_EVENT_TRIGGER_DDL_COMMANDS","PG_EVENT_TRIGGER_DROPPED_OBJECTS","PG_EVENT_TRIGGER_TABLE_REWRITE_OID","PG_EVENT_TRIGGER_TABLE_REWRITE_REASON","PG_GET_OBJECT_ADDRESS"],stats:["PG_MCV_LIST_ITEMS"],cast:["CAST"],dataTypes:["BIT","BIT VARYING","CHARACTER","CHARACTER VARYING","VARCHAR","CHAR","DECIMAL","NUMERIC","TIME","TIMESTAMP","ENUM"]}),eH=D({all:["ABORT","ABSOLUTE","ACCESS","ACTION","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTACH","ATTRIBUTE","AUTHORIZATION","BACKWARD","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BIT","BOOLEAN","BOTH","BREADTH","BY","CACHE","CALL","CALLED","CASCADE","CASCADED","CASE","CAST","CATALOG","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHECK","CHECKPOINT","CLASS","CLOSE","CLUSTER","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNS","COMMENT","COMMENTS","COMMIT","COMMITTED","COMPRESSION","CONCURRENTLY","CONFIGURATION","CONFLICT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTENT","CONTINUE","CONVERSION","COPY","COST","CREATE","CROSS","CSV","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINER","DELETE","DELIMITER","DELIMITERS","DEPENDS","DEPTH","DESC","DETACH","DICTIONARY","DISABLE","DISCARD","DISTINCT","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","EACH","ELSE","ENABLE","ENCODING","ENCRYPTED","END","ENUM","ESCAPE","EVENT","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILTER","FINALIZE","FIRST","FLOAT","FOLLOWING","FOR","FORCE","FOREIGN","FORWARD","FREEZE","FROM","FULL","FUNCTION","FUNCTIONS","GENERATED","GLOBAL","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HOLD","HOUR","IDENTITY","IF","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDE","INCLUDING","INCREMENT","INDEX","INDEXES","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTEAD","INT","INTEGER","INTERSECT","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","KEY","LABEL","LANGUAGE","LARGE","LAST","LATERAL","LEADING","LEAKPROOF","LEAST","LEFT","LEVEL","LIKE","LIMIT","LISTEN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LOCKED","LOGGED","MAPPING","MATCH","MATERIALIZED","MAXVALUE","METHOD","MINUTE","MINVALUE","MODE","MONTH","MOVE","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NEW","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NULL","NULLIF","NULLS","NUMERIC","OBJECT","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDINALITY","OTHERS","OUT","OUTER","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","PARALLEL","PARSER","PARTIAL","PARTITION","PASSING","PASSWORD","PLACING","PLANS","POLICY","POSITION","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROGRAM","PUBLICATION","QUOTE","RANGE","READ","REAL","REASSIGN","RECHECK","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","RESET","RESTART","RESTRICT","RETURN","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINES","ROW","ROWS","RULE","SAVEPOINT","SCHEMA","SCHEMAS","SCROLL","SEARCH","SECOND","SECURITY","SELECT","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SKIP","SMALLINT","SNAPSHOT","SOME","SQL","STABLE","STANDALONE","START","STATEMENT","STATISTICS","STDIN","STDOUT","STORAGE","STORED","STRICT","STRIP","SUBSCRIPTION","SUBSTRING","SUPPORT","SYMMETRIC","SYSID","SYSTEM","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRANSFORM","TREAT","TRIGGER","TRIM","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLISTEN","UNLOGGED","UNTIL","UPDATE","USER","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARCHAR","VARIADIC","VARYING","VERBOSE","VERSION","VIEW","VIEWS","VOLATILE","WHEN","WHERE","WHITESPACE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLATTRIBUTES","XMLCONCAT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROOT","XMLSERIALIZE","XMLTABLE","YEAR","YES","ZONE"]}),eY=S(["SELECT [ALL | DISTINCT]"]),eV=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR {UPDATE | NO KEY UPDATE | SHARE | KEY SHARE} [OF]","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]","RETURNING"]),eW=S(["UPDATE [ONLY]","WHERE CURRENT OF","ON CONFLICT","DELETE FROM [ONLY]","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS] [ONLY]","ALTER TABLE ALL IN TABLESPACE","RENAME [COLUMN]","RENAME TO","ADD [COLUMN] [IF NOT EXISTS]","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","[SET DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","TRUNCATE [TABLE] [ONLY]","SET SCHEMA","AFTER","ABORT","ALTER AGGREGATE","ALTER COLLATION","ALTER CONVERSION","ALTER DATABASE","ALTER DEFAULT PRIVILEGES","ALTER DOMAIN","ALTER EVENT TRIGGER","ALTER EXTENSION","ALTER FOREIGN DATA WRAPPER","ALTER FOREIGN TABLE","ALTER FUNCTION","ALTER GROUP","ALTER INDEX","ALTER LANGUAGE","ALTER LARGE OBJECT","ALTER MATERIALIZED VIEW","ALTER OPERATOR","ALTER OPERATOR CLASS","ALTER OPERATOR FAMILY","ALTER POLICY","ALTER PROCEDURE","ALTER PUBLICATION","ALTER ROLE","ALTER ROUTINE","ALTER RULE","ALTER SCHEMA","ALTER SEQUENCE","ALTER SERVER","ALTER STATISTICS","ALTER SUBSCRIPTION","ALTER SYSTEM","ALTER TABLESPACE","ALTER TEXT SEARCH CONFIGURATION","ALTER TEXT SEARCH DICTIONARY","ALTER TEXT SEARCH PARSER","ALTER TEXT SEARCH TEMPLATE","ALTER TRIGGER","ALTER TYPE","ALTER USER","ALTER USER MAPPING","ALTER VIEW","ANALYZE","BEGIN","CALL","CHECKPOINT","CLOSE","CLUSTER","COMMENT","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE FUNCTION","CREATE GROUP","CREATE INDEX","CREATE LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE RULE","CREATE SCHEMA","CREATE SEQUENCE","CREATE SERVER","CREATE STATISTICS","CREATE SUBSCRIPTION","CREATE TABLESPACE","CREATE TEXT SEARCH CONFIGURATION","CREATE TEXT SEARCH DICTIONARY","CREATE TEXT SEARCH PARSER","CREATE TEXT SEARCH TEMPLATE","CREATE TRANSFORM","CREATE TRIGGER","CREATE TYPE","CREATE USER","CREATE USER MAPPING","DEALLOCATE","DECLARE","DISCARD","DROP ACCESS METHOD","DROP AGGREGATE","DROP CAST","DROP COLLATION","DROP CONVERSION","DROP DATABASE","DROP DOMAIN","DROP EVENT TRIGGER","DROP EXTENSION","DROP FOREIGN DATA WRAPPER","DROP FOREIGN TABLE","DROP FUNCTION","DROP GROUP","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW","DROP OPERATOR","DROP OPERATOR CLASS","DROP OPERATOR FAMILY","DROP OWNED","DROP POLICY","DROP PROCEDURE","DROP PUBLICATION","DROP ROLE","DROP ROUTINE","DROP RULE","DROP SCHEMA","DROP SEQUENCE","DROP SERVER","DROP STATISTICS","DROP SUBSCRIPTION","DROP TABLESPACE","DROP TEXT SEARCH CONFIGURATION","DROP TEXT SEARCH DICTIONARY","DROP TEXT SEARCH PARSER","DROP TEXT SEARCH TEMPLATE","DROP TRANSFORM","DROP TRIGGER","DROP TYPE","DROP USER","DROP USER MAPPING","DROP VIEW","EXECUTE","EXPLAIN","FETCH","GRANT","IMPORT FOREIGN SCHEMA","LISTEN","LOAD","LOCK","MOVE","NOTIFY","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET","REVOKE","ROLLBACK","ROLLBACK PREPARED","ROLLBACK TO SAVEPOINT","SAVEPOINT","SECURITY LABEL","SELECT INTO","SET CONSTRAINTS","SET ROLE","SET SESSION AUTHORIZATION","SET TRANSACTION","SHOW","START TRANSACTION","UNLISTEN","VACUUM"]),e$=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eX=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),eK=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","{TIMESTAMP | TIME} {WITH | WITHOUT} TIME ZONE","IS [NOT] DISTINCT FROM"]),ez={tokenizerOptions:{reservedSelect:eY,reservedClauses:[...eV,...eW],reservedSetOperations:e$,reservedJoins:eX,reservedPhrases:eK,reservedKeywords:eH,reservedFunctionNames:eB,nestedBlockComments:!0,extraParens:["[]"],stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eW}},ej=D({aggregate:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],array:["array","array_concat","array_flatten","get_array_length","split_to_array","subarray"],bitwise:["BIT_AND","BIT_OR","BOOL_AND","BOOL_OR"],conditional:["COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF"],dateTime:["ADD_MONTHS","AT TIME ZONE","CONVERT_TIMEZONE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATE_CMP","DATE_CMP_TIMESTAMP","DATE_CMP_TIMESTAMPTZ","DATE_PART_YEAR","DATEADD","DATEDIFF","DATE_PART","DATE_TRUNC","EXTRACT","GETDATE","INTERVAL_CMP","LAST_DAY","MONTHS_BETWEEN","NEXT_DAY","SYSDATE","TIMEOFDAY","TIMESTAMP_CMP","TIMESTAMP_CMP_DATE","TIMESTAMP_CMP_TIMESTAMPTZ","TIMESTAMPTZ_CMP","TIMESTAMPTZ_CMP_DATE","TIMESTAMPTZ_CMP_TIMESTAMP","TIMEZONE","TO_TIMESTAMP","TRUNC"],spatial:["AddBBox","DropBBox","GeometryType","ST_AddPoint","ST_Angle","ST_Area","ST_AsBinary","ST_AsEWKB","ST_AsEWKT","ST_AsGeoJSON","ST_AsText","ST_Azimuth","ST_Boundary","ST_Collect","ST_Contains","ST_ContainsProperly","ST_ConvexHull","ST_CoveredBy","ST_Covers","ST_Crosses","ST_Dimension","ST_Disjoint","ST_Distance","ST_DistanceSphere","ST_DWithin","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_Force2D","ST_Force3D","ST_Force3DM","ST_Force3DZ","ST_Force4D","ST_GeometryN","ST_GeometryType","ST_GeomFromEWKB","ST_GeomFromEWKT","ST_GeomFromText","ST_GeomFromWKB","ST_InteriorRingN","ST_Intersects","ST_IsPolygonCCW","ST_IsPolygonCW","ST_IsClosed","ST_IsCollection","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_Length","ST_LengthSphere","ST_Length2D","ST_LineFromMultiPoint","ST_LineInterpolatePoint","ST_M","ST_MakeEnvelope","ST_MakeLine","ST_MakePoint","ST_MakePolygon","ST_MemSize","ST_MMax","ST_MMin","ST_Multi","ST_NDims","ST_NPoints","ST_NRings","ST_NumGeometries","ST_NumInteriorRings","ST_NumPoints","ST_Perimeter","ST_Perimeter2D","ST_Point","ST_PointN","ST_Points","ST_Polygon","ST_RemovePoint","ST_Reverse","ST_SetPoint","ST_SetSRID","ST_Simplify","ST_SRID","ST_StartPoint","ST_Touches","ST_Within","ST_X","ST_XMax","ST_XMin","ST_Y","ST_YMax","ST_YMin","ST_Z","ST_ZMax","ST_ZMin","SupportsBBox"],hash:["CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2"],hyperLogLog:["HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE"],json:["IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE"],math:["ABS","ACOS","ASIN","ATAN","ATAN2","CBRT","CEILING","CEIL","COS","COT","DEGREES","DEXP","DLOG1","DLOG10","EXP","FLOOR","LN","LOG","MOD","PI","POWER","RADIANS","RANDOM","ROUND","SIN","SIGN","SQRT","TAN","TO_HEX","TRUNC"],machineLearning:["EXPLAIN_MODEL"],string:["ASCII","BPCHARCMP","BTRIM","BTTEXT_PATTERN_CMP","CHAR_LENGTH","CHARACTER_LENGTH","CHARINDEX","CHR","COLLATE","CONCAT","CRC32","DIFFERENCE","INITCAP","LEFT","RIGHT","LEN","LENGTH","LOWER","LPAD","RPAD","LTRIM","OCTETINDEX","OCTET_LENGTH","POSITION","QUOTE_IDENT","QUOTE_LITERAL","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","REPLICATE","REVERSE","RTRIM","SOUNDEX","SPLIT_PART","STRPOS","STRTOL","SUBSTRING","TEXTLEN","TRANSLATE","TRIM","UPPER"],superType:["decimal_precision","decimal_scale","is_array","is_bigint","is_boolean","is_char","is_decimal","is_float","is_integer","is_object","is_scalar","is_smallint","is_varchar","json_typeof"],window:["AVG","COUNT","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAST_VALUE","LAG","LEAD","LISTAGG","MAX","MEDIAN","MIN","NTH_VALUE","NTILE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","RANK","RATIO_TO_REPORT","ROW_NUMBER","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP"],dataType:["CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT"],sysAdmin:["CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG"],sysInfo:["CURRENT_AWS_ACCOUNT","CURRENT_DATABASE","CURRENT_NAMESPACE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_USER","CURRENT_USER_ID","HAS_ASSUMEROLE_PRIVILEGE","HAS_DATABASE_PRIVILEGE","HAS_SCHEMA_PRIVILEGE","HAS_TABLE_PRIVILEGE","PG_BACKEND_PID","PG_GET_COLS","PG_GET_GRANTEE_BY_IAM_ROLE","PG_GET_IAM_ROLE_BY_USER","PG_GET_LATE_BINDING_VIEW_COLS","PG_LAST_COPY_COUNT","PG_LAST_COPY_ID","PG_LAST_UNLOAD_ID","PG_LAST_QUERY_ID","PG_LAST_UNLOAD_COUNT","SESSION_USER","SLICE_NUM","USER","VERSION"],dataTypes:["DECIMAL","NUMERIC","CHAR","CHARACTER","VARCHAR","CHARACTER VARYING","NCHAR","NVARCHAR","VARBYTE"]}),eZ=D({standard:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BOTH","CHECK","COLUMN","CONSTRAINT","CREATE","CROSS","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DESC","DISABLE","DISTINCT","DO","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GROUP","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTO","IS","ISNULL","LANGUAGE","LEADING","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","MINUS","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RECOVER","REFERENCES","REJECTLOG","RESORT","RESPECT","RESTORE","SIMILAR","SNAPSHOT","SOME","SYSTEM","TABLE","TAG","TDES","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","UNIQUE","USING","VERBOSE","WALLET","WITHOUT"],dataConversionParams:["ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS"],dataLoadParams:["COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE"],dataFormatParams:["FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC"],copyAuthParams:["ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN"],copyCompressionParams:["BZIP2","GZIP","LZOP","ZSTD"],copyMiscParams:["MANIFEST","READRATIO","REGION","SSH"],compressionEncodings:["RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K"],misc:["CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],dataTypes:["BPCHAR","TEXT"]}),eq=S(["SELECT [ALL | DISTINCT]"]),eJ=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET","CREATE [OR REPLACE | MATERIALIZED] VIEW","CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),eQ=S(["UPDATE","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ALTER TABLE APPEND","ADD [COLUMN]","DROP [COLUMN]","RENAME TO","RENAME COLUMN","ALTER COLUMN","TYPE","ENCODE","TRUNCATE [TABLE]","ABORT","ALTER DATABASE","ALTER DATASHARE","ALTER DEFAULT PRIVILEGES","ALTER GROUP","ALTER MATERIALIZED VIEW","ALTER PROCEDURE","ALTER SCHEMA","ALTER USER","ANALYSE","ANALYZE","ANALYSE COMPRESSION","ANALYZE COMPRESSION","BEGIN","CALL","CANCEL","CLOSE","COMMENT","COMMIT","COPY","CREATE DATABASE","CREATE DATASHARE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL SCHEMA","CREATE EXTERNAL TABLE","CREATE FUNCTION","CREATE GROUP","CREATE LIBRARY","CREATE MODEL","CREATE PROCEDURE","CREATE SCHEMA","CREATE USER","DEALLOCATE","DECLARE","DESC DATASHARE","DROP DATABASE","DROP DATASHARE","DROP FUNCTION","DROP GROUP","DROP LIBRARY","DROP MODEL","DROP MATERIALIZED VIEW","DROP PROCEDURE","DROP SCHEMA","DROP USER","DROP VIEW","DROP","EXECUTE","EXPLAIN","FETCH","GRANT","LOCK","PREPARE","REFRESH MATERIALIZED VIEW","RESET","REVOKE","ROLLBACK","SELECT INTO","SET SESSION AUTHORIZATION","SET SESSION CHARACTERISTICS","SHOW","SHOW EXTERNAL TABLE","SHOW MODEL","SHOW DATASHARES","SHOW PROCEDURE","SHOW TABLE","SHOW VIEW","START TRANSACTION","UNLOAD","VACUUM"]),e0=S(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),e1=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),e2=S(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),e3={tokenizerOptions:{reservedSelect:eq,reservedClauses:[...eJ,...eQ],reservedSetOperations:e0,reservedJoins:e1,reservedPhrases:e2,reservedKeywords:eZ,reservedFunctionNames:ej,stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:eQ}},e6=D({all:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","ARRAY","AS","ASC","AT","AUTHORIZATION","BETWEEN","BOTH","BUCKET","BUCKETS","BY","CACHE","CASCADE","CAST","CHANGE","CHECK","CLEAR","CLUSTER","CLUSTERED","CODEGEN","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPACT","COMPACTIONS","COMPUTE","CONCATENATE","CONSTRAINT","COST","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATA","DATABASE","DATABASES","DAY","DBPROPERTIES","DEFINED","DELETE","DELIMITED","DESC","DESCRIBE","DFS","DIRECTORIES","DIRECTORY","DISTINCT","DISTRIBUTE","DIV","DROP","ESCAPE","ESCAPED","EXCEPT","EXCHANGE","EXISTS","EXPORT","EXTENDED","EXTERNAL","EXTRACT","FALSE","FETCH","FIELDS","FILTER","FILEFORMAT","FIRST","FIRST_VALUE","FOLLOWING","FOR","FOREIGN","FORMAT","FORMATTED","FULL","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GROUP","GROUPING","HOUR","IF","IGNORE","IMPORT","IN","INDEX","INDEXES","INNER","INPATH","INPUTFORMAT","INTERSECT","INTERVAL","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","MAP","MATCHED","MERGE","MINUTE","MONTH","MSCK","NAMESPACE","NAMESPACES","NATURAL","NO","NOT","NULL","NULLS","OF","ONLY","OPTION","OPTIONS","OR","ORDER","OUT","OUTER","OUTPUTFORMAT","OVER","OVERLAPS","OVERLAY","OVERWRITE","OWNER","PARTITION","PARTITIONED","PARTITIONS","PERCENT","PLACING","POSITION","PRECEDING","PRIMARY","PRINCIPALS","PROPERTIES","PURGE","QUERY","RANGE","RECORDREADER","RECORDWRITER","RECOVER","REDUCE","REFERENCES","RENAME","REPAIR","REPLACE","RESPECT","RESTRICT","REVOKE","RIGHT","RLIKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","SCHEMA","SECOND","SELECT","SEMI","SEPARATED","SERDE","SERDEPROPERTIES","SESSION_USER","SETS","SHOW","SKEWED","SOME","SORT","SORTED","START","STATISTICS","STORED","STRATIFY","STRUCT","SUBSTR","SUBSTRING","TABLE","TABLES","TBLPROPERTIES","TEMPORARY","TERMINATED","THEN","TO","TOUCH","TRAILING","TRANSACTION","TRANSACTIONS","TRIM","TRUE","TRUNCATE","UNARCHIVE","UNBOUNDED","UNCACHE","UNIQUE","UNKNOWN","UNLOCK","UNSET","USE","USER","USING","VIEW","WINDOW","YEAR","ANALYSE","ARRAY_ZIP","COALESCE","CONTAINS","CONVERT","DAYS","DAY_HOUR","DAY_MINUTE","DAY_SECOND","DECODE","DEFAULT","DISTINCTROW","ENCODE","EXPLODE","EXPLODE_OUTER","FIXED","GREATEST","GROUP_CONCAT","HOURS","HOUR_MINUTE","HOUR_SECOND","IFNULL","LEAST","LEVEL","MINUTE_SECOND","NULLIF","OFFSET","ON","OPTIMIZE","REGEXP","SEPARATOR","SIZE","STRING","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"]}),e4=D({aggregate:["APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","AVG","BIT_AND","BIT_OR","BIT_XOR","BOOL_AND","BOOL_OR","COLLECT_LIST","COLLECT_SET","CORR","COUNT","COUNT","COUNT","COUNT_IF","COUNT_MIN_SKETCH","COVAR_POP","COVAR_SAMP","EVERY","FIRST","FIRST_VALUE","GROUPING","GROUPING_ID","KURTOSIS","LAST","LAST_VALUE","MAX","MAX_BY","MEAN","MIN","MIN_BY","PERCENTILE","PERCENTILE","PERCENTILE_APPROX","SKEWNESS","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","SUM","VAR_POP","VAR_SAMP","VARIANCE"],window:["CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER"],array:["ARRAY","ARRAY_CONTAINS","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_REPEAT","ARRAY_UNION","ARRAYS_OVERLAP","ARRAYS_ZIP","FLATTEN","SEQUENCE","SHUFFLE","SLICE","SORT_ARRAY"],map:["ELEMENT_AT","ELEMENT_AT","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP"],datetime:["ADD_MONTHS","CURRENT_DATE","CURRENT_DATE","CURRENT_TIMESTAMP","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","DATE_ADD","DATE_FORMAT","DATE_FROM_UNIX_DATE","DATE_PART","DATE_SUB","DATE_TRUNC","DATEDIFF","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","EXTRACT","FROM_UNIXTIME","FROM_UTC_TIMESTAMP","HOUR","LAST_DAY","MAKE_DATE","MAKE_DT_INTERVAL","MAKE_INTERVAL","MAKE_TIMESTAMP","MAKE_YM_INTERVAL","MINUTE","MONTH","MONTHS_BETWEEN","NEXT_DAY","NOW","QUARTER","SECOND","SESSION_WINDOW","TIMESTAMP_MICROS","TIMESTAMP_MILLIS","TIMESTAMP_SECONDS","TO_DATE","TO_TIMESTAMP","TO_UNIX_TIMESTAMP","TO_UTC_TIMESTAMP","TRUNC","UNIX_DATE","UNIX_MICROS","UNIX_MILLIS","UNIX_SECONDS","UNIX_TIMESTAMP","WEEKDAY","WEEKOFYEAR","WINDOW","YEAR"],json:["FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON"],misc:["ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIGINT","BIN","BINARY","BIT_COUNT","BIT_GET","BIT_LENGTH","BOOLEAN","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DATE","DECIMAL","DEGREES","DOUBLE","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","FLOAT","FLOOR","FORALL","FORMAT_NUMBER","FORMAT_STRING","FROM_CSV","GETBIT","HASH","HEX","HYPOT","INITCAP","INLINE","INLINE_OUTER","INPUT_FILE_BLOCK_LENGTH","INPUT_FILE_BLOCK_START","INPUT_FILE_NAME","INSTR","INT","ISNAN","ISNOTNULL","ISNULL","JAVA_METHOD","LCASE","LEFT","LENGTH","LEVENSHTEIN","LN","LOCATE","LOG","LOG10","LOG1P","LOG2","LOWER","LPAD","LTRIM","MAP_FILTER","MAP_ZIP_WITH","MD5","MOD","MONOTONICALLY_INCREASING_ID","NAMED_STRUCT","NANVL","NEGATIVE","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARSE_URL","PI","PMOD","POSEXPLODE","POSEXPLODE_OUTER","POSITION","POSITIVE","POW","POWER","PRINTF","RADIANS","RAISE_ERROR","RAND","RANDN","RANDOM","REFLECT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_REPLACE","REPEAT","REPLACE","REVERSE","RIGHT","RINT","ROUND","RPAD","RTRIM","SCHEMA_OF_CSV","SENTENCES","SHA","SHA1","SHA2","SHIFTLEFT","SHIFTRIGHT","SHIFTRIGHTUNSIGNED","SIGN","SIGNUM","SIN","SINH","SMALLINT","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","TIMESTAMP","TINYINT","TO_CSV","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRY_ADD","TRY_DIVIDE","TYPEOF","UCASE","UNBASE64","UNHEX","UPPER","UUID","VERSION","WIDTH_BUCKET","XPATH","XPATH_BOOLEAN","XPATH_DOUBLE","XPATH_FLOAT","XPATH_INT","XPATH_LONG","XPATH_NUMBER","XPATH_SHORT","XPATH_STRING","XXHASH64","ZIP_WITH"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","DEC","NUMERIC","VARCHAR"]}),e9=S(["SELECT [ALL | DISTINCT]"]),e8=S(["WITH","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","SORT BY","CLUSTER BY","DISTRIBUTE BY","LIMIT","INSERT [INTO | OVERWRITE] [TABLE]","VALUES","INSERT OVERWRITE [LOCAL] DIRECTORY","LOAD DATA [LOCAL] INPATH","[OVERWRITE] INTO TABLE","CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),e5=S(["DROP TABLE [IF EXISTS]","ALTER TABLE","ADD COLUMNS","DROP {COLUMN | COLUMNS}","RENAME TO","RENAME COLUMN","ALTER COLUMN","TRUNCATE TABLE","LATERAL VIEW","ALTER DATABASE","ALTER VIEW","CREATE DATABASE","CREATE FUNCTION","DROP DATABASE","DROP FUNCTION","DROP VIEW","REPAIR TABLE","USE DATABASE","TABLESAMPLE","PIVOT","TRANSFORM","EXPLAIN","ADD FILE","ADD JAR","ANALYZE TABLE","CACHE TABLE","CLEAR CACHE","DESCRIBE DATABASE","DESCRIBE FUNCTION","DESCRIBE QUERY","DESCRIBE TABLE","LIST FILE","LIST JAR","REFRESH","REFRESH TABLE","REFRESH FUNCTION","RESET","SHOW COLUMNS","SHOW CREATE TABLE","SHOW DATABASES","SHOW FUNCTIONS","SHOW PARTITIONS","SHOW TABLE EXTENDED","SHOW TABLES","SHOW TBLPROPERTIES","SHOW VIEWS","UNCACHE TABLE"]),e7=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),te=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT] {ANTI | SEMI} JOIN","NATURAL [LEFT] {ANTI | SEMI} JOIN"]),tt=S(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),tn={tokenizerOptions:{reservedSelect:e9,reservedClauses:[...e8,...e5],reservedSetOperations:e7,reservedJoins:te,reservedPhrases:tt,supportsXor:!0,reservedKeywords:e6,reservedFunctionNames:e4,extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(e){return e.map((t,n)=>{let r=e[n-1]||c,i=e[n+1]||c;return d.WINDOW(t)&&i.type===a.OPEN_PAREN?{...t,type:a.RESERVED_FUNCTION_NAME}:"ITEMS"!==t.text||t.type!==a.RESERVED_KEYWORD||"COLLECTION"===r.text&&"TERMINATED"===i.text?t:{...t,type:a.IDENTIFIER,text:t.raw}})}},formatOptions:{onelineClauses:e5}},ta=D({scalar:["ABS","CHANGES","CHAR","COALESCE","FORMAT","GLOB","HEX","IFNULL","IIF","INSTR","LAST_INSERT_ROWID","LENGTH","LIKE","LIKELIHOOD","LIKELY","LOAD_EXTENSION","LOWER","LTRIM","NULLIF","PRINTF","QUOTE","RANDOM","RANDOMBLOB","REPLACE","ROUND","RTRIM","SIGN","SOUNDEX","SQLITE_COMPILEOPTION_GET","SQLITE_COMPILEOPTION_USED","SQLITE_OFFSET","SQLITE_SOURCE_ID","SQLITE_VERSION","SUBSTR","SUBSTRING","TOTAL_CHANGES","TRIM","TYPEOF","UNICODE","UNLIKELY","UPPER","ZEROBLOB"],aggregate:["AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL"],datetime:["DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME"],window:["row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value"],math:["ACOS","ACOSH","ASIN","ASINH","ATAN","ATAN2","ATANH","CEIL","CEILING","COS","COSH","DEGREES","EXP","FLOOR","LN","LOG","LOG","LOG10","LOG2","MOD","PI","POW","POWER","RADIANS","SIN","SINH","SQRT","TAN","TANH","TRUNC"],json:["JSON","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_ARRAY_LENGTH","JSON_EXTRACT","JSON_INSERT","JSON_OBJECT","JSON_PATCH","JSON_REMOVE","JSON_REPLACE","JSON_SET","JSON_TYPE","JSON_TYPE","JSON_VALID","JSON_QUOTE","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_EACH","JSON_TREE"],cast:["CAST"],dataTypes:["CHARACTER","VARCHAR","VARYING CHARACTER","NCHAR","NATIVE CHARACTER","NVARCHAR","NUMERIC","DECIMAL"]}),tr=D({all:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ANY","ARE","ARRAY","ALWAYS","ANALYZE","AS","ASC","ATTACH","AUTOINCREMENT","BEFORE","BEGIN","BETWEEN","BY","CASCADE","CASE","CAST","CHECK","COLLATE","COLUMN","COMMIT","CONFLICT","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","DATABASE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DETACH","DISTINCT","DO","DROP","EACH","ELSE","END","ESCAPE","EXCEPT","EXCLUDE","EXCLUSIVE","EXISTS","EXPLAIN","FAIL","FILTER","FIRST","FOLLOWING","FOR","FOREIGN","FROM","FULL","GENERATED","GLOB","GROUP","GROUPS","HAVING","IF","IGNORE","IMMEDIATE","IN","INDEX","INDEXED","INITIALLY","INNER","INSERT","INSTEAD","INTERSECT","INTO","IS","ISNULL","JOIN","KEY","LAST","LEFT","LIKE","LIMIT","MATCH","MATERIALIZED","NATURAL","NO","NOT","NOTHING","NOTNULL","NULL","NULLS","OF","OFFSET","ON","ONLY","OPEN","OR","ORDER","OTHERS","OUTER","OVER","PARTITION","PLAN","PRAGMA","PRECEDING","PRIMARY","QUERY","RAISE","RANGE","RECURSIVE","REFERENCES","REGEXP","REINDEX","RELEASE","RENAME","REPLACE","RESTRICT","RETURNING","RIGHT","ROLLBACK","ROW","ROWS","SAVEPOINT","SELECT","SET","TABLE","TEMP","TEMPORARY","THEN","TIES","TO","TRANSACTION","TRIGGER","UNBOUNDED","UNION","UNIQUE","UPDATE","USING","VACUUM","VALUES","VIEW","VIRTUAL","WHEN","WHERE","WINDOW","WITH","WITHOUT"]}),ti=S(["SELECT [ALL | DISTINCT]"]),to=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK] INTO","REPLACE INTO","VALUES","SET","CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ts=S(["UPDATE [OR ABORT | OR FAIL | OR IGNORE | OR REPLACE | OR ROLLBACK]","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME [COLUMN]","RENAME TO","SET SCHEMA"]),tE=S(["UNION [ALL]","EXCEPT","INTERSECT"]),tl=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tT=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN"]),tc={tokenizerOptions:{reservedSelect:ti,reservedClauses:[...to,...ts],reservedSetOperations:tE,reservedJoins:tl,reservedPhrases:tT,reservedKeywords:tr,reservedFunctionNames:ta,stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:ts}},tu=D({set:["GROUPING"],window:["RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER"],numeric:["POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET"],string:["SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE"],datetime:["CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP"],aggregate:["COUNT","AVG","MAX","MIN","SUM","STDDEV_POP","STDDEV_SAMP","VAR_SAMP","VAR_POP","COLLECT","FUSION","INTERSECTION","COVAR_POP","COVAR_SAMP","CORR","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SYY","REGR_SXY","PERCENTILE_CONT","PERCENTILE_DISC"],cast:["CAST"],caseAbbrev:["COALESCE","NULLIF"],nonStandard:["ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],dataTypes:["CHARACTER","CHAR","CHARACTER VARYING","CHAR VARYING","VARCHAR","CHARACTER LARGE OBJECT","CHAR LARGE OBJECT","CLOB","NATIONAL CHARACTER","NATIONAL CHAR","NCHAR","NATIONAL CHARACTER VARYING","NATIONAL CHAR VARYING","NCHAR VARYING","NATIONAL CHARACTER LARGE OBJECT","NCHAR LARGE OBJECT","NCLOB","BINARY","BINARY VARYING","VARBINARY","BINARY LARGE OBJECT","BLOB","NUMERIC","DECIMAL","DEC","TIME","TIMESTAMP"]}),td=D({all:["ALL","ALLOCATE","ALTER","ANY","ARE","ARRAY","AS","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BIGINT","BINARY","BLOB","BOOLEAN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHAR","CHARACTER","CHECK","CLOB","CLOSE","COALESCE","COLLATE","COLUMN","COMMIT","CONDITION","CONNECT","CONSTRAINT","CORRESPONDING","CREATE","CROSS","CUBE","CURRENT","CURRENT_CATALOG","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CYCLE","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DELETE","DEREF","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DOUBLE","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FLOAT","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","MULTISET","NATIONAL","NATURAL","NCHAR","NCLOB","NEW","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OF","OLD","ON","ONLY","OPEN","ORDER","OUT","OUTER","OVER","OVERLAPS","PARAMETER","PARTITION","PRECISION","PREPARE","PRIMARY","PROCEDURE","RANGE","READS","REAL","RECURSIVE","REF","REFERENCES","REFERENCING","RELEASE","RESULT","RETURN","RETURNS","REVOKE","RIGHT","ROLLBACK","ROLLUP","ROW","ROWS","SAVEPOINT","SCOPE","SCROLL","SEARCH","SECOND","SELECT","SENSITIVE","SESSION_USER","SET","SIMILAR","SMALLINT","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"]}),tR=S(["SELECT [ALL | DISTINCT]"]),tA=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [RECURSIVE] VIEW","CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),tS=S(["UPDATE","WHERE CURRENT OF","DELETE FROM","DROP TABLE","ALTER TABLE","ADD COLUMN","DROP [COLUMN]","RENAME COLUMN","RENAME TO","ALTER [COLUMN]","{SET | DROP} DEFAULT","ADD SCOPE","DROP SCOPE {CASCADE | RESTRICT}","RESTART WITH","TRUNCATE TABLE","SET SCHEMA"]),tp=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tI=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tN=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tO={tokenizerOptions:{reservedSelect:tR,reservedClauses:[...tA,...tS],reservedSetOperations:tp,reservedJoins:tI,reservedPhrases:tN,reservedKeywords:td,reservedFunctionNames:tu,stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:tS}},t_=D({all:["ABS","ACOS","ALL_MATCH","ANY_MATCH","APPROX_DISTINCT","APPROX_MOST_FREQUENT","APPROX_PERCENTILE","APPROX_SET","ARBITRARY","ARRAYS_OVERLAP","ARRAY_AGG","ARRAY_DISTINCT","ARRAY_EXCEPT","ARRAY_INTERSECT","ARRAY_JOIN","ARRAY_MAX","ARRAY_MIN","ARRAY_POSITION","ARRAY_REMOVE","ARRAY_SORT","ARRAY_UNION","ASIN","ATAN","ATAN2","AT_TIMEZONE","AVG","BAR","BETA_CDF","BING_TILE","BING_TILES_AROUND","BING_TILE_AT","BING_TILE_COORDINATES","BING_TILE_POLYGON","BING_TILE_QUADKEY","BING_TILE_ZOOM_LEVEL","BITWISE_AND","BITWISE_AND_AGG","BITWISE_LEFT_SHIFT","BITWISE_NOT","BITWISE_OR","BITWISE_OR_AGG","BITWISE_RIGHT_SHIFT","BITWISE_RIGHT_SHIFT_ARITHMETIC","BITWISE_XOR","BIT_COUNT","BOOL_AND","BOOL_OR","CARDINALITY","CAST","CBRT","CEIL","CEILING","CHAR2HEXINT","CHECKSUM","CHR","CLASSIFY","COALESCE","CODEPOINT","COLOR","COMBINATIONS","CONCAT","CONCAT_WS","CONTAINS","CONTAINS_SEQUENCE","CONVEX_HULL_AGG","CORR","COS","COSH","COSINE_SIMILARITY","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CRC32","CUME_DIST","CURRENT_CATALOG","CURRENT_DATE","CURRENT_GROUPS","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","DATE","DATE_ADD","DATE_DIFF","DATE_FORMAT","DATE_PARSE","DATE_TRUNC","DAY","DAY_OF_MONTH","DAY_OF_WEEK","DAY_OF_YEAR","DEGREES","DENSE_RANK","DOW","DOY","E","ELEMENT_AT","EMPTY_APPROX_SET","EVALUATE_CLASSIFIER_PREDICTIONS","EVERY","EXP","EXTRACT","FEATURES","FILTER","FIRST_VALUE","FLATTEN","FLOOR","FORMAT","FORMAT_DATETIME","FORMAT_NUMBER","FROM_BASE","FROM_BASE32","FROM_BASE64","FROM_BASE64URL","FROM_BIG_ENDIAN_32","FROM_BIG_ENDIAN_64","FROM_ENCODED_POLYLINE","FROM_GEOJSON_GEOMETRY","FROM_HEX","FROM_IEEE754_32","FROM_IEEE754_64","FROM_ISO8601_DATE","FROM_ISO8601_TIMESTAMP","FROM_ISO8601_TIMESTAMP_NANOS","FROM_UNIXTIME","FROM_UNIXTIME_NANOS","FROM_UTF8","GEOMETRIC_MEAN","GEOMETRY_FROM_HADOOP_SHAPE","GEOMETRY_INVALID_REASON","GEOMETRY_NEAREST_POINTS","GEOMETRY_TO_BING_TILES","GEOMETRY_UNION","GEOMETRY_UNION_AGG","GREATEST","GREAT_CIRCLE_DISTANCE","HAMMING_DISTANCE","HASH_COUNTS","HISTOGRAM","HMAC_MD5","HMAC_SHA1","HMAC_SHA256","HMAC_SHA512","HOUR","HUMAN_READABLE_SECONDS","IF","INDEX","INFINITY","INTERSECTION_CARDINALITY","INVERSE_BETA_CDF","INVERSE_NORMAL_CDF","IS_FINITE","IS_INFINITE","IS_JSON_SCALAR","IS_NAN","JACCARD_INDEX","JSON_ARRAY_CONTAINS","JSON_ARRAY_GET","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_EXTRACT","JSON_EXTRACT_SCALAR","JSON_FORMAT","JSON_PARSE","JSON_QUERY","JSON_SIZE","JSON_VALUE","KURTOSIS","LAG","LAST_DAY_OF_MONTH","LAST_VALUE","LEAD","LEARN_CLASSIFIER","LEARN_LIBSVM_CLASSIFIER","LEARN_LIBSVM_REGRESSOR","LEARN_REGRESSOR","LEAST","LENGTH","LEVENSHTEIN_DISTANCE","LINE_INTERPOLATE_POINT","LINE_INTERPOLATE_POINTS","LINE_LOCATE_POINT","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","LUHN_CHECK","MAKE_SET_DIGEST","MAP","MAP_AGG","MAP_CONCAT","MAP_ENTRIES","MAP_FILTER","MAP_FROM_ENTRIES","MAP_KEYS","MAP_UNION","MAP_VALUES","MAP_ZIP_WITH","MAX","MAX_BY","MD5","MERGE","MERGE_SET_DIGEST","MILLISECOND","MIN","MINUTE","MIN_BY","MOD","MONTH","MULTIMAP_AGG","MULTIMAP_FROM_ENTRIES","MURMUR3","NAN","NGRAMS","NONE_MATCH","NORMALIZE","NORMAL_CDF","NOW","NTH_VALUE","NTILE","NULLIF","NUMERIC_HISTOGRAM","OBJECTID","OBJECTID_TIMESTAMP","PARSE_DATA_SIZE","PARSE_DATETIME","PARSE_DURATION","PERCENT_RANK","PI","POSITION","POW","POWER","QDIGEST_AGG","QUARTER","RADIANS","RAND","RANDOM","RANK","REDUCE","REDUCE_AGG","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_LIKE","REGEXP_POSITION","REGEXP_REPLACE","REGEXP_SPLIT","REGRESS","REGR_INTERCEPT","REGR_SLOPE","RENDER","REPEAT","REPLACE","REVERSE","RGB","ROUND","ROW_NUMBER","RPAD","RTRIM","SECOND","SEQUENCE","SHA1","SHA256","SHA512","SHUFFLE","SIGN","SIMPLIFY_GEOMETRY","SIN","SKEWNESS","SLICE","SOUNDEX","SPATIAL_PARTITIONING","SPATIAL_PARTITIONS","SPLIT","SPLIT_PART","SPLIT_TO_MAP","SPLIT_TO_MULTIMAP","SPOOKY_HASH_V2_32","SPOOKY_HASH_V2_64","SQRT","STARTS_WITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRPOS","ST_AREA","ST_ASBINARY","ST_ASTEXT","ST_BOUNDARY","ST_BUFFER","ST_CENTROID","ST_CONTAINS","ST_CONVEXHULL","ST_COORDDIM","ST_CROSSES","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_ENDPOINT","ST_ENVELOPE","ST_ENVELOPEASPTS","ST_EQUALS","ST_EXTERIORRING","ST_GEOMETRIES","ST_GEOMETRYFROMTEXT","ST_GEOMETRYN","ST_GEOMETRYTYPE","ST_GEOMFROMBINARY","ST_INTERIORRINGN","ST_INTERIORRINGS","ST_INTERSECTION","ST_INTERSECTS","ST_ISCLOSED","ST_ISEMPTY","ST_ISRING","ST_ISSIMPLE","ST_ISVALID","ST_LENGTH","ST_LINEFROMTEXT","ST_LINESTRING","ST_MULTIPOINT","ST_NUMGEOMETRIES","ST_NUMINTERIORRING","ST_NUMPOINTS","ST_OVERLAPS","ST_POINT","ST_POINTN","ST_POINTS","ST_POLYGON","ST_RELATE","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_TOUCHES","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","SUBSTR","SUBSTRING","SUM","TAN","TANH","TDIGEST_AGG","TIMESTAMP_OBJECTID","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO_BASE","TO_BASE32","TO_BASE64","TO_BASE64URL","TO_BIG_ENDIAN_32","TO_BIG_ENDIAN_64","TO_CHAR","TO_DATE","TO_ENCODED_POLYLINE","TO_GEOJSON_GEOMETRY","TO_GEOMETRY","TO_HEX","TO_IEEE754_32","TO_IEEE754_64","TO_ISO8601","TO_MILLISECONDS","TO_SPHERICAL_GEOGRAPHY","TO_TIMESTAMP","TO_UNIXTIME","TO_UTF8","TRANSFORM","TRANSFORM_KEYS","TRANSFORM_VALUES","TRANSLATE","TRIM","TRIM_ARRAY","TRUNCATE","TRY","TRY_CAST","TYPEOF","UPPER","URL_DECODE","URL_ENCODE","URL_EXTRACT_FRAGMENT","URL_EXTRACT_HOST","URL_EXTRACT_PARAMETER","URL_EXTRACT_PATH","URL_EXTRACT_PORT","URL_EXTRACT_PROTOCOL","URL_EXTRACT_QUERY","UUID","VALUES_AT_QUANTILES","VALUE_AT_QUANTILE","VARIANCE","VAR_POP","VAR_SAMP","VERSION","WEEK","WEEK_OF_YEAR","WIDTH_BUCKET","WILSON_INTERVAL_LOWER","WILSON_INTERVAL_UPPER","WITH_TIMEZONE","WORD_STEM","XXHASH64","YEAR","YEAR_OF_WEEK","YOW","ZIP","ZIP_WITH"],rowPattern:["CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"]}),tg=D({all:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","ARRAY","AS","ASC","AT","AUTHORIZATION","BERNOULLI","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CATALOGS","COLUMN","COLUMNS","COMMENT","COMMIT","COMMITTED","CONDITIONAL","CONSTRAINT","COPARTITION","CREATE","CROSS","CUBE","CURRENT","CURRENT_PATH","CURRENT_ROLE","DATA","DEALLOCATE","DEFAULT","DEFINE","DEFINER","DELETE","DENY","DESC","DESCRIBE","DESCRIPTOR","DISTINCT","DISTRIBUTED","DOUBLE","DROP","ELSE","EMPTY","ENCODING","END","ERROR","ESCAPE","EXCEPT","EXCLUDING","EXECUTE","EXISTS","EXPLAIN","FALSE","FETCH","FINAL","FIRST","FOLLOWING","FOR","FROM","FULL","FUNCTIONS","GRANT","GRANTED","GRANTS","GRAPHVIZ","GROUP","GROUPING","GROUPS","HAVING","IGNORE","IN","INCLUDING","INITIAL","INNER","INPUT","INSERT","INTERSECT","INTERVAL","INTO","INVOKER","IO","IS","ISOLATION","JOIN","JSON","JSON_ARRAY","JSON_OBJECT","KEEP","KEY","KEYS","LAST","LATERAL","LEADING","LEFT","LEVEL","LIKE","LIMIT","LOCAL","LOGICAL","MATCH","MATCHED","MATCHES","MATCH_RECOGNIZE","MATERIALIZED","MEASURES","NATURAL","NEXT","NFC","NFD","NFKC","NFKD","NO","NONE","NOT","NULL","NULLS","OBJECT","OF","OFFSET","OMIT","ON","ONE","ONLY","OPTION","OR","ORDER","ORDINALITY","OUTER","OUTPUT","OVER","OVERFLOW","PARTITION","PARTITIONS","PASSING","PAST","PATH","PATTERN","PER","PERMUTE","PRECEDING","PRECISION","PREPARE","PRIVILEGES","PROPERTIES","PRUNE","QUOTES","RANGE","READ","RECURSIVE","REFRESH","RENAME","REPEATABLE","RESET","RESPECT","RESTRICT","RETURNING","REVOKE","RIGHT","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","RUNNING","SCALAR","SCHEMA","SCHEMAS","SECURITY","SEEK","SELECT","SERIALIZABLE","SESSION","SET","SETS","SHOW","SKIP","SOME","START","STATS","STRING","SUBSET","SYSTEM","TABLE","TABLES","TABLESAMPLE","TEXT","THEN","TIES","TIME","TIMESTAMP","TO","TRAILING","TRANSACTION","TRUE","TYPE","UESCAPE","UNBOUNDED","UNCOMMITTED","UNCONDITIONAL","UNION","UNIQUE","UNKNOWN","UNMATCHED","UNNEST","UPDATE","USE","USER","USING","UTF16","UTF32","UTF8","VALIDATE","VALUE","VALUES","VERBOSE","VIEW","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","ZONE"],types:["BIGINT","INT","INTEGER","SMALLINT","TINYINT","BOOLEAN","DATE","DECIMAL","REAL","DOUBLE","HYPERLOGLOG","QDIGEST","TDIGEST","P4HYPERLOGLOG","INTERVAL","TIMESTAMP","TIME","VARBINARY","VARCHAR","CHAR","ROW","ARRAY","MAP","JSON","JSON2016","IPADDRESS","GEOMETRY","UUID","SETDIGEST","JONIREGEXP","RE2JREGEXP","LIKEPATTERN","COLOR","CODEPOINTS","FUNCTION","JSONPATH"]}),tm=S(["SELECT [ALL | DISTINCT]"]),tC=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","CREATE [OR REPLACE] [MATERIALIZED] VIEW","CREATE TABLE [IF NOT EXISTS]","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),tL=S(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","ADD COLUMN [IF NOT EXISTS]","DROP COLUMN [IF EXISTS]","RENAME COLUMN [IF EXISTS]","RENAME TO","SET AUTHORIZATION [USER | ROLE]","SET PROPERTIES","EXECUTE","TRUNCATE TABLE","ALTER SCHEMA","ALTER MATERIALIZED VIEW","ALTER VIEW","CREATE SCHEMA","CREATE ROLE","DROP SCHEMA","DROP MATERIALIZED VIEW","DROP VIEW","DROP ROLE","EXPLAIN","ANALYZE","EXPLAIN ANALYZE","EXPLAIN ANALYZE VERBOSE","USE","COMMENT ON TABLE","COMMENT ON COLUMN","DESCRIBE INPUT","DESCRIBE OUTPUT","REFRESH MATERIALIZED VIEW","RESET SESSION","SET SESSION","SET PATH","SET TIME ZONE","SHOW GRANTS","SHOW CREATE TABLE","SHOW CREATE SCHEMA","SHOW CREATE VIEW","SHOW CREATE MATERIALIZED VIEW","SHOW TABLES","SHOW SCHEMAS","SHOW CATALOGS","SHOW COLUMNS","SHOW STATS FOR","SHOW ROLES","SHOW CURRENT ROLES","SHOW ROLE GRANTS","SHOW FUNCTIONS","SHOW SESSION"]),tb=S(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tf=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tD=S(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),th={tokenizerOptions:{reservedSelect:tm,reservedClauses:[...tC,...tL],reservedSetOperations:tb,reservedJoins:tf,reservedPhrases:tD,reservedKeywords:tg,reservedFunctionNames:t_,extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:tL}},tP=D({aggregate:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP"],analytic:["CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS"],configuration:["@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION"],conversion:["CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE"],cryptographic:["ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY"],cursor:["@@CURSOR_ROWS","@@FETCH_STATUS","CURSOR_STATUS"],dataType:["DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY"],datetime:["@@DATEFIRST","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_TIMEZONE_ID","DATEADD","DATEDIFF","DATEDIFF_BIG","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","JSON","ISJSON","JSON_VALUE","JSON_QUERY","JSON_MODIFY"],mathematical:["ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","CHOOSE","GREATEST","IIF","LEAST"],metadata:["@@PROCID","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FILEPROPERTYEX","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","NEXT VALUE FOR","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY"],ranking:["DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME"],security:["CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","DATABASE_PRINCIPAL_ID","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME"],string:["ASCII","CHAR","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER"],system:["$PARTITION","@@ERROR","@@IDENTITY","@@PACK_RECEIVED","@@ROWCOUNT","@@TRANCOUNT","BINARY_CHECKSUM","CHECKSUM","COMPRESS","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","CURRENT_TRANSACTION_ID","DECOMPRESS","ERROR_LINE","ERROR_MESSAGE","ERROR_NUMBER","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GET_FILESTREAM_TRANSACTION_CONTEXT","GETANSINULL","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","SESSION_CONTEXT","XACT_STATE"],statistical:["@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID"],trigger:["COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE"],caseAbbrev:["COALESCE","NULLIF"],dataTypes:["DECIMAL","NUMERIC","FLOAT","REAL","DATETIME2","DATETIMEOFFSET","TIME","CHAR","VARCHAR","NCHAR","NVARCHAR","BINARY","VARBINARY"]}),ty=D({standard:["ADD","ALL","ALTER","AND","ANY","AS","ASC","AUTHORIZATION","BACKUP","BEGIN","BETWEEN","BREAK","BROWSE","BULK","BY","CASCADE","CHECK","CHECKPOINT","CLOSE","CLUSTERED","COALESCE","COLLATE","COLUMN","COMMIT","COMPUTE","CONSTRAINT","CONTAINS","CONTAINSTABLE","CONTINUE","CONVERT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DBCC","DEALLOCATE","DECLARE","DEFAULT","DELETE","DENY","DESC","DISK","DISTINCT","DISTRIBUTED","DOUBLE","DROP","DUMP","ERRLVL","ESCAPE","EXEC","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FILE","FILLFACTOR","FOR","FOREIGN","FREETEXT","FREETEXTTABLE","FROM","FULL","FUNCTION","GOTO","GRANT","GROUP","HAVING","HOLDLOCK","IDENTITY","IDENTITYCOL","IDENTITY_INSERT","IF","IN","INDEX","INNER","INSERT","INTERSECT","INTO","IS","JOIN","KEY","KILL","LEFT","LIKE","LINENO","LOAD","MERGE","NATIONAL","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","PRECISION","PRIMARY","PRINT","PROC","PROCEDURE","PUBLIC","RAISERROR","READ","READTEXT","RECONFIGURE","REFERENCES","REPLICATION","RESTORE","RESTRICT","RETURN","REVERT","REVOKE","RIGHT","ROLLBACK","ROWCOUNT","ROWGUIDCOL","RULE","SAVE","SCHEMA","SECURITYAUDIT","SELECT","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","SESSION_USER","SET","SETUSER","SHUTDOWN","SOME","STATISTICS","SYSTEM_USER","TABLE","TABLESAMPLE","TEXTSIZE","THEN","TO","TOP","TRAN","TRANSACTION","TRIGGER","TRUNCATE","TRY_CONVERT","TSEQUAL","UNION","UNIQUE","UNPIVOT","UPDATE","UPDATETEXT","USE","USER","VALUES","VARYING","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT"],odbc:["ABSOLUTE","ACTION","ADA","ADD","ALL","ALLOCATE","ALTER","AND","ANY","ARE","AS","ASC","ASSERTION","AT","AUTHORIZATION","AVG","BEGIN","BETWEEN","BIT","BIT_LENGTH","BOTH","BY","CASCADE","CASCADED","CAST","CATALOG","CHAR","CHARACTER","CHARACTER_LENGTH","CHAR_LENGTH","CHECK","CLOSE","COALESCE","COLLATE","COLLATION","COLUMN","COMMIT","CONNECT","CONNECTION","CONSTRAINT","CONSTRAINTS","CONTINUE","CONVERT","CORRESPONDING","COUNT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATE","DAY","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFERRABLE","DEFERRED","DELETE","DESC","DESCRIBE","DESCRIPTOR","DIAGNOSTICS","DISCONNECT","DISTINCT","DOMAIN","DOUBLE","DROP","END-EXEC","ESCAPE","EXCEPTION","EXEC","EXECUTE","EXISTS","EXTERNAL","EXTRACT","FALSE","FETCH","FIRST","FLOAT","FOR","FOREIGN","FORTRAN","FOUND","FROM","FULL","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HAVING","HOUR","IDENTITY","IMMEDIATE","IN","INCLUDE","INDEX","INDICATOR","INITIALLY","INNER","INPUT","INSENSITIVE","INSERT","INT","INTEGER","INTERSECT","INTERVAL","INTO","IS","ISOLATION","JOIN","KEY","LANGUAGE","LAST","LEADING","LEFT","LEVEL","LIKE","LOCAL","LOWER","MATCH","MAX","MIN","MINUTE","MODULE","MONTH","NAMES","NATIONAL","NATURAL","NCHAR","NEXT","NO","NONE","NOT","NULL","NULLIF","NUMERIC","OCTET_LENGTH","OF","ONLY","OPEN","OPTION","OR","ORDER","OUTER","OUTPUT","OVERLAPS","PAD","PARTIAL","PASCAL","POSITION","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURE","PUBLIC","READ","REAL","REFERENCES","RELATIVE","RESTRICT","REVOKE","RIGHT","ROLLBACK","ROWS","SCHEMA","SCROLL","SECOND","SECTION","SELECT","SESSION","SESSION_USER","SET","SIZE","SMALLINT","SOME","SPACE","SQL","SQLCA","SQLCODE","SQLERROR","SQLSTATE","SQLWARNING","SUBSTRING","SUM","SYSTEM_USER","TABLE","TEMPORARY","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSACTION","TRANSLATE","TRANSLATION","TRIM","TRUE","UNION","UNIQUE","UNKNOWN","UPDATE","UPPER","USAGE","USER","VALUE","VALUES","VARCHAR","VARYING","VIEW","WHENEVER","WHERE","WITH","WORK","WRITE","YEAR","ZONE"]}),tM=S(["SELECT [ALL | DISTINCT]"]),tU=S(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET","CREATE [OR ALTER] [MATERIALIZED] VIEW","CREATE TABLE","CREATE [OR ALTER] {PROC | PROCEDURE}"]),tv=S(["UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","ADD SENSITIVITY CLASSIFICATION","ADD SIGNATURE","AGGREGATE","ANSI_DEFAULTS","ANSI_NULLS","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_PADDING","ANSI_WARNINGS","APPLICATION ROLE","ARITHABORT","ARITHIGNORE","ASSEMBLY","ASYMMETRIC KEY","AUTHORIZATION","AVAILABILITY GROUP","BACKUP","BACKUP CERTIFICATE","BACKUP MASTER KEY","BACKUP SERVICE MASTER KEY","BEGIN CONVERSATION TIMER","BEGIN DIALOG CONVERSATION","BROKER PRIORITY","BULK INSERT","CERTIFICATE","CLOSE MASTER KEY","CLOSE SYMMETRIC KEY","COLLATE","COLUMN ENCRYPTION KEY","COLUMN MASTER KEY","COLUMNSTORE INDEX","CONCAT_NULL_YIELDS_NULL","CONTEXT_INFO","CONTRACT","CREDENTIAL","CRYPTOGRAPHIC PROVIDER","CURSOR_CLOSE_ON_COMMIT","DATABASE","DATABASE AUDIT SPECIFICATION","DATABASE ENCRYPTION KEY","DATABASE HADR","DATABASE SCOPED CONFIGURATION","DATABASE SCOPED CREDENTIAL","DATABASE SET","DATEFIRST","DATEFORMAT","DEADLOCK_PRIORITY","DENY","DENY XML","DISABLE TRIGGER","ENABLE TRIGGER","END CONVERSATION","ENDPOINT","EVENT NOTIFICATION","EVENT SESSION","EXECUTE AS","EXTERNAL DATA SOURCE","EXTERNAL FILE FORMAT","EXTERNAL LANGUAGE","EXTERNAL LIBRARY","EXTERNAL RESOURCE POOL","EXTERNAL TABLE","FIPS_FLAGGER","FMTONLY","FORCEPLAN","FULLTEXT CATALOG","FULLTEXT INDEX","FULLTEXT STOPLIST","FUNCTION","GET CONVERSATION GROUP","GET_TRANSMISSION_STATUS","GRANT","GRANT XML","IDENTITY_INSERT","IMPLICIT_TRANSACTIONS","INDEX","LANGUAGE","LOCK_TIMEOUT","LOGIN","MASTER KEY","MESSAGE TYPE","MOVE CONVERSATION","NOCOUNT","NOEXEC","NUMERIC_ROUNDABORT","OFFSETS","OPEN MASTER KEY","OPEN SYMMETRIC KEY","PARSEONLY","PARTITION FUNCTION","PARTITION SCHEME","PROCEDURE","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUOTED_IDENTIFIER","RECEIVE","REMOTE SERVICE BINDING","REMOTE_PROC_TRANSACTIONS","RESOURCE GOVERNOR","RESOURCE POOL","RESTORE","RESTORE FILELISTONLY","RESTORE HEADERONLY","RESTORE LABELONLY","RESTORE MASTER KEY","RESTORE REWINDONLY","RESTORE SERVICE MASTER KEY","RESTORE VERIFYONLY","REVERT","REVOKE","REVOKE XML","ROLE","ROUTE","ROWCOUNT","RULE","SCHEMA","SEARCH PROPERTY LIST","SECURITY POLICY","SELECTIVE XML INDEX","SEND","SENSITIVITY CLASSIFICATION","SEQUENCE","SERVER AUDIT","SERVER AUDIT SPECIFICATION","SERVER CONFIGURATION","SERVER ROLE","SERVICE","SERVICE MASTER KEY","SETUSER","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SIGNATURE","SPATIAL INDEX","STATISTICS","STATISTICS IO","STATISTICS PROFILE","STATISTICS TIME","STATISTICS XML","SYMMETRIC KEY","SYNONYM","TABLE","TABLE IDENTITY","TEXTSIZE","TRANSACTION ISOLATION LEVEL","TRIGGER","TYPE","UPDATE STATISTICS","USER","WORKLOAD GROUP","XACT_ABORT","XML INDEX","XML SCHEMA COLLECTION"]),tw=S(["UNION [ALL]","EXCEPT","INTERSECT"]),tG=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),tk=S(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),tF={tokenizerOptions:{reservedSelect:tM,reservedClauses:[...tU,...tv],reservedSetOperations:tw,reservedJoins:tG,reservedPhrases:tk,reservedKeywords:ty,reservedFunctionNames:tP,nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]}],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:tv}},tx=D({all:["ABORT","ABSOLUTE","ACCESS","ACCESSIBLE","ACCOUNT","ACTION","ACTIVE","ADD","ADMIN","AFTER","AGAINST","AGGREGATE","AGGREGATES","AGGREGATOR","AGGREGATOR_ID","AGGREGATOR_PLAN_HASH","AGGREGATORS","ALGORITHM","ALL","ALSO","ALTER","ALWAYS","ANALYZE","AND","ANY","ARGHISTORY","ARRANGE","ARRANGEMENT","ARRAY","AS","ASC","ASCII","ASENSITIVE","ASM","ASSERTION","ASSIGNMENT","AST","ASYMMETRIC","ASYNC","AT","ATTACH","ATTRIBUTE","AUTHORIZATION","AUTO","AUTO_INCREMENT","AUTO_REPROVISION","AUTOSTATS","AUTOSTATS_CARDINALITY_MODE","AUTOSTATS_ENABLED","AUTOSTATS_HISTOGRAM_MODE","AUTOSTATS_SAMPLING","AVAILABILITY","AVG","AVG_ROW_LENGTH","AVRO","AZURE","BACKGROUND","_BACKGROUND_THREADS_FOR_CLEANUP","BACKUP","BACKUP_HISTORY","BACKUP_ID","BACKWARD","BATCH","BATCHES","BATCH_INTERVAL","_BATCH_SIZE_LIMIT","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","_BINARY","BIT","BLOB","BOOL","BOOLEAN","BOOTSTRAP","BOTH","_BT","BTREE","BUCKET_COUNT","BUCKETS","BY","BYTE","BYTE_LENGTH","CACHE","CALL","CALL_FOR_PIPELINE","CALLED","CAPTURE","CASCADE","CASCADED","CASE","CATALOG","CHAIN","CHANGE","CHAR","CHARACTER","CHARACTERISTICS","CHARSET","CHECK","CHECKPOINT","_CHECK_CAN_CONNECT","_CHECK_CONSISTENCY","CHECKSUM","_CHECKSUM","CLASS","CLEAR","CLIENT","CLIENT_FOUND_ROWS","CLOSE","CLUSTER","CLUSTERED","CNF","COALESCE","COLLATE","COLLATION","COLUMN","COLUMNAR","COLUMNS","COLUMNSTORE","COLUMNSTORE_SEGMENT_ROWS","COMMENT","COMMENTS","COMMIT","COMMITTED","_COMMIT_LOG_TAIL","COMPACT","COMPILE","COMPRESSED","COMPRESSION","CONCURRENT","CONCURRENTLY","CONDITION","CONFIGURATION","CONNECTION","CONNECTIONS","CONFIG","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","_CONTINUE_REPLAY","CONVERSION","CONVERT","COPY","_CORE","COST","CREATE","CREDENTIALS","CROSS","CUBE","CSV","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_SCHEMA","CURRENT_SECURITY_GROUPS","CURRENT_SECURITY_ROLES","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATABASES","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DESC","DESCRIBE","DETACH","DETERMINISTIC","DICTIONARY","DIFFERENTIAL","DIRECTORY","DISABLE","DISCARD","_DISCONNECT","DISK","DISTINCT","DISTINCTROW","DISTRIBUTED_JOINS","DIV","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","_DROP_PROFILE","DUAL","DUMP","DUPLICATE","DURABILITY","DYNAMIC","EARLIEST","EACH","ECHO","ELECTION","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCODING","ENCRYPTED","END","ENGINE","ENGINES","ENUM","ERRORS","ESCAPE","ESCAPED","ESTIMATE","EVENT","EVENTS","EXCEPT","EXCLUDE","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTENSION","EXTERNAL","EXTERNAL_HOST","EXTERNAL_PORT","EXTRACTOR","EXTRACTORS","EXTRA_JOIN","_FAILOVER","FAILED_LOGIN_ATTEMPTS","FAILURE","FALSE","FAMILY","FAULT","FETCH","FIELDS","FILE","FILES","FILL","FIX_ALTER","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWING","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREGROUND","FOREIGN","FORMAT","FORWARD","FREEZE","FROM","FS","_FSYNC","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GC","GCS","GET_FORMAT","_GC","_GCX","GENERATE","GEOGRAPHY","GEOGRAPHYPOINT","GEOMETRY","GEOMETRYPOINT","GLOBAL","_GLOBAL_VERSION_TIMESTAMP","GRANT","GRANTED","GRANTS","GROUP","GROUPING","GROUPS","GZIP","HANDLE","HANDLER","HARD_CPU_LIMIT_PERCENTAGE","HASH","HAS_TEMP_TABLES","HAVING","HDFS","HEADER","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HISTOGRAM","HOLD","HOLDING","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMUTABLE","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INCREMENTAL","INDEX","INDEXES","INFILE","INHERIT","INHERITS","_INIT_PROFILE","INIT","INITIALIZE","INITIALLY","INJECT","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTANCE","INSTEAD","IN","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","_INTERNAL_DYNAMIC_TYPECAST","INTERPRETER_MODE","INTERSECT","INTERVAL","INTO","INVOKER","ISOLATION","ITERATE","JOIN","JSON","KAFKA","KEY","KEY_BLOCK_SIZE","KEYS","KILL","KILLALL","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LATEST","LC_COLLATE","LC_CTYPE","LEAD","LEADING","LEAF","LEAKPROOF","LEAVE","LEAVES","LEFT","LEVEL","LICENSE","LIKE","LIMIT","LINES","LISTEN","LLVM","LOADDATA_WHERE","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCK","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","_LS","LZ4","MANAGEMENT","_MANAGEMENT_THREAD","MAPPING","MASTER","MATCH","MATERIALIZED","MAXVALUE","MAX_CONCURRENCY","MAX_ERRORS","MAX_PARTITIONS_PER_BATCH","MAX_QUEUE_DEPTH","MAX_RETRIES_PER_BATCH_PARTITION","MAX_ROWS","MBC","MPL","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMBER","MEMORY","MEMORY_PERCENTAGE","_MEMSQL_TABLE_ID_LOOKUP","MEMSQL","MEMSQL_DESERIALIZE","MEMSQL_IMITATING_KAFKA","MEMSQL_SERIALIZE","MERGE","METADATA","MICROSECOND","MIDDLEINT","MIN_ROWS","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MINVALUE","MOD","MODE","MODEL","MODIFIES","MODIFY","MONTH","MOVE","MPL","NAMES","NAMED","NAMESPACE","NATIONAL","NATURAL","NCHAR","NEXT","NO","NODE","NONE","NO_QUERY_REWRITE","NOPARAM","NOT","NOTHING","NOTIFY","NOWAIT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NORELY","NTH_VALUE","NTILE","NULL","NULLCOLS","NULLS","NUMERIC","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OIDS","ON","ONLINE","ONLY","OPEN","OPERATOR","OPTIMIZATION","OPTIMIZE","OPTIMIZER","OPTIMIZER_STATE","OPTION","OPTIONS","OPTIONALLY","OR","ORDER","ORDERED_SERIALIZE","ORPHAN","OUT","OUT_OF_ORDER","OUTER","OUTFILE","OVER","OVERLAPS","OVERLAY","OWNED","OWNER","PACK_KEYS","PAIRED","PARSER","PARQUET","PARTIAL","PARTITION","PARTITION_ID","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PASSWORD_LOCK_TIME","PAUSE","_PAUSE_REPLAY","PERIODIC","PERSISTED","PIPELINE","PIPELINES","PLACING","PLAN","PLANS","PLANCACHE","PLUGINS","POOL","POOLS","PORT","PRECEDING","PRECISION","PREPARE","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROCEDURES","PROCESS","PROCESSLIST","PROFILE","PROFILES","PROGRAM","PROMOTE","PROXY","PURGE","QUARTER","QUERIES","QUERY","QUERY_TIMEOUT","QUEUE","RANGE","RANK","READ","_READ","READS","REAL","REASSIGN","REBALANCE","RECHECK","RECORD","RECURSIVE","REDUNDANCY","REDUNDANT","REF","REFERENCE","REFERENCES","REFRESH","REGEXP","REINDEX","RELATIVE","RELEASE","RELOAD","RELY","REMOTE","REMOVE","RENAME","REPAIR","_REPAIR_TABLE","REPEAT","REPEATABLE","_REPL","_REPROVISIONING","REPLACE","REPLICA","REPLICATE","REPLICATING","REPLICATION","REQUIRE","RESOURCE","RESOURCE_POOL","RESET","RESTART","RESTORE","RESTRICT","RESULT","_RESURRECT","RETRY","RETURN","RETURNING","RETURNS","REVERSE","RG_POOL","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","ROLES","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_COUNT","ROW_FORMAT","ROW_NUMBER","ROWS","ROWSTORE","RULE","_RPC","RUNNING","S3","SAFE","SAVE","SAVEPOINT","SCALAR","SCHEMA","SCHEMAS","SCHEMA_BINDING","SCROLL","SEARCH","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SEMI_JOIN","_SEND_THREADS","SENSITIVE","SEPARATOR","SEQUENCE","SEQUENCES","SERIAL","SERIALIZABLE","SERIES","SERVICE_USER","SERVER","SESSION","SESSION_USER","SET","SETOF","SECURITY_LISTS_INTERSECT","SHA","SHARD","SHARDED","SHARDED_ID","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMILAR","SIMPLE","SITE","SKIP","SKIPPED_BATCHES","__SLEEP","SMALLINT","SNAPSHOT","_SNAPSHOT","_SNAPSHOTS","SOFT_CPU_LIMIT_PERCENTAGE","SOME","SONAME","SPARSE","SPATIAL","SPATIAL_CHECK_INDEX","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_MODE","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STDIN","STDOUT","STOP","STORAGE","STRAIGHT_JOIN","STRICT","STRING","STRIP","SUCCESS","SUPER","SYMMETRIC","SYNC_SNAPSHOT","SYNC","_SYNC","_SYNC2","_SYNC_PARTITIONS","_SYNC_SNAPSHOT","SYNCHRONIZE","SYSID","SYSTEM","TABLE","TABLE_CHECKSUM","TABLES","TABLESPACE","TAGS","TARGET_SIZE","TASK","TEMP","TEMPLATE","TEMPORARY","TEMPTABLE","_TERM_BUMP","TERMINATE","TERMINATED","TEXT","THEN","TIME","TIMEOUT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIMEZONE","TINYBLOB","TINYINT","TINYTEXT","TO","TRACELOGS","TRADITIONAL","TRAILING","TRANSFORM","TRANSACTION","_TRANSACTIONS_EXPERIMENTAL","TREAT","TRIGGER","TRIGGERS","TRUE","TRUNC","TRUNCATE","TRUSTED","TWO_PHASE","_TWOPCID","TYPE","TYPES","UNBOUNDED","UNCOMMITTED","UNDEFINED","UNDO","UNENCRYPTED","UNENFORCED","UNHOLD","UNICODE","UNION","UNIQUE","_UNITTEST","UNKNOWN","UNLISTEN","_UNLOAD","UNLOCK","UNLOGGED","UNPIVOT","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USERS","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARIADIC","VARYING","VERBOSE","VIEW","VOID","VOLATILE","VOTING","WAIT","_WAKE","WARNINGS","WEEK","WHEN","WHERE","WHILE","WHITESPACE","WINDOW","WITH","WITHOUT","WITHIN","_WM_HEARTBEAT","WORK","WORKLOAD","WRAPPER","WRITE","XACT_ID","XOR","YEAR","YEAR_MONTH","YES","ZEROFILL","ZONE"]}),tB=D({all:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_COUNT_DISTINCT_ACCUMULATE","APPROX_COUNT_DISTINCT_COMBINE","APPROX_COUNT_DISTINCT_ESTIMATE","APPROX_GEOGRAPHY_INTERSECTS","APPROX_PERCENTILE","ASCII","ASIN","ATAN","ATAN2","AVG","BIN","BINARY","BIT_AND","BIT_COUNT","BIT_OR","BIT_XOR","CAST","CEIL","CEILING","CHAR","CHARACTER_LENGTH","CHAR_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COLLECT","CONCAT","CONCAT_WS","CONNECTION_ID","CONV","CONVERT","CONVERT_TZ","COS","COT","COUNT","CUME_DIST","CURDATE","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATEDIFF","DATE_FORMAT","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DENSE_RANK","DIV","DOT_PRODUCT","ELT","EUCLIDEAN_DISTANCE","EXP","EXTRACT","FIELD","FIRST","FIRST_VALUE","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GEOGRAPHY_AREA","GEOGRAPHY_CONTAINS","GEOGRAPHY_DISTANCE","GEOGRAPHY_INTERSECTS","GEOGRAPHY_LATITUDE","GEOGRAPHY_LENGTH","GEOGRAPHY_LONGITUDE","GEOGRAPHY_POINT","GEOGRAPHY_WITHIN_DISTANCE","GEOMETRY_AREA","GEOMETRY_CONTAINS","GEOMETRY_DISTANCE","GEOMETRY_FILTER","GEOMETRY_INTERSECTS","GEOMETRY_LENGTH","GEOMETRY_POINT","GEOMETRY_WITHIN_DISTANCE","GEOMETRY_X","GEOMETRY_Y","GREATEST","GROUPING","GROUP_CONCAT","HEX","HIGHLIGHT","HOUR","ICU_VERSION","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INITCAP","INSERT","INSTR","INTERVAL","IS","IS NULL","JSON_AGG","JSON_ARRAY_CONTAINS_DOUBLE","JSON_ARRAY_CONTAINS_JSON","JSON_ARRAY_CONTAINS_STRING","JSON_ARRAY_PUSH_DOUBLE","JSON_ARRAY_PUSH_JSON","JSON_ARRAY_PUSH_STRING","JSON_DELETE_KEY","JSON_EXTRACT_DOUBLE","JSON_EXTRACT_JSON","JSON_EXTRACT_STRING","JSON_EXTRACT_BIGINT","JSON_GET_TYPE","JSON_LENGTH","JSON_SET_DOUBLE","JSON_SET_JSON","JSON_SET_STRING","JSON_SPLICE_DOUBLE","JSON_SPLICE_JSON","JSON_SPLICE_STRING","LAG","LAST_DAY","LAST_VALUE","LCASE","LEAD","LEAST","LEFT","LENGTH","LIKE","LN","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LPAD","LTRIM","MATCH","MAX","MD5","MEDIAN","MICROSECOND","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","NOT","NOW","NTH_VALUE","NTILE","NULLIF","OCTET_LENGTH","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIVOT","POSITION","POW","POWER","QUARTER","QUOTE","RADIANS","RAND","RANK","REGEXP","REPEAT","REPLACE","REVERSE","RIGHT","RLIKE","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCALAR","SCHEMA","SEC_TO_TIME","SHA1","SHA2","SIGMOID","SIGN","SIN","SLEEP","SPLIT","SOUNDEX","SOUNDS LIKE","SOURCE_POS_WAIT","SPACE","SQRT","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUM","SYS_GUID","TAN","TIME","TIMEDIFF","TIME_BUCKET","TIME_FORMAT","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TIME_TO_SEC","TO_BASE64","TO_CHAR","TO_DAYS","TO_JSON","TO_NUMBER","TO_SECONDS","TO_TIMESTAMP","TRIM","TRUNC","TRUNCATE","UCASE","UNHEX","UNIX_TIMESTAMP","UPDATEXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR","BIT","TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","DECIMAL","DEC","NUMERIC","FIXED","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DATETIME","TIMESTAMP","TIME","YEAR","CHAR","NATIONAL CHAR","VARCHAR","NATIONAL VARCHAR","BINARY","VARBINARY","BLOB","TEXT","ENUM"]}),tH=S(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),tY=S(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","SET","CREATE VIEW","CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),tV=S(["UPDATE","DELETE [FROM]","DROP [TEMPORARY] TABLE [IF EXISTS]","ALTER [ONLINE] TABLE","ADD [COLUMN]","ADD [UNIQUE] {INDEX | KEY}","DROP [COLUMN]","MODIFY [COLUMN]","CHANGE","RENAME [TO | AS]","TRUNCATE [TABLE]","ADD AGGREGATOR","ADD LEAF","AGGREGATOR SET AS MASTER","ALTER DATABASE","ALTER PIPELINE","ALTER RESOURCE POOL","ALTER USER","ALTER VIEW","ANALYZE TABLE","ATTACH DATABASE","ATTACH LEAF","ATTACH LEAF ALL","BACKUP DATABASE","BINLOG","BOOTSTRAP AGGREGATOR","CACHE INDEX","CALL","CHANGE","CHANGE MASTER TO","CHANGE REPLICATION FILTER","CHANGE REPLICATION SOURCE TO","CHECK BLOB CHECKSUM","CHECK TABLE","CHECKSUM TABLE","CLEAR ORPHAN DATABASES","CLONE","COMMIT","CREATE DATABASE","CREATE GROUP","CREATE INDEX","CREATE LINK","CREATE MILESTONE","CREATE PIPELINE","CREATE RESOURCE POOL","CREATE ROLE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DETACH DATABASE","DETACH PIPELINE","DROP DATABASE","DROP FUNCTION","DROP INDEX","DROP LINK","DROP PIPELINE","DROP PROCEDURE","DROP RESOURCE POOL","DROP ROLE","DROP USER","DROP VIEW","EXECUTE","EXPLAIN","FLUSH","FORCE","GRANT","HANDLER","HELP","KILL CONNECTION","KILLALL QUERIES","LOAD DATA","LOAD INDEX INTO CACHE","LOAD XML","LOCK INSTANCE FOR BACKUP","LOCK TABLES","MASTER_POS_WAIT","OPTIMIZE TABLE","PREPARE","PURGE BINARY LOGS","REBALANCE PARTITIONS","RELEASE SAVEPOINT","REMOVE AGGREGATOR","REMOVE LEAF","REPAIR TABLE","REPLACE","REPLICATE DATABASE","RESET","RESET MASTER","RESET PERSIST","RESET REPLICA","RESET SLAVE","RESTART","RESTORE DATABASE","RESTORE REDUNDANCY","REVOKE","ROLLBACK","ROLLBACK TO SAVEPOINT","SAVEPOINT","SET CHARACTER SET","SET DEFAULT ROLE","SET NAMES","SET PASSWORD","SET RESOURCE GROUP","SET ROLE","SET TRANSACTION","SHOW","SHOW CHARACTER SET","SHOW COLLATION","SHOW COLUMNS","SHOW CREATE DATABASE","SHOW CREATE FUNCTION","SHOW CREATE PIPELINE","SHOW CREATE PROCEDURE","SHOW CREATE TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW FUNCTION CODE","SHOW FUNCTION STATUS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCEDURE CODE","SHOW PROCEDURE STATUS","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW RELAYLOG EVENTS","SHOW REPLICA STATUS","SHOW REPLICAS","SHOW SLAVE","SHOW SLAVE HOSTS","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW VARIABLES","SHOW WARNINGS","SHUTDOWN","SNAPSHOT DATABASE","SOURCE_POS_WAIT","START GROUP_REPLICATION","START PIPELINE","START REPLICA","START SLAVE","START TRANSACTION","STOP GROUP_REPLICATION","STOP PIPELINE","STOP REPLICA","STOP REPLICATING","STOP SLAVE","TEST PIPELINE","UNLOCK INSTANCE","UNLOCK TABLES","USE","XA","ITERATE","LEAVE","LOOP","REPEAT","RETURN","WHILE"]),tW=S(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),t$=S(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tX=S(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),tK={tokenizerOptions:{reservedSelect:tH,reservedClauses:[...tY,...tV],reservedSetOperations:tW,reservedJoins:t$,reservedPhrases:tX,reservedKeywords:tx,reservedFunctionNames:tB,stringTypes:['""-qq-bs',"''-qq-bs",{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:["``"],identChars:{first:"$",rest:"$",allowFirstCharNumber:!0},variableTypes:[{regex:"@@?[A-Za-z0-9_$]+"},{quote:"``",prefixes:["@"],requirePrefix:!0}],lineCommentTypes:["--","#"],operators:[":=","&","|","^","~","<<",">>","<=>","&&","||","::","::$","::%",":>","!:>"],postProcess:function(e){return e.map((t,n)=>{let r=e[n+1]||c;return d.SET(t)&&"("===r.text?{...t,type:a.RESERVED_FUNCTION_NAME}:t})}},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:tV}},tz=D({all:["ABS","ACOS","ACOSH","ADD_MONTHS","ALL_USER_NAMES","ANY_VALUE","APPROX_COUNT_DISTINCT","APPROX_PERCENTILE","APPROX_PERCENTILE_ACCUMULATE","APPROX_PERCENTILE_COMBINE","APPROX_PERCENTILE_ESTIMATE","APPROX_TOP_K","APPROX_TOP_K_ACCUMULATE","APPROX_TOP_K_COMBINE","APPROX_TOP_K_ESTIMATE","APPROXIMATE_JACCARD_INDEX","APPROXIMATE_SIMILARITY","ARRAY_AGG","ARRAY_APPEND","ARRAY_CAT","ARRAY_COMPACT","ARRAY_CONSTRUCT","ARRAY_CONSTRUCT_COMPACT","ARRAY_CONTAINS","ARRAY_INSERT","ARRAY_INTERSECTION","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_SIZE","ARRAY_SLICE","ARRAY_TO_STRING","ARRAY_UNION_AGG","ARRAY_UNIQUE_AGG","ARRAYS_OVERLAP","AS_ARRAY","AS_BINARY","AS_BOOLEAN","AS_CHAR","AS_VARCHAR","AS_DATE","AS_DECIMAL","AS_NUMBER","AS_DOUBLE","AS_REAL","AS_INTEGER","AS_OBJECT","AS_TIME","AS_TIMESTAMP_LTZ","AS_TIMESTAMP_NTZ","AS_TIMESTAMP_TZ","ASCII","ASIN","ASINH","ATAN","ATAN2","ATANH","AUTO_REFRESH_REGISTRATION_HISTORY","AUTOMATIC_CLUSTERING_HISTORY","AVG","BASE64_DECODE_BINARY","BASE64_DECODE_STRING","BASE64_ENCODE","BIT_LENGTH","BITAND","BITAND_AGG","BITMAP_BIT_POSITION","BITMAP_BUCKET_NUMBER","BITMAP_CONSTRUCT_AGG","BITMAP_COUNT","BITMAP_OR_AGG","BITNOT","BITOR","BITOR_AGG","BITSHIFTLEFT","BITSHIFTRIGHT","BITXOR","BITXOR_AGG","BOOLAND","BOOLAND_AGG","BOOLNOT","BOOLOR","BOOLOR_AGG","BOOLXOR","BOOLXOR_AGG","BUILD_SCOPED_FILE_URL","BUILD_STAGE_FILE_URL","CASE","CAST","CBRT","CEIL","CHARINDEX","CHECK_JSON","CHECK_XML","CHR","CHAR","COALESCE","COLLATE","COLLATION","COMPLETE_TASK_GRAPHS","COMPRESS","CONCAT","CONCAT_WS","CONDITIONAL_CHANGE_EVENT","CONDITIONAL_TRUE_EVENT","CONTAINS","CONVERT_TIMEZONE","COPY_HISTORY","CORR","COS","COSH","COT","COUNT","COUNT_IF","COVAR_POP","COVAR_SAMP","CUME_DIST","CURRENT_ACCOUNT","CURRENT_AVAILABLE_ROLES","CURRENT_CLIENT","CURRENT_DATABASE","CURRENT_DATE","CURRENT_IP_ADDRESS","CURRENT_REGION","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SECONDARY_ROLES","CURRENT_SESSION","CURRENT_STATEMENT","CURRENT_TASK_GRAPHS","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSACTION","CURRENT_USER","CURRENT_VERSION","CURRENT_WAREHOUSE","DATA_TRANSFER_HISTORY","DATABASE_REFRESH_HISTORY","DATABASE_REFRESH_PROGRESS","DATABASE_REFRESH_PROGRESS_BY_JOB","DATABASE_STORAGE_USAGE_HISTORY","DATE_FROM_PARTS","DATE_PART","DATE_TRUNC","DATEADD","DATEDIFF","DAYNAME","DECODE","DECOMPRESS_BINARY","DECOMPRESS_STRING","DECRYPT","DECRYPT_RAW","DEGREES","DENSE_RANK","DIV0","EDITDISTANCE","ENCRYPT","ENCRYPT_RAW","ENDSWITH","EQUAL_NULL","EXP","EXPLAIN_JSON","EXTERNAL_FUNCTIONS_HISTORY","EXTERNAL_TABLE_FILES","EXTERNAL_TABLE_FILE_REGISTRATION_HISTORY","EXTRACT","EXTRACT_SEMANTIC_CATEGORIES","FACTORIAL","FIRST_VALUE","FLATTEN","FLOOR","GENERATE_COLUMN_DESCRIPTION","GENERATOR","GET","GET_ABSOLUTE_PATH","GET_DDL","GET_IGNORE_CASE","GET_OBJECT_REFERENCES","GET_PATH","GET_PRESIGNED_URL","GET_RELATIVE_PATH","GET_STAGE_LOCATION","GETBIT","GREATEST","GROUPING","GROUPING_ID","HASH","HASH_AGG","HAVERSINE","HEX_DECODE_BINARY","HEX_DECODE_STRING","HEX_ENCODE","HLL","HLL_ACCUMULATE","HLL_COMBINE","HLL_ESTIMATE","HLL_EXPORT","HLL_IMPORT","HOUR","MINUTE","SECOND","IFF","IFNULL","ILIKE","ILIKE ANY","INFER_SCHEMA","INITCAP","INSERT","INVOKER_ROLE","INVOKER_SHARE","IS_ARRAY","IS_BINARY","IS_BOOLEAN","IS_CHAR","IS_VARCHAR","IS_DATE","IS_DATE_VALUE","IS_DECIMAL","IS_DOUBLE","IS_REAL","IS_GRANTED_TO_INVOKER_ROLE","IS_INTEGER","IS_NULL_VALUE","IS_OBJECT","IS_ROLE_IN_SESSION","IS_TIME","IS_TIMESTAMP_LTZ","IS_TIMESTAMP_NTZ","IS_TIMESTAMP_TZ","JAROWINKLER_SIMILARITY","JSON_EXTRACT_PATH_TEXT","KURTOSIS","LAG","LAST_DAY","LAST_QUERY_ID","LAST_TRANSACTION","LAST_VALUE","LEAD","LEAST","LEFT","LENGTH","LEN","LIKE","LIKE ALL","LIKE ANY","LISTAGG","LN","LOCALTIME","LOCALTIMESTAMP","LOG","LOGIN_HISTORY","LOGIN_HISTORY_BY_USER","LOWER","LPAD","LTRIM","MATERIALIZED_VIEW_REFRESH_HISTORY","MD5","MD5_HEX","MD5_BINARY","MD5_NUMBER — Obsoleted","MD5_NUMBER_LOWER64","MD5_NUMBER_UPPER64","MEDIAN","MIN","MAX","MINHASH","MINHASH_COMBINE","MOD","MODE","MONTHNAME","MONTHS_BETWEEN","NEXT_DAY","NORMAL","NTH_VALUE","NTILE","NULLIF","NULLIFZERO","NVL","NVL2","OBJECT_AGG","OBJECT_CONSTRUCT","OBJECT_CONSTRUCT_KEEP_NULL","OBJECT_DELETE","OBJECT_INSERT","OBJECT_KEYS","OBJECT_PICK","OCTET_LENGTH","PARSE_IP","PARSE_JSON","PARSE_URL","PARSE_XML","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PI","PIPE_USAGE_HISTORY","POLICY_CONTEXT","POLICY_REFERENCES","POSITION","POW","POWER","PREVIOUS_DAY","QUERY_ACCELERATION_HISTORY","QUERY_HISTORY","QUERY_HISTORY_BY_SESSION","QUERY_HISTORY_BY_USER","QUERY_HISTORY_BY_WAREHOUSE","RADIANS","RANDOM","RANDSTR","RANK","RATIO_TO_REPORT","REGEXP","REGEXP_COUNT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_REPLACE","REGEXP_SUBSTR","REGEXP_SUBSTR_ALL","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REGR_VALX","REGR_VALY","REPEAT","REPLACE","REPLICATION_GROUP_REFRESH_HISTORY","REPLICATION_GROUP_REFRESH_PROGRESS","REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOB","REPLICATION_GROUP_USAGE_HISTORY","REPLICATION_USAGE_HISTORY","REST_EVENT_HISTORY","RESULT_SCAN","REVERSE","RIGHT","RLIKE","ROUND","ROW_NUMBER","RPAD","RTRIM","RTRIMMED_LENGTH","SEARCH_OPTIMIZATION_HISTORY","SEQ1","SEQ2","SEQ4","SEQ8","SERVERLESS_TASK_HISTORY","SHA1","SHA1_HEX","SHA1_BINARY","SHA2","SHA2_HEX","SHA2_BINARY","SIGN","SIN","SINH","SKEW","SOUNDEX","SPACE","SPLIT","SPLIT_PART","SPLIT_TO_TABLE","SQRT","SQUARE","ST_AREA","ST_ASEWKB","ST_ASEWKT","ST_ASGEOJSON","ST_ASWKB","ST_ASBINARY","ST_ASWKT","ST_ASTEXT","ST_AZIMUTH","ST_CENTROID","ST_COLLECT","ST_CONTAINS","ST_COVEREDBY","ST_COVERS","ST_DIFFERENCE","ST_DIMENSION","ST_DISJOINT","ST_DISTANCE","ST_DWITHIN","ST_ENDPOINT","ST_ENVELOPE","ST_GEOGFROMGEOHASH","ST_GEOGPOINTFROMGEOHASH","ST_GEOGRAPHYFROMWKB","ST_GEOGRAPHYFROMWKT","ST_GEOHASH","ST_GEOMETRYFROMWKB","ST_GEOMETRYFROMWKT","ST_HAUSDORFFDISTANCE","ST_INTERSECTION","ST_INTERSECTS","ST_LENGTH","ST_MAKEGEOMPOINT","ST_GEOM_POINT","ST_MAKELINE","ST_MAKEPOINT","ST_POINT","ST_MAKEPOLYGON","ST_POLYGON","ST_NPOINTS","ST_NUMPOINTS","ST_PERIMETER","ST_POINTN","ST_SETSRID","ST_SIMPLIFY","ST_SRID","ST_STARTPOINT","ST_SYMDIFFERENCE","ST_UNION","ST_WITHIN","ST_X","ST_XMAX","ST_XMIN","ST_Y","ST_YMAX","ST_YMIN","STAGE_DIRECTORY_FILE_REGISTRATION_HISTORY","STAGE_STORAGE_USAGE_HISTORY","STARTSWITH","STDDEV","STDDEV_POP","STDDEV_SAMP","STRIP_NULL_VALUE","STRTOK","STRTOK_SPLIT_TO_TABLE","STRTOK_TO_ARRAY","SUBSTR","SUBSTRING","SUM","SYSDATE","SYSTEM$ABORT_SESSION","SYSTEM$ABORT_TRANSACTION","SYSTEM$AUTHORIZE_PRIVATELINK","SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS","SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUS","SYSTEM$CANCEL_ALL_QUERIES","SYSTEM$CANCEL_QUERY","SYSTEM$CLUSTERING_DEPTH","SYSTEM$CLUSTERING_INFORMATION","SYSTEM$CLUSTERING_RATIO ","SYSTEM$CURRENT_USER_TASK_NAME","SYSTEM$DATABASE_REFRESH_HISTORY ","SYSTEM$DATABASE_REFRESH_PROGRESS","SYSTEM$DATABASE_REFRESH_PROGRESS_BY_JOB ","SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$DISABLE_DATABASE_REPLICATION","SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE","SYSTEM$ESTIMATE_QUERY_ACCELERATION","SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTS","SYSTEM$EXPLAIN_JSON_TO_TEXT","SYSTEM$EXPLAIN_PLAN_JSON","SYSTEM$EXTERNAL_TABLE_PIPE_STATUS","SYSTEM$GENERATE_SAML_CSR","SYSTEM$GENERATE_SCIM_ACCESS_TOKEN","SYSTEM$GET_AWS_SNS_IAM_POLICY","SYSTEM$GET_PREDECESSOR_RETURN_VALUE","SYSTEM$GET_PRIVATELINK","SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS","SYSTEM$GET_PRIVATELINK_CONFIG","SYSTEM$GET_SNOWFLAKE_PLATFORM_INFO","SYSTEM$GET_TAG","SYSTEM$GET_TAG_ALLOWED_VALUES","SYSTEM$GET_TAG_ON_CURRENT_COLUMN","SYSTEM$GET_TAG_ON_CURRENT_TABLE","SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER","SYSTEM$LAST_CHANGE_COMMIT_TIME","SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAME","SYSTEM$MIGRATE_SAML_IDP_REGISTRATION","SYSTEM$PIPE_FORCE_RESUME","SYSTEM$PIPE_STATUS","SYSTEM$REVOKE_PRIVATELINK","SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS","SYSTEM$SET_RETURN_VALUE","SYSTEM$SHOW_OAUTH_CLIENT_SECRETS","SYSTEM$STREAM_GET_TABLE_TIMESTAMP","SYSTEM$STREAM_HAS_DATA","SYSTEM$TASK_DEPENDENTS_ENABLE","SYSTEM$TYPEOF","SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS","SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKEN","SYSTEM$WAIT","SYSTEM$WHITELIST","SYSTEM$WHITELIST_PRIVATELINK","TAG_REFERENCES","TAG_REFERENCES_ALL_COLUMNS","TAG_REFERENCES_WITH_LINEAGE","TAN","TANH","TASK_DEPENDENTS","TASK_HISTORY","TIME_FROM_PARTS","TIME_SLICE","TIMEADD","TIMEDIFF","TIMESTAMP_FROM_PARTS","TIMESTAMPADD","TIMESTAMPDIFF","TO_ARRAY","TO_BINARY","TO_BOOLEAN","TO_CHAR","TO_VARCHAR","TO_DATE","DATE","TO_DECIMAL","TO_NUMBER","TO_NUMERIC","TO_DOUBLE","TO_GEOGRAPHY","TO_GEOMETRY","TO_JSON","TO_OBJECT","TO_TIME","TIME","TO_TIMESTAMP","TO_TIMESTAMP_LTZ","TO_TIMESTAMP_NTZ","TO_TIMESTAMP_TZ","TO_VARIANT","TO_XML","TRANSLATE","TRIM","TRUNCATE","TRUNC","TRUNC","TRY_BASE64_DECODE_BINARY","TRY_BASE64_DECODE_STRING","TRY_CAST","TRY_HEX_DECODE_BINARY","TRY_HEX_DECODE_STRING","TRY_PARSE_JSON","TRY_TO_BINARY","TRY_TO_BOOLEAN","TRY_TO_DATE","TRY_TO_DECIMAL","TRY_TO_NUMBER","TRY_TO_NUMERIC","TRY_TO_DOUBLE","TRY_TO_GEOGRAPHY","TRY_TO_GEOMETRY","TRY_TO_TIME","TRY_TO_TIMESTAMP","TRY_TO_TIMESTAMP_LTZ","TRY_TO_TIMESTAMP_NTZ","TRY_TO_TIMESTAMP_TZ","TYPEOF","UNICODE","UNIFORM","UPPER","UUID_STRING","VALIDATE","VALIDATE_PIPE_LOAD","VAR_POP","VAR_SAMP","VARIANCE","VARIANCE_SAMP","VARIANCE_POP","WAREHOUSE_LOAD_HISTORY","WAREHOUSE_METERING_HISTORY","WIDTH_BUCKET","XMLGET","YEAR","YEAROFWEEK","YEAROFWEEKISO","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFWEEKISO","DAYOFYEAR","WEEK","WEEK","WEEKOFYEAR","WEEKISO","MONTH","QUARTER","ZEROIFNULL","ZIPF"]}),tj=D({all:["ACCOUNT","ALL","ALTER","AND","ANY","AS","BETWEEN","BY","CASE","CAST","CHECK","COLUMN","CONNECT","CONNECTION","CONSTRAINT","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DATABASE","DELETE","DISTINCT","DROP","ELSE","EXISTS","FALSE","FOLLOWING","FOR","FROM","FULL","GRANT","GROUP","GSCLUSTER","HAVING","ILIKE","IN","INCREMENT","INNER","INSERT","INTERSECT","INTO","IS","ISSUE","JOIN","LATERAL","LEFT","LIKE","LOCALTIME","LOCALTIMESTAMP","MINUS","NATURAL","NOT","NULL","OF","ON","OR","ORDER","ORGANIZATION","QUALIFY","REGEXP","REVOKE","RIGHT","RLIKE","ROW","ROWS","SAMPLE","SCHEMA","SELECT","SET","SOME","START","TABLE","TABLESAMPLE","THEN","TO","TRIGGER","TRUE","TRY_CAST","UNION","UNIQUE","UPDATE","USING","VALUES","VIEW","WHEN","WHENEVER","WHERE","WITH"]}),tZ=S(["SELECT [ALL | DISTINCT]"]),tq=S(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","QUALIFY","LIMIT","OFFSET","FETCH [FIRST | NEXT]","INSERT [OVERWRITE] [ALL INTO | INTO | ALL | FIRST]","{THEN | ELSE} INTO","VALUES","SET","CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]","CLUSTER BY","[WITH] {MASKING POLICY | TAG | ROW ACCESS POLICY}","COPY GRANTS","USING TEMPLATE","MERGE INTO","WHEN MATCHED [AND]","THEN {UPDATE SET | DELETE}","WHEN NOT MATCHED THEN INSERT"]),tJ=S(["UPDATE","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE [IF EXISTS]","RENAME TO","SWAP WITH","[SUSPEND | RESUME] RECLUSTER","DROP CLUSTERING KEY","ADD [COLUMN]","RENAME COLUMN","{ALTER | MODIFY} [COLUMN]","DROP [COLUMN]","{ADD | ALTER | MODIFY | DROP} [CONSTRAINT]","RENAME CONSTRAINT","{ADD | DROP} SEARCH OPTIMIZATION","{SET | UNSET} TAG","{ADD | DROP} ROW ACCESS POLICY","DROP ALL ROW ACCESS POLICIES","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","[SET DATA] TYPE","[UNSET] COMMENT","{SET | UNSET} MASKING POLICY","TRUNCATE [TABLE] [IF EXISTS]","ALTER ACCOUNT","ALTER API INTEGRATION","ALTER CONNECTION","ALTER DATABASE","ALTER EXTERNAL TABLE","ALTER FAILOVER GROUP","ALTER FILE FORMAT","ALTER FUNCTION","ALTER INTEGRATION","ALTER MASKING POLICY","ALTER MATERIALIZED VIEW","ALTER NETWORK POLICY","ALTER NOTIFICATION INTEGRATION","ALTER PIPE","ALTER PROCEDURE","ALTER REPLICATION GROUP","ALTER RESOURCE MONITOR","ALTER ROLE","ALTER ROW ACCESS POLICY","ALTER SCHEMA","ALTER SECURITY INTEGRATION","ALTER SEQUENCE","ALTER SESSION","ALTER SESSION POLICY","ALTER SHARE","ALTER STAGE","ALTER STORAGE INTEGRATION","ALTER STREAM","ALTER TAG","ALTER TASK","ALTER USER","ALTER VIEW","ALTER WAREHOUSE","BEGIN","CALL","COMMIT","COPY INTO","CREATE ACCOUNT","CREATE API INTEGRATION","CREATE CONNECTION","CREATE DATABASE","CREATE EXTERNAL FUNCTION","CREATE EXTERNAL TABLE","CREATE FAILOVER GROUP","CREATE FILE FORMAT","CREATE FUNCTION","CREATE INTEGRATION","CREATE MANAGED ACCOUNT","CREATE MASKING POLICY","CREATE MATERIALIZED VIEW","CREATE NETWORK POLICY","CREATE NOTIFICATION INTEGRATION","CREATE PIPE","CREATE PROCEDURE","CREATE REPLICATION GROUP","CREATE RESOURCE MONITOR","CREATE ROLE","CREATE ROW ACCESS POLICY","CREATE SCHEMA","CREATE SECURITY INTEGRATION","CREATE SEQUENCE","CREATE SESSION POLICY","CREATE SHARE","CREATE STAGE","CREATE STORAGE INTEGRATION","CREATE STREAM","CREATE TAG","CREATE TASK","CREATE USER","CREATE WAREHOUSE","DELETE","DESCRIBE DATABASE","DESCRIBE EXTERNAL TABLE","DESCRIBE FILE FORMAT","DESCRIBE FUNCTION","DESCRIBE INTEGRATION","DESCRIBE MASKING POLICY","DESCRIBE MATERIALIZED VIEW","DESCRIBE NETWORK POLICY","DESCRIBE PIPE","DESCRIBE PROCEDURE","DESCRIBE RESULT","DESCRIBE ROW ACCESS POLICY","DESCRIBE SCHEMA","DESCRIBE SEQUENCE","DESCRIBE SESSION POLICY","DESCRIBE SHARE","DESCRIBE STAGE","DESCRIBE STREAM","DESCRIBE TABLE","DESCRIBE TASK","DESCRIBE TRANSACTION","DESCRIBE USER","DESCRIBE VIEW","DESCRIBE WAREHOUSE","DROP CONNECTION","DROP DATABASE","DROP EXTERNAL TABLE","DROP FAILOVER GROUP","DROP FILE FORMAT","DROP FUNCTION","DROP INTEGRATION","DROP MANAGED ACCOUNT","DROP MASKING POLICY","DROP MATERIALIZED VIEW","DROP NETWORK POLICY","DROP PIPE","DROP PROCEDURE","DROP REPLICATION GROUP","DROP RESOURCE MONITOR","DROP ROLE","DROP ROW ACCESS POLICY","DROP SCHEMA","DROP SEQUENCE","DROP SESSION POLICY","DROP SHARE","DROP STAGE","DROP STREAM","DROP TAG","DROP TASK","DROP USER","DROP VIEW","DROP WAREHOUSE","EXECUTE IMMEDIATE","EXECUTE TASK","EXPLAIN","GET","GRANT OWNERSHIP","GRANT ROLE","INSERT","LIST","MERGE","PUT","REMOVE","REVOKE ROLE","ROLLBACK","SHOW COLUMNS","SHOW CONNECTIONS","SHOW DATABASES","SHOW DATABASES IN FAILOVER GROUP","SHOW DATABASES IN REPLICATION GROUP","SHOW DELEGATED AUTHORIZATIONS","SHOW EXTERNAL FUNCTIONS","SHOW EXTERNAL TABLES","SHOW FAILOVER GROUPS","SHOW FILE FORMATS","SHOW FUNCTIONS","SHOW GLOBAL ACCOUNTS","SHOW GRANTS","SHOW INTEGRATIONS","SHOW LOCKS","SHOW MANAGED ACCOUNTS","SHOW MASKING POLICIES","SHOW MATERIALIZED VIEWS","SHOW NETWORK POLICIES","SHOW OBJECTS","SHOW ORGANIZATION ACCOUNTS","SHOW PARAMETERS","SHOW PIPES","SHOW PRIMARY KEYS","SHOW PROCEDURES","SHOW REGIONS","SHOW REPLICATION ACCOUNTS","SHOW REPLICATION DATABASES","SHOW REPLICATION GROUPS","SHOW RESOURCE MONITORS","SHOW ROLES","SHOW ROW ACCESS POLICIES","SHOW SCHEMAS","SHOW SEQUENCES","SHOW SESSION POLICIES","SHOW SHARES","SHOW SHARES IN FAILOVER GROUP","SHOW SHARES IN REPLICATION GROUP","SHOW STAGES","SHOW STREAMS","SHOW TABLES","SHOW TAGS","SHOW TASKS","SHOW TRANSACTIONS","SHOW USER FUNCTIONS","SHOW USERS","SHOW VARIABLES","SHOW VIEWS","SHOW WAREHOUSES","TRUNCATE MATERIALIZED VIEW","UNDROP DATABASE","UNDROP SCHEMA","UNDROP TABLE","UNDROP TAG","UNSET","USE DATABASE","USE ROLE","USE SCHEMA","USE SECONDARY ROLES","USE WAREHOUSE"]),tQ=S(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),t0=S(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),t1=S(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),t2={tokenizerOptions:{reservedSelect:tZ,reservedClauses:[...tq,...tJ],reservedSetOperations:tQ,reservedJoins:t0,reservedPhrases:t1,reservedKeywords:tj,reservedFunctionNames:tz,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||",":","=>"]},formatOptions:{alwaysDenseOperators:[":","::"],onelineClauses:tJ}},t3=e=>e.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),t6=/\s+/uy,t4=e=>RegExp(`(?:${e})`,"uy"),t9=e=>e.split("").map(e=>/ /gu.test(e)?"\\s+":`[${e.toUpperCase()}${e.toLowerCase()}]`).join(""),t8=e=>e+"(?:-"+e+")*",t5=({prefixes:e,requirePrefix:t})=>`(?:${e.map(t9).join("|")}${t?"":"|"})`,t7=e=>RegExp(`(?:${e.map(t3).join("|")}).*?(?=\r +|\r| +|$)`,"uy"),ne=(e,t=[])=>{let n="open"===e?0:1,a=["()",...t].map(e=>e[n]);return t4(a.map(t3).join("|"))},nt=e=>t4(`${L(e).map(t3).join("|")}`),nn=({rest:e,dashes:t})=>e||t?`(?![${e||""}${t?"-":""}])`:"",na=(e,t={})=>{if(0===e.length)return/^\b$/u;let n=nn(t),a=L(e).map(t3).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${a})${n}\\b`,"iuy")},nr=(e,t)=>{if(!e.length)return;let n=e.map(t3).join("|");return t4(`(?:${n})(?:${t})`)},ni={"``":"(?:`[^`]*`)+","[]":String.raw`(?:\[[^\]]*\])(?:\][^\]]*\])*`,'""-qq':String.raw`(?:"[^"]*")+`,'""-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")`,'""-qq-bs':String.raw`(?:"[^"\\]*(?:\\.[^"\\]*)*")+`,'""-raw':String.raw`(?:"[^"]*")`,"''-qq":String.raw`(?:'[^']*')+`,"''-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')`,"''-qq-bs":String.raw`(?:'[^'\\]*(?:\\.[^'\\]*)*')+`,"''-raw":String.raw`(?:'[^']*')`,$$:String.raw`(?\$\w*\$)[\s\S]*?\k`,"'''..'''":String.raw`'''[^\\]*?(?:\\.[^\\]*?)*?'''`,'""".."""':String.raw`"""[^\\]*?(?:\\.[^\\]*?)*?"""`,"{}":String.raw`(?:\{[^\}]*\})`,"q''":(()=>{let e={"<":">","[":"]","(":")","{":"}"},t=Object.entries(e).map(([e,t])=>"{left}(?:(?!{right}').)*?{right}".replace(/{left}/g,t3(e)).replace(/{right}/g,t3(t))),n=t3(Object.keys(e).join("")),a=String.raw`(?[^\s${n}])(?:(?!\k').)*?\k`,r=`[Qq]'(?:${a}|${t.join("|")})'`;return r})()},no=e=>"string"==typeof e?ni[e]:"regex"in e?e.regex:t5(e)+ni[e.quote],ns=e=>t4(e.map(e=>"regex"in e?e.regex:no(e)).join("|")),nE=e=>e.map(no).join("|"),nl=e=>t4(nE(e)),nT=(e={})=>t4(nc(e)),nc=({first:e,rest:t,dashes:n,allowFirstCharNumber:a}={})=>{let r="\\p{Alphabetic}\\p{Mark}_",i="\\p{Decimal_Number}",o=t3(e??""),s=t3(t??""),E=a?`[${r}${i}${o}][${r}${i}${s}]*`:`[${r}${o}][${r}${i}${s}]*`;return n?t8(E):E};function nu(e,t){let n=e.slice(0,t).split(/\n/);return{line:n.length,col:n[n.length-1].length+1}}class nd{input="";index=0;constructor(e){this.rules=e}tokenize(e){let t;this.input=e,this.index=0;let n=[];for(;this.index0;)if(t=this.matchSection(nR,e))n+=t,a++;else if(t=this.matchSection(nS,e))n+=t,a--;else{if(!(t=this.matchSection(nA,e)))return null;n+=t}return[n]}matchSection(e,t){e.lastIndex=this.lastIndex;let n=e.exec(t);return n&&(this.lastIndex+=n[0].length),n?n[0]:null}}class nI{constructor(e){this.cfg=e,this.rulesBeforeParams=this.buildRulesBeforeParams(e),this.rulesAfterParams=this.buildRulesAfterParams(e)}tokenize(e,t){let n=[...this.rulesBeforeParams,...this.buildParamRules(this.cfg,t),...this.rulesAfterParams],a=new nd(n).tokenize(e);return this.cfg.postProcess?this.cfg.postProcess(a):a}buildRulesBeforeParams(e){return this.validRules([{type:a.BLOCK_COMMENT,regex:e.nestedBlockComments?new np:/(\/\*[^]*?\*\/)/uy},{type:a.LINE_COMMENT,regex:t7(e.lineCommentTypes??["--"])},{type:a.QUOTED_IDENTIFIER,regex:nl(e.identTypes)},{type:a.NUMBER,regex:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?[0-9]+(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?!\w)/uy},{type:a.RESERVED_PHRASE,regex:na(e.reservedPhrases??[],e.identChars),text:nN},{type:a.CASE,regex:/CASE\b/iuy,text:nN},{type:a.END,regex:/END\b/iuy,text:nN},{type:a.BETWEEN,regex:/BETWEEN\b/iuy,text:nN},{type:a.LIMIT,regex:e.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:nN},{type:a.RESERVED_CLAUSE,regex:na(e.reservedClauses,e.identChars),text:nN},{type:a.RESERVED_SELECT,regex:na(e.reservedSelect,e.identChars),text:nN},{type:a.RESERVED_SET_OPERATION,regex:na(e.reservedSetOperations,e.identChars),text:nN},{type:a.WHEN,regex:/WHEN\b/iuy,text:nN},{type:a.ELSE,regex:/ELSE\b/iuy,text:nN},{type:a.THEN,regex:/THEN\b/iuy,text:nN},{type:a.RESERVED_JOIN,regex:na(e.reservedJoins,e.identChars),text:nN},{type:a.AND,regex:/AND\b/iuy,text:nN},{type:a.OR,regex:/OR\b/iuy,text:nN},{type:a.XOR,regex:e.supportsXor?/XOR\b/iuy:void 0,text:nN},{type:a.RESERVED_FUNCTION_NAME,regex:na(e.reservedFunctionNames,e.identChars),text:nN},{type:a.RESERVED_KEYWORD,regex:na(e.reservedKeywords,e.identChars),text:nN}])}buildRulesAfterParams(e){return this.validRules([{type:a.VARIABLE,regex:e.variableTypes?ns(e.variableTypes):void 0},{type:a.STRING,regex:nl(e.stringTypes)},{type:a.IDENTIFIER,regex:nT(e.identChars)},{type:a.DELIMITER,regex:/[;]/uy},{type:a.COMMA,regex:/[,]/y},{type:a.OPEN_PAREN,regex:ne("open",e.extraParens)},{type:a.CLOSE_PAREN,regex:ne("close",e.extraParens)},{type:a.OPERATOR,regex:nt(["+","-","/",">","<","=","<>","<=",">=","!=",...e.operators??[]])},{type:a.ASTERISK,regex:/[*]/uy},{type:a.DOT,regex:/[.]/uy}])}buildParamRules(e,t){var n,r,i,o,s;let E={named:(null==t?void 0:t.named)||(null===(n=e.paramTypes)||void 0===n?void 0:n.named)||[],quoted:(null==t?void 0:t.quoted)||(null===(r=e.paramTypes)||void 0===r?void 0:r.quoted)||[],numbered:(null==t?void 0:t.numbered)||(null===(i=e.paramTypes)||void 0===i?void 0:i.numbered)||[],positional:"boolean"==typeof(null==t?void 0:t.positional)?t.positional:null===(o=e.paramTypes)||void 0===o?void 0:o.positional,custom:(null==t?void 0:t.custom)||(null===(s=e.paramTypes)||void 0===s?void 0:s.custom)||[]};return this.validRules([{type:a.NAMED_PARAMETER,regex:nr(E.named,nc(e.paramChars||e.identChars)),key:e=>e.slice(1)},{type:a.QUOTED_PARAMETER,regex:nr(E.quoted,nE(e.identTypes)),key:e=>(({tokenKey:e,quoteChar:t})=>e.replace(RegExp(t3("\\"+t),"gu"),t))({tokenKey:e.slice(2,-1),quoteChar:e.slice(-1)})},{type:a.NUMBERED_PARAMETER,regex:nr(E.numbered,"[0-9]+"),key:e=>e.slice(1)},{type:a.POSITIONAL_PARAMETER,regex:E.positional?/[?]/y:void 0},...E.custom.map(e=>({type:a.CUSTOM_PARAMETER,regex:t4(e.regex),key:e.key??(e=>e)}))])}validRules(e){return e.filter(e=>!!e.regex)}}let nN=e=>f(e.toUpperCase()),nO=new Map,n_=e=>{let t=nO.get(e);return t||(t=ng(e),nO.set(e,t)),t},ng=e=>({tokenizer:new nI(e.tokenizerOptions),formatOptions:nm(e.formatOptions)}),nm=e=>({alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0]))});function nC(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle?" ".repeat(10):e.useTabs?" ":" ".repeat(e.tabWidth)}function nL(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle}class nb{constructor(e){this.params=e,this.index=0}get({key:e,text:t}){return this.params?e?this.params[e]:this.params[this.index++]:t}getPositionalParameterIndex(){return this.index}setPositionalParameterIndex(e){this.index=e}}var nf=n(69654);let nD=(e,t,n)=>{if(R(e.type)){let r=nM(n,t);if(r&&"."===r.text)return{...e,type:a.IDENTIFIER,text:e.raw}}return e},nh=(e,t,n)=>{if(e.type===a.RESERVED_FUNCTION_NAME){let r=nU(n,t);if(!r||!nv(r))return{...e,type:a.RESERVED_KEYWORD}}return e},nP=(e,t,n)=>{if(e.type===a.IDENTIFIER){let r=nU(n,t);if(r&&nw(r))return{...e,type:a.ARRAY_IDENTIFIER}}return e},ny=(e,t,n)=>{if(e.type===a.RESERVED_KEYWORD){let r=nU(n,t);if(r&&nw(r))return{...e,type:a.ARRAY_KEYWORD}}return e},nM=(e,t)=>nU(e,t,-1),nU=(e,t,n=1)=>{let a=1;for(;e[t+a*n]&&nG(e[t+a*n]);)a++;return e[t+a*n]},nv=e=>e.type===a.OPEN_PAREN&&"("===e.text,nw=e=>e.type===a.OPEN_PAREN&&"["===e.text,nG=e=>e.type===a.BLOCK_COMMENT||e.type===a.LINE_COMMENT;class nk{index=0;tokens=[];input="";constructor(e){this.tokenize=e}reset(e,t){this.input=e,this.index=0,this.tokens=this.tokenize(e)}next(){return this.tokens[this.index++]}save(){}formatError(e){let{line:t,col:n}=nu(this.input,e.start);return`Parse error at token: ${e.text} at line ${t} column ${n}`}has(e){return e in a}}function nF(e){return e[0]}(s=r||(r={})).statement="statement",s.clause="clause",s.set_operation="set_operation",s.function_call="function_call",s.array_subscript="array_subscript",s.property_access="property_access",s.parenthesis="parenthesis",s.between_predicate="between_predicate",s.case_expression="case_expression",s.case_when="case_when",s.case_else="case_else",s.limit_clause="limit_clause",s.all_columns_asterisk="all_columns_asterisk",s.literal="literal",s.identifier="identifier",s.keyword="keyword",s.parameter="parameter",s.operator="operator",s.comma="comma",s.line_comment="line_comment",s.block_comment="block_comment";let nx=new nk(e=>[]),nB=e=>({type:r.keyword,tokenType:e.type,text:e.text,raw:e.raw}),nH=(e,{leading:t,trailing:n})=>(null!=t&&t.length&&(e={...e,leadingComments:t}),null!=n&&n.length&&(e={...e,trailingComments:n}),e),nY=(e,{leading:t,trailing:n})=>{if(null!=t&&t.length){let[n,...a]=e;e=[nH(n,{leading:t}),...a]}if(null!=n&&n.length){let t=e.slice(0,-1),a=e[e.length-1];e=[...t,nH(a,{trailing:n})]}return e},nV={Lexer:nx,ParserRules:[{name:"main$ebnf$1",symbols:[]},{name:"main$ebnf$1",symbols:["main$ebnf$1","statement"],postprocess:e=>e[0].concat([e[1]])},{name:"main",symbols:["main$ebnf$1"],postprocess:([e])=>{let t=e[e.length-1];return t&&!t.hasSemicolon?t.children.length>0?e:e.slice(0,-1):e}},{name:"statement$subexpression$1",symbols:[nx.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[nx.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([e,[t]])=>({type:r.statement,children:e,hasSemicolon:t.type===a.DELIMITER})},{name:"expressions_or_clauses$ebnf$1",symbols:[]},{name:"expressions_or_clauses$ebnf$1",symbols:["expressions_or_clauses$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses$ebnf$2",symbols:[]},{name:"expressions_or_clauses$ebnf$2",symbols:["expressions_or_clauses$ebnf$2","clause"],postprocess:e=>e[0].concat([e[1]])},{name:"expressions_or_clauses",symbols:["expressions_or_clauses$ebnf$1","expressions_or_clauses$ebnf$2"],postprocess:([e,t])=>[...e,...t]},{name:"clause$subexpression$1",symbols:["limit_clause"]},{name:"clause$subexpression$1",symbols:["select_clause"]},{name:"clause$subexpression$1",symbols:["other_clause"]},{name:"clause$subexpression$1",symbols:["set_operation"]},{name:"clause",symbols:["clause$subexpression$1"],postprocess:([[e]])=>e},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["free_form_sql"]},{name:"limit_clause$ebnf$1$subexpression$1$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"limit_clause$ebnf$1$subexpression$1",symbols:[nx.has("COMMA")?{type:"COMMA"}:COMMA,"limit_clause$ebnf$1$subexpression$1$ebnf$1"]},{name:"limit_clause$ebnf$1",symbols:["limit_clause$ebnf$1$subexpression$1"],postprocess:nF},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[nx.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([e,t,n,a])=>{if(!a)return{type:r.limit_clause,limitKw:nH(nB(e),{trailing:t}),count:n};{let[i,o]=a;return{type:r.limit_clause,limitKw:nH(nB(e),{trailing:t}),offset:n,count:o}}}},{name:"select_clause$subexpression$1$ebnf$1",symbols:[]},{name:"select_clause$subexpression$1$ebnf$1",symbols:["select_clause$subexpression$1$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["all_columns_asterisk","select_clause$subexpression$1$ebnf$1"]},{name:"select_clause$subexpression$1$ebnf$2",symbols:[]},{name:"select_clause$subexpression$1$ebnf$2",symbols:["select_clause$subexpression$1$ebnf$2","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"select_clause$subexpression$1",symbols:["asteriskless_free_form_sql","select_clause$subexpression$1$ebnf$2"]},{name:"select_clause",symbols:[nx.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([e,[t,n]])=>({type:r.clause,nameKw:nB(e),children:[t,...n]})},{name:"select_clause",symbols:[nx.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([e])=>({type:r.clause,nameKw:nB(e),children:[]})},{name:"all_columns_asterisk",symbols:[nx.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:r.all_columns_asterisk})},{name:"other_clause$ebnf$1",symbols:[]},{name:"other_clause$ebnf$1",symbols:["other_clause$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"other_clause",symbols:[nx.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([e,t])=>({type:r.clause,nameKw:nB(e),children:t})},{name:"set_operation$ebnf$1",symbols:[]},{name:"set_operation$ebnf$1",symbols:["set_operation$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"set_operation",symbols:[nx.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([e,t])=>({type:r.set_operation,nameKw:nB(e),children:t})},{name:"expression_chain_$ebnf$1",symbols:["expression_with_comments_"]},{name:"expression_chain_$ebnf$1",symbols:["expression_chain_$ebnf$1","expression_with_comments_"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain_",symbols:["expression_chain_$ebnf$1"],postprocess:nF},{name:"expression_chain$ebnf$1",symbols:[]},{name:"expression_chain$ebnf$1",symbols:["expression_chain$ebnf$1","_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"expression_chain",symbols:["expression","expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"andless_expression_chain$ebnf$1",symbols:[]},{name:"andless_expression_chain$ebnf$1",symbols:["andless_expression_chain$ebnf$1","_andless_expression_with_comments"],postprocess:e=>e[0].concat([e[1]])},{name:"andless_expression_chain",symbols:["andless_expression","andless_expression_chain$ebnf$1"],postprocess:([e,t])=>[e,...t]},{name:"expression_with_comments_",symbols:["expression","_"],postprocess:([e,t])=>nH(e,{trailing:t})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([e,t])=>nH(t,{leading:e})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([e,t])=>nH(t,{leading:e})},{name:"free_form_sql$subexpression$1",symbols:["asteriskless_free_form_sql"]},{name:"free_form_sql$subexpression$1",symbols:["asterisk"]},{name:"free_form_sql",symbols:["free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["logic_operator"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comma"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["comment"]},{name:"asteriskless_free_form_sql$subexpression$1",symbols:["other_keyword"]},{name:"asteriskless_free_form_sql",symbols:["asteriskless_free_form_sql$subexpression$1"],postprocess:([[e]])=>e},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:([[e]])=>e},{name:"andless_expression$subexpression$1",symbols:["asteriskless_andless_expression"]},{name:"andless_expression$subexpression$1",symbols:["asterisk"]},{name:"andless_expression",symbols:["andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"asteriskless_andless_expression$subexpression$1",symbols:["array_subscript"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["function_call"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["property_access"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parenthesis"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["curly_braces"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["square_brackets"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["operator"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["identifier"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["parameter"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["literal"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["keyword"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:([[e]])=>e},{name:"array_subscript",symbols:[nx.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([e,t,n])=>({type:r.array_subscript,array:nH({type:r.identifier,text:e.text},{trailing:t}),parenthesis:n})},{name:"array_subscript",symbols:[nx.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([e,t,n])=>({type:r.array_subscript,array:nH(nB(e),{trailing:t}),parenthesis:n})},{name:"function_call",symbols:[nx.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([e,t,n])=>({type:r.function_call,nameKw:nH(nB(e),{trailing:t}),parenthesis:n})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"(",closeParen:")"})},{name:"curly_braces$ebnf$1",symbols:[]},{name:"curly_braces$ebnf$1",symbols:["curly_braces$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"curly_braces",symbols:[{literal:"{"},"curly_braces$ebnf$1",{literal:"}"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"{",closeParen:"}"})},{name:"square_brackets$ebnf$1",symbols:[]},{name:"square_brackets$ebnf$1",symbols:["square_brackets$ebnf$1","free_form_sql"],postprocess:e=>e[0].concat([e[1]])},{name:"square_brackets",symbols:[{literal:"["},"square_brackets$ebnf$1",{literal:"]"}],postprocess:([e,t,n])=>({type:r.parenthesis,children:t,openParen:"[",closeParen:"]"})},{name:"property_access$subexpression$1",symbols:["identifier"]},{name:"property_access$subexpression$1",symbols:["array_subscript"]},{name:"property_access$subexpression$1",symbols:["all_columns_asterisk"]},{name:"property_access",symbols:["expression","_",nx.has("DOT")?{type:"DOT"}:DOT,"_","property_access$subexpression$1"],postprocess:([e,t,n,a,[i]])=>({type:r.property_access,object:nH(e,{trailing:t}),property:nH(i,{leading:a})})},{name:"between_predicate",symbols:[nx.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",nx.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([e,t,n,a,i,o,s])=>({type:r.between_predicate,betweenKw:nB(e),expr1:nY(n,{leading:t,trailing:a}),andKw:nB(i),expr2:[nH(s,{leading:o})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:nF},{name:"case_expression$ebnf$1",symbols:[],postprocess:()=>null},{name:"case_expression$ebnf$2",symbols:[]},{name:"case_expression$ebnf$2",symbols:["case_expression$ebnf$2","case_clause"],postprocess:e=>e[0].concat([e[1]])},{name:"case_expression",symbols:[nx.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",nx.has("END")?{type:"END"}:END],postprocess:([e,t,n,a,i])=>({type:r.case_expression,caseKw:nH(nB(e),{trailing:t}),endKw:nB(i),expr:n||[],clauses:a})},{name:"case_clause",symbols:[nx.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",nx.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([e,t,n,a,i,o])=>({type:r.case_when,whenKw:nH(nB(e),{trailing:t}),thenKw:nH(nB(a),{trailing:i}),condition:n,result:o})},{name:"case_clause",symbols:[nx.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([e,t,n])=>({type:r.case_else,elseKw:nH(nB(e),{trailing:t}),result:n})},{name:"comma$subexpression$1",symbols:[nx.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[e]])=>({type:r.comma})},{name:"asterisk$subexpression$1",symbols:[nx.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[e]])=>({type:r.operator,text:e.text})},{name:"operator$subexpression$1",symbols:[nx.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[e]])=>({type:r.operator,text:e.text})},{name:"identifier$subexpression$1",symbols:[nx.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nx.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[nx.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[e]])=>({type:r.identifier,text:e.text})},{name:"parameter$subexpression$1",symbols:[nx.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[nx.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[e]])=>({type:r.parameter,key:e.key,text:e.text})},{name:"literal$subexpression$1",symbols:[nx.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[nx.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[e]])=>({type:r.literal,text:e.text})},{name:"keyword$subexpression$1",symbols:[nx.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[nx.has("RESERVED_PHRASE")?{type:"RESERVED_PHRASE"}:RESERVED_PHRASE]},{name:"keyword$subexpression$1",symbols:[nx.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"logic_operator$subexpression$1",symbols:[nx.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[nx.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[nx.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"other_keyword$subexpression$1",symbols:[nx.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[nx.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[nx.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[nx.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[e]])=>nB(e)},{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1","comment"],postprocess:e=>e[0].concat([e[1]])},{name:"_",symbols:["_$ebnf$1"],postprocess:([e])=>e},{name:"comment",symbols:[nx.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([e])=>({type:r.line_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[nx.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([e])=>({type:r.block_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})}],ParserStart:"main"},{Parser:nW,Grammar:n$}=nf,nX=/^\s+/u;(E=i||(i={}))[E.SPACE=0]="SPACE",E[E.NO_SPACE=1]="NO_SPACE",E[E.NO_NEWLINE=2]="NO_NEWLINE",E[E.NEWLINE=3]="NEWLINE",E[E.MANDATORY_NEWLINE=4]="MANDATORY_NEWLINE",E[E.INDENT=5]="INDENT",E[E.SINGLE_INDENT=6]="SINGLE_INDENT";class nK{items=[];constructor(e){this.indentation=e}add(...e){for(let t of e)switch(t){case i.SPACE:this.items.push(i.SPACE);break;case i.NO_SPACE:this.trimHorizontalWhitespace();break;case i.NO_NEWLINE:this.trimWhitespace();break;case i.NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.NEWLINE);break;case i.MANDATORY_NEWLINE:this.trimHorizontalWhitespace(),this.addNewline(i.MANDATORY_NEWLINE);break;case i.INDENT:this.addIndentation();break;case i.SINGLE_INDENT:this.items.push(i.SINGLE_INDENT);break;default:this.items.push(t)}}trimHorizontalWhitespace(){for(;nz(C(this.items));)this.items.pop()}trimWhitespace(){for(;nj(C(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(C(this.items)){case i.NEWLINE:this.items.pop(),this.items.push(e);break;case i.MANDATORY_NEWLINE:break;default:this.items.push(e)}}addIndentation(){for(let e=0;ethis.itemToString(e)).join("")}getLayoutItems(){return this.items}itemToString(e){switch(e){case i.SPACE:return" ";case i.NEWLINE:case i.MANDATORY_NEWLINE:return"\n";case i.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return e}}}let nz=e=>e===i.SPACE||e===i.SINGLE_INDENT,nj=e=>e===i.SPACE||e===i.SINGLE_INDENT||e===i.NEWLINE,nZ="top-level";class nq{indentTypes=[];constructor(e){this.indent=e}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(nZ)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&C(this.indentTypes)===nZ&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0;){let e=this.indentTypes.pop();if(e!==nZ)break}}}class nJ extends nK{length=0;trailingSpace=!1;constructor(e){super(new nq("")),this.expressionWidth=e}add(...e){if(e.forEach(e=>this.addToLength(e)),this.length>this.expressionWidth)throw new nQ;super.add(...e)}addToLength(e){if("string"==typeof e)this.length+=e.length,this.trailingSpace=!1;else if(e===i.MANDATORY_NEWLINE||e===i.NEWLINE)throw new nQ;else e===i.INDENT||e===i.SINGLE_INDENT||e===i.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(e===i.NO_NEWLINE||e===i.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class nQ extends Error{}class n0{inline=!1;nodes=[];index=-1;constructor({cfg:e,dialectCfg:t,params:n,layout:a,inline:r=!1}){this.cfg=e,this.dialectCfg=t,this.inline=r,this.params=n,this.layout=a}format(e){for(this.nodes=e,this.index=0;this.index{this.layout.add(this.showKw(e.nameKw))}),this.formatNode(e.parenthesis)}formatArraySubscript(e){this.withComments(e.array,()=>{this.layout.add(e.array.type===r.keyword?this.showKw(e.array):e.array.text)}),this.formatNode(e.parenthesis)}formatPropertyAccess(e){this.formatNode(e.object),this.layout.add(i.NO_SPACE,"."),this.formatNode(e.property)}formatParenthesis(e){let t=this.formatInlineExpression(e.children);t?(this.layout.add(e.openParen),this.layout.add(...t.getLayoutItems()),this.layout.add(i.NO_SPACE,e.closeParen,i.SPACE)):(this.layout.add(e.openParen,i.NEWLINE),nL(this.cfg)?(this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(i.NEWLINE,i.INDENT,e.closeParen,i.SPACE))}formatBetweenPredicate(e){this.layout.add(this.showKw(e.betweenKw),i.SPACE),this.layout=this.formatSubExpression(e.expr1),this.layout.add(i.NO_SPACE,i.SPACE,this.showNonTabularKw(e.andKw),i.SPACE),this.layout=this.formatSubExpression(e.expr2),this.layout.add(i.SPACE)}formatCaseExpression(e){this.formatNode(e.caseKw),this.layout.indentation.increaseBlockLevel(),this.layout=this.formatSubExpression(e.expr),this.layout=this.formatSubExpression(e.clauses),this.layout.indentation.decreaseBlockLevel(),this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.endKw)}formatCaseWhen(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.whenKw),this.layout=this.formatSubExpression(e.condition),this.formatNode(e.thenKw),this.layout=this.formatSubExpression(e.result)}formatCaseElse(e){this.layout.add(i.NEWLINE,i.INDENT),this.formatNode(e.elseKw),this.layout=this.formatSubExpression(e.result)}formatClause(e){this.isOnelineClause(e)?this.formatClauseInOnelineStyle(e):nL(this.cfg)?this.formatClauseInTabularStyle(e):this.formatClauseInIndentedStyle(e)}isOnelineClause(e){return this.dialectCfg.onelineClauses[e.nameKw.text]}formatClauseInIndentedStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout=this.formatSubExpression(e.children)}formatClauseInTabularStyle(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(e){this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.nameKw),i.NEWLINE),this.layout.add(i.INDENT),this.layout=this.formatSubExpression(e.children)}formatLimitClause(e){this.withComments(e.limitKw,()=>{this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e.limitKw))}),this.layout.indentation.increaseTopLevel(),nL(this.cfg)?this.layout.add(i.SPACE):this.layout.add(i.NEWLINE,i.INDENT),e.offset&&(this.layout=this.formatSubExpression(e.offset),this.layout.add(i.NO_SPACE,",",i.SPACE)),this.layout=this.formatSubExpression(e.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(e){this.layout.add("*",i.SPACE)}formatLiteral(e){this.layout.add(e.text,i.SPACE)}formatIdentifier(e){this.layout.add(e.text,i.SPACE)}formatParameter(e){this.layout.add(this.params.get(e),i.SPACE)}formatOperator({text:e}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(e)?this.layout.add(i.NO_SPACE,e):":"===e?this.layout.add(i.NO_SPACE,e,i.SPACE):this.layout.add(e,i.SPACE)}formatComma(e){this.inline?this.layout.add(i.NO_SPACE,",",i.SPACE):this.layout.add(i.NO_SPACE,",",i.NEWLINE,i.INDENT)}withComments(e,t){this.formatComments(e.leadingComments),t(),this.formatComments(e.trailingComments)}formatComments(e){e&&e.forEach(e=>{e.type===r.line_comment?this.formatLineComment(e):this.formatBlockComment(e)})}formatLineComment(e){h(e.precedingWhitespace||"")?this.layout.add(i.NEWLINE,i.INDENT,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(i.NO_NEWLINE,i.SPACE,e.text,i.MANDATORY_NEWLINE,i.INDENT):this.layout.add(e.text,i.MANDATORY_NEWLINE,i.INDENT)}formatBlockComment(e){this.isMultilineBlockComment(e)?(this.splitBlockComment(e.text).forEach(e=>{this.layout.add(i.NEWLINE,i.INDENT,e)}),this.layout.add(i.NEWLINE,i.INDENT)):this.layout.add(e.text,i.SPACE)}isMultilineBlockComment(e){return h(e.text)||h(e.precedingWhitespace||"")}isDocComment(e){let t=e.split(/\n/);return/^\/\*\*?$/.test(t[0])&&t.slice(1,t.length-1).every(e=>/^\s*\*/.test(e))&&/^\s*\*\/$/.test(C(t))}splitBlockComment(e){return this.isDocComment(e)?e.split(/\n/).map(e=>/^\s*\*/.test(e)?" "+e.replace(/^\s*/,""):e):e.split(/\n/).map(e=>e.replace(/^\s*/,""))}formatSubExpression(e){return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:this.layout,inline:this.inline}).format(e)}formatInlineExpression(e){let t=this.params.getPositionalParameterIndex();try{return new n0({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new nJ(this.cfg.expressionWidth),inline:!0}).format(e)}catch(e){if(e instanceof nQ){this.params.setPositionalParameterIndex(t);return}throw e}}formatKeywordNode(e){switch(e.tokenType){case a.RESERVED_JOIN:return this.formatJoin(e);case a.AND:case a.OR:case a.XOR:return this.formatLogicalOperator(e);default:return this.formatKeyword(e)}}formatJoin(e){nL(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE)}formatKeyword(e){this.layout.add(this.showKw(e),i.SPACE)}formatLogicalOperator(e){"before"===this.cfg.logicalOperatorNewline?nL(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(i.NEWLINE,i.INDENT,this.showKw(e),i.SPACE):this.layout.add(this.showKw(e),i.NEWLINE,i.INDENT)}showKw(e){var t;return A(t=e.tokenType)||t===a.RESERVED_CLAUSE||t===a.RESERVED_SELECT||t===a.RESERVED_SET_OPERATION||t===a.RESERVED_JOIN||t===a.LIMIT?function(e,t){if("standard"===t)return e;let n=[];return e.length>=10&&e.includes(" ")&&([e,...n]=e.split(" ")),(e="tabularLeft"===t?e.padEnd(9," "):e.padStart(9," "))+["",...n].join(" ")}(this.showNonTabularKw(e),this.cfg.indentStyle):this.showNonTabularKw(e)}showNonTabularKw(e){switch(this.cfg.keywordCase){case"preserve":return f(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}}class n1{constructor(e,t){this.dialect=e,this.cfg=t,this.params=new nb(this.cfg.params)}format(e){let t=this.parse(e),n=this.formatAst(t),a=this.postFormat(n);return a.trimEnd()}parse(e){return(function(e){let t={},n=new nk(n=>[...e.tokenize(n,t).map(nD).map(nh).map(nP).map(ny),T(n.length)]),a=new nW(n$.fromCompiled(nV),{lexer:n});return{parse:(e,n)=>{t=n;let{results:r}=a.feed(e);if(1===r.length)return r[0];if(0===r.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar +${JSON.stringify(r,void 0,2)}`)}}})(this.dialect.tokenizer).parse(e,this.cfg.paramTypes||{})}formatAst(e){return e.map(e=>this.formatStatement(e)).join("\n".repeat(this.cfg.linesBetweenQueries+1))}formatStatement(e){let t=new n0({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new nK(new nq(nC(this.cfg)))}).format(e.children);return e.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?t.add(i.NEWLINE,";"):t.add(i.NO_NEWLINE,";")),t.toString()}postFormat(e){if(this.cfg.tabulateAlias&&(e=function(e){let t=e.split("\n"),n=[];for(let e=0;e({line:e,matches:e.match(/(^.*?\S) (AS )?(\S+,?$)/i)})).map(({line:e,matches:t})=>t?{precedingText:t[1],as:t[2],alias:t[3]}:{precedingText:e}),i=b(r.map(({precedingText:e})=>e.replace(/\s*,\s*$/,"")));n=[...n,...a=r.map(({precedingText:e,as:t,alias:n})=>e+(n?" ".repeat(i-e.length+1)+(t??"")+n:""))]}n.push(t[e])}return n.join("\n")}(e)),"before"===this.cfg.commaPosition||"tabular"===this.cfg.commaPosition){var t,n,a;t=e,n=this.cfg.commaPosition,a=nC(this.cfg),e=(function(e){let t=[];for(let n=0;n{if(1===e.length)return e;if("tabular"===n)return function(e){let t=b(e.map(e=>e.replace(/\s*--.*/,"")))-1;return e.map((n,a)=>a===e.length-1?n:function(e,t){let[,n,a]=e.match(/^(.*?),(\s*--.*)?$/)||[],r=" ".repeat(t-n.length);return`${n}${r},${a??""}`}(n,t))}(e);if("before"===n)return e.map(e=>e.replace(/,(\s*(--.*)?$)/,"$1")).map((e,t)=>{if(0===t)return e;let[n]=e.match(nX)||[""];return n.replace(RegExp(a+"$"),"")+a.replace(/ {2}$/,", ")+e.trimStart()});throw Error(`Unexpected commaPosition: ${n}`)}).join("\n")}return e}}class n2 extends Error{}let n3={bigquery:"bigquery",db2:"db2",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},n6=Object.keys(n3),n4={tabWidth:2,useTabs:!1,keywordCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",tabulateAlias:!1,commaPosition:"after",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},n9=(e,t={})=>{if("string"==typeof t.language&&!n6.includes(t.language))throw new n2(`Unsupported SQL dialect: ${t.language}`);let n=n3[t.language||"sql"];return n8(e,{...t,dialect:l[n]})},n8=(e,{dialect:t,...n})=>{if("string"!=typeof e)throw Error("Invalid query argument. Expected string, instead got "+typeof e);let a=function(e){if("multilineLists"in e)throw new n2("multilineLists config is no more supported.");if("newlineBeforeOpenParen"in e)throw new n2("newlineBeforeOpenParen config is no more supported.");if("newlineBeforeCloseParen"in e)throw new n2("newlineBeforeCloseParen config is no more supported.");if("aliasAs"in e)throw new n2("aliasAs config is no more supported.");if(e.expressionWidth<=0)throw new n2(`expressionWidth config must be positive number. Received ${e.expressionWidth} instead.`);if("before"===e.commaPosition&&e.useTabs)throw new n2("commaPosition: before does not work when tabs are used for indentation.");return e.params&&!function(e){let t=e instanceof Array?e:Object.values(e);return t.every(e=>"string"==typeof e)}(e.params)&&console.warn('WARNING: All "params" option values should be strings.'),e}({...n4,...n});return new n1(n_(t),a).format(e)}},37452:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/455-597a8a48388a0d9b.js b/pilot/server/static/_next/static/chunks/455-597a8a48388a0d9b.js new file mode 100644 index 000000000..149a9e08d --- /dev/null +++ b/pilot/server/static/_next/static/chunks/455-597a8a48388a0d9b.js @@ -0,0 +1,30 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{80882:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(87462),r=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=t(42135),l=r.forwardRef(function(e,n){return r.createElement(a.Z,(0,o.Z)({},e,{ref:n,icon:i}))})},74443:function(e,n,t){t.d(n,{Z:function(){return c},c:function(){return i}});var o=t(67294),r=t(25976);let i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),l=e=>{let n=[].concat(i).reverse();return n.forEach((t,o)=>{let r=t.toUpperCase(),i=`screen${r}Min`,a=`screen${r}`;if(!(e[i]<=e[a]))throw Error(`${i}<=${a} fails : !(${e[i]}<=${e[a]})`);if(o{let e=new Map,t=-1,o={};return{matchHandlers:{},dispatch:n=>(o=n,e.forEach(e=>e(o)),e.size>=1),subscribe(n){return e.size||this.register(),t+=1,e.set(t,n),n(o),t},unsubscribe(n){e.delete(n),e.size||this.unregister()},unregister(){Object.keys(n).forEach(e=>{let t=n[e],o=this.matchHandlers[t];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),e.clear()},register(){Object.keys(n).forEach(e=>{let t=n[e],r=n=>{let{matches:t}=n;this.dispatch(Object.assign(Object.assign({},o),{[e]:t}))},i=window.matchMedia(t);i.addListener(r),this.matchHandlers[t]={mql:i,listener:r},r(i)})},responsiveMap:n}},[e])}},50965:function(e,n,t){t.d(n,{Z:function(){return e9}});var o=t(94184),r=t.n(o),i=t(87462),a=t(74902),l=t(4942),c=t(1413),u=t(97685),s=t(45987),d=t(71002),p=t(21770),f=t(80334),m=t(67294),v=t(8410),g=t(31131),h=t(15105),b=t(42550),w=m.createContext(null);function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=m.useRef(null),t=m.useRef(null);return m.useEffect(function(){return function(){window.clearTimeout(t.current)}},[]),[function(){return n.current},function(o){(o||null===n.current)&&(n.current=o),window.clearTimeout(t.current),t.current=window.setTimeout(function(){n.current=null},e)}]}var y=t(64217),E=t(39983),x=function(e){var n,t=e.className,o=e.customizeIcon,i=e.customizeIconProps,a=e.onMouseDown,l=e.onClick,c=e.children;return n="function"==typeof o?o(i):o,m.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==n?n:m.createElement("span",{className:r()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},c))},$=m.forwardRef(function(e,n){var t,o,i=e.prefixCls,a=e.id,l=e.inputElement,u=e.disabled,s=e.tabIndex,d=e.autoFocus,p=e.autoComplete,v=e.editable,g=e.activeDescendantId,h=e.value,w=e.maxLength,S=e.onKeyDown,y=e.onMouseDown,E=e.onChange,x=e.onPaste,$=e.onCompositionStart,C=e.onCompositionEnd,Z=e.open,I=e.attrs,O=l||m.createElement("input",null),M=O,D=M.ref,R=M.props,N=R.onKeyDown,P=R.onChange,T=R.onMouseDown,k=R.onCompositionStart,z=R.onCompositionEnd,H=R.style;return(0,f.Kp)(!("maxLength"in O.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),O=m.cloneElement(O,(0,c.Z)((0,c.Z)((0,c.Z)({type:"search"},R),{},{id:a,ref:(0,b.sQ)(n,D),disabled:u,tabIndex:s,autoComplete:p||"off",autoFocus:d,className:r()("".concat(i,"-selection-search-input"),null===(t=O)||void 0===t?void 0:null===(o=t.props)||void 0===o?void 0:o.className),role:"combobox","aria-label":"Search","aria-expanded":Z,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":Z?g:void 0},I),{},{value:v?h:"",maxLength:w,readOnly:!v,unselectable:v?null:"on",style:(0,c.Z)((0,c.Z)({},H),{},{opacity:v?null:0}),onKeyDown:function(e){S(e),N&&N(e)},onMouseDown:function(e){y(e),T&&T(e)},onChange:function(e){E(e),P&&P(e)},onCompositionStart:function(e){$(e),k&&k(e)},onCompositionEnd:function(e){C(e),z&&z(e)},onPaste:x}))});function C(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}$.displayName="Input";var Z="undefined"!=typeof window&&window.document&&window.document.documentElement;function I(e){return["string","number"].includes((0,d.Z)(e))}function O(e){var n=void 0;return e&&(I(e.title)?n=e.title.toString():I(e.label)&&(n=e.label.toString())),n}function M(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var D=function(e){e.preventDefault(),e.stopPropagation()},R=function(e){var n,t,o=e.id,i=e.prefixCls,a=e.values,c=e.open,s=e.searchValue,d=e.autoClearSearchValue,p=e.inputRef,f=e.placeholder,v=e.disabled,g=e.mode,h=e.showSearch,b=e.autoFocus,w=e.autoComplete,S=e.activeDescendantId,C=e.tabIndex,I=e.removeIcon,R=e.maxTagCount,N=e.maxTagTextLength,P=e.maxTagPlaceholder,T=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,k=e.tagRender,z=e.onToggleOpen,H=e.onRemove,j=e.onInputChange,L=e.onInputPaste,V=e.onInputKeyDown,A=e.onInputMouseDown,W=e.onInputCompositionStart,F=e.onInputCompositionEnd,_=m.useRef(null),K=(0,m.useState)(0),B=(0,u.Z)(K,2),U=B[0],X=B[1],G=(0,m.useState)(!1),Y=(0,u.Z)(G,2),Q=Y[0],J=Y[1],q="".concat(i,"-selection"),ee=c||"multiple"===g&&!1===d||"tags"===g?s:"",en="tags"===g||"multiple"===g&&!1===d||h&&(c||Q);function et(e,n,t,o,i){return m.createElement("span",{className:r()("".concat(q,"-item"),(0,l.Z)({},"".concat(q,"-item-disabled"),t)),title:O(e)},m.createElement("span",{className:"".concat(q,"-item-content")},n),o&&m.createElement(x,{className:"".concat(q,"-item-remove"),onMouseDown:D,onClick:i,customizeIcon:I},"\xd7"))}n=function(){X(_.current.scrollWidth)},t=[ee],Z?m.useLayoutEffect(n,t):m.useEffect(n,t);var eo=m.createElement("div",{className:"".concat(q,"-search"),style:{width:U},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},m.createElement($,{ref:p,open:c,prefixCls:i,id:o,inputElement:null,disabled:v,autoFocus:b,autoComplete:w,editable:en,activeDescendantId:S,value:ee,onKeyDown:V,onMouseDown:A,onChange:j,onPaste:L,onCompositionStart:W,onCompositionEnd:F,tabIndex:C,attrs:(0,y.Z)(e,!0)}),m.createElement("span",{ref:_,className:"".concat(q,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),er=m.createElement(E.Z,{prefixCls:"".concat(q,"-overflow"),data:a,renderItem:function(e){var n,t=e.disabled,o=e.label,r=e.value,i=!v&&!t,a=o;if("number"==typeof N&&("string"==typeof o||"number"==typeof o)){var l=String(a);l.length>N&&(a="".concat(l.slice(0,N),"..."))}var u=function(n){n&&n.stopPropagation(),H(e)};return"function"==typeof k?(n=a,m.createElement("span",{onMouseDown:function(e){D(e),z(!c)}},k({label:n,value:r,disabled:t,closable:i,onClose:u}))):et(e,a,t,i,u)},renderRest:function(e){var n="function"==typeof T?T(e):T;return et({title:n},n,!1)},suffix:eo,itemKey:M,maxCount:R});return m.createElement(m.Fragment,null,er,!a.length&&!ee&&m.createElement("span",{className:"".concat(q,"-placeholder")},f))},N=function(e){var n=e.inputElement,t=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,a=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,s=e.mode,d=e.open,p=e.values,f=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,w=e.maxLength,S=e.onInputKeyDown,E=e.onInputMouseDown,x=e.onInputChange,C=e.onInputPaste,Z=e.onInputCompositionStart,I=e.onInputCompositionEnd,M=e.title,D=m.useState(!1),R=(0,u.Z)(D,2),N=R[0],P=R[1],T="combobox"===s,k=T||g,z=p[0],H=h||"";T&&b&&!N&&(H=b),m.useEffect(function(){T&&P(!1)},[T,b]);var j=("combobox"===s||!!d||!!g)&&!!H,L=void 0===M?O(z):M;return m.createElement(m.Fragment,null,m.createElement("span",{className:"".concat(t,"-selection-search")},m.createElement($,{ref:r,prefixCls:t,id:o,open:d,inputElement:n,disabled:i,autoFocus:a,autoComplete:l,editable:k,activeDescendantId:c,value:H,onKeyDown:S,onMouseDown:E,onChange:function(e){P(!0),x(e)},onPaste:C,onCompositionStart:Z,onCompositionEnd:I,tabIndex:v,attrs:(0,y.Z)(e,!0),maxLength:T?w:void 0})),!T&&z?m.createElement("span",{className:"".concat(t,"-selection-item"),title:L,style:j?{visibility:"hidden"}:void 0},z.label):null,z?null:m.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:j?{visibility:"hidden"}:void 0},f))},P=m.forwardRef(function(e,n){var t=(0,m.useRef)(null),o=(0,m.useRef)(!1),r=e.prefixCls,a=e.open,l=e.mode,c=e.showSearch,s=e.tokenWithEnter,d=e.autoClearSearchValue,p=e.onSearch,f=e.onSearchSubmit,v=e.onToggleOpen,g=e.onInputKeyDown,b=e.domRef;m.useImperativeHandle(n,function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}});var w=S(0),y=(0,u.Z)(w,2),E=y[0],x=y[1],$=(0,m.useRef)(null),C=function(e){!1!==p(e,!0,o.current)&&v(!0)},Z={inputRef:t,onInputKeyDown:function(e){var n=e.which;(n===h.Z.UP||n===h.Z.DOWN)&&e.preventDefault(),g&&g(e),n!==h.Z.ENTER||"tags"!==l||o.current||a||null==f||f(e.target.value),[h.Z.ESC,h.Z.SHIFT,h.Z.BACKSPACE,h.Z.TAB,h.Z.WIN_KEY,h.Z.ALT,h.Z.META,h.Z.WIN_KEY_RIGHT,h.Z.CTRL,h.Z.SEMICOLON,h.Z.EQUALS,h.Z.CAPS_LOCK,h.Z.CONTEXT_MENU,h.Z.F1,h.Z.F2,h.Z.F3,h.Z.F4,h.Z.F5,h.Z.F6,h.Z.F7,h.Z.F8,h.Z.F9,h.Z.F10,h.Z.F11,h.Z.F12].includes(n)||v(!0)},onInputMouseDown:function(){x(!0)},onInputChange:function(e){var n=e.target.value;if(s&&$.current&&/[\r\n]/.test($.current)){var t=$.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,$.current)}$.current=null,C(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");$.current=n},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&C(e.target.value)}},I="multiple"===l||"tags"===l?m.createElement(R,(0,i.Z)({},e,Z)):m.createElement(N,(0,i.Z)({},e,Z));return m.createElement("div",{ref:b,className:"".concat(r,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){t.current.focus()}):t.current.focus())},onMouseDown:function(e){var n=E();e.target===t.current||n||"combobox"===l||e.preventDefault(),("combobox"===l||c&&n)&&a||(a&&!1!==d&&p("",!0,!1),v())}},I)});P.displayName="Selector";var T=t(40228),k=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],z=function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},H=m.forwardRef(function(e,n){var t=e.prefixCls,o=(e.disabled,e.visible),a=e.children,u=e.popupElement,d=e.containerWidth,p=e.animation,f=e.transitionName,v=e.dropdownStyle,g=e.dropdownClassName,h=e.direction,b=e.placement,w=e.builtinPlacements,S=e.dropdownMatchSelectWidth,y=e.dropdownRender,E=e.dropdownAlign,x=e.getPopupContainer,$=e.empty,C=e.getTriggerDOMNode,Z=e.onPopupVisibleChange,I=e.onPopupMouseEnter,O=(0,s.Z)(e,k),M="".concat(t,"-dropdown"),D=u;y&&(D=y(u));var R=m.useMemo(function(){return w||z(S)},[w,S]),N=p?"".concat(M,"-").concat(p):f,P=m.useRef(null);m.useImperativeHandle(n,function(){return{getPopupElement:function(){return P.current}}});var H=(0,c.Z)({minWidth:d},v);return"number"==typeof S?H.width=S:S&&(H.width=d),m.createElement(T.Z,(0,i.Z)({},O,{showAction:Z?["click"]:[],hideAction:Z?["click"]:[],popupPlacement:b||("rtl"===(void 0===h?"ltr":h)?"bottomRight":"bottomLeft"),builtinPlacements:R,prefixCls:M,popupTransitionName:N,popup:m.createElement("div",{ref:P,onMouseEnter:I},D),popupAlign:E,popupVisible:o,getPopupContainer:x,popupClassName:r()(g,(0,l.Z)({},"".concat(M,"-empty"),$)),popupStyle:H,getTriggerDOMNode:C,onPopupVisibleChange:Z}),a)});H.displayName="SelectTrigger";var j=t(84506);function L(e,n){var t,o=e.key;return("value"in e&&(t=e.value),null!=o)?o:void 0!==t?t:"rc-index-key-".concat(n)}function V(e,n){var t=e||{},o=t.label,r=t.value,i=t.options,a=t.groupLabel,l=o||(n?"children":"label");return{label:l,value:r||"value",options:i||"options",groupLabel:a||l}}function A(e){var n=(0,c.Z)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,f.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}var W=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],F=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function _(e){return"tags"===e||"multiple"===e}var K=m.forwardRef(function(e,n){var t,o,f,y,E,$,C,Z,I=e.id,O=e.prefixCls,M=e.className,D=e.showSearch,R=e.tagRender,N=e.direction,T=e.omitDomProps,k=e.displayValues,z=e.onDisplayValuesChange,L=e.emptyOptions,V=e.notFoundContent,A=void 0===V?"Not Found":V,K=e.onClear,B=e.mode,U=e.disabled,X=e.loading,G=e.getInputElement,Y=e.getRawInputElement,Q=e.open,J=e.defaultOpen,q=e.onDropdownVisibleChange,ee=e.activeValue,en=e.onActiveValueChange,et=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ei=e.onSearch,ea=e.onSearchSplit,el=e.tokenSeparators,ec=e.allowClear,eu=e.suffixIcon,es=e.clearIcon,ed=e.OptionList,ep=e.animation,ef=e.transitionName,em=e.dropdownStyle,ev=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eh=e.dropdownRender,eb=e.dropdownAlign,ew=e.placement,eS=e.builtinPlacements,ey=e.getPopupContainer,eE=e.showAction,ex=void 0===eE?[]:eE,e$=e.onFocus,eC=e.onBlur,eZ=e.onKeyUp,eI=e.onKeyDown,eO=e.onMouseDown,eM=(0,s.Z)(e,W),eD=_(B),eR=(void 0!==D?D:eD)||"combobox"===B,eN=(0,c.Z)({},eM);F.forEach(function(e){delete eN[e]}),null==T||T.forEach(function(e){delete eN[e]});var eP=m.useState(!1),eT=(0,u.Z)(eP,2),ek=eT[0],ez=eT[1];m.useEffect(function(){ez((0,g.Z)())},[]);var eH=m.useRef(null),ej=m.useRef(null),eL=m.useRef(null),eV=m.useRef(null),eA=m.useRef(null),eW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=m.useState(!1),t=(0,u.Z)(n,2),o=t[0],r=t[1],i=m.useRef(null),a=function(){window.clearTimeout(i.current)};return m.useEffect(function(){return a},[]),[o,function(n,t){a(),i.current=window.setTimeout(function(){r(n),t&&t()},e)},a]}(),eF=(0,u.Z)(eW,3),e_=eF[0],eK=eF[1],eB=eF[2];m.useImperativeHandle(n,function(){var e,n;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(n=eV.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=eA.current)||void 0===n?void 0:n.scrollTo(e)}}});var eU=m.useMemo(function(){if("combobox"!==B)return eo;var e,n=null===(e=k[0])||void 0===e?void 0:e.value;return"string"==typeof n||"number"==typeof n?String(n):""},[eo,B,k]),eX="combobox"===B&&"function"==typeof G&&G()||null,eG="function"==typeof Y&&Y(),eY=(0,b.x1)(ej,null==eG?void 0:null===(y=eG.props)||void 0===y?void 0:y.ref),eQ=m.useState(!1),eJ=(0,u.Z)(eQ,2),eq=eJ[0],e0=eJ[1];(0,v.Z)(function(){e0(!0)},[]);var e1=(0,p.Z)(!1,{defaultValue:J,value:Q}),e2=(0,u.Z)(e1,2),e4=e2[0],e3=e2[1],e5=!!eq&&e4,e6=!A&&L;(U||e6&&e5&&"combobox"===B)&&(e5=!1);var e7=!e6&&e5,e8=m.useCallback(function(e){var n=void 0!==e?e:!e5;U||(e3(n),e5!==n&&(null==q||q(n)))},[U,e5,e3,q]),e9=m.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),ne=function(e,n,t){var o=!0,r=e;null==en||en(null);var i=t?null:function(e,n){if(!n||!n.length)return null;var t=!1,o=function e(n,o){var r=(0,j.Z)(o),i=r[0],l=r.slice(1);if(!i)return[n];var c=n.split(i);return t=t||c.length>1,c.reduce(function(n,t){return[].concat((0,a.Z)(n),(0,a.Z)(e(t,l)))},[]).filter(function(e){return e})}(e,n);return t?o:null}(e,el);return"combobox"!==B&&i&&(r="",null==ea||ea(i),e8(!1),o=!1),ei&&eU!==r&&ei(r,{source:n?"typing":"effect"}),o};m.useEffect(function(){e5||eD||"combobox"===B||ne("",!1,!1)},[e5]),m.useEffect(function(){e4&&U&&e3(!1),U&&eK(!1)},[U]);var nn=S(),nt=(0,u.Z)(nn,2),no=nt[0],nr=nt[1],ni=m.useRef(!1),na=[];m.useEffect(function(){return function(){na.forEach(function(e){return clearTimeout(e)}),na.splice(0,na.length)}},[]);var nl=m.useState(null),nc=(0,u.Z)(nl,2),nu=nc[0],ns=nc[1],nd=m.useState({}),np=(0,u.Z)(nd,2)[1];(0,v.Z)(function(){if(e7){var e,n=Math.ceil(null===(e=eH.current)||void 0===e?void 0:e.getBoundingClientRect().width);nu===n||Number.isNaN(n)||ns(n)}},[e7]),eG&&($=function(e){e8(e)}),t=function(){var e;return[eH.current,null===(e=eL.current)||void 0===e?void 0:e.getPopupElement()]},o=!!eG,(f=m.useRef(null)).current={open:e7,triggerOpen:e8,customizedTrigger:o},m.useEffect(function(){function e(e){if(null===(n=f.current)||void 0===n||!n.customizedTrigger){var n,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),f.current.open&&t().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&f.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var nf=m.useMemo(function(){return(0,c.Z)((0,c.Z)({},e),{},{notFoundContent:A,open:e5,triggerOpen:e7,id:I,showSearch:eR,multiple:eD,toggleOpen:e8})},[e,A,e7,e5,I,eR,eD,e8]),nm=!!eu||X;nm&&(C=m.createElement(x,{className:r()("".concat(O,"-arrow"),(0,l.Z)({},"".concat(O,"-arrow-loading"),X)),customizeIcon:eu,customizeIconProps:{loading:X,searchValue:eU,open:e5,focused:e_,showSearch:eR}}));var nv=function(e,n,t,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=m.useMemo(function(){return"object"===(0,d.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:m.useMemo(function(){return!i&&!!o&&(!!t.length||!!a)&&!("combobox"===l&&""===a)},[o,i,t.length,a,l]),clearIcon:m.createElement(x,{className:"".concat(e,"-clear"),onMouseDown:n,customizeIcon:c},"\xd7")}}(O,function(){var e;null==K||K(),null===(e=eV.current)||void 0===e||e.focus(),z([],{type:"clear",values:k}),ne("",!1,!1)},k,ec,es,U,eU,B),ng=nv.allowClear,nh=nv.clearIcon,nb=m.createElement(ed,{ref:eA}),nw=r()(O,M,(E={},(0,l.Z)(E,"".concat(O,"-focused"),e_),(0,l.Z)(E,"".concat(O,"-multiple"),eD),(0,l.Z)(E,"".concat(O,"-single"),!eD),(0,l.Z)(E,"".concat(O,"-allow-clear"),ec),(0,l.Z)(E,"".concat(O,"-show-arrow"),nm),(0,l.Z)(E,"".concat(O,"-disabled"),U),(0,l.Z)(E,"".concat(O,"-loading"),X),(0,l.Z)(E,"".concat(O,"-open"),e5),(0,l.Z)(E,"".concat(O,"-customize-input"),eX),(0,l.Z)(E,"".concat(O,"-show-search"),eR),E)),nS=m.createElement(H,{ref:eL,disabled:U,prefixCls:O,visible:e7,popupElement:nb,containerWidth:nu,animation:ep,transitionName:ef,dropdownStyle:em,dropdownClassName:ev,direction:N,dropdownMatchSelectWidth:eg,dropdownRender:eh,dropdownAlign:eb,placement:ew,builtinPlacements:eS,getPopupContainer:ey,empty:L,getTriggerDOMNode:function(){return ej.current},onPopupVisibleChange:$,onPopupMouseEnter:function(){np({})}},eG?m.cloneElement(eG,{ref:eY}):m.createElement(P,(0,i.Z)({},e,{domRef:ej,prefixCls:O,inputElement:eX,ref:eV,id:I,showSearch:eR,autoClearSearchValue:er,mode:B,activeDescendantId:et,tagRender:R,values:k,open:e5,onToggleOpen:e8,activeValue:ee,searchValue:eU,onSearch:ne,onSearchSubmit:function(e){e&&e.trim()&&ei(e,{source:"submit"})},onRemove:function(e){z(k.filter(function(n){return n!==e}),{type:"remove",values:[e]})},tokenWithEnter:e9})));return Z=eG?nS:m.createElement("div",(0,i.Z)({className:nw},eN,{ref:eH,onMouseDown:function(e){var n,t=e.target,o=null===(n=eL.current)||void 0===n?void 0:n.getPopupElement();if(o&&o.contains(t)){var r=setTimeout(function(){var e,n=na.indexOf(r);-1!==n&&na.splice(n,1),eB(),ek||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});na.push(r)}for(var i=arguments.length,a=Array(i>1?i-1:0),l=1;l=0;l-=1){var c=r[l];if(!c.disabled){r.splice(l,1),i=c;break}}i&&z(r,{type:"remove",values:[i]})}for(var u=arguments.length,s=Array(u>1?u-1:0),d=1;d1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,t=z.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];_(e);var t={source:n?"keyboard":"mouse"},o=z[e];if(!o){C(null,-1,t);return}C(o.value,e,t)};(0,m.useEffect)(function(){K(!1!==Z?V(0):-1)},[z.length,v]);var B=m.useCallback(function(e){return M.has(e)&&"combobox"!==f},[f,(0,a.Z)(M).toString(),M.size]);(0,m.useEffect)(function(){var e,n=setTimeout(function(){if(!p&&d&&1===M.size){var e=Array.from(M)[0],n=z.findIndex(function(n){return n.data.value===e});-1!==n&&(K(n),L(n))}});return d&&(null===(e=H.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(n)}},[d,v,$.length]);var U=function(e){void 0!==e&&I(e,{selected:!M.has(e)}),p||g(!1)};if(m.useImperativeHandle(n,function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case h.Z.N:case h.Z.P:case h.Z.UP:case h.Z.DOWN:var o=0;if(n===h.Z.UP?o=-1:n===h.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===h.Z.N?o=1:n===h.Z.P&&(o=-1)),0!==o){var r=V(F+o,o);L(r),K(r,!0)}break;case h.Z.ENTER:var i=z[F];i&&!i.data.disabled?U(i.value):U(void 0),d&&e.preventDefault();break;case h.Z.ESC:g(!1),d&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){L(e)}}}),0===z.length)return m.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(k,"-empty"),onMouseDown:j},b);var X=Object.keys(D).map(function(e){return D[e]}),G=function(e){return e.label};function Y(e,n){return{role:e.group?"presentation":"option",id:"".concat(c,"_list_").concat(n)}}var Q=function(e){var n=z[e];if(!n)return null;var t=n.data||{},o=t.value,r=n.group,a=(0,y.Z)(t,!0),l=G(n);return n?m.createElement("div",(0,i.Z)({"aria-label":"string"!=typeof l||r?null:l},a,{key:e},Y(n,e),{"aria-selected":B(o)}),o):null},J={role:"listbox",id:"".concat(c,"_list")};return m.createElement(m.Fragment,null,R&&m.createElement("div",(0,i.Z)({},J,{style:{height:0,width:0,overflow:"hidden"}}),Q(F-1),Q(F),Q(F+1)),m.createElement(ei.Z,{itemKey:"key",ref:H,data:z,height:P,itemHeight:T,fullHeight:!1,onMouseDown:j,onScroll:S,virtual:R,direction:N,innerProps:R?null:J},function(e,n){var t=e.group,o=e.groupOption,a=e.data,c=e.label,u=e.value,d=a.key;if(t){var p,f,v=null!==(f=a.title)&&void 0!==f?f:ec(c)?c.toString():void 0;return m.createElement("div",{className:r()(k,"".concat(k,"-group")),title:v},void 0!==c?c:d)}var g=a.disabled,h=a.title,b=(a.children,a.style),w=a.className,S=(0,s.Z)(a,el),E=(0,er.Z)(S,X),$=B(u),C="".concat(k,"-option"),Z=r()(k,C,w,(p={},(0,l.Z)(p,"".concat(C,"-grouped"),o),(0,l.Z)(p,"".concat(C,"-active"),F===n&&!g),(0,l.Z)(p,"".concat(C,"-disabled"),g),(0,l.Z)(p,"".concat(C,"-selected"),$),p)),I=G(e),M=!O||"function"==typeof O||$,D="number"==typeof I?I:I||u,N=ec(D)?D.toString():void 0;return void 0!==h&&(N=h),m.createElement("div",(0,i.Z)({},(0,y.Z)(E),R?{}:Y(e,n),{"aria-selected":$,className:Z,title:N,onMouseMove:function(){F===n||g||K(n)},onClick:function(){g||U(u)},style:b}),m.createElement("div",{className:"".concat(C,"-content")},D),m.isValidElement(O)||$,M&&m.createElement(x,{className:"".concat(k,"-option-state"),customizeIcon:O,customizeIconProps:{isSelected:$}},$?"✓":null))}))});eu.displayName="OptionList";var es=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ed=["inputValue"],ep=m.forwardRef(function(e,n){var t,o,r,f,v,g=e.id,h=e.mode,b=e.prefixCls,w=e.backfill,S=e.fieldNames,y=e.inputValue,E=e.searchValue,x=e.onSearch,$=e.autoClearSearchValue,Z=void 0===$||$,I=e.onSelect,O=e.onDeselect,M=e.dropdownMatchSelectWidth,D=void 0===M||M,R=e.filterOption,N=e.filterSort,P=e.optionFilterProp,T=e.optionLabelProp,k=e.options,z=e.children,H=e.defaultActiveFirstOption,j=e.menuItemSelectedIcon,W=e.virtual,F=e.direction,X=e.listHeight,en=void 0===X?200:X,et=e.listItemHeight,eo=void 0===et?20:et,er=e.value,ei=e.defaultValue,el=e.labelInValue,ec=e.onChange,ep=(0,s.Z)(e,es),ef=(t=m.useState(),r=(o=(0,u.Z)(t,2))[0],f=o[1],m.useEffect(function(){var e;f("rc_select_".concat((Y?(e=G,G+=1):e="TEST_OR_SSR",e)))},[]),g||r),em=_(h),ev=!!(!k&&z),eg=m.useMemo(function(){return(void 0!==R||"combobox"!==h)&&R},[R,h]),eh=m.useMemo(function(){return V(S,ev)},[JSON.stringify(S),ev]),eb=(0,p.Z)("",{value:void 0!==E?E:y,postState:function(e){return e||""}}),ew=(0,u.Z)(eb,2),eS=ew[0],ey=ew[1],eE=m.useMemo(function(){var e=k;k||(e=function e(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Q.Z)(n).map(function(n,o){if(!m.isValidElement(n)||!n.type)return null;var r,i,a,l,u,d=n.type.isSelectOptGroup,p=n.key,f=n.props,v=f.children,g=(0,s.Z)(f,q);return t||!d?(r=n.key,a=(i=n.props).children,l=i.value,u=(0,s.Z)(i,J),(0,c.Z)({key:r,value:void 0!==l?l:r,children:a},u)):(0,c.Z)((0,c.Z)({key:"__RC_SELECT_GRP__".concat(null===p?o:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(z));var n=new Map,t=new Map,o=function(e,n,t){t&&"string"==typeof t&&e.set(n[t],n)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=0;a1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,o=n.childrenAsData,r=[],i=V(t,!1),a=i.label,l=i.value,c=i.options,u=i.groupLabel;return!function e(n,t){n.forEach(function(n){if(!t&&c in n){var i=n[u];void 0===i&&o&&(i=n.label),r.push({key:L(n,r.length),group:!0,data:n,label:i}),e(n[c],!0)}else{var s=n[l];r.push({key:L(n,r.length),groupOption:t,data:n,label:n[a],value:s})}})}(e,!1),r}(eV,{fieldNames:eh,childrenAsData:ev})},[eV,eh,ev]),eW=function(e){var n=eZ(e);if(eD(n),ec&&(n.length!==eP.length||n.some(function(e,n){var t;return(null===(t=eP[n])||void 0===t?void 0:t.value)!==(null==e?void 0:e.value)}))){var t=el?n:n.map(function(e){return e.value}),o=n.map(function(e){return A(eT(e.value))});ec(em?t:t[0],em?o:o[0])}},eF=m.useState(null),e_=(0,u.Z)(eF,2),eK=e_[0],eB=e_[1],eU=m.useState(0),eX=(0,u.Z)(eU,2),eG=eX[0],eY=eX[1],eQ=void 0!==H?H:"combobox"!==h,eJ=m.useCallback(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.source;eY(n),w&&"combobox"===h&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eB(String(e))},[w,h]),eq=function(e,n,t){var o=function(){var n,t=eT(e);return[el?{label:null==t?void 0:t[eh.label],value:e,key:null!==(n=null==t?void 0:t.key)&&void 0!==n?n:e}:e,A(t)]};if(n&&I){var r=o(),i=(0,u.Z)(r,2);I(i[0],i[1])}else if(!n&&O&&"clear"!==t){var a=o(),l=(0,u.Z)(a,2);O(l[0],l[1])}},e0=ee(function(e,n){var t=!em||n.selected;eW(t?em?[].concat((0,a.Z)(eP),[e]):[e]:eP.filter(function(n){return n.value!==e})),eq(e,t),"combobox"===h?eB(""):(!_||Z)&&(ey(""),eB(""))}),e1=m.useMemo(function(){var e=!1!==W&&!1!==D;return(0,c.Z)((0,c.Z)({},eE),{},{flattenOptions:eA,onActiveValue:eJ,defaultActiveFirstOption:eQ,onSelect:e0,menuItemSelectedIcon:j,rawValues:ez,fieldNames:eh,virtual:e,direction:F,listHeight:en,listItemHeight:eo,childrenAsData:ev})},[eE,eA,eJ,eQ,e0,j,ez,eh,W,D,en,eo,ev]);return m.createElement(ea.Provider,{value:e1},m.createElement(K,(0,i.Z)({},ep,{id:ef,prefixCls:void 0===b?"rc-select":b,ref:n,omitDomProps:ed,mode:h,displayValues:ek,onDisplayValuesChange:function(e,n){eW(e);var t=n.type,o=n.values;("remove"===t||"clear"===t)&&o.forEach(function(e){eq(e.value,!1,t)})},direction:F,searchValue:eS,onSearch:function(e,n){if(ey(e),eB(null),"submit"===n.source){var t=(e||"").trim();t&&(eW(Array.from(new Set([].concat((0,a.Z)(ez),[t])))),eq(t,!0),ey(""));return}"blur"!==n.source&&("combobox"===h&&eW(e),null==x||x(e))},autoClearSearchValue:Z,onSearchSplit:function(e){var n=e;"tags"!==h&&(n=e.map(function(e){var n=e$.get(e);return null==n?void 0:n.value}).filter(function(e){return void 0!==e}));var t=Array.from(new Set([].concat((0,a.Z)(ez),(0,a.Z)(n))));eW(t),t.forEach(function(e){eq(e,!0)})},dropdownMatchSelectWidth:D,OptionList:eu,emptyOptions:!eA.length,activeValue:eK,activeDescendantId:"".concat(ef,"_list_").concat(eG)})))});ep.Option=et,ep.OptGroup=en;var ef=t(8745),em=t(33603),ev=t(9708),eg=t(53124),eh=t(98866),eb=t(32983),ew=e=>{let{componentName:n}=e,{getPrefixCls:t}=(0,m.useContext)(eg.E_),o=t("empty");switch(n){case"Table":case"List":return m.createElement(eb.Z,{image:eb.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return m.createElement(eb.Z,{image:eb.Z.PRESENTED_IMAGE_SIMPLE,className:`${o}-small`});default:return m.createElement(eb.Z,null)}},eS=t(98675),ey=t(65223),eE=t(4173),ex=t(14747),e$=t(80110),eC=t(45503),eZ=t(67968),eI=t(67771),eO=t(23183),eM=t(93590);let eD=new eO.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eR=new eO.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),eN=new eO.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eP=new eO.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),eT=new eO.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ek=new eO.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ez=new eO.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eH=new eO.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),ej={"move-up":{inKeyframes:ez,outKeyframes:eH},"move-down":{inKeyframes:eD,outKeyframes:eR},"move-left":{inKeyframes:eN,outKeyframes:eP},"move-right":{inKeyframes:eT,outKeyframes:ek}},eL=(e,n)=>{let{antCls:t}=e,o=`${t}-${n}`,{inKeyframes:r,outKeyframes:i}=ej[n];return[(0,eM.R)(o,r,i,e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},eV=e=>{let{controlPaddingHorizontal:n,controlHeight:t,fontSize:o,lineHeight:r}=e;return{position:"relative",display:"block",minHeight:t,padding:`${(t-o*r)/2}px ${n}px`,color:e.colorText,fontWeight:"normal",fontSize:o,lineHeight:r,boxSizing:"border-box"}};var eA=e=>{let{antCls:n,componentCls:t}=e,o=`${t}-item`,r=`&${n}-slide-up-enter${n}-slide-up-enter-active`,i=`&${n}-slide-up-appear${n}-slide-up-appear-active`,a=`&${n}-slide-up-leave${n}-slide-up-leave-active`,l=`${t}-dropdown-placement-`;return[{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,ex.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + ${r}${l}bottomLeft, + ${i}${l}bottomLeft + `]:{animationName:eI.fJ},[` + ${r}${l}topLeft, + ${i}${l}topLeft, + ${r}${l}topRight, + ${i}${l}topRight + `]:{animationName:eI.Qt},[`${a}${l}bottomLeft`]:{animationName:eI.Uw},[` + ${a}${l}topLeft, + ${a}${l}topRight + `]:{animationName:eI.ly},"&-hidden":{display:"none"},[`${o}`]:Object.assign(Object.assign({},eV(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ex.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${o}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},(0,eI.oN)(e,"slide-up"),(0,eI.oN)(e,"slide-down"),eL(e,"move-up"),eL(e,"move-down")]};let eW=e=>{let{controlHeightSM:n,controlHeight:t,lineWidth:o}=e,r=(t-n)/2-o;return[r,Math.ceil(r/2)]};function eF(e,n){let{componentCls:t,iconCls:o}=e,r=`${t}-selection-overflow`,i=e.controlHeightSM,[a]=eW(e),l=n?`${t}-${n}`:"";return{[`${t}-multiple${l}`]:{fontSize:e.fontSize,[r]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${t}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${a-2}px 4px`,borderRadius:e.borderRadius,[`${t}-show-search&`]:{cursor:"text"},[`${t}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[` + &${t}-show-arrow ${t}-selector, + &${t}-allow-clear ${t}-selector + `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${t}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:`${i-2*e.lineWidth}px`,background:e.colorFillSecondary,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${t}-disabled&`]:{color:e.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ex.Ro)()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${r}-item + ${r}-item`]:{[`${t}-selection-search`]:{marginInlineStart:0}},[`${t}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,[` + &-input, + &-mirror + `]:{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${t}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}var e_=e=>{let{componentCls:n}=e,t=(0,eC.TS)(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,eC.TS)(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,r]=eW(e);return[eF(e),eF(t,"sm"),{[`${n}-multiple${n}-sm`]:{[`${n}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${n}-selection-search`]:{marginInlineStart:r}}},eF(o,"lg")]};function eK(e,n){let{componentCls:t,inputPaddingHorizontalBase:o,borderRadius:r}=e,i=e.controlHeight-2*e.lineWidth,a=Math.ceil(1.25*e.fontSize),l=n?`${t}-${n}`:"";return{[`${t}-single${l}`]:{fontSize:e.fontSize,[`${t}-selector`]:Object.assign(Object.assign({},(0,ex.Wf)(e)),{display:"flex",borderRadius:r,[`${t}-selection-search`]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%"}},[` + ${t}-selection-item, + ${t}-selection-placeholder + `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${t}-selection-item`]:{position:"relative",userSelect:"none"},[`${t}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${t}-selection-item:after,${t}-selection-placeholder:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:a},[`&${t}-open ${t}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${o}px`,[`${t}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${t}-customize-input`]:{[`${t}-selector`]:{"&:after":{display:"none"},[`${t}-selection-search`]:{position:"static",width:"100%"},[`${t}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${o}px`,"&:after":{display:"none"}}}}}}}let eB=e=>{let{componentCls:n}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${n}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${n}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${n}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},eU=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{componentCls:o,borderHoverColor:r,outlineColor:i,antCls:a}=n,l=t?{[`${o}-selector`]:{borderColor:r}}:{};return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${a}-pagination-size-changer)`]:Object.assign(Object.assign({},l),{[`${o}-focused& ${o}-selector`]:{borderColor:r,boxShadow:`0 0 0 ${n.controlOutlineWidth}px ${i}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:r}})}}},eX=e=>{let{componentCls:n}=e;return{[`${n}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},eG=e=>{let{componentCls:n,inputPaddingHorizontalBase:t,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},(0,ex.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},eB(e)),eX(e)),[`${n}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ex.vS),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},ex.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,ex.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:t+e.fontSize+e.paddingXS}}}},eY=e=>{let{componentCls:n}=e;return[{[n]:{[`&-borderless ${n}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${n}-in-form-item`]:{width:"100%"}}},eG(e),function(e){let{componentCls:n}=e,t=e.controlPaddingHorizontalSM-e.lineWidth;return[eK(e),eK((0,eC.TS)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${n}-single${n}-sm`]:{[`&:not(${n}-customize-input)`]:{[`${n}-selection-search`]:{insetInlineStart:t,insetInlineEnd:t},[`${n}-selector`]:{padding:`0 ${t}px`},[`&${n}-show-arrow ${n}-selection-search`]:{insetInlineEnd:t+1.5*e.fontSize},[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:1.5*e.fontSize}}}},eK((0,eC.TS)(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),e_(e),eA(e),{[`${n}-rtl`]:{direction:"rtl"}},eU(n,(0,eC.TS)(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),eU(`${n}-status-error`,(0,eC.TS)(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),eU(`${n}-status-warning`,(0,eC.TS)(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),(0,e$.c)(e,{borderElCls:`${n}-selector`,focusElCls:`${n}-focused`})]};var eQ=(0,eZ.Z)("Select",(e,n)=>{let{rootPrefixCls:t}=n,o=(0,eC.TS)(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.paddingSM-1});return[eY(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let eJ=e=>{let n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};var eq=t(63606),e0=t(4340),e1=t(97937),e2=t(80882),e4=t(50888),e3=t(68795),e5=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rn.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);return t};let e6="SECRET_COMBOBOX_MODE_DO_NOT_USE",e7=m.forwardRef((e,n)=>{let t;var o,i,a,{prefixCls:l,bordered:c=!0,className:u,rootClassName:s,getPopupContainer:d,popupClassName:p,dropdownClassName:f,listHeight:v=256,placement:g,listItemHeight:h=24,size:b,disabled:w,notFoundContent:S,status:y,builtinPlacements:E,dropdownMatchSelectWidth:x,popupMatchSelectWidth:$,direction:C,style:Z,allowClear:I}=e,O=e5(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);let{getPopupContainer:M,getPrefixCls:D,renderEmpty:R,direction:N,virtual:P,popupMatchSelectWidth:T,popupOverflow:k,select:z}=m.useContext(eg.E_),H=D("select",l),j=D(),L=null!=C?C:N,{compactSize:V,compactItemClassnames:A}=(0,eE.ri)(H,L),[W,F]=eQ(H),_=m.useMemo(()=>{let{mode:e}=O;return"combobox"===e?void 0:e===e6?"combobox":e},[O.mode]),K=(o=O.suffixIcon,void 0!==(i=O.showArrow)?i:null!==o),B=null!==(a=null!=$?$:x)&&void 0!==a?a:T,{status:U,hasFeedback:X,isFormItemInput:G,feedbackIcon:Y}=m.useContext(ey.aM),Q=(0,ev.F)(U,y);t=void 0!==S?S:"combobox"===_?null:(null==R?void 0:R("Select"))||m.createElement(ew,{componentName:"Select"});let{suffixIcon:J,itemIcon:q,removeIcon:ee,clearIcon:en}=function(e){let{suffixIcon:n,clearIcon:t,menuItemSelectedIcon:o,removeIcon:r,loading:i,multiple:a,hasFeedback:l,prefixCls:c,showSuffixIcon:u,feedbackIcon:s,showArrow:d,componentName:p}=e,f=null!=t?t:m.createElement(e0.Z,null),v=e=>null!==n||l||d?m.createElement(m.Fragment,null,!1!==u&&e,l&&s):null,g=null;if(void 0!==n)g=v(n);else if(i)g=v(m.createElement(e4.Z,{spin:!0}));else{let e=`${c}-suffix`;g=n=>{let{open:t,showSearch:o}=n;return t&&o?v(m.createElement(e3.Z,{className:e})):v(m.createElement(e2.Z,{className:e}))}}let h=null;return h=void 0!==o?o:a?m.createElement(eq.Z,null):null,{clearIcon:f,suffixIcon:g,itemIcon:h,removeIcon:void 0!==r?r:m.createElement(e1.Z,null)}}(Object.assign(Object.assign({},O),{multiple:"multiple"===_||"tags"===_,hasFeedback:X,feedbackIcon:Y,showSuffixIcon:K,prefixCls:H,showArrow:O.showArrow,componentName:"Select"})),et=(0,er.Z)(O,["suffixIcon","itemIcon"]),eo=r()(p||f,{[`${H}-dropdown-${L}`]:"rtl"===L},s,F),ei=(0,eS.Z)(e=>{var n;return null!==(n=null!=b?b:V)&&void 0!==n?n:e}),ea=m.useContext(eh.Z),el=r()({[`${H}-lg`]:"large"===ei,[`${H}-sm`]:"small"===ei,[`${H}-rtl`]:"rtl"===L,[`${H}-borderless`]:!c,[`${H}-in-form-item`]:G},(0,ev.Z)(H,Q,X),A,null==z?void 0:z.className,u,s,F),ec=m.useMemo(()=>void 0!==g?g:"rtl"===L?"bottomRight":"bottomLeft",[g,L]),eu=E||eJ(k);return W(m.createElement(ep,Object.assign({ref:n,virtual:P,showSearch:null==z?void 0:z.showSearch},et,{style:Object.assign(Object.assign({},null==z?void 0:z.style),Z),dropdownMatchSelectWidth:B,builtinPlacements:eu,transitionName:(0,em.m)(j,"slide-up",O.transitionName),listHeight:v,listItemHeight:h,mode:_,prefixCls:H,placement:ec,direction:L,suffixIcon:J,menuItemSelectedIcon:q,removeIcon:ee,allowClear:!0===I?{clearIcon:en}:I,notFoundContent:t,className:el,getPopupContainer:d||M,dropdownClassName:eo,disabled:null!=w?w:ea})))}),e8=(0,ef.Z)(e7);e7.SECRET_COMBOBOX_MODE_DO_NOT_USE=e6,e7.Option=et,e7.OptGroup=en,e7._InternalPanelDoNotUseOrYouWillBeFired=e8;var e9=e7}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/548-5e93f9e4383441e4.js b/pilot/server/static/_next/static/chunks/548-5e93f9e4383441e4.js deleted file mode 100644 index f48f9c445..000000000 --- a/pilot/server/static/_next/static/chunks/548-5e93f9e4383441e4.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[548],{44334:function(e,t,n){n.d(t,{Z:function(){return C}});var r=n(46750),i=n(40431),o=n(86006),a=n(53832),l=n(47562),s=n(89791),c=n(88930),u=n(326),p=n(50645),m=n(13809);function d(e){return(0,m.Z)("MuiBreadcrumbs",e)}(0,n(88539).Z)("MuiBreadcrumbs",["root","ol","li","separator","sizeSm","sizeMd","sizeLg"]);var g=n(9268);let h=["children","className","size","separator","component","slots","slotProps"],v=e=>{let{size:t}=e,n={root:["root",t&&`size${(0,a.Z)(t)}`],li:["li"],ol:["ol"],separator:["separator"]};return(0,l.Z)(n,d,{})},b=(0,p.Z)("nav",{name:"JoyBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,i.Z)({},"sm"===t.size&&{"--Breadcrumbs-gap":"0.25rem",fontSize:e.vars.fontSize.sm,padding:"0.5rem"},"md"===t.size&&{"--Breadcrumbs-gap":"0.375rem",fontSize:e.vars.fontSize.md,padding:"0.75rem"},"lg"===t.size&&{"--Breadcrumbs-gap":"0.5rem",fontSize:e.vars.fontSize.lg,padding:"1rem"},{lineHeight:1})),f=(0,p.Z)("ol",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),x=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({}),$=(0,p.Z)("li",{name:"JoyBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginInline:"var(--Breadcrumbs-gap)"}),S=o.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoyBreadcrumbs"}),{children:a,className:l,size:p="md",separator:m="/",component:d,slots:S={},slotProps:C={}}=n,y=(0,r.Z)(n,h),k=(0,i.Z)({},n,{separator:m,size:p}),E=v(k),N=(0,i.Z)({},y,{component:d,slots:S,slotProps:C}),[z,P]=(0,u.Z)("root",{ref:t,className:(0,s.Z)(E.root,l),elementType:b,externalForwardedProps:N,ownerState:k}),[I,O]=(0,u.Z)("ol",{className:E.ol,elementType:f,externalForwardedProps:N,ownerState:k}),[w,j]=(0,u.Z)("li",{className:E.li,elementType:x,externalForwardedProps:N,ownerState:k}),[B,Z]=(0,u.Z)("separator",{additionalProps:{"aria-hidden":!0},className:E.separator,elementType:$,externalForwardedProps:N,ownerState:k}),T=o.Children.toArray(a).filter(e=>o.isValidElement(e)).map((e,t)=>(0,g.jsx)(w,(0,i.Z)({},j,{children:e}),`child-${t}`));return(0,g.jsx)(z,(0,i.Z)({},P,{children:(0,g.jsx)(I,(0,i.Z)({},O,{children:T.reduce((e,t,n)=>(n=0||t.relatedTarget.className.indexOf("".concat(o,"-item"))>=0)||i(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode===y.ENTER||"click"===t.type)&&(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue()))},e}return(0,x.Z)(n,[{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some(function(e){return e.toString()===t.toString()})?n:n.concat([t.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,o=t.rootPrefixCls,a=t.changeSize,l=t.quickGo,s=t.goButton,c=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,m=t.disabled,d=this.state.goInputText,g="".concat(o,"-options"),h=null,v=null,b=null;if(!a&&!l)return null;var f=this.getPageSizeOptions();if(a&&c){var x=f.map(function(t,n){return i.createElement(c.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))});h=i.createElement(c,{disabled:m,prefixCls:p,showSearch:!1,className:"".concat(g,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(n||f[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},x)}return l&&(s&&(b="boolean"==typeof s?i.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(g,"-quick-jumper-button")},r.jump_to_confirm):i.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),v=i.createElement("div",{className:"".concat(g,"-quick-jumper")},r.jump_to,i.createElement("input",{disabled:m,type:"text",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":r.page}),r.page,b)),i.createElement("li",{className:"".concat(g)},h,v)}}]),n}(i.Component);k.defaultProps={pageSizeOptions:["10","20","50","100"]};var E=function(e){var t,n=e.rootPrefixCls,r=e.page,o=e.active,a=e.className,l=e.showTitle,s=e.onClick,c=e.onKeyPress,u=e.itemRender,p="".concat(n,"-item"),m=h()(p,"".concat(p,"-").concat(r),(t={},(0,v.Z)(t,"".concat(p,"-active"),o),(0,v.Z)(t,"".concat(p,"-disabled"),!r),(0,v.Z)(t,e.className,a),t));return i.createElement("li",{title:l?r.toString():null,className:m,onClick:function(){s(r)},onKeyPress:function(e){c(e,s,r)},tabIndex:0},u(r,"page",i.createElement("a",{rel:"nofollow"},r)))};function N(){}function z(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function P(e,t,n){var r=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var I=function(e){(0,$.Z)(n,e);var t=(0,S.Z)(n);function n(e){(0,f.Z)(this,n),(r=t.call(this,e)).paginationNode=i.createRef(),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(P(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,o=e||i.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(o=i.createElement(e,(0,b.Z)({},r.props))),o},r.isValid=function(e){var t=r.props.total;return z(e)&&e!==r.state.current&&z(t)&&t>0},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper;return!(e.total<=r.state.pageSize)&&t},r.handleKeyDown=function(e){(e.keyCode===y.ARROW_UP||e.keyCode===y.ARROW_DOWN)&&e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e);t!==r.state.currentInputValue&&r.setState({currentInputValue:t}),e.keyCode===y.ENTER?r.handleChange(t):e.keyCode===y.ARROW_UP?r.handleChange(t-1):e.keyCode===y.ARROW_DOWN&&r.handleChange(t+1)},r.handleBlur=function(e){var t=r.getValidValue(e);r.handleChange(t)},r.changePageSize=function(e){var t=r.state.current,n=P(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"!=typeof e||("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange,o=r.state,a=o.pageSize,l=o.current,s=o.currentInputValue;if(r.isValid(e)&&!n){var c=P(void 0,r.state,r.props),u=e;return e>c?u=c:e<1&&(u=1),"current"in r.props||r.setState({current:u}),u!==s&&r.setState({currentInputValue:u}),i(u,a),u}return l},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current2?n-2:0),i=2;i=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>r}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,o=e.style,a=e.disabled,l=e.hideOnSinglePage,s=e.total,c=e.locale,u=e.showQuickJumper,p=e.showLessItems,m=e.showTitle,d=e.showTotal,g=e.simple,b=e.itemRender,f=e.showPrevNextJumpers,x=e.jumpPrevIcon,$=e.jumpNextIcon,S=e.selectComponentClass,y=e.selectPrefixCls,N=e.pageSizeOptions,z=this.state,I=z.current,O=z.pageSize,w=z.currentInputValue;if(!0===l&&s<=O)return null;var j=P(void 0,this.state,this.props),B=[],Z=null,T=null,M=null,D=null,R=null,_=u&&u.goButton,A=p?1:2,H=I-1>0?I-1:0,W=I+1s?s:I*O]));if(g)return _&&(R="boolean"==typeof _?i.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},c.jump_to_confirm):i.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_),R=i.createElement("li",{title:m?"".concat(c.jump_to).concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},R)),i.createElement("ul",(0,r.Z)({className:h()(t,"".concat(t,"-simple"),(0,v.Z)({},"".concat(t,"-disabled"),a),n),style:o,ref:this.paginationNode},V),L,i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(H)),i.createElement("li",{title:m?"".concat(I,"/").concat(j):null,className:"".concat(t,"-simple-pager")},i.createElement("input",{type:"text",value:w,disabled:a,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),i.createElement("span",{className:"".concat(t,"-slash")},"/"),j),i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(W)),R);if(j<=3+2*A){var K={locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:m,itemRender:b};j||B.push(i.createElement(E,(0,r.Z)({},K,{key:"noPager",page:1,className:"".concat(t,"-item-disabled")})));for(var J=1;J<=j;J+=1){var U=I===J;B.push(i.createElement(E,(0,r.Z)({},K,{key:J,page:J,active:U})))}}else{var X=p?c.prev_3:c.prev_5,G=p?c.next_3:c.next_5;f&&(Z=i.createElement("li",{title:m?X:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:h()("".concat(t,"-jump-prev"),(0,v.Z)({},"".concat(t,"-jump-prev-custom-icon"),!!x))},b(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(x,"prev page"))),T=i.createElement("li",{title:m?G:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:h()("".concat(t,"-jump-next"),(0,v.Z)({},"".concat(t,"-jump-next-custom-icon"),!!$))},b(this.getJumpNextPage(),"jump-next",this.getItemIcon($,"next page")))),D=i.createElement(E,{locale:c,last:!0,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:j,page:j,active:!1,showTitle:m,itemRender:b}),M=i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:m,itemRender:b});var F=Math.max(1,I-A),q=Math.min(I+A,j);I-1<=A&&(q=1+2*A),j-I<=A&&(F=j-2*A);for(var Q=F;Q<=q;Q+=1){var Y=I===Q;B.push(i.createElement(E,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Q,page:Q,active:Y,showTitle:m,itemRender:b}))}I-1>=2*A&&3!==I&&(B[0]=(0,i.cloneElement)(B[0],{className:"".concat(t,"-item-after-jump-prev")}),B.unshift(Z)),j-I>=2*A&&I!==j-2&&(B[B.length-1]=(0,i.cloneElement)(B[B.length-1],{className:"".concat(t,"-item-before-jump-next")}),B.push(T)),1!==F&&B.unshift(M),q!==j&&B.push(D)}var ee=!this.hasPrev()||!j,et=!this.hasNext()||!j;return i.createElement("ul",(0,r.Z)({className:h()(t,n,(0,v.Z)({},"".concat(t,"-disabled"),a)),style:o,ref:this.paginationNode},V),L,i.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:h()("".concat(t,"-prev"),(0,v.Z)({},"".concat(t,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(H)),B,i.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:et?null:0,onKeyPress:this.runIfEnterNext,className:h()("".concat(t,"-next"),(0,v.Z)({},"".concat(t,"-disabled"),et)),"aria-disabled":et},this.renderNext(W)),i.createElement(k,{disabled:a,locale:c,rootPrefixCls:t,selectComponentClass:S,selectPrefixCls:y,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:I,pageSize:O,pageSizeOptions:N,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,i=P(e.pageSize,t,e);r=r>i?i:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(i.Component);I.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:N,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:N,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var O=n(91219),w=n(79746),j=n(30069),B=n(3146),Z=n(16997),T=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)({}),n=(0,B.Z)(),r=(0,Z.Z)();return(0,i.useEffect)(()=>{let i=r.subscribe(r=>{t.current=r,e&&n()});return()=>r.unsubscribe(i)},[]),t.current},M=n(6783),D=n(86401);let R=e=>i.createElement(D.Z,Object.assign({},e,{showSearch:!0,size:"small"})),_=e=>i.createElement(D.Z,Object.assign({},e,{showSearch:!0,size:"middle"}));R.Option=D.Z.Option,_.Option=D.Z.Option;var A=n(40399),H=n(98663),W=n(40650),V=n(70721);let L=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},K=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM-2}px`},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` - &${t}-mini ${t}-prev ${t}-item-link, - &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,A.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},J=e=>{let{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},U=e=>{let{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` - ${t}-prev, - ${t}-jump-prev, - ${t}-jump-next - `]:{marginInlineEnd:e.marginXS},[` - ${t}-prev, - ${t}-next, - ${t}-jump-prev, - ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`border ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,A.ik)(e)),{width:1.25*e.controlHeightLG,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},X=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:`${e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},G=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,H.Wf)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.itemSize-2}px`,verticalAlign:"middle"}}),X(e)),U(e)),J(e)),K(e)),L(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},F=e=>{let{componentCls:t}=e;return{[`${t}${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},q=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,H.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,H.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,H.oN)(e))}}}};var Q=(0,W.Z)("Pagination",e=>{let t=(0,V.TS)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:1.1*e.controlHeightLG,paginationItemPaddingInline:1.5*e.marginXXS,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,A.e5)(e));return[G(t),q(t),e.wireframe&&F(t)]},e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0})),Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},ee=e=>{let{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:o,style:a,size:s,locale:u,selectComponentClass:m,responsive:g,showSizeChanger:v}=e,b=Y(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:f}=T(g),{getPrefixCls:x,direction:$,pagination:S={}}=i.useContext(w.E_),C=x("pagination",t),[y,k]=Q(C),E=null!=v?v:S.showSizeChanger,N=i.useMemo(()=>{let e=i.createElement("span",{className:`${C}-item-ellipsis`},"•••"),t=i.createElement("button",{className:`${C}-item-link`,type:"button",tabIndex:-1},"rtl"===$?i.createElement(d,null):i.createElement(p,null)),n=i.createElement("button",{className:`${C}-item-link`,type:"button",tabIndex:-1},"rtl"===$?i.createElement(p,null):i.createElement(d,null)),r=i.createElement("a",{className:`${C}-item-link`},i.createElement("div",{className:`${C}-item-container`},"rtl"===$?i.createElement(c,{className:`${C}-item-link-icon`}):i.createElement(l,{className:`${C}-item-link-icon`}),e)),o=i.createElement("a",{className:`${C}-item-link`},i.createElement("div",{className:`${C}-item-container`},"rtl"===$?i.createElement(l,{className:`${C}-item-link-icon`}):i.createElement(c,{className:`${C}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:o}},[$,C]),[z]=(0,M.Z)("Pagination",O.Z),P=Object.assign(Object.assign({},z),u),B=(0,j.Z)(s),Z="small"===B||!!(f&&!B&&g),D=x("select",n),A=h()({[`${C}-mini`]:Z,[`${C}-rtl`]:"rtl"===$},null==S?void 0:S.className,r,o,k),H=Object.assign(Object.assign({},null==S?void 0:S.style),a);return y(i.createElement(I,Object.assign({},N,b,{style:H,prefixCls:C,selectPrefixCls:D,className:A,selectComponentClass:m||(Z?R:_),locale:P,showSizeChanger:E})))}},23910:function(e,t,n){n.d(t,{Z:function(){return z}});var r=n(8683),i=n.n(r),o=n(86006);let a=e=>e?"function"==typeof e?e():e:null;var l=n(80716),s=n(79746),c=n(71563),u=n(99753),p=n(98663),m=n(87270),d=n(20798),g=n(83688),h=n(40650),v=n(70721);let b=e=>{let{componentCls:t,popoverColor:n,minWidth:r,fontWeightStrong:i,popoverPadding:o,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:c,marginXS:u,colorBgElevated:m,popoverBg:g}=e;return[{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:g,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:u,color:l,fontWeight:i},[`${t}-inner-content`]:{color:n}})},(0,d.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},f=e=>{let{componentCls:t}=e;return{[t]:g.i.map(n=>{let r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},x=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:i,paddingSM:o,controlHeight:a,fontSize:l,lineHeight:s,padding:c}=e,u=a-Math.round(l*s);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${u/2}px ${c}px ${u/2-n}px`,borderBottom:`${n}px ${r} ${i}`},[`${t}-inner-content`]:{padding:`${o}px ${c}px`}}}};var $=(0,h.Z)("Popover",e=>{let{colorBgElevated:t,colorText:n,wireframe:r}=e,i=(0,v.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[b(i),f(i),r&&x(i),(0,m._y)(i,"zoom-big")]},e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30}),{deprecatedTokens:[["width","minWidth"]]}),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let C=(e,t,n)=>{if(t||n)return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${e}-title`},a(t)),o.createElement("div",{className:`${e}-inner-content`},a(n)))},y=e=>{let{hashId:t,prefixCls:n,className:r,style:a,placement:l="top",title:s,content:c,children:p}=e;return o.createElement("div",{className:i()(t,n,`${n}-pure`,`${n}-placement-${l}`,r),style:a},o.createElement("div",{className:`${n}-arrow`}),o.createElement(u.G,Object.assign({},e,{className:t,prefixCls:n}),p||C(n,s,c)))};var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let E=e=>{let{title:t,content:n,prefixCls:r}=e;return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${r}-title`},a(t)),o.createElement("div",{className:`${r}-inner-content`},a(n)))},N=o.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:a,overlayClassName:u,placement:p="top",trigger:m="hover",mouseEnterDelay:d=.1,mouseLeaveDelay:g=.1,overlayStyle:h={}}=e,v=k(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:b}=o.useContext(s.E_),f=b("popover",n),[x,S]=$(f),C=b(),y=i()(u,S);return x(o.createElement(c.Z,Object.assign({placement:p,trigger:m,mouseEnterDelay:d,mouseLeaveDelay:g,overlayStyle:h},v,{prefixCls:f,overlayClassName:y,ref:t,overlay:r||a?o.createElement(E,{prefixCls:f,title:r,content:a}):null,transitionName:(0,l.m)(C,"zoom-big",v.transitionName),"data-popover-inject":!0})))});N._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t}=e,n=S(e,["prefixCls"]),{getPrefixCls:r}=o.useContext(s.E_),i=r("popover",t),[a,l]=$(i);return a(o.createElement(y,Object.assign({},n,{prefixCls:i,hashId:l})))};var z=N}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/566-493c6126d6ac9745.js b/pilot/server/static/_next/static/chunks/566-493c6126d6ac9745.js new file mode 100644 index 000000000..d8a7a8039 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/566-493c6126d6ac9745.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[566],{59566:function(e,t,n){n.d(t,{default:function(){return en}});var r,l=n(94184),a=n.n(l),o=n(67294),u=n(53124),s=n(65223),i=n(47673),c=n(4340),f=n(67656),d=n(42550),p=n(9708),v=n(98866),m=n(98675),g=n(4173);function b(e,t){let n=(0,o.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,r,l;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(l=e.current)||void 0===l||l.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let h=(0,o.forwardRef)((e,t)=>{var n;let r;let{prefixCls:l,bordered:h=!0,status:y,size:w,disabled:C,onBlur:E,onFocus:Z,suffix:N,allowClear:O,addonAfter:S,addonBefore:z,className:j,style:R,styles:A,rootClassName:$,onChange:P,classNames:k}=e,B=x(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:F,direction:T,input:I}=o.useContext(u.E_),M=F("input",l),H=(0,o.useRef)(null),[V,D]=(0,i.ZP)(M),{compactSize:L,compactItemClassnames:_}=(0,g.ri)(M,T),W=(0,m.Z)(e=>{var t;return null!==(t=null!=w?w:L)&&void 0!==t?t:e}),Q=o.useContext(v.Z),J=null!=C?C:Q,{status:K,hasFeedback:X,feedbackIcon:q}=(0,o.useContext)(s.aM),U=(0,p.F)(K,y),Y=!!(e.prefix||e.suffix||e.allowClear)||!!X,G=(0,o.useRef)(Y);(0,o.useEffect)(()=>{Y&&G.current,G.current=Y},[Y]);let ee=b(H,!0),et=(X||N)&&o.createElement(o.Fragment,null,N,X&&q);return"object"==typeof O&&(null==O?void 0:O.clearIcon)?r=O:O&&(r={clearIcon:o.createElement(c.Z,null)}),V(o.createElement(f.Z,Object.assign({ref:(0,d.sQ)(t,H),prefixCls:M,autoComplete:null==I?void 0:I.autoComplete},B,{disabled:J,onBlur:e=>{ee(),null==E||E(e)},onFocus:e=>{ee(),null==Z||Z(e)},style:Object.assign(Object.assign({},null==I?void 0:I.style),R),styles:Object.assign(Object.assign({},null==I?void 0:I.styles),A),suffix:et,allowClear:r,className:a()(j,$,_,null==I?void 0:I.className),onChange:e=>{ee(),null==P||P(e)},addonAfter:S&&o.createElement(g.BR,null,o.createElement(s.Ux,{override:!0,status:!0},S)),addonBefore:z&&o.createElement(g.BR,null,o.createElement(s.Ux,{override:!0,status:!0},z)),classNames:Object.assign(Object.assign(Object.assign({},k),null==I?void 0:I.classNames),{input:a()({[`${M}-sm`]:"small"===W,[`${M}-lg`]:"large"===W,[`${M}-rtl`]:"rtl"===T,[`${M}-borderless`]:!h},!Y&&(0,p.Z)(M,U),null==k?void 0:k.input,null===(n=null==I?void 0:I.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:a()({[`${M}-affix-wrapper-sm`]:"small"===W,[`${M}-affix-wrapper-lg`]:"large"===W,[`${M}-affix-wrapper-rtl`]:"rtl"===T,[`${M}-affix-wrapper-borderless`]:!h},(0,p.Z)(`${M}-affix-wrapper`,U,X),D),wrapper:a()({[`${M}-group-rtl`]:"rtl"===T},D),group:a()({[`${M}-group-wrapper-sm`]:"small"===W,[`${M}-group-wrapper-lg`]:"large"===W,[`${M}-group-wrapper-rtl`]:"rtl"===T,[`${M}-group-wrapper-disabled`]:J},(0,p.Z)(`${M}-group-wrapper`,U,X),D)}})))});var y=n(87462),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},C=n(42135),E=o.forwardRef(function(e,t){return o.createElement(C.Z,(0,y.Z)({},e,{ref:t,icon:w}))}),Z=n(99611),N=n(98423),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let S=e=>e?o.createElement(Z.Z,null):o.createElement(E,null),z={click:"onClick",hover:"onMouseOver"},j=o.forwardRef((e,t)=>{let{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[l,s]=(0,o.useState)(()=>!!r&&n.visible),i=(0,o.useRef)(null);o.useEffect(()=>{r&&s(n.visible)},[r,n]);let c=b(i),f=()=>{let{disabled:t}=e;t||(l&&c(),s(e=>{var t;let r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r}))},{className:p,prefixCls:v,inputPrefixCls:m,size:g}=e,x=O(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=o.useContext(u.E_),w=y("input",m),C=y("input-password",v),E=n&&(t=>{let{action:n="click",iconRender:r=S}=e,a=z[n]||"",u=r(l),s={[a]:f,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return o.cloneElement(o.isValidElement(u)?u:o.createElement("span",null,u),s)})(C),Z=a()(C,p,{[`${C}-${g}`]:!!g}),j=Object.assign(Object.assign({},(0,N.Z)(x,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:Z,prefixCls:w,suffix:E});return g&&(j.size=g),o.createElement(h,Object.assign({ref:(0,d.sQ)(t,i)},j))});var R=n(68795),A=n(96159),$=n(71577),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let k=o.forwardRef((e,t)=>{let n;let{prefixCls:r,inputPrefixCls:l,className:s,size:i,suffix:c,enterButton:f=!1,addonAfter:p,loading:v,disabled:b,onSearch:x,onChange:y,onCompositionStart:w,onCompositionEnd:C}=e,E=P(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Z,direction:N}=o.useContext(u.E_),O=o.useRef(!1),S=Z("input-search",r),z=Z("input",l),{compactSize:j}=(0,g.ri)(S,N),k=(0,m.Z)(e=>{var t;return null!==(t=null!=i?i:j)&&void 0!==t?t:e}),B=o.useRef(null),F=e=>{var t;document.activeElement===(null===(t=B.current)||void 0===t?void 0:t.input)&&e.preventDefault()},T=e=>{var t,n;x&&x(null===(n=null===(t=B.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},I="boolean"==typeof f?o.createElement(R.Z,null):null,M=`${S}-button`,H=f||{},V=H.type&&!0===H.type.__ANT_BUTTON;n=V||"button"===H.type?(0,A.Tm)(H,Object.assign({onMouseDown:F,onClick:e=>{var t,n;null===(n=null===(t=null==H?void 0:H.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),T(e)},key:"enterButton"},V?{className:M,size:k}:{})):o.createElement($.ZP,{className:M,type:f?"primary":void 0,size:k,disabled:b,key:"enterButton",onMouseDown:F,onClick:T,loading:v,icon:I},f),p&&(n=[n,(0,A.Tm)(p,{key:"addonAfter"})]);let D=a()(S,{[`${S}-rtl`]:"rtl"===N,[`${S}-${k}`]:!!k,[`${S}-with-button`]:!!f},s);return o.createElement(h,Object.assign({ref:(0,d.sQ)(B,t),onPressEnter:e=>{O.current||v||T(e)}},E,{size:k,onCompositionStart:e=>{O.current=!0,null==w||w(e)},onCompositionEnd:e=>{O.current=!1,null==C||C(e)},prefixCls:z,addonAfter:n,suffix:c,onChange:e=>{e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),y&&y(e)},className:D,disabled:b}))});var B=n(1413),F=n(4942),T=n(71002),I=n(97685),M=n(45987),H=n(74902),V=n(87887),D=n(21770),L=n(9220),_=n(8410),W=n(75164),Q=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],J={},K=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],X=o.forwardRef(function(e,t){var n=e.prefixCls,l=(e.onPressEnter,e.defaultValue),u=e.value,s=e.autoSize,i=e.onResize,c=e.className,f=e.style,d=e.disabled,p=e.onChange,v=(e.onInternalAutoSize,(0,M.Z)(e,K)),m=(0,D.Z)(l,{value:u,postState:function(e){return null!=e?e:""}}),g=(0,I.Z)(m,2),b=g[0],x=g[1],h=o.useRef();o.useImperativeHandle(t,function(){return{textArea:h.current}});var w=o.useMemo(function(){return s&&"object"===(0,T.Z)(s)?[s.minRows,s.maxRows]:[]},[s]),C=(0,I.Z)(w,2),E=C[0],Z=C[1],N=!!s,O=function(){try{if(document.activeElement===h.current){var e=h.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;h.current.setSelectionRange(t,n),h.current.scrollTop=r}}catch(e){}},S=o.useState(2),z=(0,I.Z)(S,2),j=z[0],R=z[1],A=o.useState(),$=(0,I.Z)(A,2),P=$[0],k=$[1],H=function(){R(0)};(0,_.Z)(function(){N&&H()},[u,E,Z,N]),(0,_.Z)(function(){if(0===j)R(1);else if(1===j){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&J[n])return J[n];var r=window.getComputedStyle(e),l=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u={sizingStyle:Q.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:a,borderSize:o,boxSizing:l};return t&&n&&(J[n]=u),u}(e,n),u=o.paddingSize,s=o.borderSize,i=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===i?p+=s:"content-box"===i&&(p-=u),null!==l||null!==a){r.value=" ";var v=r.scrollHeight-u;null!==l&&(f=v*l,"border-box"===i&&(f=f+u+s),p=Math.max(f,p)),null!==a&&(d=v*a,"border-box"===i&&(d=d+u+s),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(h.current,!1,E,Z);R(2),k(e)}else O()},[j]);var V=o.useRef(),X=function(){W.Z.cancel(V.current)};o.useEffect(function(){return X},[]);var q=N?P:null,U=(0,B.Z)((0,B.Z)({},f),q);return(0===j||1===j)&&(U.overflowY="hidden",U.overflowX="hidden"),o.createElement(L.Z,{onResize:function(e){2===j&&(null==i||i(e),s&&(X(),V.current=(0,W.Z)(function(){H()})))},disabled:!(s||i)},o.createElement("textarea",(0,y.Z)({},v,{ref:h,style:U,className:a()(n,c,(0,F.Z)({},"".concat(n,"-disabled"),d)),disabled:d,value:b,onChange:function(e){x(e.target.value),null==p||p(e)}})))}),q=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function U(e,t){return(0,H.Z)(e||"").slice(0,t).join("")}function Y(e,t,n,r){var l=n;return e?l=U(n,r):(0,H.Z)(t||"").lengthr&&(l=t),l}var G=o.forwardRef(function(e,t){var n,r,l=e.defaultValue,u=e.value,s=e.onFocus,i=e.onBlur,c=e.onChange,d=e.allowClear,p=e.maxLength,v=e.onCompositionStart,m=e.onCompositionEnd,g=e.suffix,b=e.prefixCls,x=void 0===b?"rc-textarea":b,h=e.classes,w=e.showCount,C=e.className,E=e.style,Z=e.disabled,N=e.hidden,O=e.classNames,S=e.styles,z=e.onResize,j=(0,M.Z)(e,q),R=(0,D.Z)(l,{value:u,defaultValue:l}),A=(0,I.Z)(R,2),$=A[0],P=A[1],k=(0,o.useRef)(null),L=o.useState(!1),_=(0,I.Z)(L,2),W=_[0],Q=_[1],J=o.useState(!1),K=(0,I.Z)(J,2),G=K[0],ee=K[1],et=o.useRef(),en=o.useRef(0),er=o.useState(null),el=(0,I.Z)(er,2),ea=el[0],eo=el[1],eu=function(){var e;null===(e=k.current)||void 0===e||e.textArea.focus()};(0,o.useImperativeHandle)(t,function(){return{resizableTextArea:k.current,focus:eu,blur:function(){var e;null===(e=k.current)||void 0===e||e.textArea.blur()}}}),(0,o.useEffect)(function(){Q(function(e){return!Z&&e})},[Z]);var es=Number(p)>0,ei=(0,V.D7)($);!G&&es&&null==u&&(ei=U(ei,p));var ec=g;if(w){var ef=(0,H.Z)(ei).length;r="object"===(0,T.Z)(w)?w.formatter({value:ei,count:ef,maxLength:p}):"".concat(ef).concat(es?" / ".concat(p):""),ec=o.createElement(o.Fragment,null,ec,o.createElement("span",{className:a()("".concat(x,"-data-count"),null==O?void 0:O.count),style:null==S?void 0:S.count},r))}var ed=!j.autoSize&&!w&&!d;return o.createElement(f.Q,{value:ei,allowClear:d,handleReset:function(e){var t;P(""),eu(),(0,V.rJ)(null===(t=k.current)||void 0===t?void 0:t.textArea,e,c)},suffix:ec,prefixCls:x,classes:{affixWrapper:a()(null==h?void 0:h.affixWrapper,(n={},(0,F.Z)(n,"".concat(x,"-show-count"),w),(0,F.Z)(n,"".concat(x,"-textarea-allow-clear"),d),n))},disabled:Z,focused:W,className:C,style:(0,B.Z)((0,B.Z)({},E),ea&&!ed?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof r?r:void 0}},hidden:N,inputElement:o.createElement(X,(0,y.Z)({},j,{onKeyDown:function(e){var t=j.onPressEnter,n=j.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},onChange:function(e){var t=e.target.value;!G&&es&&(t=Y(e.target.selectionStart>=p+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,p)),P(t),(0,V.rJ)(e.currentTarget,e,c,t)},onFocus:function(e){Q(!0),null==s||s(e)},onBlur:function(e){Q(!1),null==i||i(e)},onCompositionStart:function(e){ee(!0),et.current=$,en.current=e.currentTarget.selectionStart,null==v||v(e)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;es&&(n=Y(en.current>=p+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,p)),n!==$&&(P(n),(0,V.rJ)(e.currentTarget,e,c,n)),null==m||m(e)},className:null==O?void 0:O.textarea,style:(0,B.Z)((0,B.Z)({},null==S?void 0:S.textarea),{},{resize:null==E?void 0:E.resize}),disabled:Z,prefixCls:x,onResize:function(e){var t;null==z||z(e),null!==(t=k.current)&&void 0!==t&&t.textArea.style.height&&eo(!0)},ref:k}))})}),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let et=(0,o.forwardRef)((e,t)=>{let n;let{prefixCls:r,bordered:l=!0,size:f,disabled:d,status:g,allowClear:b,showCount:x,classNames:h}=e,y=ee(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:w,direction:C}=o.useContext(u.E_),E=(0,m.Z)(f),Z=o.useContext(v.Z),{status:N,hasFeedback:O,feedbackIcon:S}=o.useContext(s.aM),z=(0,p.F)(N,g),j=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null===(e=j.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n){let t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=j.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=j.current)||void 0===e?void 0:e.blur()}}});let R=w("input",r);"object"==typeof b&&(null==b?void 0:b.clearIcon)?n=b:b&&(n={clearIcon:o.createElement(c.Z,null)});let[A,$]=(0,i.ZP)(R);return A(o.createElement(G,Object.assign({},y,{disabled:null!=d?d:Z,allowClear:n,classes:{affixWrapper:a()(`${R}-textarea-affix-wrapper`,{[`${R}-affix-wrapper-rtl`]:"rtl"===C,[`${R}-affix-wrapper-borderless`]:!l,[`${R}-affix-wrapper-sm`]:"small"===E,[`${R}-affix-wrapper-lg`]:"large"===E,[`${R}-textarea-show-count`]:x},(0,p.Z)(`${R}-affix-wrapper`,z),$)},classNames:Object.assign(Object.assign({},h),{textarea:a()({[`${R}-borderless`]:!l,[`${R}-sm`]:"small"===E,[`${R}-lg`]:"large"===E},(0,p.Z)(R,z),$,null==h?void 0:h.textarea)}),prefixCls:R,suffix:O&&o.createElement("span",{className:`${R}-textarea-suffix`},S),showCount:x,ref:j})))});h.Group=e=>{let{getPrefixCls:t,direction:n}=(0,o.useContext)(u.E_),{prefixCls:r,className:l}=e,c=t("input-group",r),f=t("input"),[d,p]=(0,i.ZP)(f),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},p,l),m=(0,o.useContext)(s.aM),g=(0,o.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return d(o.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},o.createElement(s.aM.Provider,{value:g},e.children)))},h.Search=k,h.TextArea=et,h.Password=j;var en=h},67656:function(e,t,n){n.d(t,{Q:function(){return f},Z:function(){return x}});var r=n(87462),l=n(1413),a=n(4942),o=n(71002),u=n(94184),s=n.n(u),i=n(67294),c=n(87887),f=function(e){var t=e.inputElement,n=e.prefixCls,u=e.prefix,f=e.suffix,d=e.addonBefore,p=e.addonAfter,v=e.className,m=e.style,g=e.disabled,b=e.readOnly,x=e.focused,h=e.triggerFocus,y=e.allowClear,w=e.value,C=e.handleReset,E=e.hidden,Z=e.classes,N=e.classNames,O=e.dataAttrs,S=e.styles,z=e.components,j=(null==z?void 0:z.affixWrapper)||"span",R=(null==z?void 0:z.groupWrapper)||"span",A=(null==z?void 0:z.wrapper)||"span",$=(null==z?void 0:z.groupAddon)||"span",P=(0,i.useRef)(null),k=(0,i.cloneElement)(t,{value:w,hidden:E,className:s()(null===(B=t.props)||void 0===B?void 0:B.className,!(0,c.X3)(e)&&!(0,c.He)(e)&&v)||null,style:(0,l.Z)((0,l.Z)({},null===(F=t.props)||void 0===F?void 0:F.style),(0,c.X3)(e)||(0,c.He)(e)?{}:m)});if((0,c.X3)(e)){var B,F,T,I="".concat(n,"-affix-wrapper"),M=s()(I,(T={},(0,a.Z)(T,"".concat(I,"-disabled"),g),(0,a.Z)(T,"".concat(I,"-focused"),x),(0,a.Z)(T,"".concat(I,"-readonly"),b),(0,a.Z)(T,"".concat(I,"-input-with-clear-btn"),f&&y&&w),T),!(0,c.He)(e)&&v,null==Z?void 0:Z.affixWrapper,null==N?void 0:N.affixWrapper),H=(f||y)&&i.createElement("span",{className:s()("".concat(n,"-suffix"),null==N?void 0:N.suffix),style:null==S?void 0:S.suffix},function(){if(!y)return null;var e,t=!g&&!b&&w,r="".concat(n,"-clear-icon"),l="object"===(0,o.Z)(y)&&null!=y&&y.clearIcon?y.clearIcon:"✖";return i.createElement("span",{onClick:C,onMouseDown:function(e){return e.preventDefault()},className:s()(r,(e={},(0,a.Z)(e,"".concat(r,"-hidden"),!t),(0,a.Z)(e,"".concat(r,"-has-suffix"),!!f),e)),role:"button",tabIndex:-1},l)}(),f);k=i.createElement(j,(0,r.Z)({className:M,style:(0,l.Z)((0,l.Z)({},(0,c.He)(e)?void 0:m),null==S?void 0:S.affixWrapper),hidden:!(0,c.He)(e)&&E,onClick:function(e){var t;null!==(t=P.current)&&void 0!==t&&t.contains(e.target)&&(null==h||h())}},null==O?void 0:O.affixWrapper,{ref:P}),u&&i.createElement("span",{className:s()("".concat(n,"-prefix"),null==N?void 0:N.prefix),style:null==S?void 0:S.prefix},u),(0,i.cloneElement)(t,{value:w,hidden:null}),H)}if((0,c.He)(e)){var V="".concat(n,"-group"),D="".concat(V,"-addon"),L=s()("".concat(n,"-wrapper"),V,null==Z?void 0:Z.wrapper),_=s()("".concat(n,"-group-wrapper"),v,null==Z?void 0:Z.group);return i.createElement(R,{className:_,style:m,hidden:E},i.createElement(A,{className:L},d&&i.createElement($,{className:D},d),(0,i.cloneElement)(k,{hidden:null}),p&&i.createElement($,{className:D},p)))}return k},d=n(74902),p=n(97685),v=n(45987),m=n(21770),g=n(98423),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],x=(0,i.forwardRef)(function(e,t){var n,u=e.autoComplete,x=e.onChange,h=e.onFocus,y=e.onBlur,w=e.onPressEnter,C=e.onKeyDown,E=e.prefixCls,Z=void 0===E?"rc-input":E,N=e.disabled,O=e.htmlSize,S=e.className,z=e.maxLength,j=e.suffix,R=e.showCount,A=e.type,$=e.classes,P=e.classNames,k=e.styles,B=(0,v.Z)(e,b),F=(0,m.Z)(e.defaultValue,{value:e.value}),T=(0,p.Z)(F,2),I=T[0],M=T[1],H=(0,i.useState)(!1),V=(0,p.Z)(H,2),D=V[0],L=V[1],_=(0,i.useRef)(null),W=function(e){_.current&&(0,c.nH)(_.current,e)};return(0,i.useImperativeHandle)(t,function(){return{focus:W,blur:function(){var e;null===(e=_.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=_.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=_.current)||void 0===e||e.select()},input:_.current}}),(0,i.useEffect)(function(){L(function(e){return(!e||!N)&&e})},[N]),i.createElement(f,(0,r.Z)({},B,{prefixCls:Z,className:S,inputElement:(n=(0,g.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]),i.createElement("input",(0,r.Z)({autoComplete:u},n,{onChange:function(t){void 0===e.value&&M(t.target.value),_.current&&(0,c.rJ)(_.current,t,x)},onFocus:function(e){L(!0),null==h||h(e)},onBlur:function(e){L(!1),null==y||y(e)},onKeyDown:function(e){w&&"Enter"===e.key&&w(e),null==C||C(e)},className:s()(Z,(0,a.Z)({},"".concat(Z,"-disabled"),N),null==P?void 0:P.input),style:null==k?void 0:k.input,ref:_,size:O,type:void 0===A?"text":A}))),handleReset:function(e){M(""),W(),_.current&&(0,c.rJ)(_.current,e,x)},value:(0,c.D7)(I),focused:D,triggerFocus:W,suffix:function(){var e=Number(z)>0;if(j||R){var t=(0,c.D7)(I),n=(0,d.Z)(t).length,r="object"===(0,o.Z)(R)?R.formatter({value:t,count:n,maxLength:z}):"".concat(n).concat(e?" / ".concat(z):"");return i.createElement(i.Fragment,null,!!R&&i.createElement("span",{className:s()("".concat(Z,"-show-count-suffix"),(0,a.Z)({},"".concat(Z,"-show-count-has-suffix"),!!j),null==P?void 0:P.count),style:(0,l.Z)({},null==k?void 0:k.count)},r),j)}return null}(),disabled:N,classes:$,classNames:P,styles:k}))})},87887:function(e,t,n){function r(e){return!!(e.addonBefore||e.addonAfter)}function l(e){return!!(e.prefix||e.suffix||e.allowClear)}function a(e,t,n,r){if(n){var l=t;if("click"===t.type){var a=e.cloneNode(!0);l=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",n(l);return}if(void 0!==r){l=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(l);return}n(l)}}function o(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}function u(e){return null==e?"":String(e)}n.d(t,{D7:function(){return u},He:function(){return r},X3:function(){return l},nH:function(){return o},rJ:function(){return a}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/569-2c5ba6e4012e0ef6.js b/pilot/server/static/_next/static/chunks/569-2c5ba6e4012e0ef6.js deleted file mode 100644 index 80f29f4b1..000000000 --- a/pilot/server/static/_next/static/chunks/569-2c5ba6e4012e0ef6.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[569],{63362:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},24338:function(e,t,r){r.d(t,{F:function(){return a},Z:function(){return i}});var n=r(8683),o=r.n(n);function i(e,t,r){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:r})}let a=(e,t)=>t||e},76447:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(8683),o=r.n(n),i=r(86006),a=r(79746),l=r(6783),s=r(57389),c=r(3184),d=r(40650),u=r(70721);let f=e=>{let{componentCls:t,margin:r,marginXS:n,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:n,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,d.Z)("Empty",e=>{let{componentCls:t,controlHeightLG:r}=e,n=(0,u.TS)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*r,emptyImgHeightMD:r,emptyImgHeightSM:.875*r});return[f(n)]}),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let g=i.createElement(()=>{let[,e]=(0,c.Z)(),t=new s.C(e.colorBgBase),r=t.toHsl().l<.5?{opacity:.65}:{};return i.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),i.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),i.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),i.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),i.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),i.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),m=i.createElement(()=>{let[,e]=(0,c.Z)(),{colorFill:t,colorFillTertiary:r,colorFillQuaternary:n,colorBgContainer:o}=e,{borderColor:a,shadowColor:l,contentColor:d}=(0,i.useMemo)(()=>({borderColor:new s.C(t).onBackground(o).toHexShortString(),shadowColor:new s.C(r).onBackground(o).toHexShortString(),contentColor:new s.C(n).onBackground(o).toHexShortString()}),[t,r,n,o]);return i.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{fillRule:"nonzero",stroke:a},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:d}))))},null),v=e=>{var{className:t,rootClassName:r,prefixCls:n,image:s=g,description:c,children:d,imageStyle:u,style:f}=e,v=h(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:$,empty:E}=i.useContext(a.E_),S=b("empty",n),[y,x]=p(S),[R]=(0,l.Z)("Empty"),w=void 0!==c?c:null==R?void 0:R.description,M="string"==typeof w?w:"empty",H=null;return H="string"==typeof s?i.createElement("img",{alt:M,src:s}):s,y(i.createElement("div",Object.assign({className:o()(x,S,null==E?void 0:E.className,{[`${S}-normal`]:s===m,[`${S}-rtl`]:"rtl"===$},t,r),style:Object.assign(Object.assign({},null==E?void 0:E.style),f)},v),i.createElement("div",{className:`${S}-image`,style:u},H),w&&i.createElement("div",{className:`${S}-description`},w),d&&i.createElement("div",{className:`${S}-footer`},d)))};v.PRESENTED_IMAGE_DEFAULT=g,v.PRESENTED_IMAGE_SIMPLE=m;var b=v},40399:function(e,t,r){r.d(t,{M1:function(){return c},Xy:function(){return d},bi:function(){return p},e5:function(){return S},ik:function(){return h},nz:function(){return l},pU:function(){return s},s7:function(){return g},x0:function(){return f}});var n=r(98663),o=r(75872),i=r(70721),a=r(40650);let l=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),s=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),c=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),d=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},s((0,i.TS)(e,{inputBorderHoverColor:e.colorBorder})))}),u=e=>{let{inputPaddingVerticalLG:t,fontSizeLG:r,lineHeightLG:n,borderRadiusLG:o,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:r,lineHeight:n,borderRadius:o}},f=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),p=(e,t)=>{let{componentCls:r,colorError:n,colorWarning:o,colorErrorOutline:a,colorWarningOutline:l,colorErrorBorderHover:s,colorWarningBorderHover:d}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:n,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},c((0,i.TS)(e,{inputBorderActiveColor:n,inputBorderHoverColor:n,controlOutline:a}))),[`${r}-prefix, ${r}-suffix`]:{color:n}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:d},"&:focus, &-focused":Object.assign({},c((0,i.TS)(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:l}))),[`${r}-prefix, ${r}-suffix`]:{color:o}}}},h=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},l(e.colorTextPlaceholder)),{"&:hover":Object.assign({},s(e)),"&:focus, &-focused":Object.assign({},c(e)),"&-disabled, &[disabled]":Object.assign({},d(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},f(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),g=e=>{let{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},u(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},f(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${r}-select-single:not(${r}-select-customize-input)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${r}-select-selector`]:{color:e.colorPrimary}}},[`${r}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,n.dF)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${t}-affix-wrapper, - & > ${t}-number-affix-wrapper, - & > ${r}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${r}-select > ${r}-select-selector, - & > ${r}-select-auto-complete ${t}, - & > ${r}-cascader-picker ${t}, - & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${r}-select:first-child > ${r}-select-selector, - & > ${r}-select-auto-complete:first-child ${t}, - & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, - & > ${r}-select:last-child > ${r}-select-selector, - & > ${r}-cascader-picker:last-child ${t}, - & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{let{componentCls:t,controlHeightSM:r,lineWidth:o}=e,i=(r-2*o-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),h(e)),p(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},v=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},b=e=>{let{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},s(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),v(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),p(e,`${t}-affix-wrapper`))}},$=e=>{let{componentCls:t,colorError:r,colorWarning:o,borderRadiusLG:i,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),g(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:i}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}},"&-status-error":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-status-warning":{[`${t}-group-addon`]:{color:o,borderColor:o}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},d(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},E=e=>{let{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, - > ${t}, - ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function S(e){return(0,i.TS)(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}let y=e=>{let{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${n}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};t.ZP=(0,a.Z)("Input",e=>{let t=S(e);return[m(t),y(t),b(t),$(t),E(t),(0,o.c)(t)]})},53279:function(e,t,r){r.d(t,{Qt:function(){return l},Uw:function(){return a},fJ:function(){return i},ly:function(){return s},oN:function(){return h}});var n=r(84596),o=r(29138);let i=new n.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new n.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s=new n.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new n.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),d=new n.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),u=new n.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),f=new n.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:l,outKeyframes:s},"slide-left":{inKeyframes:c,outKeyframes:d},"slide-right":{inKeyframes:u,outKeyframes:f}},h=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(n,i,a,e.motionDurationMid),{[` - ${n}-enter, - ${n}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},35960:function(e,t,r){r.d(t,{Z:function(){return Z}});var n=r(40431),o=r(88684),i=r(60456),a=r(89301),l=r(86006),s=r(8683),c=r.n(s),d=r(29333),u=r(38358),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,h=l.forwardRef(function(e,t){var r,i=e.prefixCls,s=e.invalidate,u=e.item,h=e.renderItem,g=e.responsive,m=e.responsiveDisabled,v=e.registerSize,b=e.itemKey,$=e.className,E=e.style,S=e.children,y=e.display,x=e.order,R=e.component,w=void 0===R?"div":R,M=(0,a.Z)(e,f),H=g&&!y;l.useEffect(function(){return function(){v(b,null)}},[]);var I=h&&u!==p?h(u):S;s||(r={opacity:H?0:1,height:H?0:p,overflowY:H?"hidden":p,order:g?x:p,pointerEvents:H?"none":p,position:H?"absolute":p});var Z={};H&&(Z["aria-hidden"]=!0);var C=l.createElement(w,(0,n.Z)({className:c()(!s&&i,$),style:(0,o.Z)((0,o.Z)({},r),E)},Z,M,{ref:t}),I);return g&&(C=l.createElement(d.Z,{onResize:function(e){v(b,e.offsetWidth)},disabled:m},C)),C});h.displayName="Item";var g=r(23254),m=r(8431),v=r(66643);function b(e,t){var r=l.useState(t),n=(0,i.Z)(r,2),o=n[0],a=n[1];return[o,(0,g.Z)(function(t){e(function(){a(t)})})]}var $=l.createContext(null),E=["component"],S=["className"],y=["className"],x=l.forwardRef(function(e,t){var r=l.useContext($);if(!r){var o=e.component,i=void 0===o?"div":o,s=(0,a.Z)(e,E);return l.createElement(i,(0,n.Z)({},s,{ref:t}))}var d=r.className,u=(0,a.Z)(r,S),f=e.className,p=(0,a.Z)(e,y);return l.createElement($.Provider,{value:null},l.createElement(h,(0,n.Z)({ref:t,className:c()(d,f)},u,p)))});x.displayName="RawItem";var R=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],w="responsive",M="invalidate";function H(e){return"+ ".concat(e.length," ...")}var I=l.forwardRef(function(e,t){var r,s,f=e.prefixCls,p=void 0===f?"rc-overflow":f,g=e.data,E=void 0===g?[]:g,S=e.renderItem,y=e.renderRawItem,x=e.itemKey,I=e.itemWidth,Z=void 0===I?10:I,C=e.ssr,O=e.style,z=e.className,T=e.maxCount,k=e.renderRest,L=e.renderRawRest,P=e.suffix,N=e.component,D=void 0===N?"div":N,j=e.itemComponent,W=e.onVisibleChange,B=(0,a.Z)(e,R),A="full"===C,V=(r=l.useRef(null),function(e){r.current||(r.current=[],function(e){if("undefined"==typeof MessageChannel)(0,v.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}(function(){(0,m.unstable_batchedUpdates)(function(){r.current.forEach(function(e){e()}),r.current=null})})),r.current.push(e)}),Y=b(V,null),X=(0,i.Z)(Y,2),F=X[0],_=X[1],K=F||0,G=b(V,new Map),U=(0,i.Z)(G,2),Q=U[0],J=U[1],q=b(V,0),ee=(0,i.Z)(q,2),et=ee[0],er=ee[1],en=b(V,0),eo=(0,i.Z)(en,2),ei=eo[0],ea=eo[1],el=b(V,0),es=(0,i.Z)(el,2),ec=es[0],ed=es[1],eu=(0,l.useState)(null),ef=(0,i.Z)(eu,2),ep=ef[0],eh=ef[1],eg=(0,l.useState)(null),em=(0,i.Z)(eg,2),ev=em[0],eb=em[1],e$=l.useMemo(function(){return null===ev&&A?Number.MAX_SAFE_INTEGER:ev||0},[ev,F]),eE=(0,l.useState)(!1),eS=(0,i.Z)(eE,2),ey=eS[0],ex=eS[1],eR="".concat(p,"-item"),ew=Math.max(et,ei),eM=T===w,eH=E.length&&eM,eI=T===M,eZ=eH||"number"==typeof T&&E.length>T,eC=(0,l.useMemo)(function(){var e=E;return eH?e=null===F&&A?E:E.slice(0,Math.min(E.length,K/Z)):"number"==typeof T&&(e=E.slice(0,T)),e},[E,Z,F,T,eH]),eO=(0,l.useMemo)(function(){return eH?E.slice(e$+1):E.slice(eC.length)},[E,eC,eH,e$]),ez=(0,l.useCallback)(function(e,t){var r;return"function"==typeof x?x(e):null!==(r=x&&(null==e?void 0:e[x]))&&void 0!==r?r:t},[x]),eT=(0,l.useCallback)(S||function(e){return e},[S]);function ek(e,t,r){(ev!==e||void 0!==t&&t!==ep)&&(eb(e),r||(ex(eK){ek(n-1,e-o-ec+ei);break}}P&&eP(0)+ec>K&&eh(null)}},[K,Q,ei,ec,ez,eC]);var eN=ey&&!!eO.length,eD={};null!==ep&&eH&&(eD={position:"absolute",left:ep,top:0});var ej={prefixCls:eR,responsive:eH,component:j,invalidate:eI},eW=y?function(e,t){var r=ez(e,t);return l.createElement($.Provider,{key:r,value:(0,o.Z)((0,o.Z)({},ej),{},{order:t,item:e,itemKey:r,registerSize:eL,display:t<=e$})},y(e,t))}:function(e,t){var r=ez(e,t);return l.createElement(h,(0,n.Z)({},ej,{order:t,key:r,item:e,renderItem:eT,itemKey:r,registerSize:eL,display:t<=e$}))},eB={order:eN?e$:Number.MAX_SAFE_INTEGER,className:"".concat(eR,"-rest"),registerSize:function(e,t){ea(t),er(ei)},display:eN};if(L)L&&(s=l.createElement($.Provider,{value:(0,o.Z)((0,o.Z)({},ej),eB)},L(eO)));else{var eA=k||H;s=l.createElement(h,(0,n.Z)({},ej,eB),"function"==typeof eA?eA(eO):eA)}var eV=l.createElement(D,(0,n.Z)({className:c()(!eI&&p,z),style:O,ref:t},B),eC.map(eW),eZ?s:null,P&&l.createElement(h,(0,n.Z)({},ej,{responsive:eM,responsiveDisabled:!eH,order:e$,className:"".concat(eR,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eD}),P));return eM&&(eV=l.createElement(d.Z,{onResize:function(e,t){_(t.clientWidth)},disabled:!eH},eV)),eV});I.displayName="Overflow",I.Item=x,I.RESPONSIVE=w,I.INVALIDATE=M;var Z=I},43783:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(40431),o=r(88684),i=r(65877),a=r(60456),l=r(89301),s=r(86006),c=r(8683),d=r.n(c),u=r(29333),f=s.forwardRef(function(e,t){var r=e.height,a=e.offset,l=e.children,c=e.prefixCls,f=e.onInnerResize,p=e.innerProps,h={},g={display:"flex",flexDirection:"column"};return void 0!==a&&(h={height:r,position:"relative",overflow:"hidden"},g=(0,o.Z)((0,o.Z)({},g),{},{transform:"translateY(".concat(a,"px)"),position:"absolute",left:0,right:0,top:0})),s.createElement("div",{style:h},s.createElement(u.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},s.createElement("div",(0,n.Z)({style:g,className:d()((0,i.Z)({},"".concat(c,"-holder-inner"),c)),ref:t},p),l)))});f.displayName="Filler";var p=r(18050),h=r(49449),g=r(43663),m=r(38340),v=r(66643);function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var $=function(e){(0,g.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;(0,p.Z)(this,r);for(var n=arguments.length,o=Array(n),i=0;ir},e}return(0,h.Z)(r,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){var e,t;this.removeEvents(),null===(e=this.scrollbarRef.current)||void 0===e||e.removeEventListener("touchstart",this.onScrollbarTouchStart),null===(t=this.thumbRef.current)||void 0===t||t.removeEventListener("touchstart",this.onMouseDown),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,r=e.visible,n=this.props,a=n.prefixCls,l=n.direction,c=this.getSpinHeight(),u=this.getTop(),f=this.showScroll(),p=f&&r;return s.createElement("div",{ref:this.scrollbarRef,className:d()("".concat(a,"-scrollbar"),(0,i.Z)({},"".concat(a,"-scrollbar-show"),f)),style:(0,o.Z)((0,o.Z)({width:8,top:0,bottom:0},"rtl"===l?{left:0}:{right:0}),{},{position:"absolute",display:p?null:"none"}),onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},s.createElement("div",{ref:this.thumbRef,className:d()("".concat(a,"-scrollbar-thumb"),(0,i.Z)({},"".concat(a,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:c,top:u,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),r}(s.Component);function E(e){var t=e.children,r=e.setRef,n=s.useCallback(function(e){r(e)},[]);return s.cloneElement(t,{ref:n})}var S=r(49175),y=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,h.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),x=r(965),R=("undefined"==typeof navigator?"undefined":(0,x.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t){var r=(0,s.useRef)(!1),n=(0,s.useRef)(null),o=(0,s.useRef)({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&o.current.top||e>0&&o.current.bottom;return t&&i?(clearTimeout(n.current),r.current=!1):(!i||r.current)&&(clearTimeout(n.current),r.current=!0,n.current=setTimeout(function(){r.current=!1},50)),!r.current&&i}},M=r(38358),H=14/15,I=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","component","onScroll","onVisibleChange","innerProps"],Z=[],C={overflowY:"auto",overflowAnchor:"none"},O=s.forwardRef(function(e,t){var r,c,u,p,h,g,m,b,O,z,T,k,L,P,N,D,j,W,B,A,V,Y,X,F,_,K,G=e.prefixCls,U=void 0===G?"rc-virtual-list":G,Q=e.className,J=e.height,q=e.itemHeight,ee=e.fullHeight,et=e.style,er=e.data,en=e.children,eo=e.itemKey,ei=e.virtual,ea=e.direction,el=e.component,es=void 0===el?"div":el,ec=e.onScroll,ed=e.onVisibleChange,eu=e.innerProps,ef=(0,l.Z)(e,I),ep=!!(!1!==ei&&J&&q),eh=ep&&er&&q*er.length>J,eg=(0,s.useState)(0),em=(0,a.Z)(eg,2),ev=em[0],eb=em[1],e$=(0,s.useState)(!1),eE=(0,a.Z)(e$,2),eS=eE[0],ey=eE[1],ex=d()(U,(0,i.Z)({},"".concat(U,"-rtl"),"rtl"===ea),Q),eR=er||Z,ew=(0,s.useRef)(),eM=(0,s.useRef)(),eH=(0,s.useRef)(),eI=s.useCallback(function(e){return"function"==typeof eo?eo(e):null==e?void 0:e[eo]},[eo]);function eZ(e){eb(function(t){var r,n=(r="function"==typeof e?e(t):e,Number.isNaN(eF.current)||(r=Math.min(r,eF.current)),r=Math.max(r,0));return ew.current.scrollTop=n,n})}var eC=(0,s.useRef)({start:0,end:eR.length}),eO=(0,s.useRef)(),ez=(c=s.useState(eR),p=(u=(0,a.Z)(c,2))[0],h=u[1],g=s.useState(null),b=(m=(0,a.Z)(g,2))[0],O=m[1],s.useEffect(function(){var e=function(e,t,r){var n,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i=ev&&void 0===t&&(t=a,r=o),c>ev+J&&void 0===n&&(n=a),o=c}return void 0===t&&(t=0,r=0,n=Math.ceil(J/q)),void 0===n&&(n=eR.length-1),{scrollHeight:o,start:t,end:n=Math.min(n+1,eR.length),offset:r}},[eh,ep,ev,eR,ej,J]),eB=eW.scrollHeight,eA=eW.start,eV=eW.end,eY=eW.offset;eC.current.start=eA,eC.current.end=eV;var eX=eB-J,eF=(0,s.useRef)(eX);eF.current=eX;var e_=ev<=0,eK=ev>=eX,eG=w(e_,eK),eU=(z=function(e){eZ(function(t){return t+e})},T=(0,s.useRef)(0),k=(0,s.useRef)(null),L=(0,s.useRef)(null),P=(0,s.useRef)(!1),N=w(e_,eK),[function(e){if(ep){v.Z.cancel(k.current);var t=e.deltaY;T.current+=t,L.current=t,N(t)||(R||e.preventDefault(),k.current=(0,v.Z)(function(){var e=P.current?10:1;z(T.current*e),T.current=0}))}},function(e){ep&&(P.current=e.detail===L.current)}]),eQ=(0,a.Z)(eU,2),eJ=eQ[0],eq=eQ[1];D=function(e,t){return!eG(e,t)&&(eJ({preventDefault:function(){},deltaY:e}),!0)},W=(0,s.useRef)(!1),B=(0,s.useRef)(0),A=(0,s.useRef)(null),V=(0,s.useRef)(null),Y=function(e){if(W.current){var t=Math.ceil(e.touches[0].pageY),r=B.current-t;B.current=t,D(r)&&e.preventDefault(),clearInterval(V.current),V.current=setInterval(function(){(!D(r*=H,!0)||.1>=Math.abs(r))&&clearInterval(V.current)},16)}},X=function(){W.current=!1,j()},F=function(e){j(),1!==e.touches.length||W.current||(W.current=!0,B.current=Math.ceil(e.touches[0].pageY),A.current=e.target,A.current.addEventListener("touchmove",Y),A.current.addEventListener("touchend",X))},j=function(){A.current&&(A.current.removeEventListener("touchmove",Y),A.current.removeEventListener("touchend",X))},(0,M.Z)(function(){return ep&&ew.current.addEventListener("touchstart",F),function(){var e;null===(e=ew.current)||void 0===e||e.removeEventListener("touchstart",F),j(),clearInterval(V.current)}},[ep]),(0,M.Z)(function(){function e(e){ep&&e.preventDefault()}return ew.current.addEventListener("wheel",eJ),ew.current.addEventListener("DOMMouseScroll",eq),ew.current.addEventListener("MozMousePixelScroll",e),function(){ew.current&&(ew.current.removeEventListener("wheel",eJ),ew.current.removeEventListener("DOMMouseScroll",eq),ew.current.removeEventListener("MozMousePixelScroll",e))}},[ep]);var e0=(_=function(){var e;null===(e=eH.current)||void 0===e||e.delayHidden()},K=s.useRef(),function(e){if(null==e){_();return}if(v.Z.cancel(K.current),"number"==typeof e)eZ(e);else if(e&&"object"===(0,x.Z)(e)){var t,r=e.align;t="index"in e?e.index:eR.findIndex(function(t){return eI(t)===e.key});var n=e.offset,o=void 0===n?0:n;!function e(n,i){if(!(n<0)&&ew.current){var a=ew.current.clientHeight,l=!1,s=i;if(a){for(var c=0,d=0,u=0,f=Math.min(eR.length,t),p=0;p<=f;p+=1){var h=eI(eR[p]);d=c;var g=eD.get(h);c=u=d+(void 0===g?q:g),p===t&&void 0===g&&(l=!0)}var m=null;switch(i||r){case"top":m=d-o;break;case"bottom":m=u-a+o;break;default:var b=ew.current.scrollTop;db+a&&(s="bottom")}null!==m&&m!==ew.current.scrollTop&&eZ(m)}K.current=(0,v.Z)(function(){l&&eN(),e(n-1,s)},2)}}(3)}});s.useImperativeHandle(t,function(){return{scrollTo:e0}}),(0,M.Z)(function(){ed&&ed(eR.slice(eA,eV+1),eR)},[eA,eV,eR]);var e1=eR.slice(eA,eV+1).map(function(e,t){var r=en(e,eA+t,{}),n=eI(e);return s.createElement(E,{key:n,setRef:function(t){return eP(e,t)}},r)}),e2=null;return J&&(e2=(0,o.Z)((0,i.Z)({},void 0===ee||ee?"height":"maxHeight",J),C),ep&&(e2.overflowY="hidden",eS&&(e2.pointerEvents="none"))),s.createElement("div",(0,n.Z)({style:(0,o.Z)((0,o.Z)({},et),{},{position:"relative"}),className:ex},ef),s.createElement(es,{className:"".concat(U,"-holder"),style:e2,ref:ew,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ev&&eZ(t),null==ec||ec(e)}},s.createElement(f,{prefixCls:U,height:eB,offset:eY,onInnerResize:eN,ref:eM,innerProps:eu},e1)),ep&&s.createElement($,{ref:eH,prefixCls:U,scrollTop:ev,height:J,scrollHeight:eB,count:eR.length,direction:ea,onScroll:function(e){eZ(e)},onStartMove:function(){ey(!0)},onStopMove:function(){ey(!1)}}))});O.displayName="List";var z=O}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/579-109b8ef1060dc09f.js b/pilot/server/static/_next/static/chunks/579-109b8ef1060dc09f.js deleted file mode 100644 index 6647ed6d6..000000000 --- a/pilot/server/static/_next/static/chunks/579-109b8ef1060dc09f.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[579],{31515:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(40431),r=n(86006),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},i=n(1240),l=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},42781:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(40431),r=n(86006),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},i=n(1240),l=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},57406:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},98222:function(e,t,n){n.d(t,{Z:function(){return tK}});var o=n(31533),r=n(40431),a=n(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},l=n(1240),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:i}))}),u=n(42781),s=n(8683),d=n.n(s),f=n(65877),p=n(88684),v=n(60456),m=n(965),b=n(89301),h=n(98861),g=n(63940),y=n(78641),$=(0,a.createContext)(null),x=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,r=e.style,i=e.id,l=e.active,c=e.tabKey,u=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(c),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(c),"aria-hidden":!l,style:r,className:d()(n,l&&"".concat(n,"-active"),o),ref:t},u)}),k=["key","forceRender","style","className"];function Z(e){var t=e.id,n=e.activeKey,o=e.animated,i=e.tabPosition,l=e.destroyInactiveTabPane,c=a.useContext($),u=c.prefixCls,s=c.tabs,v=o.tabPane,m="".concat(u,"-tabpane");return a.createElement("div",{className:d()("".concat(u,"-content-holder"))},a.createElement("div",{className:d()("".concat(u,"-content"),"".concat(u,"-content-").concat(i),(0,f.Z)({},"".concat(u,"-content-animated"),v))},s.map(function(e){var i=e.key,c=e.forceRender,u=e.style,s=e.className,f=(0,b.Z)(e,k),h=i===n;return a.createElement(y.ZP,(0,r.Z)({key:i,visible:h,forceRender:c,removeOnLeave:!!l,leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,l=e.className;return a.createElement(x,(0,r.Z)({},f,{prefixCls:m,id:t,tabKey:i,animated:v,active:h,style:(0,p.Z)((0,p.Z)({},u),o),className:d()(s,l),ref:n}))})})))}var C=n(90151),w=n(29333),E=n(23254),S=n(66643),_=n(92510),R={width:0,height:0,left:0,top:0};function P(e,t){var n=a.useRef(e),o=a.useState({}),r=(0,v.Z)(o,2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}var M=n(38358);function I(e){var t=(0,a.useState)(0),n=(0,v.Z)(t,2),o=n[0],r=n[1],i=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,M.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var N={width:0,height:0,left:0,top:0,right:0};function T(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function O(e){return String(e).replace(/"/g,"TABS_DQ")}function L(e,t,n,o){return!!n&&!o&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var D=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.editable,r=e.locale,i=e.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),K=a.forwardRef(function(e,t){var n,o=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,m.Z)(i)||a.isValidElement(i)?l.right=i:l=i,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?a.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}),A=n(90214),z=n(48580),B=z.Z.ESC,j=z.Z.TAB,W=(0,a.forwardRef)(function(e,t){var n=e.overlay,o=e.arrow,r=e.prefixCls,i=(0,a.useMemo)(function(){return"function"==typeof n?n():n},[n]),l=(0,_.sQ)(t,null==i?void 0:i.ref);return a.createElement(a.Fragment,null,o&&a.createElement("div",{className:"".concat(r,"-arrow")}),a.cloneElement(i,{ref:(0,_.Yr)(i)?l:void 0}))}),G={adjustX:1,adjustY:1},H=[0,0],X={topLeft:{points:["bl","tl"],overflow:G,offset:[0,-4],targetOffset:H},top:{points:["bc","tc"],overflow:G,offset:[0,-4],targetOffset:H},topRight:{points:["br","tr"],overflow:G,offset:[0,-4],targetOffset:H},bottomLeft:{points:["tl","bl"],overflow:G,offset:[0,4],targetOffset:H},bottom:{points:["tc","bc"],overflow:G,offset:[0,4],targetOffset:H},bottomRight:{points:["tr","br"],overflow:G,offset:[0,4],targetOffset:H}},V=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],F=a.forwardRef(function(e,t){var n,o,i,l,c,u,s,p,m,h,g,y,$,x,k=e.arrow,Z=void 0!==k&&k,C=e.prefixCls,w=void 0===C?"rc-dropdown":C,E=e.transitionName,R=e.animation,P=e.align,M=e.placement,I=e.placements,N=e.getPopupContainer,T=e.showAction,O=e.hideAction,L=e.overlayClassName,D=e.overlayStyle,K=e.visible,z=e.trigger,G=void 0===z?["hover"]:z,H=e.autoFocus,F=e.overlay,q=e.children,Y=e.onVisibleChange,Q=(0,b.Z)(e,V),U=a.useState(),J=(0,v.Z)(U,2),ee=J[0],et=J[1],en="visible"in e?K:ee,eo=a.useRef(null),er=a.useRef(null),ea=a.useRef(null);a.useImperativeHandle(t,function(){return eo.current});var ei=function(e){et(e),null==Y||Y(e)};o=(n={visible:en,triggerRef:ea,onVisibleChange:ei,autoFocus:H,overlayRef:er}).visible,i=n.triggerRef,l=n.onVisibleChange,c=n.autoFocus,u=n.overlayRef,s=a.useRef(!1),p=function(){if(o){var e,t;null===(e=i.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),null==l||l(!1)}},m=function(){var e;return null!==(e=u.current)&&void 0!==e&&!!e.focus&&(u.current.focus(),s.current=!0,!0)},h=function(e){switch(e.keyCode){case B:p();break;case j:var t=!1;s.current||(t=m()),t?e.preventDefault():p()}},a.useEffect(function(){return o?(window.addEventListener("keydown",h),c&&(0,S.Z)(m,3),function(){window.removeEventListener("keydown",h),s.current=!1}):function(){s.current=!1}},[o]);var el=function(){return a.createElement(W,{ref:er,overlay:F,prefixCls:w,arrow:Z})},ec=a.cloneElement(q,{className:d()(null===(x=q.props)||void 0===x?void 0:x.className,en&&(void 0!==(g=e.openClassName)?g:"".concat(w,"-open"))),ref:(0,_.Yr)(q)?(0,_.sQ)(ea,q.ref):void 0}),eu=O;return eu||-1===G.indexOf("contextMenu")||(eu=["click"]),a.createElement(A.Z,(0,r.Z)({builtinPlacements:void 0===I?X:I},Q,{prefixCls:w,ref:eo,popupClassName:d()(L,(0,f.Z)({},"".concat(w,"-show-arrow"),Z)),popupStyle:D,action:G,showAction:T,hideAction:eu,popupPlacement:void 0===M?"bottomLeft":M,popupAlign:P,popupTransitionName:E,popupAnimation:R,popupVisible:en,stretch:(y=e.minOverlayWidthMatchTrigger,$=e.alignPoint,"minOverlayWidthMatchTrigger"in e?y:!$)?"minWidth":"",popup:"function"==typeof F?el:el(),onPopupVisibleChange:ei,onPopupClick:function(t){var n=e.onOverlayClick;et(!1),n&&n(t)},getPopupContainer:N}),ec)}),q=n(35960),Y=n(5004),Q=n(8431),U=n(81027),J=a.createContext(null);function ee(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function et(e){return ee(a.useContext(J),e)}var en=n(55567),eo=["children","locked"],er=a.createContext(null);function ea(e){var t=e.children,n=e.locked,o=(0,b.Z)(e,eo),r=a.useContext(er),i=(0,en.Z)(function(){var e;return e=(0,p.Z)({},r),Object.keys(o).forEach(function(t){var n=o[t];void 0!==n&&(e[t]=n)}),e},[r,o],function(e,t){return!n&&(e[0]!==t[0]||!(0,U.Z)(e[1],t[1],!0))});return a.createElement(er.Provider,{value:i},t)}var ei=a.createContext(null);function el(){return a.useContext(ei)}var ec=a.createContext([]);function eu(e){var t=a.useContext(ec);return a.useMemo(function(){return void 0!==e?[].concat((0,C.Z)(t),[e]):t},[t,e])}var es=a.createContext(null),ed=a.createContext({}),ef=n(98498);function ep(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,ef.Z)(e)){var n=e.nodeName.toLowerCase(),o=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),r=e.getAttribute("tabindex"),a=Number(r),i=null;return r&&!Number.isNaN(a)?i=a:o&&null===i&&(i=0),o&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}var ev=z.Z.LEFT,em=z.Z.RIGHT,eb=z.Z.UP,eh=z.Z.DOWN,eg=z.Z.ENTER,ey=z.Z.ESC,e$=z.Z.HOME,ex=z.Z.END,ek=[eb,eh,ev,em];function eZ(e,t){return(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,C.Z)(e.querySelectorAll("*")).filter(function(e){return ep(e,t)});return ep(e,t)&&n.unshift(e),n})(e,!0).filter(function(e){return t.has(e)})}function eC(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var r=eZ(e,t),a=r.length,i=r.findIndex(function(e){return n===e});return o<0?-1===i?i=a-1:i-=1:o>0&&(i+=1),r[i=(i+a)%a]}var ew="__RC_UTIL_PATH_SPLIT__",eE=function(e){return e.join(ew)},eS="rc-menu-more";function e_(e){var t=a.useRef(e);t.current=e;var n=a.useCallback(function(){for(var e,n=arguments.length,o=Array(n),r=0;r1&&(Z.motionAppear=!1);var C=Z.onVisibleChanged;return(Z.onVisibleChanged=function(e){return b.current||e||x(!0),null==C?void 0:C(e)},$)?null:a.createElement(ea,{mode:l,locked:!b.current},a.createElement(y.ZP,(0,r.Z)({visible:k},Z,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),function(e){var n=e.className,o=e.style;return a.createElement(eF,{id:t,className:n,style:o},i)}))}var e8=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],e4=["active"],e5=function(e){var t,n=e.style,o=e.className,i=e.title,l=e.eventKey,c=(e.warnKey,e.disabled),u=e.internalPopupClose,s=e.children,m=e.itemIcon,h=e.expandIcon,g=e.popupClassName,y=e.popupOffset,$=e.onClick,x=e.onMouseEnter,k=e.onMouseLeave,Z=e.onTitleClick,C=e.onTitleMouseEnter,w=e.onTitleMouseLeave,E=(0,b.Z)(e,e8),S=et(l),_=a.useContext(er),R=_.prefixCls,P=_.mode,M=_.openKeys,I=_.disabled,N=_.overflowDisabled,T=_.activeKey,O=_.selectedKeys,L=_.itemIcon,D=_.expandIcon,K=_.onItemClick,A=_.onOpenChange,z=_.onActive,B=a.useContext(ed)._internalRenderSubMenuItem,j=a.useContext(es).isSubPathKey,W=eu(),G="".concat(R,"-submenu"),H=I||c,X=a.useRef(),V=a.useRef(),F=h||D,Y=M.includes(l),Q=!N&&Y,U=j(O,l),J=eL(l,H,C,w),ee=J.active,en=(0,b.Z)(J,e4),eo=a.useState(!1),ei=(0,v.Z)(eo,2),el=ei[0],ec=ei[1],ef=function(e){H||ec(e)},ep=a.useMemo(function(){return ee||"inline"!==P&&(el||j([T],l))},[P,ee,T,el,l,j]),ev=eD(W.length),em=e_(function(e){null==$||$(ez(e)),K(e)}),eb=S&&"".concat(S,"-popup"),eh=a.createElement("div",(0,r.Z)({role:"menuitem",style:ev,className:"".concat(G,"-title"),tabIndex:H?null:-1,ref:X,title:"string"==typeof i?i:null,"data-menu-id":N&&S?null:S,"aria-expanded":Q,"aria-haspopup":!0,"aria-controls":eb,"aria-disabled":H,onClick:function(e){H||(null==Z||Z({key:l,domEvent:e}),"inline"===P&&A(l,!Y))},onFocus:function(){z(l)}},en),i,a.createElement(eK,{icon:"horizontal"!==P?F:null,props:(0,p.Z)((0,p.Z)({},e),{},{isOpen:Q,isSubMenu:!0})},a.createElement("i",{className:"".concat(G,"-arrow")}))),eg=a.useRef(P);if("inline"!==P&&W.length>1?eg.current="vertical":eg.current=P,!N){var ey=eg.current;eh=a.createElement(e2,{mode:ey,prefixCls:G,visible:!u&&Q&&"inline"!==P,popupClassName:g,popupOffset:y,popup:a.createElement(ea,{mode:"horizontal"===ey?"vertical":ey},a.createElement(eF,{id:eb,ref:V},s)),disabled:H,onVisibleChange:function(e){"inline"!==P&&A(l,e)}},eh)}var e$=a.createElement(q.Z.Item,(0,r.Z)({role:"none"},E,{component:"li",style:n,className:d()(G,"".concat(G,"-").concat(P),o,(t={},(0,f.Z)(t,"".concat(G,"-open"),Q),(0,f.Z)(t,"".concat(G,"-active"),ep),(0,f.Z)(t,"".concat(G,"-selected"),U),(0,f.Z)(t,"".concat(G,"-disabled"),H),t)),onMouseEnter:function(e){ef(!0),null==x||x({key:l,domEvent:e})},onMouseLeave:function(e){ef(!1),null==k||k({key:l,domEvent:e})}}),eh,!N&&a.createElement(e6,{id:eb,open:Q,keyPath:W},s));return B&&(e$=B(e$,e,{selected:U,active:ep,open:Q,disabled:H})),a.createElement(ea,{onItemClick:em,mode:"horizontal"===P?"vertical":P,itemIcon:m||L,expandIcon:F},e$)};function e7(e){var t,n=e.eventKey,o=e.children,r=eu(n),i=eY(o,r),l=el();return a.useEffect(function(){if(l)return l.registerPath(n,r),function(){l.unregisterPath(n,r)}},[r]),t=l?i:a.createElement(e5,e,i),a.createElement(ec.Provider,{value:r},t)}var e3=["className","title","eventKey","children"],e9=["children"],te=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,b.Z)(e,e3),l=a.useContext(er).prefixCls,c="".concat(l,"-item-group");return a.createElement("li",(0,r.Z)({role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:d()(c,t)}),a.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof n?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))};function tt(e){var t=e.children,n=(0,b.Z)(e,e9),o=eY(t,eu(n.eventKey));return el()?o:a.createElement(te,(0,eO.Z)(n,["warnKey"]),o)}function tn(e){var t=e.className,n=e.style,o=a.useContext(er).prefixCls;return el()?null:a.createElement("li",{className:d()("".concat(o,"-item-divider"),t),style:n})}var to=["label","children","key","type"],tr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ta=[],ti=a.forwardRef(function(e,t){var n,o,i,l,c,u,s,h,y,$,x,k,Z,w,E,_,R,P,M,I,N,T,O,L,D,K,A,z=e.prefixCls,B=void 0===z?"rc-menu":z,j=e.rootClassName,W=e.style,G=e.className,H=e.tabIndex,X=e.items,V=e.children,F=e.direction,Y=e.id,et=e.mode,en=void 0===et?"vertical":et,eo=e.inlineCollapsed,er=e.disabled,el=e.disabledOverflow,ec=e.subMenuOpenDelay,eu=e.subMenuCloseDelay,ef=e.forceSubMenuRender,ep=e.defaultOpenKeys,eM=e.openKeys,eI=e.activeKey,eN=e.defaultActiveFirst,eT=e.selectable,eO=void 0===eT||eT,eL=e.multiple,eD=void 0!==eL&&eL,eK=e.defaultSelectedKeys,eA=e.selectedKeys,eB=e.onSelect,ej=e.onDeselect,eW=e.inlineIndent,eG=e.motion,eH=e.defaultMotions,eV=e.triggerSubMenuAction,eF=e.builtinPlacements,eq=e.itemIcon,eQ=e.expandIcon,eU=e.overflowedIndicator,eJ=void 0===eU?"...":eU,e0=e.overflowedIndicatorPopupClassName,e1=e.getPopupContainer,e2=e.onClick,e6=e.onOpenChange,e8=e.onKeyDown,e4=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e5=e._internalRenderSubMenuItem,e3=(0,b.Z)(e,tr),e9=a.useMemo(function(){var e;return e=V,X&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,m.Z)(t)){var o=t.label,i=t.children,l=t.key,c=t.type,u=(0,b.Z)(t,to),s=null!=l?l:"tmp-".concat(n);return i||"group"===c?"group"===c?a.createElement(tt,(0,r.Z)({key:s},u,{title:o}),e(i)):a.createElement(e7,(0,r.Z)({key:s},u,{title:o}),e(i)):"divider"===c?a.createElement(tn,(0,r.Z)({key:s},u)):a.createElement(eX,(0,r.Z)({key:s},u),o)}return null}).filter(function(e){return e})}(X)),eY(e,ta)},[V,X]),te=a.useState(!1),ti=(0,v.Z)(te,2),tl=ti[0],tc=ti[1],tu=a.useRef(),ts=(n=(0,g.Z)(Y,{value:Y}),i=(o=(0,v.Z)(n,2))[0],l=o[1],a.useEffect(function(){eP+=1;var e="".concat(eR,"-").concat(eP);l("rc-menu-uuid-".concat(e))},[]),i),td="rtl"===F,tf=(0,g.Z)(ep,{value:eM,postState:function(e){return e||ta}}),tp=(0,v.Z)(tf,2),tv=tp[0],tm=tp[1],tb=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e6||e6(e)}t?(0,Q.flushSync)(n):n()},th=a.useState(tv),tg=(0,v.Z)(th,2),ty=tg[0],t$=tg[1],tx=a.useRef(!1),tk=a.useMemo(function(){return("inline"===en||"vertical"===en)&&eo?["vertical",eo]:[en,!1]},[en,eo]),tZ=(0,v.Z)(tk,2),tC=tZ[0],tw=tZ[1],tE="inline"===tC,tS=a.useState(tC),t_=(0,v.Z)(tS,2),tR=t_[0],tP=t_[1],tM=a.useState(tw),tI=(0,v.Z)(tM,2),tN=tI[0],tT=tI[1];a.useEffect(function(){tP(tC),tT(tw),tx.current&&(tE?tm(ty):tb(ta))},[tC,tw]);var tO=a.useState(0),tL=(0,v.Z)(tO,2),tD=tL[0],tK=tL[1],tA=tD>=e9.length-1||"horizontal"!==tR||el;a.useEffect(function(){tE&&t$(tv)},[tv]),a.useEffect(function(){return tx.current=!0,function(){tx.current=!1}},[]);var tz=(c=a.useState({}),u=(0,v.Z)(c,2)[1],s=(0,a.useRef)(new Map),h=(0,a.useRef)(new Map),y=a.useState([]),x=($=(0,v.Z)(y,2))[0],k=$[1],Z=(0,a.useRef)(0),w=(0,a.useRef)(!1),E=function(){w.current||u({})},_=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.set(n,e),s.current.set(e,n),Z.current+=1;var o=Z.current;Promise.resolve().then(function(){o===Z.current&&E()})},[]),R=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.delete(n),s.current.delete(e)},[]),P=(0,a.useCallback)(function(e){k(e)},[]),M=(0,a.useCallback)(function(e,t){var n=(s.current.get(e)||"").split(ew);return t&&x.includes(n[0])&&n.unshift(eS),n},[x]),I=(0,a.useCallback)(function(e,t){return e.some(function(e){return M(e,!0).includes(t)})},[M]),N=(0,a.useCallback)(function(e){var t="".concat(s.current.get(e)).concat(ew),n=new Set;return(0,C.Z)(h.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(h.current.get(e))}),n},[]),a.useEffect(function(){return function(){w.current=!0}},[]),{registerPath:_,unregisterPath:R,refreshOverflowKeys:P,isSubPathKey:I,getKeyPath:M,getKeys:function(){var e=(0,C.Z)(s.current.keys());return x.length&&e.push(eS),e},getSubPathKeys:N}),tB=tz.registerPath,tj=tz.unregisterPath,tW=tz.refreshOverflowKeys,tG=tz.isSubPathKey,tH=tz.getKeyPath,tX=tz.getKeys,tV=tz.getSubPathKeys,tF=a.useMemo(function(){return{registerPath:tB,unregisterPath:tj}},[tB,tj]),tq=a.useMemo(function(){return{isSubPathKey:tG}},[tG]);a.useEffect(function(){tW(tA?ta:e9.slice(tD+1).map(function(e){return e.key}))},[tD,tA]);var tY=(0,g.Z)(eI||eN&&(null===(K=e9[0])||void 0===K?void 0:K.key),{value:eI}),tQ=(0,v.Z)(tY,2),tU=tQ[0],tJ=tQ[1],t0=e_(function(e){tJ(e)}),t1=e_(function(){tJ(void 0)});(0,a.useImperativeHandle)(t,function(){return{list:tu.current,focus:function(e){var t,n,o,r,a=null!=tU?tU:null===(t=e9.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;a&&(null===(n=tu.current)||void 0===n||null===(o=n.querySelector("li[data-menu-id='".concat(ee(ts,a),"']")))||void 0===o||null===(r=o.focus)||void 0===r||r.call(o,e))}}});var t2=(0,g.Z)(eK||[],{value:eA,postState:function(e){return Array.isArray(e)?e:null==e?ta:[e]}}),t6=(0,v.Z)(t2,2),t8=t6[0],t4=t6[1],t5=function(e){if(eO){var t,n=e.key,o=t8.includes(n);t4(t=eD?o?t8.filter(function(e){return e!==n}):[].concat((0,C.Z)(t8),[n]):[n]);var r=(0,p.Z)((0,p.Z)({},e),{},{selectedKeys:t});o?null==ej||ej(r):null==eB||eB(r)}!eD&&tv.length&&"inline"!==tR&&tb(ta)},t7=e_(function(e){null==e2||e2(ez(e)),t5(e)}),t3=e_(function(e,t){var n=tv.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tR){var o=tV(e);n=n.filter(function(e){return!o.has(e)})}(0,U.Z)(tv,n,!0)||tb(n,!0)}),t9=(T=function(e,t){var n=null!=t?t:!tv.includes(e);t3(e,n)},O=a.useRef(),(L=a.useRef()).current=tU,D=function(){S.Z.cancel(O.current)},a.useEffect(function(){return function(){D()}},[]),function(e){var t=e.which;if([].concat(ek,[eg,ey,e$,ex]).includes(t)){var n=function(){return l=new Set,c=new Map,u=new Map,tX().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(ee(ts,e),"']"));t&&(l.add(t),u.set(t,e),c.set(e,t))}),l};n();var o=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(c.get(tU),l),r=u.get(o),a=function(e,t,n,o){var r,a,i,l,c="prev",u="next",s="children",d="parent";if("inline"===e&&o===eg)return{inlineTrigger:!0};var p=(r={},(0,f.Z)(r,eb,c),(0,f.Z)(r,eh,u),r),v=(a={},(0,f.Z)(a,ev,n?u:c),(0,f.Z)(a,em,n?c:u),(0,f.Z)(a,eh,s),(0,f.Z)(a,eg,s),a),m=(i={},(0,f.Z)(i,eb,c),(0,f.Z)(i,eh,u),(0,f.Z)(i,eg,s),(0,f.Z)(i,ey,d),(0,f.Z)(i,ev,n?s:d),(0,f.Z)(i,em,n?d:s),i);switch(null===(l=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[o]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}(tR,1===tH(r,!0).length,td,t);if(!a&&t!==e$&&t!==ex)return;(ek.includes(t)||[e$,ex].includes(t))&&e.preventDefault();var i=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var o=u.get(e);tJ(o),D(),O.current=(0,S.Z)(function(){L.current===o&&t.focus()})}};if([e$,ex].includes(t)||a.sibling||!o){var l,c,u,s,d=eZ(s=o&&"inline"!==tR?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(o):tu.current,l);i(t===e$?d[0]:t===ex?d[d.length-1]:eC(s,l,o,a.offset))}else if(a.inlineTrigger)T(r);else if(a.offset>0)T(r,!0),D(),O.current=(0,S.Z)(function(){n();var e=o.getAttribute("aria-controls");i(eC(document.getElementById(e),l))},5);else if(a.offset<0){var p=tH(r,!0),v=p[p.length-2],m=c.get(v);T(v,!1),i(m)}}null==e8||e8(e)});a.useEffect(function(){tc(!0)},[]);var ne=a.useMemo(function(){return{_internalRenderMenuItem:e4,_internalRenderSubMenuItem:e5}},[e4,e5]),nt="horizontal"!==tR||el?e9:e9.map(function(e,t){return a.createElement(ea,{key:e.key,overflowDisabled:t>tD},e)}),nn=a.createElement(q.Z,(0,r.Z)({id:Y,ref:tu,prefixCls:"".concat(B,"-overflow"),component:"ul",itemComponent:eX,className:d()(B,"".concat(B,"-root"),"".concat(B,"-").concat(tR),G,(A={},(0,f.Z)(A,"".concat(B,"-inline-collapsed"),tN),(0,f.Z)(A,"".concat(B,"-rtl"),td),A),j),dir:F,style:W,role:"menu",tabIndex:void 0===H?0:H,data:nt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?e9.slice(-t):null;return a.createElement(e7,{eventKey:eS,title:eJ,disabled:tA,internalPopupClose:0===t,popupClassName:e0},n)},maxCount:"horizontal"!==tR||el?q.Z.INVALIDATE:q.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tK(e)},onKeyDown:t9},e3));return a.createElement(ed.Provider,{value:ne},a.createElement(J.Provider,{value:ts},a.createElement(ea,{prefixCls:B,rootClassName:j,mode:tR,openKeys:tv,rtl:td,disabled:er,motion:tl?eG:null,defaultMotions:tl?eH:null,activeKey:tU,onActive:t0,onInactive:t1,selectedKeys:t8,inlineIndent:void 0===eW?24:eW,subMenuOpenDelay:void 0===ec?.1:ec,subMenuCloseDelay:void 0===eu?.1:eu,forceSubMenuRender:ef,builtinPlacements:eF,triggerSubMenuAction:void 0===eV?"hover":eV,getPopupContainer:e1,itemIcon:eq,expandIcon:eQ,onItemClick:t7,onOpenChange:t3},a.createElement(es.Provider,{value:tq},nn),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement(ei.Provider,{value:tF},e9)))))});ti.Item=eX,ti.SubMenu=e7,ti.ItemGroup=tt,ti.Divider=tn;var tl=a.memo(a.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,r=e.tabs,i=e.locale,l=e.mobile,c=e.moreIcon,u=void 0===c?"More":c,s=e.moreTransitionName,p=e.style,m=e.className,b=e.editable,h=e.tabBarGutter,g=e.rtl,y=e.removeAriaLabel,$=e.onTabClick,x=e.getPopupContainer,k=e.popupClassName,Z=(0,a.useState)(!1),C=(0,v.Z)(Z,2),w=C[0],E=C[1],S=(0,a.useState)(null),_=(0,v.Z)(S,2),R=_[0],P=_[1],M="".concat(o,"-more-popup"),I="".concat(n,"-dropdown"),N=null!==R?"".concat(M,"-").concat(R):null,T=null==i?void 0:i.dropdownAriaLabel,O=a.createElement(ti,{onClick:function(e){$(e.key,e.domEvent),E(!1)},prefixCls:"".concat(I,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":N,selectedKeys:[R],"aria-label":void 0!==T?T:"expanded dropdown"},r.map(function(e){var t=e.closable,n=e.disabled,r=e.closeIcon,i=e.key,l=e.label,c=L(t,r,b,n);return a.createElement(eX,{key:i,id:"".concat(M,"-").concat(i),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(i),disabled:n},a.createElement("span",null,l),c&&a.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(I,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),b.onEdit("remove",{key:i,event:e})}},r||b.removeIcon||"\xd7"))}));function K(e){for(var t=r.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===R})||0,o=t.length,a=0;at?"left":"right"})}),eT=(0,v.Z)(eN,2),eO=eT[0],eL=eT[1],eD=P(0,function(e,t){!eI&&eC&&eC({direction:e>t?"top":"bottom"})}),eK=(0,v.Z)(eD,2),eA=eK[0],ez=eK[1],eB=(0,a.useState)([0,0]),ej=(0,v.Z)(eB,2),eW=ej[0],eG=ej[1],eH=(0,a.useState)([0,0]),eX=(0,v.Z)(eH,2),eV=eX[0],eF=eX[1],eq=(0,a.useState)([0,0]),eY=(0,v.Z)(eq,2),eQ=eY[0],eU=eY[1],eJ=(0,a.useState)([0,0]),e0=(0,v.Z)(eJ,2),e1=e0[0],e2=e0[1],e6=(n=new Map,o=(0,a.useRef)([]),i=(0,a.useState)({}),l=(0,v.Z)(i,2)[1],c=(0,a.useRef)("function"==typeof n?n():n),u=I(function(){var e=c.current;o.current.forEach(function(t){e=t(e)}),o.current=[],c.current=e,l({})}),[c.current,function(e){o.current.push(e),u()}]),e8=(0,v.Z)(e6,2),e4=e8[0],e5=e8[1],e7=(s=eV[0],(0,a.useMemo)(function(){for(var e=new Map,t=e4.get(null===(r=es[0])||void 0===r?void 0:r.key)||R,n=t.left+t.width,o=0;oti?ti:e}eI&&eb?(ta=0,ti=Math.max(0,e9-to)):(ta=Math.min(0,to-e9),ti=0);var tf=(0,a.useRef)(),tp=(0,a.useState)(),tv=(0,v.Z)(tp,2),tm=tv[0],tb=tv[1];function th(){tb(Date.now())}function tg(){window.clearTimeout(tf.current)}m=function(e,t){function n(e,t){e(function(e){return td(e+t)})}return!!tn&&(eI?n(eL,e):n(ez,t),tg(),th(),!0)},b=(0,a.useState)(),g=(h=(0,v.Z)(b,2))[0],y=h[1],x=(0,a.useState)(0),Z=(k=(0,v.Z)(x,2))[0],M=k[1],L=(0,a.useState)(0),z=(A=(0,v.Z)(L,2))[0],B=A[1],j=(0,a.useState)(),G=(W=(0,v.Z)(j,2))[0],H=W[1],X=(0,a.useRef)(),V=(0,a.useRef)(),(F=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];y({x:t.screenX,y:t.screenY}),window.clearInterval(X.current)},onTouchMove:function(e){if(g){e.preventDefault();var t=e.touches[0],n=t.screenX,o=t.screenY;y({x:n,y:o});var r=n-g.x,a=o-g.y;m(r,a);var i=Date.now();M(i),B(i-Z),H({x:r,y:a})}},onTouchEnd:function(){if(g&&(y(null),H(null),G)){var e=G.x/z,t=G.y/z;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,o=t;X.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(o)){window.clearInterval(X.current);return}m(20*(n*=.9046104802746175),20*(o*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,o=0,r=Math.abs(t),a=Math.abs(n);r===a?o="x"===V.current?t:n:r>a?(o=t,V.current="x"):(o=n,V.current="y"),m(-o,-o)&&e.preventDefault()}},a.useEffect(function(){function e(e){F.current.onTouchMove(e)}function t(e){F.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!1}),e_.current.addEventListener("touchstart",function(e){F.current.onTouchStart(e)},{passive:!1}),e_.current.addEventListener("wheel",function(e){F.current.onWheel(e)}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return tg(),tm&&(tf.current=window.setTimeout(function(){tb(0)},100)),tg},[tm]);var ty=(q=eI?eO:eA,ee=(Y=(0,p.Z)((0,p.Z)({},e),{},{tabs:es})).tabs,et=Y.tabPosition,en=Y.rtl,["top","bottom"].includes(et)?(Q="width",U=en?"right":"left",J=Math.abs(q)):(Q="height",U="top",J=-q),(0,a.useMemo)(function(){if(!ee.length)return[0,0];for(var e=ee.length,t=e,n=0;nJ+to){t=n-1;break}}for(var r=0,a=e-1;a>=0;a-=1)if((e7.get(ee[a].key)||N)[U]=t?[0,0]:[r,t]},[e7,to,e9,te,tt,J,et,ee.map(function(e){return e.key}).join("_"),en])),t$=(0,v.Z)(ty,2),tx=t$[0],tk=t$[1],tZ=(0,E.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=e7.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eI){var n=eO;eb?t.righteO+to&&(n=t.right+t.width-to):t.left<-eO?n=-t.left:t.left+t.width>-eO+to&&(n=-(t.left+t.width-to)),ez(0),eL(td(n))}else{var o=eA;t.top<-eA?o=-t.top:t.top+t.height>-eA+to&&(o=-(t.top+t.height-to)),eL(0),ez(td(o))}}),tC={};"top"===e$||"bottom"===e$?tC[eb?"marginRight":"marginLeft"]=ex:tC.marginTop=ex;var tw=es.map(function(e,t){var n=e.key;return a.createElement(tc,{id:ep,prefixCls:eu,key:n,tab:e,style:0===t?void 0:tC,closable:e.closable,editable:eg,active:n===em,renderWrapper:ek,removeAriaLabel:null==ey?void 0:ey.removeAriaLabel,onClick:function(e){eZ(n,e)},onFocus:function(){tZ(n),th(),e_.current&&(eb||(e_.current.scrollLeft=0),e_.current.scrollTop=0)}})}),tE=function(){return e5(function(){var e=new Map;return es.forEach(function(t){var n,o=t.key,r=null===(n=eR.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(O(o),'"]'));r&&e.set(o,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})}),e})};(0,a.useEffect)(function(){tE()},[es.map(function(e){return e.key}).join("_")]);var tS=I(function(){var e=tu(ew),t=tu(eE),n=tu(eS);eG([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var o=tu(eM);eU(o),e2(tu(eP));var r=tu(eR);eF([r[0]-o[0],r[1]-o[1]]),tE()}),t_=es.slice(0,tx),tR=es.slice(tk+1),tP=[].concat((0,C.Z)(t_),(0,C.Z)(tR)),tM=(0,a.useState)(),tI=(0,v.Z)(tM,2),tN=tI[0],tT=tI[1],tO=e7.get(em),tL=(0,a.useRef)();function tD(){S.Z.cancel(tL.current)}(0,a.useEffect)(function(){var e={};return tO&&(eI?(eb?e.right=tO.right:e.left=tO.left,e.width=tO.width):(e.top=tO.top,e.height=tO.height)),tD(),tL.current=(0,S.Z)(function(){tT(e)}),tD},[tO,eI,eb]),(0,a.useEffect)(function(){tZ()},[em,ta,ti,T(tO),T(e7),eI]),(0,a.useEffect)(function(){tS()},[eb]);var tK=!!tP.length,tA="".concat(eu,"-nav-wrap");return eI?eb?(ea=eO>0,er=eO!==ti):(er=eO<0,ea=eO!==ta):(ei=eA<0,el=eA!==ta),a.createElement(w.Z,{onResize:tS},a.createElement("div",{ref:(0,_.x1)(t,ew),role:"tablist",className:d()("".concat(eu,"-nav"),ed),style:ef,onKeyDown:function(){th()}},a.createElement(K,{ref:eE,position:"left",extra:eh,prefixCls:eu}),a.createElement("div",{className:d()(tA,(eo={},(0,f.Z)(eo,"".concat(tA,"-ping-left"),er),(0,f.Z)(eo,"".concat(tA,"-ping-right"),ea),(0,f.Z)(eo,"".concat(tA,"-ping-top"),ei),(0,f.Z)(eo,"".concat(tA,"-ping-bottom"),el),eo)),ref:e_},a.createElement(w.Z,{onResize:tS},a.createElement("div",{ref:eR,className:"".concat(eu,"-nav-list"),style:{transform:"translate(".concat(eO,"px, ").concat(eA,"px)"),transition:tm?"none":void 0}},tw,a.createElement(D,{ref:eM,prefixCls:eu,locale:ey,editable:eg,style:(0,p.Z)((0,p.Z)({},0===tw.length?void 0:tC),{},{visibility:tK?"hidden":null})}),a.createElement("div",{className:d()("".concat(eu,"-ink-bar"),(0,f.Z)({},"".concat(eu,"-ink-bar-animated"),ev.inkBar)),style:tN})))),a.createElement(tl,(0,r.Z)({},e,{removeAriaLabel:null==ey?void 0:ey.removeAriaLabel,ref:eP,prefixCls:eu,tabs:tP,className:!tK&&tr,tabMoving:!!tm})),a.createElement(K,{ref:eS,position:"right",extra:eh,prefixCls:eu})))}),tf=["renderTabBar"],tp=["label","key"];function tv(e){var t=e.renderTabBar,n=(0,b.Z)(e,tf),o=a.useContext($).tabs;return t?t((0,p.Z)((0,p.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,b.Z)(e,tp);return a.createElement(x,(0,r.Z)({tab:t,key:n,tabKey:n},o))})}),td):a.createElement(td,n)}var tm=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],tb=0,th=a.forwardRef(function(e,t){var n,o,i=e.id,l=e.prefixCls,c=void 0===l?"rc-tabs":l,u=e.className,s=e.items,y=e.direction,x=e.activeKey,k=e.defaultActiveKey,C=e.editable,w=e.animated,E=e.tabPosition,S=void 0===E?"top":E,_=e.tabBarGutter,R=e.tabBarStyle,P=e.tabBarExtraContent,M=e.locale,I=e.moreIcon,N=e.moreTransitionName,T=e.destroyInactiveTabPane,O=e.renderTabBar,L=e.onChange,D=e.onTabClick,K=e.onTabScroll,A=e.getPopupContainer,z=e.popupClassName,B=(0,b.Z)(e,tm),j=a.useMemo(function(){return(s||[]).filter(function(e){return e&&"object"===(0,m.Z)(e)&&"key"in e})},[s]),W="rtl"===y,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,p.Z)({inkBar:!0},"object"===(0,m.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(w),H=(0,a.useState)(!1),X=(0,v.Z)(H,2),V=X[0],F=X[1];(0,a.useEffect)(function(){F((0,h.Z)())},[]);var q=(0,g.Z)(function(){var e;return null===(e=j[0])||void 0===e?void 0:e.key},{value:x,defaultValue:k}),Y=(0,v.Z)(q,2),Q=Y[0],U=Y[1],J=(0,a.useState)(function(){return j.findIndex(function(e){return e.key===Q})}),ee=(0,v.Z)(J,2),et=ee[0],en=ee[1];(0,a.useEffect)(function(){var e,t=j.findIndex(function(e){return e.key===Q});-1===t&&(t=Math.max(0,Math.min(et,j.length-1)),U(null===(e=j[t])||void 0===e?void 0:e.key)),en(t)},[j.map(function(e){return e.key}).join("_"),Q,et]);var eo=(0,g.Z)(null,{value:i}),er=(0,v.Z)(eo,2),ea=er[0],ei=er[1];(0,a.useEffect)(function(){i||(ei("rc-tabs-".concat(tb)),tb+=1)},[]);var el={id:ea,activeKey:Q,animated:G,tabPosition:S,rtl:W,mobile:V},ec=(0,p.Z)((0,p.Z)({},el),{},{editable:C,locale:M,moreIcon:I,moreTransitionName:N,tabBarGutter:_,onTabClick:function(e,t){null==D||D(e,t);var n=e!==Q;U(e),n&&(null==L||L(e))},onTabScroll:K,extra:P,style:R,panes:null,getPopupContainer:A,popupClassName:z});return a.createElement($.Provider,{value:{tabs:j,prefixCls:c}},a.createElement("div",(0,r.Z)({ref:t,id:i,className:d()(c,"".concat(c,"-").concat(S),(n={},(0,f.Z)(n,"".concat(c,"-mobile"),V),(0,f.Z)(n,"".concat(c,"-editable"),C),(0,f.Z)(n,"".concat(c,"-rtl"),W),n),u)},B),o,a.createElement(tv,(0,r.Z)({},ec,{renderTabBar:O})),a.createElement(Z,(0,r.Z)({destroyInactiveTabPane:T},el,{animated:G}))))}),tg=n(79746),ty=n(30069),t$=n(80716);let tx={motionAppear:!1,motionEnter:!0,motionLeave:!0};var tk=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},tZ=n(98663),tC=n(40650),tw=n(70721),tE=n(53279),tS=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,tE.oN)(e,"slide-up"),(0,tE.oN)(e,"slide-down")]]};let t_=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:o,cardGutter:r,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${r}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${r}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},tR=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,tZ.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${o}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},tZ.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},tP=e=>{let{componentCls:t,margin:n,colorBorderSecondary:o,horizontalMargin:r,verticalItemPadding:a,verticalItemMargin:i}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, - right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},tM=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:o,horizontalItemPaddingSM:r,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o}}}}}},tI=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:o,iconCls:r,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,tZ.Qy)(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${r}`]:{margin:0},[r]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},tN=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:o,cardGutter:r}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},tT=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:o,cardGutter:r,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tZ.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:o,marginLeft:{_skip_check_:!0,value:r},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,tZ.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),tI(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var tO=(0,tC.Z)("Tabs",e=>{let t=(0,tw.TS)(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[tM(t),tN(t),tP(t),tR(t),t_(t),tT(t),tS(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),tL=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let tD=e=>{let t;let{type:n,className:r,rootClassName:i,size:l,onEdit:s,hideAdd:f,centered:p,addIcon:v,popupClassName:m,children:b,items:h,animated:g,style:y}=e,$=tL(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:x,moreIcon:k=a.createElement(c,null)}=$,{direction:Z,tabs:C,getPrefixCls:w,getPopupContainer:E}=a.useContext(tg.E_),S=w("tabs",x),[_,R]=tO(S);"editable-card"===n&&(t={onEdit:(e,t)=>{let{key:n,event:o}=t;null==s||s("add"===e?o:n,e)},removeIcon:a.createElement(o.Z,null),addIcon:v||a.createElement(u.Z,null),showAdd:!0!==f});let P=w(),M=function(e,t){if(e)return e;let n=(0,eq.Z)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,o=n||{},{tab:r}=o,a=tk(o,["tab"]),i=Object.assign(Object.assign({key:String(t)},a),{label:r});return i}return null});return n.filter(e=>e)}(h,b),I=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},tx),{motionName:(0,t$.m)(e,"switch")})),t}(S,g),N=(0,ty.Z)(l),T=Object.assign(Object.assign({},null==C?void 0:C.style),y);return _(a.createElement(th,Object.assign({direction:Z,getPopupContainer:E,moreTransitionName:`${P}-slide-up`},$,{items:M,className:d()({[`${S}-${N}`]:N,[`${S}-card`]:["card","editable-card"].includes(n),[`${S}-editable-card`]:"editable-card"===n,[`${S}-centered`]:p},null==C?void 0:C.className,r,i,R),popupClassName:d()(m,R),style:T,editable:t,moreIcon:k,prefixCls:S,animated:I})))};tD.TabPane=()=>null;var tK=tD}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/582-ce3aab917ed90d57.js b/pilot/server/static/_next/static/chunks/582-ce3aab917ed90d57.js deleted file mode 100644 index 9532a4f83..000000000 --- a/pilot/server/static/_next/static/chunks/582-ce3aab917ed90d57.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{78141:function(i,a,e){var r=e(78997);a.Z=void 0;var o=r(e(76906)),n=e(9268),t=(0,o.default)((0,n.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");a.Z=t},73220:function(i,a,e){var r=e(78997);a.Z=void 0;var o=r(e(76906)),n=e(9268),t=(0,o.default)((0,n.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"}),"Chat");a.Z=t},59970:function(i,a,e){var r=e(78997);a.Z=void 0;var o=r(e(76906)),n=e(9268),t=(0,o.default)((0,n.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");a.Z=t},79214:function(i,a,e){var r=e(78997);a.Z=void 0;var o=r(e(76906)),n=e(9268),t=(0,o.default)((0,n.jsx)("path",{d:"M7 9H2V7h5v2zm0 3H2v2h5v-2zm13.59 7-3.83-3.83c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59 20.59 19zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3 1.35 3 3 3 3-1.35 3-3zM2 19h10v-2H2v2z"}),"ManageSearch");a.Z=t},30929:function(i,a,e){var r=e(78997);a.Z=void 0;var o=r(e(76906)),n=e(9268),t=(0,o.default)((0,n.jsx)("path",{d:"m14.17 13.71 1.4-2.42c.09-.15.05-.34-.08-.45l-1.48-1.16c.03-.22.05-.45.05-.68s-.02-.46-.05-.69l1.48-1.16c.13-.11.17-.3.08-.45l-1.4-2.42c-.09-.15-.27-.21-.43-.15l-1.74.7c-.36-.28-.75-.51-1.18-.69l-.26-1.85c-.03-.16-.18-.29-.35-.29h-2.8c-.17 0-.32.13-.35.3L6.8 4.15c-.42.18-.82.41-1.18.69l-1.74-.7c-.16-.06-.34 0-.43.15l-1.4 2.42c-.09.15-.05.34.08.45l1.48 1.16c-.03.22-.05.45-.05.68s.02.46.05.69l-1.48 1.16c-.13.11-.17.3-.08.45l1.4 2.42c.09.15.27.21.43.15l1.74-.7c.36.28.75.51 1.18.69l.26 1.85c.03.16.18.29.35.29h2.8c.17 0 .32-.13.35-.3l.26-1.85c.42-.18.82-.41 1.18-.69l1.74.7c.16.06.34 0 .43-.15zM8.81 11c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm13.11 7.67-.96-.74c.02-.14.04-.29.04-.44 0-.15-.01-.3-.04-.44l.95-.74c.08-.07.11-.19.05-.29l-.9-1.55c-.05-.1-.17-.13-.28-.1l-1.11.45c-.23-.18-.48-.33-.76-.44l-.17-1.18c-.01-.12-.11-.2-.21-.2h-1.79c-.11 0-.21.08-.22.19l-.17 1.18c-.27.12-.53.26-.76.44l-1.11-.45c-.1-.04-.22 0-.28.1l-.9 1.55c-.05.1-.04.22.05.29l.95.74c-.02.14-.03.29-.03.44 0 .15.01.3.03.44l-.95.74c-.08.07-.11.19-.05.29l.9 1.55c.05.1.17.13.28.1l1.11-.45c.23.18.48.33.76.44l.17 1.18c.02.11.11.19.22.19h1.79c.11 0 .21-.08.22-.19l.17-1.18c.27-.12.53-.26.75-.44l1.12.45c.1.04.22 0 .28-.1l.9-1.55c.06-.09.03-.21-.05-.28zm-4.29.16c-.74 0-1.35-.6-1.35-1.35s.6-1.35 1.35-1.35 1.35.6 1.35 1.35-.61 1.35-1.35 1.35z"}),"MiscellaneousServices");a.Z=t},99011:function(i,a,e){var r=e(78997);a.Z=void 0;var o=r(e(76906)),n=e(9268),t=(0,o.default)((0,n.jsx)("path",{d:"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2zm-2-1h8v-2H5v2zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5zm4.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6l-.63 1.37zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94L19 6z"}),"TipsAndUpdates");a.Z=t},58927:function(i,a,e){e.d(a,{Z:function(){return D}});var r=e(46750),o=e(40431),n=e(86006),t=e(89791),l=e(47562),c=e(73811),d=e(53832),s=e(49657),h=e(88930),v=e(50645),p=e(47093),m=e(18587);function C(i){return(0,m.d6)("MuiChip",i)}let u=(0,m.sI)("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),g=n.createContext({disabled:void 0,variant:void 0,color:void 0});var f=e(326),b=e(9268);let z=["children","className","color","onClick","disabled","size","variant","startDecorator","endDecorator","component","slots","slotProps"],Z=i=>{let{disabled:a,size:e,color:r,clickable:o,variant:n,focusVisible:t}=i,c={root:["root",a&&"disabled",r&&`color${(0,d.Z)(r)}`,e&&`size${(0,d.Z)(e)}`,n&&`variant${(0,d.Z)(n)}`,o&&"clickable"],action:["action",a&&"disabled",t&&"focusVisible"],label:["label",e&&`label${(0,d.Z)(e)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(c,C,{})},x=(0,v.Z)("div",{name:"JoyChip",slot:"Root",overridesResolver:(i,a)=>a.root})(({theme:i,ownerState:a})=>{var e,r,n,t;return[(0,o.Z)({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===a.size&&{"--Chip-gap":"0.25rem","--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(min(1.125rem, var(--_Chip-minHeight)) - 2 * var(--variant-borderWidth, 0px))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.714)","--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",fontSize:i.vars.fontSize.xs},"md"===a.size&&{"--Chip-gap":"0.375rem","--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"min(1.375rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.778)","--_Chip-minHeight":"var(--Chip-minHeight, 2rem)",fontSize:i.vars.fontSize.sm},"lg"===a.size&&{"--Chip-gap":"0.5rem","--Chip-paddingInline":"1rem","--Chip-decoratorChildHeight":"min(1.75rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 2)","--_Chip-minHeight":"var(--Chip-minHeight, 2.5rem)",fontSize:i.vars.fontSize.md},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",maxWidth:"max-content",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",fontWeight:i.vars.fontWeight.md,fontFamily:i.vars.fontFamily.body,display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box",[`&.${u.disabled}`]:{color:null==(e=i.variants[`${a.variant}Disabled`])||null==(e=e[a.color])?void 0:e.color}}),...a.clickable?[{"--variant-borderWidth":"0px",color:null==(t=i.variants[a.variant])||null==(t=t[a.color])?void 0:t.color}]:[null==(r=i.variants[a.variant])?void 0:r[a.color],{[`&.${u.disabled}`]:null==(n=i.variants[`${a.variant}Disabled`])?void 0:n[a.color]}]]}),H=(0,v.Z)("span",{name:"JoyChip",slot:"Label",overridesResolver:(i,a)=>a.label})(({ownerState:i})=>(0,o.Z)({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},i.clickable&&{zIndex:1,pointerEvents:"none"})),I=(0,v.Z)("button",{name:"JoyChip",slot:"Action",overridesResolver:(i,a)=>a.action})(({theme:i,ownerState:a})=>{var e,r,o,n;return[{position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,width:"100%",border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[i.focus.selector]:i.focus.default},null==(e=i.variants[a.variant])?void 0:e[a.color],{"&:hover":null==(r=i.variants[`${a.variant}Hover`])?void 0:r[a.color]},{"&:active":null==(o=i.variants[`${a.variant}Active`])?void 0:o[a.color]},{[`&.${u.disabled}`]:null==(n=i.variants[`${a.variant}Disabled`])?void 0:n[a.color]}]}),S=(0,v.Z)("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(i,a)=>a.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--Chip-deleteMargin":"0 0 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",marginInlineEnd:"var(--Chip-gap)",order:0,zIndex:1,pointerEvents:"none"}),_=(0,v.Z)("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(i,a)=>a.endDecorator})({"--Chip-deleteMargin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",marginInlineStart:"var(--Chip-gap)",order:2,zIndex:1,pointerEvents:"none"}),y=n.forwardRef(function(i,a){let e=(0,h.Z)({props:i,name:"JoyChip"}),{children:l,className:d,color:v="primary",onClick:m,disabled:C=!1,size:u="md",variant:y="solid",startDecorator:D,endDecorator:M,component:R,slots:k={},slotProps:L={}}=e,j=(0,r.Z)(e,z),{getColor:$}=(0,p.VT)(y),W=$(i.color,v),w=!!m||!!L.action,N=(0,o.Z)({},e,{disabled:C,size:u,color:W,variant:y,clickable:w,focusVisible:!1}),V="function"==typeof L.action?L.action(N):L.action,E=n.useRef(null),{focusVisible:A,getRootProps:O}=(0,c.Z)((0,o.Z)({},V,{disabled:C,rootRef:E}));N.focusVisible=A;let T=Z(N),J=(0,o.Z)({},j,{component:R,slots:k,slotProps:L}),[P,B]=(0,f.Z)("root",{ref:a,className:(0,t.Z)(T.root,d),elementType:x,externalForwardedProps:J,ownerState:N}),[F,G]=(0,f.Z)("label",{className:T.label,elementType:H,externalForwardedProps:J,ownerState:N}),U=(0,s.Z)(G.id),[q,K]=(0,f.Z)("action",{className:T.action,elementType:I,externalForwardedProps:J,ownerState:N,getSlotProps:O,additionalProps:{"aria-labelledby":U,as:null==V?void 0:V.component,onClick:m}}),[Q,X]=(0,f.Z)("startDecorator",{className:T.startDecorator,elementType:S,externalForwardedProps:J,ownerState:N}),[Y,ii]=(0,f.Z)("endDecorator",{className:T.endDecorator,elementType:_,externalForwardedProps:J,ownerState:N}),ia=n.useMemo(()=>({disabled:C,variant:y,color:"context"===W?void 0:W}),[W,C,y]);return(0,b.jsx)(g.Provider,{value:ia,children:(0,b.jsxs)(P,(0,o.Z)({},B,{children:[w&&(0,b.jsx)(q,(0,o.Z)({},K)),(0,b.jsx)(F,(0,o.Z)({},G,{id:U,children:l})),D&&(0,b.jsx)(Q,(0,o.Z)({},X,{children:D})),M&&(0,b.jsx)(Y,(0,o.Z)({},ii,{children:M}))]}))})});var D=y}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/582.e556d63f0f88de69.js b/pilot/server/static/_next/static/chunks/582.e556d63f0f88de69.js new file mode 100644 index 000000000..248e67a64 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/582.e556d63f0f88de69.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582,804],{92795:function(l,e,n){n.r(e);var a=n(85893),t=n(67294),i=n(577),d=n(61685),o=n(2549),s=n(40911),u=n(47556),r=n(14986),v=n(30322),c=n(48665),h=n(27015),m=n(59566),f=n(32983),x=n(63520),p=n(65908),b=n(99513),y=n(30119),j=n(39332),g=n(35392);let{Search:_}=m.default;function w(l){var e,n,i;let{editorValue:o,chartData:s,tableData:u,handleChange:r}=l,v=t.useMemo(()=>s?(0,a.jsx)("div",{className:"flex-1 overflow-auto p-3",style:{flexShrink:0,overflow:"hidden"},children:(0,a.jsx)(g.default,{...s})}):(0,a.jsx)("div",{}),[s]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,a.jsx)("div",{className:"flex-1",style:{flexShrink:0,overflow:"auto"},children:(0,a.jsx)(b.Z,{value:(null==o?void 0:o.sql)||"",language:"mysql",onChange:r,thoughts:(null==o?void 0:o.thoughts)||""})}),v]}),(0,a.jsx)("div",{className:"h-96 border-[var(--joy-palette-divider)] border-t border-solid overflow-auto",children:(null==u?void 0:null===(e=u.values)||void 0===e?void 0:e.length)>0?(0,a.jsxs)(d.Z,{"aria-label":"basic table",stickyHeader:!0,children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:null==u?void 0:null===(n=u.columns)||void 0===n?void 0:n.map((l,e)=>(0,a.jsx)("th",{children:l},l+e))})}),(0,a.jsx)("tbody",{children:null==u?void 0:null===(i=u.values)||void 0===i?void 0:i.map((l,e)=>{var n;return(0,a.jsx)("tr",{children:null===(n=Object.keys(l))||void 0===n?void 0:n.map(e=>(0,a.jsx)("td",{children:l[e]},e))},e)})})]}):(0,a.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,a.jsx)(f.Z,{})})})]})}e.default=function(){var l,e,n,d,m;let[f,b]=t.useState([]),[g,k]=t.useState(""),[N,Z]=t.useState(),[S,q]=t.useState(!0),[P,C]=t.useState(),[E,O]=t.useState(),[R,D]=t.useState(),[A,T]=t.useState(),[z,B]=t.useState(),M=(0,j.useSearchParams)(),F=null==M?void 0:M.get("id"),K=null==M?void 0:M.get("scene"),{data:V,loading:Y}=(0,i.Z)(async()=>await (0,y.Tk)("/v1/editor/sql/rounds",{con_uid:F}),{onSuccess:l=>{var e,n;let a=null==l?void 0:null===(e=l.data)||void 0===e?void 0:e[(null==l?void 0:null===(n=l.data)||void 0===n?void 0:n.length)-1];a&&Z(null==a?void 0:a.round)}}),{run:$,loading:H}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==V?void 0:null===(e=V.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/editor/sql/run",{db_name:n,sql:null==R?void 0:R.sql})},{manual:!0,onSuccess:l=>{var e,n;T({columns:null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.colunms,values:null==l?void 0:null===(n=l.data)||void 0===n?void 0:n.values})}}),{run:J,loading:L}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==V?void 0:null===(e=V.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name,a={db_name:n,sql:null==R?void 0:R.sql};return"chat_dashboard"===K&&(a.chart_type=null==R?void 0:R.showcase),await (0,y.PR)("/api/v1/editor/chart/run",a)},{manual:!0,ready:!!(null==R?void 0:R.sql),onSuccess:l=>{if(null==l?void 0:l.success){var e,n,a,t,i,d,o;T({columns:(null==l?void 0:null===(e=l.data)||void 0===e?void 0:null===(n=e.sql_data)||void 0===n?void 0:n.colunms)||[],values:(null==l?void 0:null===(a=l.data)||void 0===a?void 0:null===(t=a.sql_data)||void 0===t?void 0:t.values)||[]}),(null==l?void 0:null===(i=l.data)||void 0===i?void 0:i.chart_values)?C({type:null==l?void 0:null===(d=l.data)||void 0===d?void 0:d.chart_type,values:null==l?void 0:null===(o=l.data)||void 0===o?void 0:o.chart_values,title:null==R?void 0:R.title,description:null==R?void 0:R.thoughts}):C(void 0)}}}),{run:U,loading:G}=(0,i.Z)(async()=>{var l,e,n,a,t;let i=null===(l=null==V?void 0:null===(e=V.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/sql/editor/submit",{conv_uid:F,db_name:i,conv_round:N,old_sql:null==E?void 0:E.sql,old_speak:null==E?void 0:E.thoughts,new_sql:null==R?void 0:R.sql,new_speak:(null===(n=null==R?void 0:null===(a=R.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(t=n[1])||void 0===t?void 0:t.trim())||(null==R?void 0:R.thoughts)})},{manual:!0,onSuccess:l=>{(null==l?void 0:l.success)&&$()}}),{run:I,loading:Q}=(0,i.Z)(async()=>{var l,e,n,a,t,i;let d=null===(l=null==V?void 0:null===(e=V.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.PR)("/api/v1/chart/editor/submit",{conv_uid:F,chart_title:null==R?void 0:R.title,db_name:d,old_sql:null==E?void 0:null===(n=E[z])||void 0===n?void 0:n.sql,new_chart_type:null==R?void 0:R.showcase,new_sql:null==R?void 0:R.sql,new_comment:(null===(a=null==R?void 0:null===(t=R.thoughts)||void 0===t?void 0:t.match(/^\n--(.*)\n\n$/))||void 0===a?void 0:null===(i=a[1])||void 0===i?void 0:i.trim())||(null==R?void 0:R.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:l=>{(null==l?void 0:l.success)&&J()}}),{data:W}=(0,i.Z)(async()=>{var l,e;let n=null===(l=null==V?void 0:null===(e=V.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name;return await (0,y.Tk)("/v1/editor/db/tables",{db_name:n,page_index:1,page_size:200})},{ready:!!(null===(l=null==V?void 0:null===(e=V.data)||void 0===e?void 0:e.find(l=>l.round===N))||void 0===l?void 0:l.db_name),refreshDeps:[null===(n=null==V?void 0:null===(d=V.data)||void 0===d?void 0:d.find(l=>l.round===N))||void 0===n?void 0:n.db_name]}),{run:X}=(0,i.Z)(async l=>await (0,y.Tk)("/v1/editor/sql",{con_uid:F,round:l}),{manual:!0,onSuccess:l=>{let e;try{if(Array.isArray(null==l?void 0:l.data))e=null==l?void 0:l.data,B("0");else if("string"==typeof(null==l?void 0:l.data)){let n=JSON.parse(null==l?void 0:l.data);e=n}else e=null==l?void 0:l.data}catch(l){console.log(l)}finally{O(e),Array.isArray(e)?D(null==e?void 0:e[Number(z||0)]):D(e)}}}),ll=t.useMemo(()=>{let l=(e,n)=>e.map(e=>{let t=e.title,i=t.indexOf(g),d=t.substring(0,i),u=t.slice(i+g.length),r=i>-1?(0,a.jsx)(o.Z,{title:((null==e?void 0:e.comment)||(null==e?void 0:e.title))+((null==e?void 0:e.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[d,(0,a.jsx)("span",{className:"text-[#1677ff]",children:g}),u,(null==e?void 0:e.type)&&(0,a.jsx)(s.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==e?void 0:e.type,"]")})]})}):(0,a.jsx)(o.Z,{title:((null==e?void 0:e.comment)||(null==e?void 0:e.title))+((null==e?void 0:e.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[t,(null==e?void 0:e.type)&&(0,a.jsx)(s.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==e?void 0:e.type,"]")})]})});if(e.children){let a=n?String(n)+"_"+e.key:e.key;return{title:t,showTitle:r,key:a,children:l(e.children,a)}}return{title:t,showTitle:r,key:e.key}});return(null==W?void 0:W.data)?(b([null==W?void 0:W.data.key]),l([null==W?void 0:W.data])):[]},[g,W]),le=t.useMemo(()=>{let l=[],e=(n,a)=>{if(n&&!((null==n?void 0:n.length)<=0))for(let t=0;t{let n;for(let a=0;ae.key===l)?n=t.key:ln(l,t.children)&&(n=ln(l,t.children)))}return n};function la(l){let e;if(!l)return{sql:"",thoughts:""};let n=l&&l.match(/(--.*)\n([\s\S]*)/),a="";return n&&n.length>=3&&(a=n[1],e=n[2]),{sql:e,thoughts:a}}return t.useEffect(()=>{N&&X(N)},[X,N]),t.useEffect(()=>{E&&"chat_dashboard"===K&&z&&J()},[z,K,E,J]),t.useEffect(()=>{E&&"chat_dashboard"!==K&&$()},[K,E,$]),(0,a.jsxs)("div",{className:"flex flex-col w-full h-full",children:[(0,a.jsx)("div",{className:"bg-[#f8f8f8] border-[var(--joy-palette-divider)] border-b border-solid flex items-center px-3 justify-between",children:(0,a.jsxs)("div",{className:"absolute right-4 top-2",children:[(0,a.jsx)(u.Z,{className:"bg-[#1677ff] text-[#fff] hover:bg-[#1c558e] px-4 cursor-pointer",loading:H||L,size:"sm",onClick:async()=>{"chat_dashboard"===K?J():$()},children:"Run"}),(0,a.jsx)(u.Z,{variant:"outlined",size:"sm",className:"ml-3 px-4 cursor-pointer",loading:G||Q,onClick:async()=>{"chat_dashboard"===K?await I():await U()},children:"Save"})]})}),(0,a.jsxs)("div",{className:"flex flex-1 overflow-auto",children:[(0,a.jsxs)("div",{className:"text h-full border-[var(--joy-palette-divider)] border-r border-solid p-3 max-h-full overflow-auto",style:{width:"300px"},children:[(0,a.jsxs)("div",{className:"flex items-center py-3",children:[(0,a.jsx)(r.Z,{className:"h-4 min-w-[240px]",size:"sm",value:N,onChange:(l,e)=>{Z(e)},children:null==V?void 0:null===(m=V.data)||void 0===m?void 0:m.map(l=>(0,a.jsx)(v.Z,{value:null==l?void 0:l.round,children:null==l?void 0:l.round_name},null==l?void 0:l.round))}),(0,a.jsx)(h.Z,{className:"ml-2"})]}),(0,a.jsx)(_,{style:{marginBottom:8},placeholder:"Search",onChange:l=>{let{value:e}=l.target;if(null==W?void 0:W.data){if(e){let l=le.map(l=>l.title.indexOf(e)>-1?ln(l.key,ll):null).filter((l,e,n)=>l&&n.indexOf(l)===e);b(l)}else b([]);k(e),q(!0)}}}),ll&&ll.length>0&&(0,a.jsx)(x.Z,{onExpand:l=>{b(l),q(!1)},expandedKeys:f,autoExpandParent:S,treeData:ll,fieldNames:{title:"showTitle"}})]}),(0,a.jsx)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:Array.isArray(E)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(c.Z,{className:"h-full",sx:{".ant-tabs-content, .ant-tabs-tabpane-active":{height:"100%"},"& .ant-tabs-card.ant-tabs-top >.ant-tabs-nav .ant-tabs-tab, & .ant-tabs-card.ant-tabs-top >div>.ant-tabs-nav .ant-tabs-tab":{borderRadius:"0"}},children:(0,a.jsx)(p.Z,{className:"h-full dark:text-white px-2",activeKey:z,onChange:l=>{B(l),D(null==E?void 0:E[Number(l)])},items:null==E?void 0:E.map((l,e)=>({key:e+"",label:null==l?void 0:l.title,children:(0,a.jsx)("div",{className:"flex flex-col h-full",children:(0,a.jsx)(w,{editorValue:l,handleChange:l=>{let{sql:e,thoughts:n}=la(l);D(l=>Object.assign({},l,{sql:e,thoughts:n}))},tableData:A,chartData:P})})}))})})}):(0,a.jsx)(w,{editorValue:E,handleChange:l=>{let{sql:e,thoughts:n}=la(l);D(l=>Object.assign({},l,{sql:e,thoughts:n}))},tableData:A,chartData:void 0})})]})]})}},30119:function(l,e,n){n.d(e,{Tk:function(){return o},PR:function(){return s},Ej:function(){return u}});var a=n(58301),t=n(6154);let i=t.Z.create({baseURL:"http://127.0.0.1:5000"});i.defaults.timeout=1e4,i.interceptors.response.use(l=>l.data,l=>Promise.reject(l)),n(96486);let d={"content-type":"application/json"},o=(l,e)=>{if(e){let n=Object.keys(e).filter(l=>void 0!==e[l]&&""!==e[l]).map(l=>"".concat(l,"=").concat(e[l])).join("&");n&&(l+="?".concat(n))}return i.get("/api"+l,{headers:d}).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)})},s=(l,e)=>i.post(l,e,{headers:d}).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)}),u=(l,e)=>i.post(l,e).then(l=>l).catch(l=>{a.ZP.error(l),Promise.reject(l)})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/589-8dfb35868cafc00b.js b/pilot/server/static/_next/static/chunks/589-8dfb35868cafc00b.js new file mode 100644 index 000000000..dac3edfc6 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/589-8dfb35868cafc00b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[589],{64082:function(e,r,t){t.d(r,{Z:function(){return l}});var a=t(87462),o=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},n=t(42135),l=o.forwardRef(function(e,r){return o.createElement(n.Z,(0,a.Z)({},e,{ref:r,icon:i}))})},18967:function(e,r,t){var a=t(64836);r.Z=void 0;var o=a(t(64938)),i=t(85893),n=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlined");r.Z=n},46907:function(e,r,t){var a=t(64836);r.Z=void 0;var o=a(t(64938)),i=t(85893),n=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline");r.Z=n},74435:function(e,r,t){t.d(r,{Z:function(){return B}});var a=t(63366),o=t(87462),i=t(67294),n=t(14142),l=t(94780),c=t(19032),d=t(99962),s=t(33703),u=t(74312),h=t(20407),v=t(78653),m=t(30220),p=t(26821);function x(e){return(0,p.d6)("MuiSwitch",e)}let g=(0,p.sI)("MuiSwitch",["root","checked","disabled","action","input","thumb","track","focusVisible","readOnly","colorPrimary","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantOutlined","variantSoft","variantSolid","startDecorator","endDecorator"]);var f=t(76043),b=t(85893);let S=["checked","defaultChecked","disabled","onBlur","onChange","onFocus","onFocusVisible","readOnly","required","id","color","variant","size","startDecorator","endDecorator","component","slots","slotProps"],w=e=>{let{checked:r,disabled:t,focusVisible:a,readOnly:o,color:i,variant:c}=e,d={root:["root",r&&"checked",t&&"disabled",a&&"focusVisible",o&&"readOnly",c&&`variant${(0,n.Z)(c)}`,i&&`color${(0,n.Z)(i)}`],thumb:["thumb",r&&"checked"],track:["track",r&&"checked"],action:["action",a&&"focusVisible"],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(d,x,{})},k=({theme:e,ownerState:r})=>(t={})=>{var a;let o=(null==(a=e.variants[`${r.variant}${t.state||""}`])?void 0:a[r.color])||{};return{"--Switch-trackBackground":o.backgroundColor,"--Switch-trackColor":o.color,"--Switch-trackBorderColor":"outlined"===r.variant?o.borderColor:"currentColor","--Switch-thumbBackground":o.color,"--Switch-thumbColor":o.backgroundColor}},T=(0,u.Z)("div",{name:"JoySwitch",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t;let a=k({theme:e,ownerState:r});return(0,o.Z)({"--variant-borderWidth":null==(t=e.variants[r.variant])||null==(t=t[r.color])?void 0:t["--variant-borderWidth"],"--Switch-trackRadius":e.vars.radius.lg,"--Switch-thumbShadow":"soft"===r.variant?"none":"0 0 0 1px var(--Switch-trackBackground)"},"sm"===r.size&&{"--Switch-trackWidth":"40px","--Switch-trackHeight":"20px","--Switch-thumbSize":"12px","--Switch-gap":"6px",fontSize:e.vars.fontSize.sm},"md"===r.size&&{"--Switch-trackWidth":"48px","--Switch-trackHeight":"24px","--Switch-thumbSize":"16px","--Switch-gap":"8px",fontSize:e.vars.fontSize.md},"lg"===r.size&&{"--Switch-trackWidth":"64px","--Switch-trackHeight":"32px","--Switch-thumbSize":"24px","--Switch-gap":"12px"},{"--unstable_paddingBlock":"max((var(--Switch-trackHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Switch-thumbSize)) / 2, 0px)","--Switch-thumbRadius":"max(var(--Switch-trackRadius) - var(--unstable_paddingBlock), min(var(--unstable_paddingBlock) / 2, var(--Switch-trackRadius) / 2))","--Switch-thumbWidth":"var(--Switch-thumbSize)","--Switch-thumbOffset":"max((var(--Switch-trackHeight) - var(--Switch-thumbSize)) / 2, 0px)"},a(),{"&:hover":(0,o.Z)({},a({state:"Hover"})),[`&.${g.checked}`]:(0,o.Z)({},a(),{"&:hover":(0,o.Z)({},a({state:"Hover"}))}),[`&.${g.disabled}`]:(0,o.Z)({pointerEvents:"none",color:e.vars.palette.text.tertiary},a({state:"Disabled"})),display:"inline-flex",alignItems:"center",alignSelf:"center",fontFamily:e.vars.fontFamily.body,position:"relative",padding:"calc((var(--Switch-thumbSize) / 2) - (var(--Switch-trackHeight) / 2)) calc(-1 * var(--Switch-thumbOffset))",backgroundColor:"initial",border:"none",margin:"var(--unstable_Switch-margin)"})}),y=(0,u.Z)("div",{name:"JoySwitch",slot:"Action",overridesResolver:(e,r)=>r.action})(({theme:e})=>({borderRadius:"var(--Switch-trackRadius)",position:"absolute",top:0,left:0,bottom:0,right:0,[e.focus.selector]:e.focus.default})),Z=(0,u.Z)("input",{name:"JoySwitch",slot:"Input",overridesResolver:(e,r)=>r.input})({margin:0,height:"100%",width:"100%",opacity:0,position:"absolute",cursor:"pointer"}),z=(0,u.Z)("span",{name:"JoySwitch",slot:"Track",overridesResolver:(e,r)=>r.track})(({theme:e,ownerState:r})=>(0,o.Z)({position:"relative",color:"var(--Switch-trackColor)",height:"var(--Switch-trackHeight)",width:"var(--Switch-trackWidth)",display:"flex",flexShrink:0,justifyContent:"space-between",alignItems:"center",boxSizing:"border-box",border:"var(--variant-borderWidth, 0px) solid",borderColor:"var(--Switch-trackBorderColor)",backgroundColor:"var(--Switch-trackBackground)",borderRadius:"var(--Switch-trackRadius)",fontFamily:e.vars.fontFamily.body},"sm"===r.size&&{fontSize:e.vars.fontSize.xs},"md"===r.size&&{fontSize:e.vars.fontSize.sm},"lg"===r.size&&{fontSize:e.vars.fontSize.md})),C=(0,u.Z)("span",{name:"JoySwitch",slot:"Thumb",overridesResolver:(e,r)=>r.thumb})({"--Icon-fontSize":"calc(var(--Switch-thumbSize) * 0.75)",display:"inline-flex",justifyContent:"center",alignItems:"center",position:"absolute",top:"50%",left:"calc(50% - var(--Switch-trackWidth) / 2 + var(--Switch-thumbWidth) / 2 + var(--Switch-thumbOffset))",transform:"translate(-50%, -50%)",width:"var(--Switch-thumbWidth)",height:"var(--Switch-thumbSize)",borderRadius:"var(--Switch-thumbRadius)",boxShadow:"var(--Switch-thumbShadow)",color:"var(--Switch-thumbColor)",backgroundColor:"var(--Switch-thumbBackground)",[`&.${g.checked}`]:{left:"calc(50% + var(--Switch-trackWidth) / 2 - var(--Switch-thumbWidth) / 2 - var(--Switch-thumbOffset))"}}),H=(0,u.Z)("span",{name:"JoySwitch",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})({display:"inline-flex",marginInlineEnd:"var(--Switch-gap)"}),R=(0,u.Z)("span",{name:"JoySwitch",slot:"EndDecorator",overridesResolver:(e,r)=>r.endDecorator})({display:"inline-flex",marginInlineStart:"var(--Switch-gap)"}),D=i.forwardRef(function(e,r){var t,n,l,u,p;let x=(0,h.Z)({props:e,name:"JoySwitch"}),{checked:g,defaultChecked:k,disabled:D,onBlur:B,onChange:I,onFocus:W,onFocusVisible:O,readOnly:j,id:E,color:N,variant:F="solid",size:P="md",startDecorator:M,endDecorator:V,component:$,slots:J={},slotProps:_={}}=x,L=(0,a.Z)(x,S),q=i.useContext(f.Z),A=null!=(t=null!=(n=e.disabled)?n:null==q?void 0:q.disabled)?t:D,G=null!=(l=null!=(u=e.size)?u:null==q?void 0:q.size)?l:P,{getColor:K}=(0,v.VT)(F),Q=K(e.color,null!=q&&q.error?"danger":null!=(p=null==q?void 0:q.color)?p:N),{getInputProps:U,checked:X,disabled:Y,focusVisible:ee,readOnly:er}=function(e){let{checked:r,defaultChecked:t,disabled:a,onBlur:n,onChange:l,onFocus:u,onFocusVisible:h,readOnly:v,required:m}=e,[p,x]=(0,c.Z)({controlled:r,default:!!t,name:"Switch",state:"checked"}),g=e=>r=>{var t;r.nativeEvent.defaultPrevented||(x(r.target.checked),null==l||l(r),null==(t=e.onChange)||t.call(e,r))},{isFocusVisibleRef:f,onBlur:b,onFocus:S,ref:w}=(0,d.Z)(),[k,T]=i.useState(!1);a&&k&&T(!1),i.useEffect(()=>{f.current=k},[k,f]);let y=i.useRef(null),Z=e=>r=>{var t;y.current||(y.current=r.currentTarget),S(r),!0===f.current&&(T(!0),null==h||h(r)),null==u||u(r),null==(t=e.onFocus)||t.call(e,r)},z=e=>r=>{var t;b(r),!1===f.current&&T(!1),null==n||n(r),null==(t=e.onBlur)||t.call(e,r)},C=(0,s.Z)(w,y);return{checked:p,disabled:!!a,focusVisible:k,getInputProps:(e={})=>(0,o.Z)({checked:r,defaultChecked:t,disabled:a,readOnly:v,ref:C,required:m,type:"checkbox"},e,{onChange:g(e),onFocus:Z(e),onBlur:z(e)}),inputRef:C,readOnly:!!v}}({checked:g,defaultChecked:k,disabled:A,onBlur:B,onChange:I,onFocus:W,onFocusVisible:O,readOnly:j}),et=(0,o.Z)({},x,{id:E,checked:X,disabled:Y,focusVisible:ee,readOnly:er,color:X?Q||"primary":Q||"neutral",variant:F,size:G}),ea=w(et),eo=(0,o.Z)({},L,{component:$,slots:J,slotProps:_}),[ei,en]=(0,m.Z)("root",{ref:r,className:ea.root,elementType:T,externalForwardedProps:eo,ownerState:et}),[el,ec]=(0,m.Z)("startDecorator",{additionalProps:{"aria-hidden":!0},className:ea.startDecorator,elementType:H,externalForwardedProps:eo,ownerState:et}),[ed,es]=(0,m.Z)("endDecorator",{additionalProps:{"aria-hidden":!0},className:ea.endDecorator,elementType:R,externalForwardedProps:eo,ownerState:et}),[eu,eh]=(0,m.Z)("track",{className:ea.track,elementType:z,externalForwardedProps:eo,ownerState:et}),[ev,em]=(0,m.Z)("thumb",{className:ea.thumb,elementType:C,externalForwardedProps:eo,ownerState:et}),[ep,ex]=(0,m.Z)("action",{className:ea.action,elementType:y,externalForwardedProps:eo,ownerState:et}),[eg,ef]=(0,m.Z)("input",{additionalProps:{id:null!=E?E:null==q?void 0:q.htmlFor,"aria-describedby":null==q?void 0:q["aria-describedby"]},className:ea.input,elementType:Z,externalForwardedProps:eo,getSlotProps:U,ownerState:et});return(0,b.jsxs)(ei,(0,o.Z)({},en,{children:[M&&(0,b.jsx)(el,(0,o.Z)({},ec,{children:"function"==typeof M?M(et):M})),(0,b.jsxs)(eu,(0,o.Z)({},eh,{children:[null==eh?void 0:eh.children,(0,b.jsx)(ev,(0,o.Z)({},em))]})),(0,b.jsx)(ep,(0,o.Z)({},ex,{children:(0,b.jsx)(eg,(0,o.Z)({},ef))})),V&&(0,b.jsx)(ed,(0,o.Z)({},es,{children:"function"==typeof V?V(et):V}))]}))});var B=D},13009:function(e,r,t){t.d(r,{Z:function(){return O}});var a=t(63366),o=t(87462),i=t(67294),n=t(14142),l=t(94780),c=t(73935),d=t(33703),s=t(74161),u=t(39336),h=t(73546),v=t(85893);let m=["onChange","maxRows","minRows","style","value"];function p(e){return parseInt(e,10)||0}let x={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function g(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}let f=i.forwardRef(function(e,r){let{onChange:t,maxRows:n,minRows:l=1,style:f,value:b}=e,S=(0,a.Z)(e,m),{current:w}=i.useRef(null!=b),k=i.useRef(null),T=(0,d.Z)(r,k),y=i.useRef(null),Z=i.useRef(0),[z,C]=i.useState({outerHeightStyle:0}),H=i.useCallback(()=>{let r=k.current,t=(0,s.Z)(r),a=t.getComputedStyle(r);if("0px"===a.width)return{outerHeightStyle:0};let o=y.current;o.style.width=a.width,o.value=r.value||e.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");let i=a.boxSizing,c=p(a.paddingBottom)+p(a.paddingTop),d=p(a.borderBottomWidth)+p(a.borderTopWidth),u=o.scrollHeight;o.value="x";let h=o.scrollHeight,v=u;l&&(v=Math.max(Number(l)*h,v)),n&&(v=Math.min(Number(n)*h,v)),v=Math.max(v,h);let m=v+("border-box"===i?c+d:0),x=1>=Math.abs(v-u);return{outerHeightStyle:m,overflow:x}},[n,l,e.placeholder]),R=(e,r)=>{let{outerHeightStyle:t,overflow:a}=r;return Z.current<20&&(t>0&&Math.abs((e.outerHeightStyle||0)-t)>1||e.overflow!==a)?(Z.current+=1,{overflow:a,outerHeightStyle:t}):e},D=i.useCallback(()=>{let e=H();g(e)||C(r=>R(r,e))},[H]),B=()=>{let e=H();g(e)||c.flushSync(()=>{C(r=>R(r,e))})};return i.useEffect(()=>{let e;let r=(0,u.Z)(()=>{Z.current=0,k.current&&B()}),t=k.current,a=(0,s.Z)(t);return a.addEventListener("resize",r),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(r)).observe(t),()=>{r.clear(),a.removeEventListener("resize",r),e&&e.disconnect()}}),(0,h.Z)(()=>{D()}),i.useEffect(()=>{Z.current=0},[b]),(0,v.jsxs)(i.Fragment,{children:[(0,v.jsx)("textarea",(0,o.Z)({value:b,onChange:e=>{Z.current=0,w||D(),t&&t(e)},ref:T,rows:l,style:(0,o.Z)({height:z.outerHeightStyle,overflow:z.overflow?"hidden":void 0},f)},S)),(0,v.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:(0,o.Z)({},x.shadow,f,{paddingTop:0,paddingBottom:0})})]})});var b=t(74312),S=t(20407),w=t(78653),k=t(30220),T=t(26821);function y(e){return(0,T.d6)("MuiTextarea",e)}let Z=(0,T.sI)("MuiTextarea",["root","textarea","startDecorator","endDecorator","formControl","disabled","error","focused","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft"]);var z=t(8869);let C=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","size","color","variant","startDecorator","endDecorator","minRows","maxRows","component","slots","slotProps"],H=e=>{let{disabled:r,variant:t,color:a,size:o}=e,i={root:["root",r&&"disabled",t&&`variant${(0,n.Z)(t)}`,a&&`color${(0,n.Z)(a)}`,o&&`size${(0,n.Z)(o)}`],textarea:["textarea"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(i,y,{})},R=(0,b.Z)("div",{name:"JoyTextarea",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,a,i,n,l;let c=null==(t=e.variants[`${r.variant}`])?void 0:t[r.color];return[(0,o.Z)({"--Textarea-radius":e.vars.radius.sm,"--Textarea-gap":"0.5rem","--Textarea-placeholderColor":"inherit","--Textarea-placeholderOpacity":.5,"--Textarea-focused":"0","--Textarea-focusedThickness":e.vars.focus.thickness},"context"===r.color?{"--Textarea-focusedHighlight":e.vars.palette.focusVisible}:{"--Textarea-focusedHighlight":null==(a=e.vars.palette["neutral"===r.color?"primary":r.color])?void 0:a[500]},"sm"===r.size&&{"--Textarea-minHeight":"2rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.5rem","--Textarea-decoratorChildHeight":"min(1.5rem, var(--Textarea-minHeight))","--Icon-fontSize":"1.25rem"},"md"===r.size&&{"--Textarea-minHeight":"2.5rem","--Textarea-paddingBlock":"calc(0.5rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"0.75rem","--Textarea-decoratorChildHeight":"min(2rem, var(--Textarea-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===r.size&&{"--Textarea-minHeight":"3rem","--Textarea-paddingBlock":"calc(0.75rem - var(--variant-borderWidth, 0px))","--Textarea-paddingInline":"1rem","--Textarea-gap":"0.75rem","--Textarea-decoratorChildHeight":"min(2.375rem, var(--Textarea-minHeight))","--Icon-fontSize":"1.75rem"},{"--_Textarea-paddingBlock":"max((var(--Textarea-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Textarea-decoratorChildHeight)) / 2, 0px)","--Textarea-decoratorChildRadius":"max(var(--Textarea-radius) - var(--variant-borderWidth, 0px) - var(--_Textarea-paddingBlock), min(var(--_Textarea-paddingBlock) + var(--variant-borderWidth, 0px), var(--Textarea-radius) / 2))","--Button-minHeight":"var(--Textarea-decoratorChildHeight)","--IconButton-size":"var(--Textarea-decoratorChildHeight)","--Button-radius":"var(--Textarea-decoratorChildRadius)","--IconButton-radius":"var(--Textarea-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Textarea-minHeight)",cursor:"text",position:"relative",display:"flex",flexDirection:"column",paddingInlineStart:"var(--Textarea-paddingInline)",paddingBlock:"var(--Textarea-paddingBlock)",borderRadius:"var(--Textarea-radius)",fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md,lineHeight:e.vars.lineHeight.md},"sm"===r.size&&{fontSize:e.vars.fontSize.sm,lineHeight:e.vars.lineHeight.sm},{"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Textarea-focusedInset, inset) 0 0 0 calc(var(--Textarea-focused) * var(--Textarea-focusedThickness)) var(--Textarea-focusedHighlight)"}}),(0,o.Z)({},c,{backgroundColor:null!=(i=null==c?void 0:c.backgroundColor)?i:e.vars.palette.background.surface,"&:hover":(0,o.Z)({},null==(n=e.variants[`${r.variant}Hover`])?void 0:n[r.color],{backgroundColor:null,cursor:"text"}),[`&.${Z.disabled}`]:null==(l=e.variants[`${r.variant}Disabled`])?void 0:l[r.color],"&:focus-within::before":{"--Textarea-focused":"1"}})]}),D=(0,b.Z)(f,{name:"JoyTextarea",slot:"Textarea",overridesResolver:(e,r)=>r.textarea})({resize:"none",border:"none",minWidth:0,outline:0,padding:0,paddingInlineEnd:"var(--Textarea-paddingInline)",flex:"auto",alignSelf:"stretch",color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit","&::-webkit-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Textarea-placeholderColor)",opacity:"var(--Textarea-placeholderOpacity)"}}),B=(0,b.Z)("div",{name:"JoyTextarea",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})(({theme:e})=>({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockEnd:"var(--Textarea-gap)",color:e.vars.palette.text.tertiary,cursor:"initial"})),I=(0,b.Z)("div",{name:"JoyTextarea",slot:"EndDecorator",overridesResolver:(e,r)=>r.endDecorator})(({theme:e})=>({display:"flex",marginInlineStart:"calc(var(--Textarea-paddingBlock) - var(--Textarea-paddingInline))",marginInlineEnd:"var(--Textarea-paddingBlock)",marginBlockStart:"var(--Textarea-gap)",color:e.vars.palette.text.tertiary,cursor:"initial"})),W=i.forwardRef(function(e,r){var t,i,n,l,c,d,s;let u=(0,S.Z)({props:e,name:"JoyTextarea"}),h=(0,z.Z)(u,Z),{propsToForward:m,rootStateClasses:p,inputStateClasses:x,getRootProps:g,getInputProps:f,formControl:b,focused:T,error:y=!1,disabled:W=!1,size:O="md",color:j="neutral",variant:E="outlined",startDecorator:N,endDecorator:F,minRows:P,maxRows:M,component:V,slots:$={},slotProps:J={}}=h,_=(0,a.Z)(h,C),L=null!=(t=null!=(i=e.disabled)?i:null==b?void 0:b.disabled)?t:W,q=null!=(n=null!=(l=e.error)?l:null==b?void 0:b.error)?n:y,A=null!=(c=null!=(d=e.size)?d:null==b?void 0:b.size)?c:O,{getColor:G}=(0,w.VT)(E),K=G(e.color,q?"danger":null!=(s=null==b?void 0:b.color)?s:j),Q=(0,o.Z)({},u,{color:K,disabled:L,error:q,focused:T,size:A,variant:E}),U=H(Q),X=(0,o.Z)({},_,{component:V,slots:$,slotProps:J}),[Y,ee]=(0,k.Z)("root",{ref:r,className:[U.root,p],elementType:R,externalForwardedProps:X,getSlotProps:g,ownerState:Q}),[er,et]=(0,k.Z)("textarea",{additionalProps:{id:null==b?void 0:b.htmlFor,"aria-describedby":null==b?void 0:b["aria-describedby"]},className:[U.textarea,x],elementType:D,internalForwardedProps:(0,o.Z)({},m,{minRows:P,maxRows:M}),externalForwardedProps:X,getSlotProps:f,ownerState:Q}),[ea,eo]=(0,k.Z)("startDecorator",{className:U.startDecorator,elementType:B,externalForwardedProps:X,ownerState:Q}),[ei,en]=(0,k.Z)("endDecorator",{className:U.endDecorator,elementType:I,externalForwardedProps:X,ownerState:Q});return(0,v.jsxs)(Y,(0,o.Z)({},ee,{children:[N&&(0,v.jsx)(ea,(0,o.Z)({},eo,{children:N})),(0,v.jsx)(er,(0,o.Z)({},et)),F&&(0,v.jsx)(ei,(0,o.Z)({},en,{children:F}))]}))});var O=W}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/627-04a31c813e7605da.js b/pilot/server/static/_next/static/chunks/627-04a31c813e7605da.js deleted file mode 100644 index 66716f9de..000000000 --- a/pilot/server/static/_next/static/chunks/627-04a31c813e7605da.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[627],{31515:function(i,a,o){o.d(a,{Z:function(){return l}});var e=o(40431),r=o(86006),t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},n=o(1240),l=r.forwardRef(function(i,a){return r.createElement(n.Z,(0,e.Z)({},i,{ref:a,icon:t}))})},29382:function(i,a,o){var e=o(78997);a.Z=void 0;var r=e(o(76906)),t=o(9268),n=(0,r.default)([(0,t.jsx)("path",{d:"M5 5h2v3h10V5h2v5h2V5c0-1.1-.9-2-2-2h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v-2H5V5zm7-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z"},"0"),(0,t.jsx)("path",{d:"M20.3 18.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S12 14 12 16.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l2.7 2.7 1.4-1.4-2.7-2.7zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z"},"1")],"ContentPasteSearchOutlined");a.Z=n},74852:function(i,a,o){var e=o(78997);a.Z=void 0;var r=e(o(76906)),t=o(9268),n=(0,r.default)((0,t.jsx)("path",{d:"M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"}),"WarningRounded");a.Z=n},50318:function(i,a,o){o.d(a,{Z:function(){return M}});var e=o(46750),r=o(40431),t=o(86006),n=o(89791),l=o(53832),d=o(47562),s=o(50645),c=o(88930),v=o(18587);function g(i){return(0,v.d6)("MuiDivider",i)}(0,v.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);var p=o(326),u=o(9268);let m=["className","children","component","inset","orientation","role","slots","slotProps"],f=i=>{let{orientation:a,inset:o}=i,e={root:["root",a,o&&`inset${(0,l.Z)(o)}`]};return(0,d.Z)(e,g,{})},D=(0,s.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(i,a)=>a.root})(({theme:i,ownerState:a})=>(0,r.Z)({"--Divider-thickness":"1px","--Divider-lineColor":i.vars.palette.divider},"none"===a.inset&&{"--_Divider-inset":"0px"},"context"===a.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===a.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===a.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},a.children?{"--Divider-gap":i.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===a.orientation?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0,fontFamily:i.vars.fontFamily.body,fontSize:i.vars.fontSize.sm,"&::before, &::after":{position:"relative",inlineSize:"vertical"===a.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===a.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===a.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===a.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===a.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===a.orientation?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}:{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:"vertical"===a.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===a.orientation?"initial":"var(--Divider-thickness)"})),h=t.forwardRef(function(i,a){let o=(0,c.Z)({props:i,name:"JoyDivider"}),{className:t,children:l,component:d=null!=l?"div":"hr",inset:s,orientation:v="horizontal",role:g="hr"!==d?"separator":void 0,slots:h={},slotProps:M={}}=o,y=(0,e.Z)(o,m),Z=(0,r.Z)({},o,{inset:s,role:g,orientation:v,component:d}),x=f(Z),z=(0,r.Z)({},y,{component:d,slots:h,slotProps:M}),[b,C]=(0,p.Z)("root",{ref:a,className:(0,n.Z)(x.root,t),elementType:D,externalForwardedProps:z,ownerState:Z,additionalProps:(0,r.Z)({as:d,role:g},"separator"===g&&"vertical"===v&&{"aria-orientation":"vertical"})});return(0,u.jsx)(b,(0,r.Z)({},C,{children:l}))});h.muiName="Divider";var M=h},82144:function(i,a,o){o.d(a,{Z:function(){return b}});var e=o(46750),r=o(40431),t=o(86006),n=o(89791),l=o(47562),d=o(53832),s=o(44542),c=o(50645),v=o(88930),g=o(47093),p=o(5737),u=o(18587);function m(i){return(0,u.d6)("MuiModalDialog",i)}(0,u.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);let f=t.createContext(void 0),D=t.createContext(void 0);var h=o(326),M=o(9268);let y=["className","children","color","component","variant","size","layout","slots","slotProps"],Z=i=>{let{variant:a,color:o,size:e,layout:r}=i,t={root:["root",a&&`variant${(0,d.Z)(a)}`,o&&`color${(0,d.Z)(o)}`,e&&`size${(0,d.Z)(e)}`,r&&`layout${(0,d.Z)(r)}`]};return(0,l.Z)(t,m,{})},x=(0,c.Z)(p.U,{name:"JoyModalDialog",slot:"Root",overridesResolver:(i,a)=>a.root})(({theme:i,ownerState:a})=>(0,r.Z)({"--Divider-inset":"calc(-1 * var(--ModalDialog-padding))","--ModalClose-radius":"max((var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===a.size&&{"--ModalDialog-padding":i.spacing(2),"--ModalDialog-radius":i.vars.radius.sm,"--ModalDialog-gap":i.spacing(.75),"--ModalDialog-titleOffset":i.spacing(.25),"--ModalDialog-descriptionOffset":i.spacing(.25),"--ModalClose-inset":i.spacing(1.25),fontSize:i.vars.fontSize.sm},"md"===a.size&&{"--ModalDialog-padding":i.spacing(2.5),"--ModalDialog-radius":i.vars.radius.md,"--ModalDialog-gap":i.spacing(1.5),"--ModalDialog-titleOffset":i.spacing(.25),"--ModalDialog-descriptionOffset":i.spacing(.75),"--ModalClose-inset":i.spacing(1.5),fontSize:i.vars.fontSize.md},"lg"===a.size&&{"--ModalDialog-padding":i.spacing(3),"--ModalDialog-radius":i.vars.radius.md,"--ModalDialog-gap":i.spacing(2),"--ModalDialog-titleOffset":i.spacing(.75),"--ModalDialog-descriptionOffset":i.spacing(1),"--ModalClose-inset":i.spacing(1.5),fontSize:i.vars.fontSize.lg},{boxSizing:"border-box",boxShadow:i.shadow.md,borderRadius:"var(--ModalDialog-radius)",fontFamily:i.vars.fontFamily.body,lineHeight:i.vars.lineHeight.md,padding:"var(--ModalDialog-padding)",minWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute",display:"flex",flexDirection:"column"},"fullscreen"===a.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===a.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--ModalDialog-padding))"},{[`& [id="${a["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${a["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${a["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),z=t.forwardRef(function(i,a){let o=(0,v.Z)({props:i,name:"JoyModalDialog"}),{className:l,children:d,color:c="neutral",component:p="div",variant:u="outlined",size:m="md",layout:z="center",slots:b={},slotProps:C={}}=o,S=(0,e.Z)(o,y),{getColor:$}=(0,g.VT)(u),k=$(i.color,c),O=(0,r.Z)({},o,{color:k,component:p,layout:z,size:m,variant:u}),w=Z(O),P=(0,r.Z)({},S,{component:p,slots:b,slotProps:C}),E=t.useMemo(()=>({variant:u,color:"context"===k?void 0:k}),[k,u]),[I,_]=(0,h.Z)("root",{ref:a,className:(0,n.Z)(w.root,l),elementType:x,externalForwardedProps:P,ownerState:O,additionalProps:{as:p,role:"dialog","aria-modal":"true"}});return(0,M.jsx)(f.Provider,{value:m,children:(0,M.jsx)(D.Provider,{value:E,children:(0,M.jsx)(I,(0,r.Z)({},_,{children:t.Children.map(d,i=>{if(!t.isValidElement(i))return i;if((0,s.Z)(i,["Divider"])){let a={};return a.inset="inset"in i.props?i.props.inset:"context",t.cloneElement(i,a)}return i})}))})})});var b=z},57406:function(i,a){a.Z=i=>({[i.componentCls]:{[`${i.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${i.motionDurationMid} ${i.motionEaseInOut}, - opacity ${i.motionDurationMid} ${i.motionEaseInOut} !important`}},[`${i.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${i.motionDurationMid} ${i.motionEaseInOut}, - opacity ${i.motionDurationMid} ${i.motionEaseInOut} !important`}}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/635-485e0e15fe1137c1.js b/pilot/server/static/_next/static/chunks/635-485e0e15fe1137c1.js deleted file mode 100644 index 5d2009340..000000000 --- a/pilot/server/static/_next/static/chunks/635-485e0e15fe1137c1.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[635],{78635:function(e,t,o){o.d(t,{lL:function(){return w},tv:function(){return b}});var r=o(95135),l=o(40431),c=o(46750),s=o(16066),n=o(86006),i=o(72120),a=o(9268);function d(e){let{styles:t,defaultTheme:o={}}=e,r="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?o:e):t;return(0,a.jsx)(i.xB,{styles:r})}var m=o(63678),h=o(14446);let u="mode",f="color-scheme",g="data-color-scheme";function y(e){if("undefined"!=typeof window&&"system"===e){let e=window.matchMedia("(prefers-color-scheme: dark)");return e.matches?"dark":"light"}}function S(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function k(e,t){let o;if("undefined"!=typeof window){try{(o=localStorage.getItem(e)||void 0)||localStorage.setItem(e,t)}catch(e){}return o||t}}let p=["colorSchemes","components","generateCssVars","cssVarPrefix"];var v=o(98918),$=o(52428),C=o(8622);let{CssVarsProvider:w,useColorScheme:b,getInitColorSchemeScript:j}=function(e){let{themeId:t,theme:o={},attribute:i=g,modeStorageKey:v=u,colorSchemeStorageKey:$=f,defaultMode:C="light",defaultColorScheme:w,disableTransitionOnChange:b=!1,resolveTheme:j,excludeVariablesFromRoot:x}=e;o.colorSchemes&&("string"!=typeof w||o.colorSchemes[w])&&("object"!=typeof w||o.colorSchemes[null==w?void 0:w.light])&&("object"!=typeof w||o.colorSchemes[null==w?void 0:w.dark])||console.error(`MUI: \`${w}\` does not exist in \`theme.colorSchemes\`.`);let I=n.createContext(void 0),Z="string"==typeof w?w:w.light,E="string"==typeof w?w:w.dark;return{CssVarsProvider:function({children:e,theme:s=o,modeStorageKey:g=v,colorSchemeStorageKey:Z=$,attribute:E=i,defaultMode:M=C,defaultColorScheme:L=w,disableTransitionOnChange:K=b,storageWindow:T="undefined"==typeof window?void 0:window,documentNode:_="undefined"==typeof document?void 0:document,colorSchemeNode:O="undefined"==typeof document?void 0:document.documentElement,colorSchemeSelector:P=":root",disableNestedContext:V=!1,disableStyleSheetGeneration:N=!1}){let W=n.useRef(!1),q=(0,m.Z)(),A=n.useContext(I),F=!!A&&!V,R=s[t],z=R||s,{colorSchemes:B={},components:H={},generateCssVars:U=()=>({vars:{},css:{}}),cssVarPrefix:D}=z,G=(0,c.Z)(z,p),J=Object.keys(B),Q="string"==typeof L?L:L.light,X="string"==typeof L?L:L.dark,{mode:Y,setMode:ee,systemMode:et,lightColorScheme:eo,darkColorScheme:er,colorScheme:el,setColorScheme:ec}=function(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:c=[],modeStorageKey:s=u,colorSchemeStorageKey:i=f,storageWindow:a="undefined"==typeof window?void 0:window}=e,d=c.join(","),[m,h]=n.useState(()=>{let e=k(s,t),l=k(`${i}-light`,o),c=k(`${i}-dark`,r);return{mode:e,systemMode:y(e),lightColorScheme:l,darkColorScheme:c}}),g=S(m,e=>"light"===e?m.lightColorScheme:"dark"===e?m.darkColorScheme:void 0),p=n.useCallback(e=>{h(o=>{if(e===o.mode)return o;let r=e||t;try{localStorage.setItem(s,r)}catch(e){}return(0,l.Z)({},o,{mode:r,systemMode:y(r)})})},[s,t]),v=n.useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):h(t=>{let o=(0,l.Z)({},t);return S(t,t=>{try{localStorage.setItem(`${i}-${t}`,e)}catch(e){}"light"===t&&(o.lightColorScheme=e),"dark"===t&&(o.darkColorScheme=e)}),o}):h(t=>{let c=(0,l.Z)({},t),s=null===e.light?o:e.light,n=null===e.dark?r:e.dark;if(s){if(d.includes(s)){c.lightColorScheme=s;try{localStorage.setItem(`${i}-light`,s)}catch(e){}}else console.error(`\`${s}\` does not exist in \`theme.colorSchemes\`.`)}if(n){if(d.includes(n)){c.darkColorScheme=n;try{localStorage.setItem(`${i}-dark`,n)}catch(e){}}else console.error(`\`${n}\` does not exist in \`theme.colorSchemes\`.`)}return c}):h(e=>{try{localStorage.setItem(`${i}-light`,o),localStorage.setItem(`${i}-dark`,r)}catch(e){}return(0,l.Z)({},e,{lightColorScheme:o,darkColorScheme:r})})},[d,i,o,r]),$=n.useCallback(e=>{"system"===m.mode&&h(t=>(0,l.Z)({},t,{systemMode:null!=e&&e.matches?"dark":"light"}))},[m.mode]),C=n.useRef($);return C.current=$,n.useEffect(()=>{let e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)},[]),n.useEffect(()=>{let e=e=>{let o=e.newValue;"string"==typeof e.key&&e.key.startsWith(i)&&(!o||d.match(o))&&(e.key.endsWith("light")&&v({light:o}),e.key.endsWith("dark")&&v({dark:o})),e.key===s&&(!o||["light","dark","system"].includes(o))&&p(o||t)};if(a)return a.addEventListener("storage",e),()=>a.removeEventListener("storage",e)},[v,p,s,i,d,t,a]),(0,l.Z)({},m,{colorScheme:g,setMode:p,setColorScheme:v})}({supportedColorSchemes:J,defaultLightColorScheme:Q,defaultDarkColorScheme:X,modeStorageKey:g,colorSchemeStorageKey:Z,defaultMode:M,storageWindow:T}),es=Y,en=el;F&&(es=A.mode,en=A.colorScheme);let ei=es||("system"===M?C:M),ea=en||("dark"===ei?X:Q),{css:ed,vars:em}=U(),eh=(0,l.Z)({},G,{components:H,colorSchemes:B,cssVarPrefix:D,vars:em,getColorSchemeSelector:e=>`[${E}="${e}"] &`}),eu={},ef={};Object.entries(B).forEach(([e,t])=>{let{css:o,vars:c}=U(e);eh.vars=(0,r.Z)(eh.vars,c),e===ea&&(Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]?eh[e]=(0,l.Z)({},eh[e],t[e]):eh[e]=t[e]}),eh.palette&&(eh.palette.colorScheme=e));let s="string"==typeof L?L:"dark"===M?L.dark:L.light;if(e===s){if(x){let t={};x(D).forEach(e=>{t[e]=o[e],delete o[e]}),eu[`[${E}="${e}"]`]=t}eu[`${P}, [${E}="${e}"]`]=o}else ef[`${":root"===P?"":P}[${E}="${e}"]`]=o}),eh.vars=(0,r.Z)(eh.vars,em),n.useEffect(()=>{en&&O&&O.setAttribute(E,en)},[en,E,O]),n.useEffect(()=>{let e;if(K&&W.current&&_){let t=_.createElement("style");t.appendChild(_.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),_.head.appendChild(t),window.getComputedStyle(_.body),e=setTimeout(()=>{_.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[en,K,_]),n.useEffect(()=>(W.current=!0,()=>{W.current=!1}),[]);let eg=n.useMemo(()=>({mode:es,systemMode:et,setMode:ee,lightColorScheme:eo,darkColorScheme:er,colorScheme:en,setColorScheme:ec,allColorSchemes:J}),[J,en,er,eo,es,ec,ee,et]),ey=!0;(N||F&&(null==q?void 0:q.cssVarPrefix)===D)&&(ey=!1);let eS=(0,a.jsxs)(n.Fragment,{children:[ey&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(d,{styles:{[P]:ed}}),(0,a.jsx)(d,{styles:eu}),(0,a.jsx)(d,{styles:ef})]}),(0,a.jsx)(h.Z,{themeId:R?t:void 0,theme:j?j(eh):eh,children:e})]});return F?eS:(0,a.jsx)(I.Provider,{value:eg,children:eS})},useColorScheme:()=>{let e=n.useContext(I);if(!e)throw Error((0,s.Z)(19));return e},getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="light",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:l=u,colorSchemeStorageKey:c=f,attribute:s=g,colorSchemeNode:n="document.documentElement"}=e||{};return(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function() { try { - var mode = localStorage.getItem('${l}') || '${t}'; - var cssColorScheme = mode; - var colorScheme = ''; - if (mode === 'system') { - // handle system mode - var mql = window.matchMedia('(prefers-color-scheme: dark)'); - if (mql.matches) { - cssColorScheme = 'dark'; - colorScheme = localStorage.getItem('${c}-dark') || '${r}'; - } else { - cssColorScheme = 'light'; - colorScheme = localStorage.getItem('${c}-light') || '${o}'; - } - } - if (mode === 'light') { - colorScheme = localStorage.getItem('${c}-light') || '${o}'; - } - if (mode === 'dark') { - colorScheme = localStorage.getItem('${c}-dark') || '${r}'; - } - if (colorScheme) { - ${n}.setAttribute('${s}', colorScheme); - } - } catch (e) {} })();`}},"mui-color-scheme-init")})((0,l.Z)({attribute:i,colorSchemeStorageKey:$,defaultMode:C,defaultLightColorScheme:Z,defaultDarkColorScheme:E,modeStorageKey:v},e))}}({themeId:C.Z,theme:v.Z,attribute:"data-joy-color-scheme",modeStorageKey:"joy-mode",colorSchemeStorageKey:"joy-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t=e.colorInversion;return e.colorInversion=(0,r.Z)({soft:(0,$.pP)(e),solid:(0,$.Lo)(e)},"function"==typeof t?t(e):t,{clone:!1}),e}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/649-85000b933734ec92.js b/pilot/server/static/_next/static/chunks/649-85000b933734ec92.js deleted file mode 100644 index afe0fd45b..000000000 --- a/pilot/server/static/_next/static/chunks/649-85000b933734ec92.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[649],{95131:function(t,e,n){n.d(e,{Z:function(){return s}});var o=n(40431),r=n(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(1240),s=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,o.Z)({},t,{ref:e,icon:i}))})},90214:function(t,e,n){n.d(e,{Z:function(){return H}});var o=n(88684),r=n(60456),i=n(89301),a=n(61085),s=n(8683),l=n.n(s),c=n(29333),u=n(49175),f=n(60618),p=n(23254),d=n(53457),h=n(38358),m=n(98861),v=n(86006),g=n(8431),b=v.createContext(null);function y(t){return t?Array.isArray(t)?t:[t]:[]}var w=n(98498);function _(t,e,n,o){return e||(n?{motionName:"".concat(t,"-").concat(n)}:o?{motionName:o}:null)}function k(t){return t.ownerDocument.defaultView}function x(t){for(var e=[],n=null==t?void 0:t.parentElement,o=["hidden","scroll","clip","auto"];n;){var r=k(n).getComputedStyle(n);[r.overflowX,r.overflowY,r.overflow].some(function(t){return o.includes(t)})&&e.push(n),n=n.parentElement}return e}function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function E(t){return O(parseFloat(t),0)}function C(t,e){var n=(0,o.Z)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement)){var e=k(t).getComputedStyle(t),o=e.overflow,r=e.overflowClipMargin,i=e.borderTopWidth,a=e.borderBottomWidth,s=e.borderLeftWidth,l=e.borderRightWidth,c=t.getBoundingClientRect(),u=t.offsetHeight,f=t.clientHeight,p=t.offsetWidth,d=t.clientWidth,h=E(i),m=E(a),v=E(s),g=E(l),b=O(Math.round(c.width/p*1e3)/1e3),y=O(Math.round(c.height/u*1e3)/1e3),w=h*y,_=v*b,x=0,C=0;if("clip"===o){var Z=E(r);x=Z*b,C=Z*y}var M=c.x+_-x,R=c.y+w-C,A=M+c.width+2*x-_-g*b-(p-d-v-g)*b,S=R+c.height+2*C-w-m*y-(u-f-h-m)*y;n.left=Math.max(n.left,M),n.top=Math.max(n.top,R),n.right=Math.min(n.right,A),n.bottom=Math.min(n.bottom,S)}}),n}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(e),o=n.match(/^(.*)\%$/);return o?t*(parseFloat(o[1])/100):parseFloat(n)}function M(t,e){var n=(0,r.Z)(e||[],2),o=n[0],i=n[1];return[Z(t.width,o),Z(t.height,i)]}function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function A(t,e){var n,o=e[0],r=e[1];return n="t"===o?t.y:"b"===o?t.y+t.height:t.y+t.height/2,{x:"l"===r?t.x:"r"===r?t.x+t.width:t.x+t.width/2,y:n}}function S(t,e){var n={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,o){return o===e?n[t]||"c":t}).join("")}var $=n(90151);n(65493);var j=n(66643),P=n(40431),T=n(78641),N=n(92510);function L(t){var e=t.prefixCls,n=t.align,o=t.arrow,r=t.arrowPos,i=o||{},a=i.className,s=i.content,c=r.x,u=r.y,f=v.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],h=n.points[1],m=d[0],g=d[1],b=h[0],y=h[1];m!==b&&["t","b"].includes(m)?"t"===m?p.top=0:p.bottom=0:p.top=void 0===u?0:u,g!==y&&["l","r"].includes(g)?"l"===g?p.left=0:p.right=0:p.left=void 0===c?0:c}return v.createElement("div",{ref:f,className:l()("".concat(e,"-arrow"),a),style:p},s)}function z(t){var e=t.prefixCls,n=t.open,o=t.zIndex,r=t.mask,i=t.motion;return r?v.createElement(T.ZP,(0,P.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(t){var n=t.className;return v.createElement("div",{style:{zIndex:o},className:l()("".concat(e,"-mask"),n)})}):null}var B=v.memo(function(t){return t.children},function(t,e){return e.cache}),D=v.forwardRef(function(t,e){var n=t.popup,i=t.className,a=t.prefixCls,s=t.style,u=t.target,f=t.onVisibleChanged,p=t.open,d=t.keepDom,m=t.onClick,g=t.mask,b=t.arrow,y=t.arrowPos,w=t.align,_=t.motion,k=t.maskMotion,x=t.forceRender,O=t.getPopupContainer,E=t.autoDestroy,C=t.portal,Z=t.zIndex,M=t.onMouseEnter,R=t.onMouseLeave,A=t.onPointerEnter,S=t.ready,$=t.offsetX,j=t.offsetY,D=t.offsetR,V=t.offsetB,X=t.onAlign,H=t.onPrepare,I=t.stretch,W=t.targetWidth,Y=t.targetHeight,F="function"==typeof n?n():n,q=(null==O?void 0:O.length)>0,G=v.useState(!O||!q),Q=(0,r.Z)(G,2),U=Q[0],J=Q[1];if((0,h.Z)(function(){!U&&q&&u&&J(!0)},[U,q,u]),!U)return null;var K="auto",tt={left:"-1000vw",top:"-1000vh",right:K,bottom:K};if(S||!p){var te=w.points,tn=w._experimental,to=null==tn?void 0:tn.dynamicInset,tr=to&&"r"===te[0][1],ti=to&&"b"===te[0][0];tr?(tt.right=D,tt.left=K):(tt.left=$,tt.right=K),ti?(tt.bottom=V,tt.top=K):(tt.top=j,tt.bottom=K)}var ta={};return I&&(I.includes("height")&&Y?ta.height=Y:I.includes("minHeight")&&Y&&(ta.minHeight=Y),I.includes("width")&&W?ta.width=W:I.includes("minWidth")&&W&&(ta.minWidth=W)),p||(ta.pointerEvents="none"),v.createElement(C,{open:x||p||d,getContainer:O&&function(){return O(u)},autoDestroy:E},v.createElement(z,{prefixCls:a,open:p,zIndex:Z,mask:g,motion:k}),v.createElement(c.Z,{onResize:X,disabled:!p},function(t){return v.createElement(T.ZP,(0,P.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:x,leavedClassName:"".concat(a,"-hidden")},_,{onAppearPrepare:H,onEnterPrepare:H,visible:p,onVisibleChanged:function(t){var e;null==_||null===(e=_.onVisibleChanged)||void 0===e||e.call(_,t),f(t)}}),function(n,r){var c=n.className,u=n.style,f=l()(a,c,i);return v.createElement("div",{ref:(0,N.sQ)(t,e,r),className:f,style:(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},tt),ta),u),{},{boxSizing:"border-box",zIndex:Z},s),onMouseEnter:M,onMouseLeave:R,onPointerEnter:A,onClick:m},b&&v.createElement(L,{prefixCls:a,arrow:b,arrowPos:y,align:w}),v.createElement(B,{cache:!p},F))})}))}),V=v.forwardRef(function(t,e){var n=t.children,o=t.getTriggerDOMNode,r=(0,N.Yr)(n),i=v.useCallback(function(t){(0,N.mH)(e,o?o(t):t)},[o]),a=(0,N.x1)(i,n.ref);return r?v.cloneElement(n,{ref:a}):n}),X=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return v.forwardRef(function(e,n){var a,s,E,Z,P,T,N,L,z,B,H,I,W,Y,F,q,G,Q=e.prefixCls,U=void 0===Q?"rc-trigger-popup":Q,J=e.children,K=e.action,tt=e.showAction,te=e.hideAction,tn=e.popupVisible,to=e.defaultPopupVisible,tr=e.onPopupVisibleChange,ti=e.afterPopupVisibleChange,ta=e.mouseEnterDelay,ts=e.mouseLeaveDelay,tl=void 0===ts?.1:ts,tc=e.focusDelay,tu=e.blurDelay,tf=e.mask,tp=e.maskClosable,td=e.getPopupContainer,th=e.forceRender,tm=e.autoDestroy,tv=e.destroyPopupOnHide,tg=e.popup,tb=e.popupClassName,ty=e.popupStyle,tw=e.popupPlacement,t_=e.builtinPlacements,tk=void 0===t_?{}:t_,tx=e.popupAlign,tO=e.zIndex,tE=e.stretch,tC=e.getPopupClassNameFromAlign,tZ=e.alignPoint,tM=e.onPopupClick,tR=e.onPopupAlign,tA=e.arrow,tS=e.popupMotion,t$=e.maskMotion,tj=e.popupTransitionName,tP=e.popupAnimation,tT=e.maskTransitionName,tN=e.maskAnimation,tL=e.className,tz=e.getTriggerDOMNode,tB=(0,i.Z)(e,X),tD=v.useState(!1),tV=(0,r.Z)(tD,2),tX=tV[0],tH=tV[1];(0,h.Z)(function(){tH((0,m.Z)())},[]);var tI=v.useRef({}),tW=v.useContext(b),tY=v.useMemo(function(){return{registerSubPopup:function(t,e){tI.current[t]=e,null==tW||tW.registerSubPopup(t,e)}}},[tW]),tF=(0,d.Z)(),tq=v.useState(null),tG=(0,r.Z)(tq,2),tQ=tG[0],tU=tG[1],tJ=(0,p.Z)(function(t){(0,u.S)(t)&&tQ!==t&&tU(t),null==tW||tW.registerSubPopup(tF,t)}),tK=v.useState(null),t0=(0,r.Z)(tK,2),t1=t0[0],t2=t0[1],t8=(0,p.Z)(function(t){(0,u.S)(t)&&t1!==t&&t2(t)}),t4=v.Children.only(J),t3=(null==t4?void 0:t4.props)||{},t5={},t6=(0,p.Z)(function(t){var e,n;return(null==t1?void 0:t1.contains(t))||(null===(e=(0,f.A)(t1))||void 0===e?void 0:e.host)===t||t===t1||(null==tQ?void 0:tQ.contains(t))||(null===(n=(0,f.A)(tQ))||void 0===n?void 0:n.host)===t||t===tQ||Object.values(tI.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t9=_(U,tS,tP,tj),t7=_(U,t$,tN,tT),et=v.useState(to||!1),ee=(0,r.Z)(et,2),en=ee[0],eo=ee[1],er=null!=tn?tn:en,ei=(0,p.Z)(function(t){void 0===tn&&eo(t)});(0,h.Z)(function(){eo(tn||!1)},[tn]);var ea=v.useRef(er);ea.current=er;var es=(0,p.Z)(function(t){(0,g.flushSync)(function(){er!==t&&(ei(t),null==tr||tr(t))})}),el=v.useRef(),ec=function(){clearTimeout(el.current)},eu=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ec(),0===e?es(t):el.current=setTimeout(function(){es(t)},1e3*e)};v.useEffect(function(){return ec},[]);var ef=v.useState(!1),ep=(0,r.Z)(ef,2),ed=ep[0],eh=ep[1];(0,h.Z)(function(t){(!t||er)&&eh(!0)},[er]);var em=v.useState(null),ev=(0,r.Z)(em,2),eg=ev[0],eb=ev[1],ey=v.useState([0,0]),ew=(0,r.Z)(ey,2),e_=ew[0],ek=ew[1],ex=function(t){ek([t.clientX,t.clientY])},eO=(a=tZ?e_:t1,s=v.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:tk[tw]||{}}),Z=(E=(0,r.Z)(s,2))[0],P=E[1],T=v.useRef(0),N=v.useMemo(function(){return tQ?x(tQ):[]},[tQ]),L=v.useRef({}),er||(L.current={}),z=(0,p.Z)(function(){if(tQ&&a&&er){var t,e,n,i,s,l=tQ.style.left,c=tQ.style.top,f=tQ.style.right,p=tQ.style.bottom,d=tQ.ownerDocument,h=k(tQ),m=(0,o.Z)((0,o.Z)({},tk[tw]),tx);if(tQ.style.left="0",tQ.style.top="0",tQ.style.right="auto",tQ.style.bottom="auto",Array.isArray(a))t={x:a[0],y:a[1],width:0,height:0};else{var v=a.getBoundingClientRect();t={x:v.x,y:v.y,width:v.width,height:v.height}}var g=tQ.getBoundingClientRect(),b=h.getComputedStyle(tQ),y=b.width,_=b.height,x=d.documentElement,E=x.clientWidth,Z=x.clientHeight,$=x.scrollWidth,j=x.scrollHeight,T=x.scrollTop,z=x.scrollLeft,B=g.height,D=g.width,V=t.height,X=t.width,H=m.htmlRegion,I="visible",W="visibleFirst";"scroll"!==H&&H!==W&&(H=I);var Y=H===W,F=C({left:-z,top:-T,right:$-z,bottom:j-T},N),q=C({left:0,top:0,right:E,bottom:Z},N),G=H===I?q:F,Q=Y?q:G;tQ.style.left="auto",tQ.style.top="auto",tQ.style.right="0",tQ.style.bottom="0";var U=tQ.getBoundingClientRect();tQ.style.left=l,tQ.style.top=c,tQ.style.right=f,tQ.style.bottom=p;var J=O(Math.round(D/parseFloat(y)*1e3)/1e3),K=O(Math.round(B/parseFloat(_)*1e3)/1e3);if(!(0===J||0===K||(0,u.S)(a)&&!(0,w.Z)(a))){var tt=m.offset,te=m.targetOffset,tn=M(g,tt),to=(0,r.Z)(tn,2),tr=to[0],ti=to[1],ta=M(t,te),ts=(0,r.Z)(ta,2),tl=ts[0],tc=ts[1];t.x-=tl,t.y-=tc;var tu=m.points||[],tf=(0,r.Z)(tu,2),tp=tf[0],td=R(tf[1]),th=R(tp),tm=A(t,td),tv=A(g,th),tg=(0,o.Z)({},m),tb=tm.x-tv.x+tr,ty=tm.y-tv.y+ti,t_=t6(tb,ty),tO=t6(tb,ty,q),tE=A(t,["t","l"]),tC=A(g,["t","l"]),tZ=A(t,["b","r"]),tM=A(g,["b","r"]),tA=m.overflow||{},tS=tA.adjustX,t$=tA.adjustY,tj=tA.shiftX,tP=tA.shiftY,tT=function(t){return"boolean"==typeof t?t:t>=0};t9();var tN=tT(t$),tL=th[0]===td[0];if(tN&&"t"===th[0]&&(n>Q.bottom||L.current.bt)){var tz=ty;tL?tz-=B-V:tz=tE.y-tM.y-ti;var tB=t6(tb,tz),tD=t6(tb,tz,q);tB>t_||tB===t_&&(!Y||tD>=tO)?(L.current.bt=!0,ty=tz,ti=-ti,tg.points=[S(th,0),S(td,0)]):L.current.bt=!1}if(tN&&"b"===th[0]&&(et_||tX===t_&&(!Y||tH>=tO)?(L.current.tb=!0,ty=tV,ti=-ti,tg.points=[S(th,0),S(td,0)]):L.current.tb=!1}var tI=tT(tS),tW=th[1]===td[1];if(tI&&"l"===th[1]&&(s>Q.right||L.current.rl)){var tY=tb;tW?tY-=D-X:tY=tE.x-tM.x-tr;var tF=t6(tY,ty),tq=t6(tY,ty,q);tF>t_||tF===t_&&(!Y||tq>=tO)?(L.current.rl=!0,tb=tY,tr=-tr,tg.points=[S(th,1),S(td,1)]):L.current.rl=!1}if(tI&&"r"===th[1]&&(it_||tU===t_&&(!Y||tJ>=tO)?(L.current.lr=!0,tb=tG,tr=-tr,tg.points=[S(th,1),S(td,1)]):L.current.lr=!1}t9();var tK=!0===tj?0:tj;"number"==typeof tK&&(iq.right&&(tb-=s-q.right-tr,t.x>q.right-tK&&(tb+=t.x-q.right+tK)));var t0=!0===tP?0:tP;"number"==typeof t0&&(eq.bottom&&(ty-=n-q.bottom-ti,t.y>q.bottom-t0&&(ty+=t.y-q.bottom+t0)));var t1=g.x+tb,t2=g.y+ty,t8=t.x,t4=t.y;null==tR||tR(tQ,tg);var t3=U.right-g.x-(tb+g.width),t5=U.bottom-g.y-(ty+g.height);P({ready:!0,offsetX:tb/J,offsetY:ty/K,offsetR:t3/J,offsetB:t5/K,arrowX:((Math.max(t1,t8)+Math.min(t1+D,t8+X))/2-t1)/J,arrowY:((Math.max(t2,t4)+Math.min(t2+B,t4+V))/2-t2)/K,scaleX:J,scaleY:K,align:tg})}function t6(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G,o=g.x+t,r=g.y+e,i=Math.max(o,n.left),a=Math.max(r,n.top);return Math.max(0,(Math.min(o+D,n.right)-i)*(Math.min(r+B,n.bottom)-a))}function t9(){n=(e=g.y+ty)+B,s=(i=g.x+tb)+D}}}),B=function(){P(function(t){return(0,o.Z)((0,o.Z)({},t),{},{ready:!1})})},(0,h.Z)(B,[tw]),(0,h.Z)(function(){er||B()},[er]),[Z.ready,Z.offsetX,Z.offsetY,Z.offsetR,Z.offsetB,Z.arrowX,Z.arrowY,Z.scaleX,Z.scaleY,Z.align,function(){T.current+=1;var t=T.current;Promise.resolve().then(function(){T.current===t&&z()})}]),eE=(0,r.Z)(eO,11),eC=eE[0],eZ=eE[1],eM=eE[2],eR=eE[3],eA=eE[4],eS=eE[5],e$=eE[6],ej=eE[7],eP=eE[8],eT=eE[9],eN=eE[10],eL=(H=void 0===K?"hover":K,v.useMemo(function(){var t=y(null!=tt?tt:H),e=y(null!=te?te:H),n=new Set(t),o=new Set(e);return tX&&(n.has("hover")&&(n.delete("hover"),n.add("click")),o.has("hover")&&(o.delete("hover"),o.add("click"))),[n,o]},[tX,H,tt,te])),ez=(0,r.Z)(eL,2),eB=ez[0],eD=ez[1],eV=eB.has("click"),eX=eD.has("click")||eD.has("contextMenu"),eH=(0,p.Z)(function(){ed||eN()});I=function(){ea.current&&tZ&&eX&&eu(!1)},(0,h.Z)(function(){if(er&&t1&&tQ){var t=x(t1),e=x(tQ),n=k(tQ),o=new Set([n].concat((0,$.Z)(t),(0,$.Z)(e)));function r(){eH(),I()}return o.forEach(function(t){t.addEventListener("scroll",r,{passive:!0})}),n.addEventListener("resize",r,{passive:!0}),eH(),function(){o.forEach(function(t){t.removeEventListener("scroll",r),n.removeEventListener("resize",r)})}}},[er,t1,tQ]),(0,h.Z)(function(){eH()},[e_,tw]),(0,h.Z)(function(){er&&!(null!=tk&&tk[tw])&&eH()},[JSON.stringify(tx)]);var eI=v.useMemo(function(){var t=function(t,e,n,o){for(var r=n.points,i=Object.keys(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null===(s=t[l])||void 0===s?void 0:s.points,r,o))return"".concat(e,"-placement-").concat(l)}return""}(tk,U,eT,tZ);return l()(t,null==tC?void 0:tC(eT))},[eT,tC,tk,U,tZ]);v.useImperativeHandle(n,function(){return{forceAlign:eH}}),(0,h.Z)(function(){eg&&(eN(),eg(),eb(null))},[eg]);var eW=v.useState(0),eY=(0,r.Z)(eW,2),eF=eY[0],eq=eY[1],eG=v.useState(0),eQ=(0,r.Z)(eG,2),eU=eQ[0],eJ=eQ[1];function eK(t,e,n,o){t5[t]=function(r){var i;null==o||o(r),eu(e,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l1?n-1:0),r=1;r1?n-1:0),r=1;r`${t}-inverse`);function a(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?[].concat((0,o.Z)(i),(0,o.Z)(r.i)).includes(t):r.i.includes(t)}},20798:function(t,e,n){n.d(e,{qN:function(){return r},ZP:function(){return a},fS:function(){return i}});let o=(t,e,n,o,r)=>{let i=t/2,a=1*n/Math.sqrt(2),s=i-n*(1-1/Math.sqrt(2)),l=i-e*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+e*(1/Math.sqrt(2)),u=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),f=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:t/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${f}px 100%, 50% ${f}px, ${2*i-f}px 100%, ${f}px 100%)`,`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${s} L ${l} ${c} A ${e} ${e} 0 0 1 ${2*i-l} ${c} L ${2*i-a} ${s} A ${n} ${n} 0 0 0 ${2*i-0} ${i} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${e}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},r=8;function i(t){let{contentRadius:e,limitVerticalRadius:n}=t,o=e>12?e+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:n?r:o}}function a(t,e){var n,r,a,s,l,c,u,f;let{componentCls:p,sizePopupArrow:d,borderRadiusXS:h,borderRadiusOuter:m,boxShadowPopoverArrow:v}=t,{colorBg:g,contentRadius:b=t.borderRadiusLG,limitVerticalRadius:y,arrowDistance:w=0,arrowPlacement:_={left:!0,right:!0,top:!0,bottom:!0}}=e,{dropdownArrowOffsetVertical:k,dropdownArrowOffset:x}=i({contentRadius:b,limitVerticalRadius:y});return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({[`${p}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},o(d,h,m,g,v)),{"&:before":{background:g}})]},(n=!!_.top,r={[`&-placement-top ${p}-arrow,&-placement-topLeft ${p}-arrow,&-placement-topRight ${p}-arrow`]:{bottom:w,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:x}},[`&-placement-topRight ${p}-arrow`]:{right:{_skip_check_:!0,value:x}}},n?r:{})),(a=!!_.bottom,s={[`&-placement-bottom ${p}-arrow,&-placement-bottomLeft ${p}-arrow,&-placement-bottomRight ${p}-arrow`]:{top:w,transform:"translateY(-100%)"},[`&-placement-bottom ${p}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:x}},[`&-placement-bottomRight ${p}-arrow`]:{right:{_skip_check_:!0,value:x}}},a?s:{})),(l=!!_.left,c={[`&-placement-left ${p}-arrow,&-placement-leftTop ${p}-arrow,&-placement-leftBottom ${p}-arrow`]:{right:{_skip_check_:!0,value:w},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${p}-arrow`]:{top:k},[`&-placement-leftBottom ${p}-arrow`]:{bottom:k}},l?c:{})),(u=!!_.right,f={[`&-placement-right ${p}-arrow,&-placement-rightTop ${p}-arrow,&-placement-rightBottom ${p}-arrow`]:{left:{_skip_check_:!0,value:w},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${p}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${p}-arrow`]:{top:k},[`&-placement-rightBottom ${p}-arrow`]:{bottom:k}},u?f:{}))}}},83688:function(t,e,n){n.d(e,{i:function(){return o}});let o=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},57419:function(t,e,n){n.d(e,{Z:function(){return r}});var o=n(83688);function r(t,e){return o.i.reduce((n,o)=>{let r=t[`${o}1`],i=t[`${o}3`],a=t[`${o}6`],s=t[`${o}7`];return Object.assign(Object.assign({},n),e(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:s}))},{})}},71563:function(t,e,n){n.d(e,{Z:function(){return W}});var o=n(8683),r=n.n(o),i=n(99753),a=n(63940),s=n(86006),l=n(80716),c=n(20798);let u={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},f={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},p=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);var d=n(52593),h=n(79746),m=n(12381),v=n(84596),g=n(47794),b=n(99528),y=n(85207),w=n(3184),_=n(60632),k=n(33058),x=n(89931),O=n(70333),E=n(41433),C=n(57389);let Z=(t,e)=>new C.C(t).setAlpha(e).toRgbString(),M=(t,e)=>{let n=new C.C(t);return n.lighten(e).toHexString()},R=t=>{let e=(0,O.R_)(t,{theme:"dark"});return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[6],6:e[5],7:e[4],8:e[6],9:e[5],10:e[4]}},A=(t,e)=>{let n=t||"#000",o=e||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:Z(o,.85),colorTextSecondary:Z(o,.65),colorTextTertiary:Z(o,.45),colorTextQuaternary:Z(o,.25),colorFill:Z(o,.18),colorFillSecondary:Z(o,.12),colorFillTertiary:Z(o,.08),colorFillQuaternary:Z(o,.04),colorBgElevated:M(n,12),colorBgContainer:M(n,8),colorBgLayout:M(n,0),colorBgSpotlight:M(n,26),colorBorder:M(n,26),colorBorderSecondary:M(n,19)}};var S={defaultConfig:_.u_,defaultSeed:_.u_.token,useToken:function(){let[t,e,n]=(0,w.Z)();return{theme:t,token:e,hashId:n}},defaultAlgorithm:g.Z,darkAlgorithm:(t,e)=>{let n=Object.keys(b.M).map(e=>{let n=(0,O.R_)(t[e],{theme:"dark"});return Array(10).fill(1).reduce((t,o,r)=>(t[`${e}-${r+1}`]=n[r],t[`${e}${r+1}`]=n[r],t),{})}).reduce((t,e)=>t=Object.assign(Object.assign({},t),e),{}),o=null!=e?e:(0,g.Z)(t);return Object.assign(Object.assign(Object.assign({},o),n),(0,E.Z)(t,{generateColorPalettes:R,generateNeutralColorPalettes:A}))},compactAlgorithm:(t,e)=>{let n=null!=e?e:(0,g.Z)(t),o=n.fontSizeSM,r=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(t){let{sizeUnit:e,sizeStep:n}=t,o=n-2;return{sizeXXL:e*(o+10),sizeXL:e*(o+6),sizeLG:e*(o+2),sizeMD:e*(o+2),sizeMS:e*(o+1),size:e*o,sizeSM:e*o,sizeXS:e*(o-1),sizeXXS:e*(o-1)}}(null!=e?e:t)),(0,x.Z)(o)),{controlHeight:r}),(0,k.Z)(Object.assign(Object.assign({},n),{controlHeight:r})))},getDesignToken:t=>{let e=(null==t?void 0:t.algorithm)?(0,v.jG)(t.algorithm):(0,v.jG)(g.Z),n=Object.assign(Object.assign({},b.Z),null==t?void 0:t.token);return(0,v.t2)(n,{override:null==t?void 0:t.token},e,y.Z)}},$=n(98663),j=n(87270),P=n(57419),T=n(70721),N=n(40650);let L=t=>{let{componentCls:e,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:f,tooltipRadiusOuter:p}=t;return[{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$.Wf)(t)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${e}-inner`]:{minWidth:s,minHeight:s,padding:`${u/2}px ${f}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${e}-inner`]:{borderRadius:Math.min(i,c.qN)}},[`${e}-content`]:{position:"relative"}}),(0,P.Z)(t,(t,n)=>{let{darkColor:o}=n;return{[`&${e}-${t}`]:{[`${e}-inner`]:{backgroundColor:o},[`${e}-arrow`]:{"--antd-arrow-background-color":o}}}})),{"&-rtl":{direction:"rtl"}})},(0,c.ZP)((0,T.TS)(t,{borderRadiusOuter:p}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${e}-pure`]:{position:"relative",maxWidth:"none",margin:t.sizePopupArrow}}]};var z=(t,e)=>{let n=(0,N.Z)("Tooltip",t=>{if(!1===e)return[];let{borderRadius:n,colorTextLightSolid:o,colorBgDefault:r,borderRadiusOuter:i}=t,a=(0,T.TS)(t,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:n,tooltipBg:r,tooltipRadiusOuter:i>4?4:i});return[L(a),(0,j._y)(t,"zoom-big-fast")]},t=>{let{zIndexPopupBase:e,colorBgSpotlight:n}=t;return{zIndexPopup:e+70,colorBgDefault:n}},{resetStyle:!1});return n(t)},B=n(38626);function D(t,e){let n=(0,B.o2)(e),o=r()({[`${t}-${e}`]:e&&n}),i={},a={};return e&&!n&&(i.background=e,a["--antd-arrow-background-color"]=e),{className:o,overlayStyle:i,arrowStyle:a}}var V=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);re.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let{useToken:X}=S,H=(t,e)=>{let n={},o=Object.assign({},t);return e.forEach(e=>{t&&e in t&&(n[e]=t[e],delete o[e])}),{picked:n,omitted:o}},I=s.forwardRef((t,e)=>{var n,o;let{prefixCls:v,openClassName:g,getTooltipContainer:b,overlayClassName:y,color:w,overlayInnerStyle:_,children:k,afterOpenChange:x,afterVisibleChange:O,destroyTooltipOnHide:E,arrow:C=!0,title:Z,overlay:M,builtinPlacements:R,arrowPointAtCenter:A=!1,autoAdjustOverflow:S=!0}=t,$=!!C,{token:j}=X(),{getPopupContainer:P,getPrefixCls:T,direction:N}=s.useContext(h.E_),L=s.useRef(null),B=()=>{var t;null===(t=L.current)||void 0===t||t.forceAlign()};s.useImperativeHandle(e,()=>({forceAlign:B,forcePopupAlign:()=>{B()}}));let[I,W]=(0,a.Z)(!1,{value:null!==(n=t.open)&&void 0!==n?n:t.visible,defaultValue:null!==(o=t.defaultOpen)&&void 0!==o?o:t.defaultVisible}),Y=!Z&&!M&&0!==Z,F=s.useMemo(()=>{var t,e;let n=A;return"object"==typeof C&&(n=null!==(e=null!==(t=C.pointAtCenter)&&void 0!==t?t:C.arrowPointAtCenter)&&void 0!==e?e:A),R||function(t){let{arrowWidth:e,autoAdjustOverflow:n,arrowPointAtCenter:o,offset:r,borderRadius:i,visibleFirst:a}=t,s=e/2,l={};return Object.keys(u).forEach(t=>{let d=o&&f[t]||u[t],h=Object.assign(Object.assign({},d),{offset:[0,0]});switch(l[t]=h,p.has(t)&&(h.autoArrow=!1),t){case"top":case"topLeft":case"topRight":h.offset[1]=-s-r;break;case"bottom":case"bottomLeft":case"bottomRight":h.offset[1]=s+r;break;case"left":case"leftTop":case"leftBottom":h.offset[0]=-s-r;break;case"right":case"rightTop":case"rightBottom":h.offset[0]=s+r}let m=(0,c.fS)({contentRadius:i,limitVerticalRadius:!0});if(o)switch(t){case"topLeft":case"bottomLeft":h.offset[0]=-m.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":h.offset[0]=m.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":h.offset[1]=-m.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":h.offset[1]=m.dropdownArrowOffset+s}h.overflow=function(t,e,n,o){if(!1===o)return{adjustX:!1,adjustY:!1};let r=o&&"object"==typeof o?o:{},i={};switch(t){case"top":case"bottom":i.shiftX=2*e.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*e.dropdownArrowOffsetVertical+n}let a=Object.assign(Object.assign({},i),r);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(t,m,e,n),a&&(h.htmlRegion="visibleFirst")}),l}({arrowPointAtCenter:n,autoAdjustOverflow:S,arrowWidth:$?j.sizePopupArrow:0,borderRadius:j.borderRadius,offset:j.marginXXS,visibleFirst:!0})},[A,C,R,j]),q=s.useMemo(()=>0===Z?Z:M||Z||"",[M,Z]),G=s.createElement(m.BR,null,"function"==typeof q?q():q),{getPopupContainer:Q,placement:U="top",mouseEnterDelay:J=.1,mouseLeaveDelay:K=.1,overlayStyle:tt,rootClassName:te}=t,tn=V(t,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),to=T("tooltip",v),tr=T(),ti=t["data-popover-inject"],ta=I;"open"in t||"visible"in t||!Y||(ta=!1);let ts=function(t,e){let n=t.type;if((!0===n.__ANT_BUTTON||"button"===t.type)&&t.props.disabled||!0===n.__ANT_SWITCH&&(t.props.disabled||t.props.loading)||!0===n.__ANT_RADIO&&t.props.disabled){let{picked:n,omitted:o}=H(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),i=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:t.props.block?"100%":void 0}),a=Object.assign(Object.assign({},o),{pointerEvents:"none"}),l=(0,d.Tm)(t,{style:a,className:null});return s.createElement("span",{style:i,className:r()(t.props.className,`${e}-disabled-compatible-wrapper`)},l)}return t}((0,d.l$)(k)&&!(0,d.M2)(k)?k:s.createElement("span",null,k),to),tl=ts.props,tc=tl.className&&"string"!=typeof tl.className?tl.className:r()(tl.className,g||`${to}-open`),[tu,tf]=z(to,!ti),tp=D(to,w),td=tp.arrowStyle,th=Object.assign(Object.assign({},_),tp.overlayStyle),tm=r()(y,{[`${to}-rtl`]:"rtl"===N},tp.className,te,tf);return tu(s.createElement(i.Z,Object.assign({},tn,{showArrow:$,placement:U,mouseEnterDelay:J,mouseLeaveDelay:K,prefixCls:to,overlayClassName:tm,overlayStyle:Object.assign(Object.assign({},td),tt),getTooltipContainer:Q||b||P,ref:L,builtinPlacements:F,overlay:G,visible:ta,onVisibleChange:e=>{var n,o;W(!Y&&e),Y||(null===(n=t.onOpenChange)||void 0===n||n.call(t,e),null===(o=t.onVisibleChange)||void 0===o||o.call(t,e))},afterVisibleChange:null!=x?x:O,overlayInnerStyle:th,arrowContent:s.createElement("span",{className:`${to}-arrow-content`}),motion:{motionName:(0,l.m)(tr,"zoom-big-fast",t.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!E}),ta?(0,d.Tm)(ts,{className:tc}):ts))});I._InternalPanelDoNotUseOrYouWillBeFired=t=>{let{prefixCls:e,className:n,placement:o="top",title:a,color:l,overlayInnerStyle:c}=t,{getPrefixCls:u}=s.useContext(h.E_),f=u("tooltip",e),[p,d]=z(f,!0),m=D(f,l),v=m.arrowStyle,g=Object.assign(Object.assign({},c),m.overlayStyle),b=r()(d,f,`${f}-pure`,`${f}-placement-${o}`,n,m.className);return p(s.createElement("div",{className:b,style:v},s.createElement("div",{className:`${f}-arrow`}),s.createElement(i.G,Object.assign({},t,{className:d,prefixCls:f,overlayInnerStyle:g}),a)))};var W=I},29333:function(t,e,n){n.d(e,{Z:function(){return B}});var o=n(40431),r=n(86006),i=n(25912);n(5004);var a=n(88684),s=n(92510),l=n(49175),c=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,o){return t[0]===e&&(n=o,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),o=this.__entries__[n];return o&&o[1]},e.prototype.set=function(e,n){var o=t(this.__entries__,e);~o?this.__entries__[o][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,o=t(n,e);~o&&n.splice(o,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,o=this.__entries__;n0},t.prototype.connect_=function(){u&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){u&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;d.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),v=function(t,e){for(var n=0,o=Object.keys(e);n0},t}(),C="undefined"!=typeof WeakMap?new WeakMap:new c,Z=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=m.getInstance(),o=new E(e,n,this);C.set(this,o)};["observe","unobserve","disconnect"].forEach(function(t){Z.prototype[t]=function(){var e;return(e=C.get(this))[t].apply(e,arguments)}});var M=void 0!==f.ResizeObserver?f.ResizeObserver:Z,R=new Map,A=new M(function(t){t.forEach(function(t){var e,n=t.target;null===(e=R.get(n))||void 0===e||e.forEach(function(t){return t(n)})})}),S=n(18050),$=n(49449),j=n(43663),P=n(38340),T=function(t){(0,j.Z)(n,t);var e=(0,P.Z)(n);function n(){return(0,S.Z)(this,n),e.apply(this,arguments)}return(0,$.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component),N=r.createContext(null),L=r.forwardRef(function(t,e){var n=t.children,o=t.disabled,i=r.useRef(null),c=r.useRef(null),u=r.useContext(N),f="function"==typeof n,p=f?n(i):n,d=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!f&&r.isValidElement(p)&&(0,s.Yr)(p),m=h?p.ref:null,v=r.useMemo(function(){return(0,s.sQ)(m,i)},[m,i]),g=function(){return(0,l.Z)(i.current)||(0,l.Z)(c.current)};r.useImperativeHandle(e,function(){return g()});var b=r.useRef(t);b.current=t;var y=r.useCallback(function(t){var e=b.current,n=e.onResize,o=e.data,r=t.getBoundingClientRect(),i=r.width,s=r.height,l=t.offsetWidth,c=t.offsetHeight,f=Math.floor(i),p=Math.floor(s);if(d.current.width!==f||d.current.height!==p||d.current.offsetWidth!==l||d.current.offsetHeight!==c){var h={width:f,height:p,offsetWidth:l,offsetHeight:c};d.current=h;var m=l===Math.round(i)?i:l,v=c===Math.round(s)?s:c,g=(0,a.Z)((0,a.Z)({},h),{},{offsetWidth:m,offsetHeight:v});null==u||u(g,t,o),n&&Promise.resolve().then(function(){n(g,t)})}},[]);return r.useEffect(function(){var t=g();return t&&!o&&(R.has(t)||(R.set(t,new Set),A.observe(t)),R.get(t).add(y)),function(){R.has(t)&&(R.get(t).delete(y),R.get(t).size||(A.unobserve(t),R.delete(t)))}},[i.current,o]),r.createElement(T,{ref:c},h?r.cloneElement(p,{ref:v}):p)}),z=r.forwardRef(function(t,e){var n=t.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return r.createElement(L,(0,o.Z)({},t,{key:a,ref:0===i?e:void 0}),n)})});z.Collection=function(t){var e=t.children,n=t.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(N),s=r.useCallback(function(t,e,r){o.current+=1;var s=o.current;i.current.push({size:t,element:e,data:r}),Promise.resolve().then(function(){s===o.current&&(null==n||n(i.current),i.current=[])}),null==a||a(t,e,r)},[n,a]);return r.createElement(N.Provider,{value:s},e)};var B=z},99753:function(t,e,n){n.d(e,{G:function(){return h},Z:function(){return v}});var o=n(40431),r=n(88684),i=n(89301),a=n(90214),s=n(86006),l={shiftX:64,adjustY:1},c={adjustX:1,shiftY:!0},u=[0,0],f={left:{points:["cr","cl"],overflow:c,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:c,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:c,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:c,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:c,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:c,offset:[-4,0],targetOffset:u}},p=n(8683),d=n.n(p);function h(t){var e=t.children,n=t.prefixCls,o=t.id,r=t.overlayInnerStyle,i=t.className,a=t.style;return s.createElement("div",{className:d()("".concat(n,"-content"),i),style:a},s.createElement("div",{className:"".concat(n,"-inner"),id:o,role:"tooltip",style:r},"function"==typeof e?e():e))}var m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],v=(0,s.forwardRef)(function(t,e){var n=t.overlayClassName,l=t.trigger,c=t.mouseEnterDelay,u=t.mouseLeaveDelay,p=t.overlayStyle,d=t.prefixCls,v=void 0===d?"rc-tooltip":d,g=t.children,b=t.onVisibleChange,y=t.afterVisibleChange,w=t.transitionName,_=t.animation,k=t.motion,x=t.placement,O=t.align,E=t.destroyTooltipOnHide,C=t.defaultVisible,Z=t.getTooltipContainer,M=t.overlayInnerStyle,R=(t.arrowContent,t.overlay),A=t.id,S=t.showArrow,$=(0,i.Z)(t,m),j=(0,s.useRef)(null);(0,s.useImperativeHandle)(e,function(){return j.current});var P=(0,r.Z)({},$);return"visible"in t&&(P.popupVisible=t.visible),s.createElement(a.Z,(0,o.Z)({popupClassName:n,prefixCls:v,popup:function(){return s.createElement(h,{key:"content",prefixCls:v,id:A,overlayInnerStyle:M},R)},action:void 0===l?["hover"]:l,builtinPlacements:f,popupPlacement:void 0===x?"right":x,ref:j,popupAlign:void 0===O?{}:O,getPopupContainer:Z,onPopupVisibleChange:b,afterPopupVisibleChange:y,popupTransitionName:w,popupAnimation:_,popupMotion:k,defaultPopupVisible:C,autoDestroy:void 0!==E&&E,mouseLeaveDelay:void 0===u?.1:u,popupStyle:p,mouseEnterDelay:void 0===c?0:c,arrow:void 0===S||S},P),g)})},98861:function(t,e){e.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==t?void 0:t.substr(0,4))}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/660234b6.5cc5476179a39208.js b/pilot/server/static/_next/static/chunks/660234b6.5cc5476179a39208.js new file mode 100644 index 000000000..7f5b78a1c --- /dev/null +++ b/pilot/server/static/_next/static/chunks/660234b6.5cc5476179a39208.js @@ -0,0 +1,12 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[579],{63012:function(t,e,n){var r,i;window,t.exports=(r=n(95403),i=n(73935),function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=646)}([function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Cache",{enumerable:!0,get:function(){return t4.default}}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return tH.default}}),Object.defineProperty(e,"augment",{enumerable:!0,get:function(){return tj.default}}),Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"clearAnimationFrame",{enumerable:!0,get:function(){return tI.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return tF.default}}),Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return tL.default}}),Object.defineProperty(e,"deepMix",{enumerable:!0,get:function(){return tk.default}}),Object.defineProperty(e,"difference",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"each",{enumerable:!0,get:function(){return tR.default}}),Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"every",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"extend",{enumerable:!0,get:function(){return tN.default}}),Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"find",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"firstValue",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"fixedBase",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"flattenDeep",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"forIn",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"get",{enumerable:!0,get:function(){return tX.default}}),Object.defineProperty(e,"getEllipsisText",{enumerable:!0,get:function(){return t5.default}}),Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"getType",{enumerable:!0,get:function(){return tu.default}}),Object.defineProperty(e,"getWrapBehavior",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"group",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"groupToMap",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"has",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"hasKey",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"hasValue",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(e,"head",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return t1.default}}),Object.defineProperty(e,"includes",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"indexOf",{enumerable:!0,get:function(){return tB.default}}),Object.defineProperty(e,"isArguments",{enumerable:!0,get:function(){return tc.default}}),Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return tf.default}}),Object.defineProperty(e,"isArrayLike",{enumerable:!0,get:function(){return td.default}}),Object.defineProperty(e,"isBoolean",{enumerable:!0,get:function(){return tp.default}}),Object.defineProperty(e,"isDate",{enumerable:!0,get:function(){return th.default}}),Object.defineProperty(e,"isDecimal",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return tC.default}}),Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return tG.default}}),Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return tV.default}}),Object.defineProperty(e,"isEqualWith",{enumerable:!0,get:function(){return tz.default}}),Object.defineProperty(e,"isError",{enumerable:!0,get:function(){return tg.default}}),Object.defineProperty(e,"isEven",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"isFinite",{enumerable:!0,get:function(){return ty.default}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return tv.default}}),Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"isMatch",{enumerable:!0,get:function(){return tn.default}}),Object.defineProperty(e,"isNegative",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return tm.default}}),Object.defineProperty(e,"isNull",{enumerable:!0,get:function(){return tb.default}}),Object.defineProperty(e,"isNumber",{enumerable:!0,get:function(){return tx.default}}),Object.defineProperty(e,"isNumberEqual",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t_.default}}),Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return tO.default}}),Object.defineProperty(e,"isOdd",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return tP.default}}),Object.defineProperty(e,"isPositive",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"isPrototype",{enumerable:!0,get:function(){return tM.default}}),Object.defineProperty(e,"isRegExp",{enumerable:!0,get:function(){return tA.default}}),Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return tS.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return tw.default}}),Object.defineProperty(e,"isUndefined",{enumerable:!0,get:function(){return tE.default}}),Object.defineProperty(e,"keys",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"last",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"lowerCase",{enumerable:!0,get:function(){return ti.default}}),Object.defineProperty(e,"lowerFirst",{enumerable:!0,get:function(){return ta.default}}),Object.defineProperty(e,"map",{enumerable:!0,get:function(){return tW.default}}),Object.defineProperty(e,"mapValues",{enumerable:!0,get:function(){return tY.default}}),Object.defineProperty(e,"max",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"maxBy",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return t3.default}}),Object.defineProperty(e,"memoize",{enumerable:!0,get:function(){return tD.default}}),Object.defineProperty(e,"min",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"minBy",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return tH.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return t0.default}}),Object.defineProperty(e,"number2color",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return tZ.default}}),Object.defineProperty(e,"parseRadius",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return tq.default}}),Object.defineProperty(e,"pull",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"pullAt",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"requestAnimationFrame",{enumerable:!0,get:function(){return tT.default}}),Object.defineProperty(e,"set",{enumerable:!0,get:function(){return tU.default}}),Object.defineProperty(e,"size",{enumerable:!0,get:function(){return t2.default}}),Object.defineProperty(e,"some",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"sortBy",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"substitute",{enumerable:!0,get:function(){return to.default}}),Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return tK.default}}),Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return t$.default}}),Object.defineProperty(e,"toDegree",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"toInteger",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"toRadian",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"toString",{enumerable:!0,get:function(){return tQ.default}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"uniq",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"uniqueId",{enumerable:!0,get:function(){return tJ.default}}),Object.defineProperty(e,"upperCase",{enumerable:!0,get:function(){return ts.default}}),Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return tl.default}}),Object.defineProperty(e,"values",{enumerable:!0,get:function(){return tr.default}}),Object.defineProperty(e,"valuesOfKey",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"wrapBehavior",{enumerable:!0,get:function(){return I.default}});var i=r(n(238)),a=r(n(655)),o=r(n(656)),s=r(n(657)),l=r(n(658)),u=r(n(659)),c=r(n(660)),f=r(n(661)),d=r(n(662)),p=r(n(376)),h=r(n(377)),g=r(n(663)),v=r(n(664)),y=r(n(665)),m=r(n(378)),b=r(n(666)),x=r(n(667)),_=r(n(668)),O=r(n(669)),P=r(n(670)),M=r(n(371)),A=r(n(671)),S=r(n(672)),w=r(n(673)),E=r(n(380)),C=r(n(379)),T=r(n(674)),I=r(n(675)),j=r(n(676)),F=r(n(677)),L=r(n(678)),D=r(n(679)),k=r(n(680)),R=r(n(681)),N=r(n(682)),B=r(n(683)),G=r(n(684)),V=r(n(685)),z=r(n(686)),W=r(n(374)),Y=r(n(687)),H=r(n(375)),X=r(n(688)),U=r(n(689)),q=r(n(690)),Z=r(n(691)),K=r(n(692)),$=r(n(693)),Q=r(n(381)),J=r(n(694)),tt=r(n(695)),te=r(n(373)),tn=r(n(372)),tr=r(n(240)),ti=r(n(696)),ta=r(n(697)),to=r(n(698)),ts=r(n(699)),tl=r(n(700)),tu=r(n(382)),tc=r(n(701)),tf=r(n(36)),td=r(n(56)),tp=r(n(702)),th=r(n(703)),tg=r(n(704)),tv=r(n(57)),ty=r(n(705)),tm=r(n(95)),tb=r(n(706)),tx=r(n(86)),t_=r(n(169)),tO=r(n(239)),tP=r(n(138)),tM=r(n(383)),tA=r(n(707)),tS=r(n(85)),tw=r(n(68)),tE=r(n(708)),tC=r(n(709)),tT=r(n(710)),tI=r(n(711)),tj=r(n(712)),tF=r(n(713)),tL=r(n(714)),tD=r(n(384)),tk=r(n(715)),tR=r(n(107)),tN=r(n(716)),tB=r(n(717)),tG=r(n(718)),tV=r(n(385)),tz=r(n(719)),tW=r(n(720)),tY=r(n(721)),tH=r(n(241)),tX=r(n(722)),tU=r(n(723)),tq=r(n(724)),tZ=r(n(725)),tK=r(n(726)),t$=r(n(727)),tQ=r(n(108)),tJ=r(n(728)),t0=r(n(729)),t1=r(n(730)),t2=r(n(731)),t3=r(n(386)),t5=r(n(732)),t4=r(n(733))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=void 0,e.__asyncDelegator=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:c(t[r](e)),done:"return"===r}:i?i(e):e}:i}},e.__asyncGenerator=function(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){a.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{var n;(n=i[t](e)).value instanceof c?Promise.resolve(n.value.v).then(l,u):f(a[0][2],n)}catch(t){f(a[0][3],t)}}function l(t){s("next",t)}function u(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=l(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}},e.__await=c,e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{l(r.next(t))}catch(t){a(t)}}function s(t){try{l(r.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((r=r.apply(t,e||[])).next())})},e.__classPrivateFieldGet=function(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)},e.__classPrivateFieldIn=function(t,e){if(null===e||"object"!==(0,i.default)(e)&&"function"!=typeof e)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)},e.__classPrivateFieldSet=function(t,e,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n},e.__createBinding=void 0,e.__decorate=function(t,e,n,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if(("undefined"==typeof Reflect?"undefined":(0,i.default)(Reflect))==="object"&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(o<3?a(s):o>3?a(e,n,s):a(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__exportStar=function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||s(e,t,n)},e.__extends=function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},e.__generator=function(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},e.__spread=function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function c(t){return this instanceof c?(this.v=t,this):new c(t)}e.__createBinding=s;var f=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}},function(t,e,n){"use strict";t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=r},function(t,e,n){"use strict";var r=n(364),i=n(368),a=n(369),o=n(370),s=n(654),l=i.apply(o()),u=function(t,e){return l(Object,arguments)};r(u,{getPolyfill:o,implementation:a,shim:s}),t.exports=u},function(t,e,n){"use strict";function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={flow:!0,pick:!0,template:!0,log:!0,invariant:!0,LEVEL:!0,getContainerSize:!0,findViewById:!0,getViews:!0,getSiblingViews:!0,transformLabel:!0,getSplinePath:!0,deepAssign:!0,kebabCase:!0,renderStatistic:!0,renderGaugeStatistic:!0,measureTextWidth:!0,isBetween:!0,isRealNumber:!0};Object.defineProperty(e,"LEVEL",{enumerable:!0,get:function(){return s.LEVEL}}),Object.defineProperty(e,"deepAssign",{enumerable:!0,get:function(){return p.deepAssign}}),Object.defineProperty(e,"findViewById",{enumerable:!0,get:function(){return c.findViewById}}),Object.defineProperty(e,"flow",{enumerable:!0,get:function(){return i.flow}}),Object.defineProperty(e,"getContainerSize",{enumerable:!0,get:function(){return l.getContainerSize}}),Object.defineProperty(e,"getSiblingViews",{enumerable:!0,get:function(){return c.getSiblingViews}}),Object.defineProperty(e,"getSplinePath",{enumerable:!0,get:function(){return d.getSplinePath}}),Object.defineProperty(e,"getViews",{enumerable:!0,get:function(){return c.getViews}}),Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return s.invariant}}),Object.defineProperty(e,"isBetween",{enumerable:!0,get:function(){return y.isBetween}}),Object.defineProperty(e,"isRealNumber",{enumerable:!0,get:function(){return y.isRealNumber}}),Object.defineProperty(e,"kebabCase",{enumerable:!0,get:function(){return h.kebabCase}}),Object.defineProperty(e,"log",{enumerable:!0,get:function(){return s.log}}),Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return v.measureTextWidth}}),Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return a.pick}}),Object.defineProperty(e,"renderGaugeStatistic",{enumerable:!0,get:function(){return g.renderGaugeStatistic}}),Object.defineProperty(e,"renderStatistic",{enumerable:!0,get:function(){return g.renderStatistic}}),Object.defineProperty(e,"template",{enumerable:!0,get:function(){return o.template}}),Object.defineProperty(e,"transformLabel",{enumerable:!0,get:function(){return f.transformLabel}});var i=n(1160),a=n(538),o=n(1161),s=n(539),l=n(1162),u=n(1163);Object.keys(u).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===u[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=n(540),f=n(1164),d=n(1165),p=n(541),h=n(1166),g=n(542),v=n(1167),y=n(302),m=n(197);Object.keys(m).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}}))});var b=n(121);Object.keys(b).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===b[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}}))})},function(t,e,n){"use strict";n.r(e),n.d(e,"VERSION",function(){return f});var r=n(235),i=n(619),a=n(25),o=n(66);n.d(e,"registerScale",function(){return o.registerScale}),n.d(e,"getScale",function(){return o.getScale}),n.d(e,"registerTickMethod",function(){return o.registerTickMethod});var s=n(187);n.d(e,"setGlobal",function(){return s.setGlobal}),n.d(e,"GLOBAL",function(){return s.GLOBAL}),n(1318),n(950);var l=n(459);for(var u in n.d(e,"createThemeByStyleSheet",function(){return l.c}),n.d(e,"antvLight",function(){return l.b}),n.d(e,"antvDark",function(){return l.a}),a)0>["default","registerScale","getScale","registerTickMethod","setGlobal","GLOBAL","VERSION","setDefaultErrorFallback","createThemeByStyleSheet","antvLight","antvDark"].indexOf(u)&&function(t){n.d(e,t,function(){return a[t]})}(u);var c=n(67);n.d(e,"setDefaultErrorFallback",function(){return c.c}),Object(a.registerEngine)("canvas",r),Object(a.registerEngine)("svg",i);var f="4.1.22",d=r.Canvas.prototype.getPointByClient;r.Canvas.prototype.getPointByClient=function(t,e){var n=d.call(this,t,e),r=this.get("el").getBoundingClientRect(),i=this.get("width"),a=this.get("height"),o=r.width,s=r.height;return{x:n.x/(o/i),y:n.y/(s/a)}}},function(t,e,n){"use strict";t.exports=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return{width:Object(D.isNumber)(e.width)?e.width:t.clientWidth,height:Object(D.isNumber)(e.height)?e.height:t.clientHeight}}var R=n(16),N=function t(e,n){if(Object(D.isObject)(e)&&Object(D.isObject)(n)){var r=Object.keys(e),i=Object.keys(n);if(r.length!==i.length)return!1;for(var a=!0,o=0;oe.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(V.registerLocale)("en-US",z.EN_US_LOCALE),Object(V.registerLocale)("zh-CN",W.ZH_CN_LOCALE);var H=x.a.createElement("div",{style:{position:"absolute",top:"48%",left:"50%",color:"#aaa",textAlign:"center"}},"暂无数据"),X={padding:"8px 24px 10px 10px",fontFamily:"PingFang SC",fontSize:12,color:"grey",textAlign:"left",lineHeight:"16px"},U={padding:"10px 0 0 10px",fontFamily:"PingFang SC",fontSize:18,color:"black",textAlign:"left",lineHeight:"20px"},q=function(t){h()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=m()(r);if(e){var i=m()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return v()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t._context={chart:null},t}return d()(r,[{key:"componentDidMount",value:function(){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(R.b)(this.g2Instance,{},this.props),this.g2Instance.data=this.props.data,this.preConfig=Object(j.a)(Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"])))}},{key:"componentDidUpdate",value:function(t){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(R.b)(this.g2Instance,t,this.props)}},{key:"componentWillUnmount",value:function(){var t=this;this.g2Instance&&setTimeout(function(){t.g2Instance.destroy(),t.g2Instance=null,t._context.chart=null},0)}},{key:"getG2Instance",value:function(){return this.g2Instance}},{key:"getChartView",value:function(){return this.g2Instance.chart}},{key:"checkInstanceReady",value:function(){var t=Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"]));this.g2Instance?this.shouldReCreate()?(this.g2Instance.destroy(),this.initInstance(),this.g2Instance.render()):this.diffConfig()?this.g2Instance.update(o()(o()({},t),{data:this.props.data})):this.diffData()&&this.g2Instance.changeData(this.props.data):(this.initInstance(),this.g2Instance.render()),this.preConfig=Object(j.a)(t),this.g2Instance.data=this.props.data}},{key:"initInstance",value:function(){var t=this.props,e=t.container,n=t.PlotClass,r=t.onGetG2Instance,i=(t.children,Y(t,["container","PlotClass","onGetG2Instance","children"]));this.g2Instance=new n(e,i),this._context.chart=this.g2Instance,M()(r)&&r(this.g2Instance)}},{key:"diffConfig",value:function(){return!N(this.preConfig||{},Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"])))}},{key:"diffData",value:function(){var t=this.g2Instance.data,e=this.props.data;if(!Object(D.isArray)(t)||!Object(D.isArray)(e))return!t===e;if(t.length!==e.length)return!0;var n=!0;return t.forEach(function(t,r){Object(T.a)(t,e[r])||(n=!1)}),!n}},{key:"shouldReCreate",value:function(){return!!this.props.forceUpdate}},{key:"render",value:function(){this.checkInstanceReady();var t=this.getChartView();return x.a.createElement(w.a.Provider,{value:this._context},x.a.createElement(E.a.Provider,{value:t},x.a.createElement("div",{key:O()("plot-chart")},this.props.children)))}}]),r}(x.a.Component),Z=Object(A.a)(q);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t},r=x.a.forwardRef(function(e,r){var a=e.title,s=e.description,l=e.autoFit,u=e.forceFit,c=e.errorContent,f=void 0===c?S.a:c,d=e.containerStyle,p=e.containerProps,h=e.placeholder,g=e.ErrorBoundaryProps,v=e.isMaterial,y=n(Y(e,["title","description","autoFit","forceFit","errorContent","containerStyle","containerProps","placeholder","ErrorBoundaryProps","isMaterial"])),m=Object(b.useRef)(),_=Object(b.useRef)(),O=Object(b.useRef)(),P=Object(b.useState)(0),M=i()(P,2),A=M[0],w=M[1],E=Object(b.useRef)(),T=Object(b.useCallback)(function(){if(m.current){var t=k(m.current,e),n=_.current?k(_.current):{width:0,height:0},r=O.current?k(O.current):{width:0,height:0},i=t.height-n.height-r.height;0===i&&(i=350),i<20&&(i=20),Math.abs(A-i)>1&&w(i)}},[m.current,_.current,A,O.current]),I=Object(b.useCallback)(Object(D.debounce)(T,500),[T]),j=x.a.isValidElement(f)?function(){return f}:f;if(h&&!y.data){var F=!0===h?H:h;return x.a.createElement(S.b,o()({FallbackComponent:j},g),x.a.createElement("div",{style:{width:e.width||"100%",height:e.height||400,textAlign:"center",position:"relative"}},F))}var N=Object(C.a)(a,!1),B=Object(C.a)(s,!1),V=o()(o()({},U),N.style),z=o()(o()(o()({},X),B.style),{top:V.height}),W=void 0!==u?u:void 0===l||l;return Object(D.isNil)(u)||G()(!1,"请使用autoFit替代forceFit"),Object(b.useEffect)(function(){return W?m.current?(T(),E.current=new L.ResizeObserver(I),E.current.observe(m.current)):w(0):m.current&&(T(),E.current&&E.current.unobserve(m.current)),function(){E.current&&m.current&&E.current.unobserve(m.current)}},[m.current,W]),x.a.createElement(S.b,o()({FallbackComponent:j},g),x.a.createElement("div",o()({ref:function(t){m.current=t,v&&(Object(D.isFunction)(r)?r(t):r&&(r.current=t))},className:"bizcharts-plot"},p,{style:{position:"relative",height:e.height||"100%",width:e.width||"100%"}}),N.visible&&x.a.createElement("div",o()({ref:_},Object(R.d)(y),{className:"bizcharts-plot-title",style:V}),N.text),B.visible&&x.a.createElement("div",o()({ref:O},Object(R.a)(y),{className:"bizcharts-plot-description",style:z}),B.text),!!A&&x.a.createElement(Z,o()({appendPadding:[10,5,10,10],autoFit:W,ref:v?void 0:r},y,{PlotClass:t,containerStyle:o()(o()({},d),{height:A})}))))});return r.displayName=e||t.name,r}},function(t,e,n){"use strict";var r=n(734);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(6).default,i=n(735);t.exports=function(t,e){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ELEMENT_RANGE_HIGHLIGHT_EVENTS=e.BRUSH_FILTER_EVENTS=e.VIEW_LIFE_CIRCLE=void 0;var r=n(1),i=n(25),a=n(206),o=n(106);(0,i.registerTheme)("dark",(0,o.createThemeByStyleSheet)(a.antvDark));var s=(0,r.__importStar)(n(205)),l=(0,r.__importStar)(n(324)),u=n(25);(0,u.registerEngine)("canvas",s),(0,u.registerEngine)("svg",l);var c=n(25),f=(0,r.__importDefault)(n(325)),d=(0,r.__importDefault)(n(326)),p=(0,r.__importDefault)(n(327)),h=(0,r.__importDefault)(n(328)),g=(0,r.__importDefault)(n(329)),v=(0,r.__importDefault)(n(158)),y=(0,r.__importDefault)(n(330)),m=(0,r.__importDefault)(n(331)),b=(0,r.__importDefault)(n(332)),x=(0,r.__importDefault)(n(989));(0,c.registerGeometry)("Polygon",m.default),(0,c.registerGeometry)("Interval",h.default),(0,c.registerGeometry)("Schema",b.default),(0,c.registerGeometry)("Path",v.default),(0,c.registerGeometry)("Point",y.default),(0,c.registerGeometry)("Line",g.default),(0,c.registerGeometry)("Area",f.default),(0,c.registerGeometry)("Edge",d.default),(0,c.registerGeometry)("Heatmap",p.default),(0,c.registerGeometry)("Violin",x.default),n(991),n(992),n(993),n(994),n(995),n(996),n(465),n(466),n(467),n(468),n(469),n(281),n(470),n(471),n(472),n(473),n(474),n(475),n(997),n(998);var _=n(25),O=(0,r.__importDefault)(n(100)),P=(0,r.__importDefault)(n(163)),M=(0,r.__importDefault)(n(164)),A=(0,r.__importDefault)(n(214));(0,_.registerGeometryLabel)("base",O.default),(0,_.registerGeometryLabel)("interval",P.default),(0,_.registerGeometryLabel)("pie",M.default),(0,_.registerGeometryLabel)("polar",A.default);var S=n(25),w=n(333),E=n(999),C=n(1e3),T=n(334),I=n(335),j=n(225),F=n(1001),L=n(1003),D=n(1005),k=n(1006),R=n(1007),N=n(1008),B=n(1009);(0,S.registerGeometryLabelLayout)("overlap",j.overlap),(0,S.registerGeometryLabelLayout)("distribute",w.distribute),(0,S.registerGeometryLabelLayout)("fixed-overlap",j.fixedOverlap),(0,S.registerGeometryLabelLayout)("hide-overlap",F.hideOverlap),(0,S.registerGeometryLabelLayout)("limit-in-shape",I.limitInShape),(0,S.registerGeometryLabelLayout)("limit-in-canvas",T.limitInCanvas),(0,S.registerGeometryLabelLayout)("limit-in-plot",B.limitInPlot),(0,S.registerGeometryLabelLayout)("pie-outer",E.pieOuterLabelLayout),(0,S.registerGeometryLabelLayout)("adjust-color",L.adjustColor),(0,S.registerGeometryLabelLayout)("interval-adjust-position",D.intervalAdjustPosition),(0,S.registerGeometryLabelLayout)("interval-hide-overlap",k.intervalHideOverlap),(0,S.registerGeometryLabelLayout)("point-adjust-position",R.pointAdjustPosition),(0,S.registerGeometryLabelLayout)("pie-spider",C.pieSpiderLabelLayout),(0,S.registerGeometryLabelLayout)("path-adjust-position",N.pathAdjustPosition);var G=n(222),V=n(167),z=n(162),W=n(320),Y=n(223),H=n(321),X=n(322),U=n(224),q=n(25);(0,q.registerAnimation)("fade-in",G.fadeIn),(0,q.registerAnimation)("fade-out",G.fadeOut),(0,q.registerAnimation)("grow-in-x",V.growInX),(0,q.registerAnimation)("grow-in-xy",V.growInXY),(0,q.registerAnimation)("grow-in-y",V.growInY),(0,q.registerAnimation)("scale-in-x",Y.scaleInX),(0,q.registerAnimation)("scale-in-y",Y.scaleInY),(0,q.registerAnimation)("wave-in",X.waveIn),(0,q.registerAnimation)("zoom-in",U.zoomIn),(0,q.registerAnimation)("zoom-out",U.zoomOut),(0,q.registerAnimation)("position-update",W.positionUpdate),(0,q.registerAnimation)("sector-path-update",H.sectorPathUpdate),(0,q.registerAnimation)("path-in",z.pathIn);var Z=n(25),K=(0,r.__importDefault)(n(336)),$=(0,r.__importDefault)(n(337)),Q=(0,r.__importDefault)(n(338)),J=(0,r.__importDefault)(n(339)),tt=(0,r.__importDefault)(n(340)),te=(0,r.__importDefault)(n(341));(0,Z.registerFacet)("rect",tt.default),(0,Z.registerFacet)("mirror",J.default),(0,Z.registerFacet)("list",$.default),(0,Z.registerFacet)("matrix",Q.default),(0,Z.registerFacet)("circle",K.default),(0,Z.registerFacet)("tree",te.default);var tn=n(25),tr=(0,r.__importDefault)(n(319)),ti=(0,r.__importDefault)(n(342)),ta=(0,r.__importDefault)(n(343)),to=(0,r.__importDefault)(n(344)),ts=(0,r.__importDefault)(n(204)),tl=(0,r.__importDefault)(n(1013));(0,tn.registerComponentController)("axis",ti.default),(0,tn.registerComponentController)("legend",ta.default),(0,tn.registerComponentController)("tooltip",ts.default),(0,tn.registerComponentController)("annotation",tr.default),(0,tn.registerComponentController)("slider",to.default),(0,tn.registerComponentController)("scrollbar",tl.default);var tu=n(25),tc=(0,r.__importDefault)(n(345)),tf=(0,r.__importDefault)(n(346)),td=(0,r.__importDefault)(n(127)),tp=(0,r.__importDefault)(n(347)),th=(0,r.__importDefault)(n(348)),tg=(0,r.__importDefault)(n(349)),tv=(0,r.__importDefault)(n(350)),ty=(0,r.__importDefault)(n(351)),tm=(0,r.__importDefault)(n(159)),tb=(0,r.__importDefault)(n(352)),tx=(0,r.__importDefault)(n(353)),t_=(0,r.__importStar)(n(226));Object.defineProperty(e,"ELEMENT_RANGE_HIGHLIGHT_EVENTS",{enumerable:!0,get:function(){return t_.ELEMENT_RANGE_HIGHLIGHT_EVENTS}});var tO=(0,r.__importDefault)(n(354)),tP=(0,r.__importDefault)(n(355)),tM=(0,r.__importDefault)(n(356)),tA=(0,r.__importDefault)(n(357)),tS=(0,r.__importDefault)(n(358)),tw=(0,r.__importDefault)(n(227)),tE=(0,r.__importDefault)(n(359)),tC=(0,r.__importDefault)(n(360)),tT=(0,r.__importDefault)(n(1015)),tI=(0,r.__importDefault)(n(1016)),tj=(0,r.__importDefault)(n(1017)),tF=(0,r.__importDefault)(n(478)),tL=(0,r.__importDefault)(n(477)),tD=(0,r.__importDefault)(n(1018)),tk=(0,r.__importDefault)(n(361)),tR=(0,r.__importDefault)(n(362)),tN=(0,r.__importStar)(n(479));Object.defineProperty(e,"BRUSH_FILTER_EVENTS",{enumerable:!0,get:function(){return tN.BRUSH_FILTER_EVENTS}});var tB=(0,r.__importDefault)(n(1019)),tG=(0,r.__importDefault)(n(1020)),tV=(0,r.__importDefault)(n(1021)),tz=(0,r.__importDefault)(n(1022)),tW=(0,r.__importDefault)(n(1023)),tY=(0,r.__importDefault)(n(1024)),tH=(0,r.__importDefault)(n(1025)),tX=(0,r.__importDefault)(n(1026)),tU=(0,r.__importDefault)(n(1027));(0,tu.registerAction)("tooltip",td.default),(0,tu.registerAction)("sibling-tooltip",tf.default),(0,tu.registerAction)("ellipsis-text",tp.default),(0,tu.registerAction)("element-active",th.default),(0,tu.registerAction)("element-single-active",ty.default),(0,tu.registerAction)("element-range-active",tv.default),(0,tu.registerAction)("element-highlight",tm.default),(0,tu.registerAction)("element-highlight-by-x",tx.default),(0,tu.registerAction)("element-highlight-by-color",tb.default),(0,tu.registerAction)("element-single-highlight",tO.default),(0,tu.registerAction)("element-range-highlight",t_.default),(0,tu.registerAction)("element-sibling-highlight",t_.default,{effectSiblings:!0,effectByRecord:!0}),(0,tu.registerAction)("element-selected",tM.default),(0,tu.registerAction)("element-single-selected",tA.default),(0,tu.registerAction)("element-range-selected",tP.default),(0,tu.registerAction)("element-link-by-color",tg.default),(0,tu.registerAction)("active-region",tc.default),(0,tu.registerAction)("list-active",tS.default),(0,tu.registerAction)("list-selected",tE.default),(0,tu.registerAction)("list-highlight",tw.default),(0,tu.registerAction)("list-unchecked",tC.default),(0,tu.registerAction)("list-checked",tT.default),(0,tu.registerAction)("legend-item-highlight",tw.default,{componentNames:["legend"]}),(0,tu.registerAction)("axis-label-highlight",tw.default,{componentNames:["axis"]}),(0,tu.registerAction)("rect-mask",tL.default),(0,tu.registerAction)("x-rect-mask",tj.default,{dim:"x"}),(0,tu.registerAction)("y-rect-mask",tj.default,{dim:"y"}),(0,tu.registerAction)("circle-mask",tI.default),(0,tu.registerAction)("path-mask",tF.default),(0,tu.registerAction)("smooth-path-mask",tD.default),(0,tu.registerAction)("cursor",tk.default),(0,tu.registerAction)("data-filter",tR.default),(0,tu.registerAction)("brush",tN.default),(0,tu.registerAction)("brush-x",tN.default,{dims:["x"]}),(0,tu.registerAction)("brush-y",tN.default,{dims:["y"]}),(0,tu.registerAction)("sibling-filter",tB.default),(0,tu.registerAction)("sibling-x-filter",tB.default),(0,tu.registerAction)("sibling-y-filter",tB.default),(0,tu.registerAction)("element-filter",tG.default),(0,tu.registerAction)("element-sibling-filter",tV.default),(0,tu.registerAction)("element-sibling-filter-record",tV.default,{byRecord:!0}),(0,tu.registerAction)("view-drag",tW.default),(0,tu.registerAction)("view-move",tY.default),(0,tu.registerAction)("scale-translate",tH.default),(0,tu.registerAction)("scale-zoom",tX.default),(0,tu.registerAction)("reset-button",tz.default,{name:"reset-button",text:"reset"}),(0,tu.registerAction)("mousewheel-scroll",tU.default);var tq=n(25);function tZ(t){return t.isInPlot()}function tK(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}(0,tq.registerInteraction)("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),(0,tq.registerInteraction)("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),(0,tq.registerInteraction)("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),(0,tq.registerInteraction)("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),(0,tq.registerInteraction)("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),(0,tq.registerInteraction)("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),(0,tq.registerInteraction)("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),(0,tq.registerInteraction)("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),(0,tq.registerInteraction)("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),(0,tq.registerInteraction)("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:tZ,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:tZ,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),(0,tq.registerInteraction)("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),(0,tq.registerInteraction)("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:tZ,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:tZ,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),(0,tq.registerInteraction)("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:"path-mask:start"},{trigger:"mousedown",isEnable:tZ,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),(0,tq.registerInteraction)("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),(0,tq.registerInteraction)("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),(0,tq.registerInteraction)("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),(0,tq.registerInteraction)("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),(0,tq.registerInteraction)("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),(0,tq.registerInteraction)("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),(0,tq.registerInteraction)("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return tK(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!tK(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),(0,tq.registerInteraction)("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]}),(0,tq.registerInteraction)("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var t$=n(21);Object.defineProperty(e,"VIEW_LIFE_CIRCLE",{enumerable:!0,get:function(){return t$.VIEW_LIFE_CIRCLE}}),(0,r.__exportStar)(n(25),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(1056);Object.defineProperty(e,"flow",{enumerable:!0,get:function(){return i.flow}});var a=n(499);Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return a.pick}});var o=n(1057);Object.defineProperty(e,"template",{enumerable:!0,get:function(){return o.template}});var s=n(500);Object.defineProperty(e,"log",{enumerable:!0,get:function(){return s.log}}),Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return s.invariant}}),Object.defineProperty(e,"LEVEL",{enumerable:!0,get:function(){return s.LEVEL}});var l=n(1058);Object.defineProperty(e,"getContainerSize",{enumerable:!0,get:function(){return l.getContainerSize}}),r.__exportStar(n(1059),e);var u=n(501);Object.defineProperty(e,"findViewById",{enumerable:!0,get:function(){return u.findViewById}}),Object.defineProperty(e,"getViews",{enumerable:!0,get:function(){return u.getViews}}),Object.defineProperty(e,"getSiblingViews",{enumerable:!0,get:function(){return u.getSiblingViews}});var c=n(1060);Object.defineProperty(e,"transformLabel",{enumerable:!0,get:function(){return c.transformLabel}});var f=n(1061);Object.defineProperty(e,"getSplinePath",{enumerable:!0,get:function(){return f.getSplinePath}});var d=n(502);Object.defineProperty(e,"deepAssign",{enumerable:!0,get:function(){return d.deepAssign}});var p=n(1062);Object.defineProperty(e,"kebabCase",{enumerable:!0,get:function(){return p.kebabCase}});var h=n(503);Object.defineProperty(e,"renderStatistic",{enumerable:!0,get:function(){return h.renderStatistic}}),Object.defineProperty(e,"renderGaugeStatistic",{enumerable:!0,get:function(){return h.renderGaugeStatistic}});var g=n(1063);Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return g.measureTextWidth}});var v=n(291);Object.defineProperty(e,"isBetween",{enumerable:!0,get:function(){return v.isBetween}}),Object.defineProperty(e,"isRealNumber",{enumerable:!0,get:function(){return v.isRealNumber}}),r.__exportStar(n(292),e),r.__exportStar(n(293),e)},function(t,e,n){"use strict";n.d(e,"f",function(){return c}),n.d(e,"e",function(){return d}),n.d(e,"c",function(){return p}),n.d(e,"b",function(){return h}),n.d(e,"d",function(){return g}),n.d(e,"a",function(){return v});var r=n(4),i=n.n(r),a=n(17),o=n.n(a),s=n(0),l=n(230),u=n(137),c=function(t,e){t.forEach(function(t){var n=t.sourceKey,r=t.targetKey,i=t.notice,a=Object(s.get)(e,n);a&&(o()(!1,i),Object(s.set)(e,r,a))})},f=function(t,e){var n=Object(s.get)(t,e);if(!1===n||null===n){t[e]=null;return}if(void 0!==n){if(!0===n){t[e]={};return}if(!Object(s.isObject)(n)){o()(!0,"".concat(e," 配置参数不正确"));return}d(n,"line",null),d(n,"grid",null),d(n,"label",null),d(n,"tickLine",null),d(n,"title",null);var r=Object(s.get)(n,"label");if(r&&Object(s.isObject)(r)){var a=r.suffix;a&&Object(s.set)(r,"formatter",function(t){return"".concat(t).concat(a)});var l=r.offsetX,u=r.offsetY,c=r.offset;!Object(s.isNil)(c)||Object(s.isNil)(l)&&Object(s.isNil)(u)||("xAxis"===e&&Object(s.set)(r,"offset",Object(s.isNil)(l)?u:l),"yAxis"===e&&Object(s.set)(r,"offset",Object(s.isNil)(u)?l:u))}t[e]=i()(i()({},n),{label:r})}},d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Object(s.get)(t,"".concat(e,".visible"));return(!1===r||null===r)&&Object(s.set)(t,e,n),r},p=function(t){var e=i()({},t);if(d(e,"tooltip"),d(e,"legend")){d(e,"legend.title");var n=Object(s.get)(e,"legend.position");n&&Object(s.set)(e,"legend.position",{"top-center":"top","right-center":"right","left-center":"left","bottom-center":"bottom"}[n]||n)}var r=Object(s.get)(e,"legend.formatter");if(r){var a=Object(s.get)(e,"legend.itemName",{});Object(s.set)(e,"legend.itemName",i()(i()({},a),{formatter:r}))}var o=Object(s.get)(e,"legend.text");o&&Object(s.set)(e,"legend.itemName",o),d(e,"label"),f(e,"xAxis"),f(e,"yAxis");var u=Object(s.get)(e,"guideLine",[]),c=Object(s.get)(e,"data",[]),p=Object(s.get)(e,"yField","y");u.forEach(function(t){if(c.length>0){var n="median";switch(t.type){case"max":n=Object(s.maxBy)(c,function(t){return t[p]})[p];break;case"mean":n=Object(l.a)(c.map(function(t){return t[p]}))/c.length;break;default:n=Object(s.minBy)(c,function(t){return t[p]})[p]}var r=i()(i()({start:["min",n],end:["max",n],style:t.lineStyle,text:{content:n}},t),{type:"line"});Object(s.get)(e,"annotations")||Object(s.set)(e,"annotations",[]),e.annotations.push(r),Object(s.set)(e,"point",!1)}});var h=Object(s.get)(e,"interactions",[]).find(function(t){return"slider"===t.type});return h&&Object(s.isNil)(e.slider)&&(e.slider=h.cfg),e},h=function(t,e,n){var r=Object(u.a)(Object(s.get)(e,"events",[])),i=Object(u.a)(Object(s.get)(n,"events",[]));r.forEach(function(n){t.off(n[1],e.events[n[0]])}),i.forEach(function(e){t.on(e[1],n.events[e[0]])})},g=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onTitleClick","onTitleDblClick","onTitleMouseleave","onTitleMousemove","onTitleMousedown","onTitleMouseup","onTitleMouseenter"].forEach(function(t){e[t]&&(n[t.replace("Title","")]=e[t])}),n},v=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onDescriptionClick","onDescriptionDblClick","onDescriptionMouseleave","onDescriptionMousemove","onDescriptionMousedown","onDescriptionMouseup","onDescriptionMouseenter"].forEach(function(t){e[t]&&(n[t.replace("Description","")]=e[t])}),n}},function(t,e,n){"use strict";t.exports=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(50);e.default=function(t,e,n){for(var i=0,a=r.default(e)?e.split("."):e;t&&i=e||n.height>=e?n:null}function l(t){var e=t.geometries,n=[];return(0,r.each)(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&(0,r.each)(t.views,function(t){n=n.concat(l(t))}),n}function u(t,e){var n=t.getModel().data;return(0,r.isArray)(n)?n[0][e]:n[e]}function c(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=e||r.height>=e?n.attr("path"):null;if(!i)return;return p(t.view,i)}var a=s(t,e);return a?f(t.view,a):null},e.getSiblingMaskElements=function(t,e,n){var r=s(t,n);if(!r)return null;var i=t.view,a=h(i,e,{x:r.x,y:r.y}),o=h(i,e,{x:r.maxX,y:r.maxY}),l={minX:a.x,minY:a.y,maxX:o.x,maxY:o.y};return f(e,l)},e.getElements=l,e.getElementsByField=function(t,e,n){return l(t).filter(function(t){return u(t,e)===n})},e.getElementsByState=function(t,e){var n=t.geometries,i=[];return(0,r.each)(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});i=i.concat(n)}),i},e.getElementValue=u,e.intersectRect=c,e.getIntersectElements=f,e.getElementsByPath=p,e.getComponents=function(t){return t.getComponents().map(function(t){return t.component})},e.distance=function(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)},e.getSpline=function(t,e){if(t.length<=2)return(0,i.getLinePath)(t,!1);var n=t[0],a=[];(0,r.each)(t,function(t){a.push(t.x),a.push(t.y)});var o=(0,i.catmullRom2bezier)(a,e,null);return o.unshift(["M",n.x,n.y]),o},e.isInBox=function(t,e){return t.x<=e.x&&t.maxX>=e.x&&t.y<=e.y&&t.maxY>e.y},e.getSilbings=function(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n},e.getSiblingPoint=h,e.isInRecords=function(t,e,n,i){var a=!1;return(0,r.each)(t,function(t){if(t[n]===e[n]&&t[i]===e[i])return a=!0,!1}),a},e.getScaleByField=function t(e,n){var i=e.getScaleByField(n);return!i&&e.views&&(0,r.each)(e.views,function(e){if(i=t(e,n))return!1}),i}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.ext=void 0,Object.defineProperty(e,"mat3",{enumerable:!0,get:function(){return i.mat3}}),Object.defineProperty(e,"vec2",{enumerable:!0,get:function(){return i.vec2}}),Object.defineProperty(e,"vec3",{enumerable:!0,get:function(){return i.vec3}});var i=n(170),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(751));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}e.ext=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBackgroundRectStyle=e.getStyle=void 0;var r=n(1),i=n(0);e.getStyle=function(t,e,n,a){void 0===a&&(a="");var o=t.style,s=void 0===o?{}:o,l=t.defaultStyle,u=t.color,c=t.size,f=(0,r.__assign)((0,r.__assign)({},l),s);return u&&(e&&!s.stroke&&(f.stroke=u),n&&!s.fill&&(f.fill=u)),a&&(0,i.isNil)(s[a])&&!(0,i.isNil)(c)&&(f[a]=c),f},e.getBackgroundRectStyle=function(t){return(0,i.deepMix)({},{fill:"#CCD6EC",fillOpacity:.3},(0,i.get)(t,["background","style"]))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=e.annotation=e.scale=e.scrollbar=e.slider=e.state=e.theme=e.animation=e.interaction=e.tooltip=e.legend=void 0;var r=n(1),i=n(0),a=n(509),o=n(15);e.legend=function(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.seriesField;return!1===r?e.legend(!1):(i||a)&&e.legend(i||a,r),t},e.tooltip=function(t){var e=t.chart,n=t.options.tooltip;return void 0!==n&&e.tooltip(n),t},e.interaction=function(t){var e=t.chart,n=t.options.interactions;return i.each(n,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})}),t},e.animation=function(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),i.each(e.geometries,function(t){t.animate(n)}),t},e.theme=function(t){var e=t.chart,n=t.options.theme;return n&&e.theme(n),t},e.state=function(t){var e=t.chart,n=t.options.state;return n&&i.each(e.geometries,function(t){t.state(n)}),t},e.slider=function(t){var e=t.chart,n=t.options.slider;return e.option("slider",n),t},e.scrollbar=function(t){var e=t.chart,n=t.options.scrollbar;return e.option("scrollbar",n),t},e.scale=function(t,e){return function(n){var r=n.chart,s=n.options,l={};return i.each(t,function(t,e){l[e]=o.pick(t,a.AXIS_META_CONFIG_KEYS)}),l=o.deepAssign({},e,s.meta,l),r.scale(l),n}},e.annotation=function(t){return function(e){var n=e.chart,a=e.options,o=n.getController("annotation");return i.each(r.__spreadArrays(a.annotations||[],t||[]),function(t){o.annotation(t)}),e}},e.limitInPlot=function(t){var e=t.chart,n=t.options,r=n.yAxis,a=n.limitInPlot,s=a;return i.isObject(r)&&i.isNil(a)&&(s=!!Object.values(o.pick(r,["min","max","minLimit","maxLimit"])).some(function(t){return!i.isNil(t)})),e.limitInPlot=s,t};var s=n(153);Object.defineProperty(e,"pattern",{enumerable:!0,get:function(){return s.pattern}})},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(9),o=n.n(a),s=n(10),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(3),v=n.n(g),y=n(618),m=n.n(y),b=n(202),x=n(221),_=n.n(x),O=n(0),P=n(160);m.a.prototype.render=function(){if(this.get("isReactElement")){var t=this.getContainer(),e=this.get("content"),n=this.get("refreshDeps"),r=v.a.isValidElement(e)?e:e(t);void 0!==this.preRefreshDeps&&Object(O.isEqual)(this.preRefreshDeps,n)||(_.a.render(r,t),this.preRefreshDeps=n)}else{var i=this.getContainer(),a=this.get("html");Object(b.clearDom)(i);var o=Object(O.isFunction)(a)?a(i):a;Object(O.isElement)(o)?i.appendChild(o):Object(O.isString)(o)&&i.appendChild(Object(P.createDom)(o))}this.resetPosition()};var M=n(319),A=n.n(M),S=n(47);Object(n(8).registerComponentController)("annotation",A.a);var w=function(t){c()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=h()(r);if(e){var i=h()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return d()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.annotationType="line",t}return l()(r,[{key:"componentDidMount",value:function(){var t=this.getChartIns();this.id=O.uniqueId("annotation"),this.annotation=t.annotation(),"ReactElement"===this.annotationType?this.annotation.annotation(i()({type:"html",isReactElement:!0},this.props)):this.annotation.annotation(i()({type:this.annotationType},this.props)),this.annotation.option[this.annotation.option.length-1].__id=this.id}},{key:"componentDidUpdate",value:function(){var t=this,e=null;this.annotation.option.forEach(function(n,r){n.__id===t.id&&(e=r)}),"ReactElement"===this.annotationType?this.annotation.option[e]=i()(i()({type:"html",isReactElement:!0},this.props),{__id:this.id}):this.annotation.option[e]=i()(i()({type:this.annotationType},this.props),{__id:this.id})}},{key:"componentWillUnmount",value:function(){var t=this,e=null;this.annotation&&(this.annotation.option.forEach(function(n,r){n.__id===t.id&&(e=r)}),null!==e&&this.annotation.option.splice(e,1),this.annotation=null)}},{key:"getChartIns",value:function(){return this.context}},{key:"render",value:function(){return v.a.createElement(v.a.Fragment,null)}}]),r}(v.a.Component);w.contextType=S.a,e.a=w},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return Array.isArray?Array.isArray(t):(0,i.default)(t,"Array")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null==t}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Arc",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Cubic",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Quad",{enumerable:!0,get:function(){return a.default}}),e.Util=void 0;var a=r(n(792)),o=r(n(793)),s=r(n(794)),l=r(n(174)),u=r(n(796)),c=r(n(411)),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(87));function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}e.Util=f},function(t,e,n){"use strict";var r=n(12),i=n.n(r),a=n(13),o=n.n(a),s=n(5),l=n.n(s),u=n(45),c=n.n(u),f=n(9),d=n.n(f),p=n(10),h=n.n(p),g=n(3),v=n.n(g),y=n(50),m=n.n(y),b=n(28),x=n.n(b),_=n(100),O=n.n(_);n(491);var P=n(47),M=n(8),A=n(55),S=n.n(A),w=n(23),E=n.n(w),C=n(82),T=function(t,e,n,r){var i,a;if(null===t){S()(n,function(t){var n=e[t];void 0!==n&&(E()(n)||(n=[n]),r(n,t))});return}S()(n,function(n){i=t[n],a=e[n],Object(C.a)(a,i)||(E()(a)||(a=[a]),r(a,n))})},I=n(17),j=n.n(I);n(290);var F=n(348),L=n.n(F),D=n(349),k=n.n(D),R=n(350),N=n.n(R),B=n(351),G=n.n(B),V=n(159),z=n.n(V),W=n(353),Y=n.n(W),H=n(352),X=n.n(H),U=n(354),q=n.n(U),Z=n(226),K=n.n(Z),$=n(356),Q=n.n($),J=n(357),tt=n.n(J),te=n(355),tn=n.n(te),tr=n(361),ti=n.n(tr);Object(M.registerAction)("cursor",ti.a),Object(M.registerAction)("element-active",L.a),Object(M.registerAction)("element-single-active",G.a),Object(M.registerAction)("element-range-active",N.a),Object(M.registerAction)("element-highlight",z.a),Object(M.registerAction)("element-highlight-by-x",Y.a),Object(M.registerAction)("element-highlight-by-color",X.a),Object(M.registerAction)("element-single-highlight",q.a),Object(M.registerAction)("element-range-highlight",K.a),Object(M.registerAction)("element-sibling-highlight",K.a,{effectSiblings:!0,effectByRecord:!0}),Object(M.registerAction)("element-selected",Q.a),Object(M.registerAction)("element-single-selected",tt.a),Object(M.registerAction)("element-range-selected",tn.a),Object(M.registerAction)("element-link-by-color",k.a),Object(M.registerInteraction)("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Object(M.registerInteraction)("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Object(M.registerInteraction)("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Object(M.registerInteraction)("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Object(M.registerInteraction)("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});var ta=n(75);Object(M.registerGeometryLabel)("base",O.a);var to=["line","area"],ts=function(){function t(){d()(this,t),this.config={}}return h()(t,[{key:"setView",value:function(t){this.view=t,this.rootChart=t.rootChart||t}},{key:"createGeomInstance",value:function(t,e){this.geom=this.view[t](e);var n=e.sortable;this.geom.__beforeMapping=this.geom.beforeMapping,this.geom.beforeMapping=function(e){var r=this.getXScale();return!1!==n&&e&&e[0]&&to.includes(t)&&["time","timeCat"].includes(r.type)&&this.sort(e),this.__beforeMapping(e)},this.GemoBaseClassName=t}},{key:"update",value:function(t,e){var n=this;this.geom||(this.setView(e.context),this.createGeomInstance(e.GemoBaseClassName,t),this.interactionTypes=e.interactionTypes),T(this.config,t,["position","shape","color","label","style","tooltip","size","animate","state","customInfo"],function(t,e){var r;j()(!("label"===e&&!0===t[0]),"label 值类型错误,应为false | LabelOption | FieldString"),(r=n.geom)[e].apply(r,c()(t))}),T(this.config,t,["adjust"],function(t,e){m()(t[0])?n.geom[e](t[0]):n.geom[e](t)}),this.geom.state(t.state||{}),this.rootChart.on("processElemens",function(){x()(t.setElements)&&t.setElements(n.geom.elements)}),T(this.config,t,this.interactionTypes,function(t,e){t[0]?n.rootChart.interaction(e):n.rootChart.removeInteraction(e)}),this.config=Object(ta.a)(t)}},{key:"destroy",value:function(){this.geom&&(this.geom.destroy(),this.geom=null),this.config={}}}]),t}(),tl=function(t){i()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=l()(r);if(e){var i=l()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return o()(this,t)});function r(t){var e;return d()(this,r),(e=n.call(this,t)).interactionTypes=[],e.geomHelper=new ts,e}return h()(r,[{key:"componentWillUnmount",value:function(){this.geomHelper.destroy()}},{key:"render",value:function(){var t=this;return this.geomHelper.update(this.props,this),v.a.createElement(v.a.Fragment,null,v.a.Children.map(this.props.children,function(e){return v.a.isValidElement(e)?v.a.cloneElement(e,{parentInstance:t.geomHelper.geom}):v.a.createElement(v.a.Fragment,null)}))}}]),r}(v.a.Component);tl.contextType=P.a,e.a=tl},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(3),i=n.n(r),a=n(47);function o(){return i.a.useContext(a.a)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(432),s=n(90),l=n(42),u=r(n(254)),c="update_status",f=["visible","tip","delegateObject"],d=["container","group","shapesMap","isRegister","isUpdating","destroyed"],p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear(),this.get("group").remove()},e.prototype.clear=function(){this.get("group").clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var e=this.getElementById(t);return e&&e.get("component")},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var e=this.getElementId(t);return this.getElementById(e)},e.prototype.getElementsByName=function(t){var e=[];return(0,a.each)(this.get("shapesMap"),function(n){n.get("name")===t&&e.push(n)}),e},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var e=this.get("group");this.updateElements(t,e),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){this.get("group").show(),this.set("visible",!0)},e.prototype.hide=function(){this.get("group").hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){this.get("group").set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),t.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),e=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(e=(0,s.applyMatrix2BBox)(n,e)),e},e.prototype.on=function(t,e,n){return this.get("group").on(t,e,n),this},e.prototype.off=function(t,e){var n=this.get("group");return n&&n.off(t,e),this},e.prototype.emit=function(t,e){this.get("group").emit(t,e)},e.prototype.init=function(){t.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,e){var n=this.get("group");e.target=n,n.emit(t,e),(0,o.propagationDelegate)(n,t,e)},e.prototype.createOffScreenGroup=function(){return new(this.get("group").getGroupBase())({delegateObject:this.getDelegateObject()})},e.prototype.applyOffset=function(){var t=this.get("offsetX"),e=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:e})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",(0,l.getBBoxWithClip)(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,r=e.component,a=(0,i.__rest)(e,["id","component"]),o=new r((0,i.__assign)((0,i.__assign)({},a),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return o.init(),o.render(),this.get("isRegister")&&this.registerElement(o.get("group")),o},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){this.get("group").off()},e.prototype.getElementId=function(t){return this.get("id")+"-"+this.get("name")+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=(0,s.getMatrixByTranslate)(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var r=e.attr("opacity");(0,a.isNil)(r)&&(r=1),e.attr("opacity",0),e.animate({opacity:r},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,r){e.animate(n,r)},e.prototype.updateElements=function(t,e){var n,r=this,i=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0);(0,a.each)(s,function(t){var s=t.get("id"),u=r.getElementById(s),p=t.get("name");if(u){if(t.get("isComponent")){var h=t.get("component"),g=u.get("component"),v=(0,a.pick)(h.cfg,(0,a.difference)((0,a.keys)(h.cfg),d));g.update(v),u.set(c,"update")}else{var y=r.getReplaceAttrs(u,t);i&&o.update?r.updateAnimation(p,u,y,o.update):u.attr(y),t.isGroup()&&r.updateElements(t,u),(0,a.each)(f,function(e){u.set(e,t.get(e))}),(0,l.updateClip)(u,t),n=u,u.set(c,"update")}}else{e.add(t);var m=e.getChildren();if(m.splice(m.length-1,1),n){var b=m.indexOf(n);m.splice(b+1,0,t)}else m.unshift(t);if(r.registerElement(t),t.set(c,"add"),t.get("isComponent")){var h=t.get("component");h.set("container",e)}else t.isGroup()&&r.registerNewGroup(t);if(n=t,i){var x=r.get("isInit")?o.appear:o.enter;x&&r.addAnimation(p,t,x)}}})},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();(0,a.each)(e,function(t){t.set(c,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,e=this.get("name");return(t={})[e]=this,t.component=this,t},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),(0,a.mix)(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),r=e.attr();return(0,a.each)(n,function(t,e){void 0===r[e]&&(r[e]=void 0)}),r},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();(0,a.each)(n,function(t){e.registerElement(t),t.set(c,"add"),t.isGroup()&&e.registerNewGroup(t)})},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];(0,a.each)(e,function(t,e){!t.get(c)||t.destroyed?n.push([e,t]):t.set(c,null)});var r=this.get("animate"),i=this.get("animateOption");(0,a.each)(n,function(n){var o=n[0],s=n[1];if(!s.destroyed){var l=s.get("name");if(r&&i.leave){var u=(0,a.mix)({callback:function(){t.removeElement(s)}},i.leave);t.removeAnimation(l,s,u)}else t.removeElement(s)}delete e[o]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(u.default);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearDom=function(t){for(var e=t.childNodes,n=e.length,r=n-1;r>=0;r--)t.removeChild(e[r])},e.createBBox=i,e.distance=o,e.formatPadding=function(t){var e=0,n=0,i=0,a=0;return(0,r.isNumber)(t)?e=n=i=a=t:(0,r.isArray)(t)&&(e=t[0],i=(0,r.isNil)(t[1])?t[0]:t[1],a=(0,r.isNil)(t[2])?t[0]:t[2],n=(0,r.isNil)(t[3])?i:t[3]),[e,i,a,n]},e.getBBoxWithClip=function t(e){var n,a=e.getClip(),o=a&&a.getBBox();if(e.isGroup()){var l=1/0,u=-1/0,c=1/0,f=-1/0,d=e.getChildren();d.length>0?(0,r.each)(d,function(e){if(e.get("visible")){if(e.isGroup()&&0===e.get("children").length)return!0;var n=t(e),r=e.applyToMatrix([n.minX,n.minY,1]),i=e.applyToMatrix([n.minX,n.maxY,1]),a=e.applyToMatrix([n.maxX,n.minY,1]),o=e.applyToMatrix([n.maxX,n.maxY,1]),s=Math.min(r[0],i[0],a[0],o[0]),d=Math.max(r[0],i[0],a[0],o[0]),p=Math.min(r[1],i[1],a[1],o[1]),h=Math.max(r[1],i[1],a[1],o[1]);su&&(u=d),pf&&(f=h)}}):(l=0,u=0,c=0,f=0),n=i(l,c,u-l,f-c)}else n=e.getBBox();return o?s(n,o):n},e.getCirclePoint=function(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}},e.getTextPoint=function(t,e,n,r){var i=r/o(t,e),s=0;return"start"===n?s=0-i:"end"===n&&(s=1+i),{x:a(t.x,e.x,s),y:a(t.y,e.y,s)}},e.getValueByPercent=a,e.hasClass=function(t,e){return!!t.className.match(RegExp("(\\s|^)"+e+"(\\s|$)"))},e.intersectBBox=s,e.mergeBBox=function(t,e){var n=Math.min(t.minX,e.minX),r=Math.min(t.minY,e.minY);return i(n,r,Math.max(t.maxX,e.maxX)-n,Math.max(t.maxY,e.maxY)-r)},e.near=void 0,e.pointsToBBox=function(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),a=Math.max.apply(Math,e),o=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.regionToBBox=function(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),a=Math.max(e.x,n.x),o=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.toPx=function(t){return t+"px"},e.updateClip=function(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(!n){t.setClip(null);return}var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}},e.wait=void 0;var r=n(0);function i(t,e,n,r){var i=t+n,a=e+r;return{x:t,y:e,width:n,height:r,minX:t,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(a)?0:a}}function a(t,e,n){return(1-n)*t+e*n}function o(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function s(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return i(n,r,Math.min(t.maxX,e.maxX)-n,Math.min(t.maxY,e.maxY)-r)}e.wait=function(t){return new Promise(function(e){setTimeout(e,t)})},e.near=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)t.x?t.x:e,n=nt.y?t.y:i,a=a=t&&i<=t+n&&a>=e&&a<=e+r},e.intersectRect=function(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=t&&i<=t+n&&a>=e&&a<=e+r},e.intersectRect=function(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY0&&(e?"stroke"in n?this._setColor(t,"stroke",a):"strokeStyle"in n&&this._setColor(t,"stroke",o):this._setColor(t,"stroke",a||o),u&&f.setAttribute(l.SVG_ATTR_MAP.strokeOpacity,u),c&&f.setAttribute(l.SVG_ATTR_MAP.lineWidth,c))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(!n){r.setAttribute(l.SVG_ATTR_MAP[e],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(l.SVG_ATTR_MAP[e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(l.SVG_ATTR_MAP[e],"url(#"+i+")")}else r.setAttribute(l.SVG_ATTR_MAP[e],n)},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,o=r.shadowOffsetY,s=r.shadowBlur,l=r.shadowColor;(i||o||s||l)&&a.setShadow(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&a.setTransform(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,a=e+r.top,o=document.elementFromPoint(i,a);return!!(o&&o.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(i.AbstractShape);e.default=d},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(149),l=n(74),u=n(274),c=n(54),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190)),d=r(n(275));function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}var h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="svg",e.canFill=!1,e.canStroke=!1,e}return(0,a.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,a.__assign)((0,a.__assign)({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.draw(r,e)}},e.prototype.getShapeBase=function(){return f},e.prototype.getGroupBase=function(){return d.default},e.prototype.onCanvasChange=function(t){(0,u.refreshElement)(this,t)},e.prototype.calculateBBox=function(){var t=this.get("el"),e=null;if(t)e=t.getBBox();else{var n=(0,o.getBBoxMethod)(this.get("type"));n&&(e=n(this))}if(e){var r=e.x,i=e.y,a=e.width,s=e.height,l=this.getHitLineWidth(),u=l/2,c=r-u,f=i-u;return{x:c,y:f,minX:c,minY:f,maxX:r+a+u,maxY:i+s+u,width:a+l,height:s+l}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},e.prototype.isFill=function(){var t=this.attr(),e=t.fill,n=t.fillStyle;return(e||n||this.isClipShape())&&this.canFill},e.prototype.isStroke=function(){var t=this.attr(),e=t.stroke,n=t.strokeStyle;return(e||n)&&this.canStroke},e.prototype.draw=function(t,e){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||(0,l.createDom)(this),(0,s.setClip)(this,t),this.createPath(t,e),this.shadow(t,e),this.strokeAndFill(t,e),this.transform(e))},e.prototype.createPath=function(t,e){},e.prototype.strokeAndFill=function(t,e){var n=e||this.attr(),r=n.fill,i=n.fillStyle,a=n.stroke,o=n.strokeStyle,s=n.fillOpacity,l=n.strokeOpacity,u=n.lineWidth,f=this.get("el");this.canFill&&(e?"fill"in n?this._setColor(t,"fill",r):"fillStyle"in n&&this._setColor(t,"fill",i):this._setColor(t,"fill",r||i),s&&f.setAttribute(c.SVG_ATTR_MAP.fillOpacity,s)),this.canStroke&&u>0&&(e?"stroke"in n?this._setColor(t,"stroke",a):"strokeStyle"in n&&this._setColor(t,"stroke",o):this._setColor(t,"stroke",a||o),l&&f.setAttribute(c.SVG_ATTR_MAP.strokeOpacity,l),u&&f.setAttribute(c.SVG_ATTR_MAP.lineWidth,u))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(!n){r.setAttribute(c.SVG_ATTR_MAP[e],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")")}else r.setAttribute(c.SVG_ATTR_MAP[e],n)},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,a=r.shadowOffsetY,o=r.shadowBlur,l=r.shadowColor;(i||a||o||l)&&(0,s.setShadow)(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&(0,s.setTransform)(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,a=e+r.top,o=document.elementFromPoint(i,a);return!!(o&&o.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(o.AbstractShape);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipMapping=void 0;var r=n(0);e.getTooltipMapping=function(t,e){if(!1===t)return{fields:!1};var n=r.get(t,"fields"),i=r.get(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipMapping=function(t,e){if(!1===t)return{fields:!1};var n=(0,r.get)(t,"fields"),i=(0,r.get)(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}};var r=n(0)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Category",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Identity",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Linear",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Log",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Pow",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Quantile",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Quantize",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Time",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TimeCat",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return p.getScale}}),Object.defineProperty(e,"getTickMethod",{enumerable:!0,get:function(){return g.getTickMethod}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return p.registerScale}}),Object.defineProperty(e,"registerTickMethod",{enumerable:!0,get:function(){return g.registerTickMethod}});var i=r(n(141)),a=r(n(426)),o=r(n(827)),s=r(n(427)),l=r(n(830)),u=r(n(831)),c=r(n(832)),f=r(n(428)),d=r(n(833)),p=n(834),h=r(n(835)),g=n(836);(0,p.registerScale)("cat",a.default),(0,p.registerScale)("category",a.default),(0,p.registerScale)("identity",h.default),(0,p.registerScale)("linear",s.default),(0,p.registerScale)("log",l.default),(0,p.registerScale)("pow",u.default),(0,p.registerScale)("time",c.default),(0,p.registerScale)("timeCat",o.default),(0,p.registerScale)("quantize",f.default),(0,p.registerScale)("quantile",d.default)},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"c",function(){return l});var r=n(3),i=n.n(r),a=n(620),o=function(t){var e=t.error;return i.a.createElement("div",{className:"bizcharts-error",role:"alert"},i.a.createElement("p",null,"BizCharts something went wrong:"),i.a.createElement("pre",null,e.message))};function s(t){return o(t)}var l=function(t){o=t};e.b=a.ErrorBoundary},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={}.toString;e.default=function(t,e){return r.call(t)==="[object "+e+"]"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.Slider=e.HtmlTooltip=e.ContinuousLegend=e.CategoryLegend=e.CircleGrid=e.LineGrid=e.CircleAxis=e.LineAxis=e.Annotation=e.Crosshair=e.Component=e.GroupComponent=e.HtmlComponent=e.Scale=e.registerScale=e.getScale=e.Coordinate=e.registerCoordinate=e.getCoordinate=e.Color=e.Attribute=e.getAttribute=e.Adjust=e.getAdjust=e.registerAdjust=e.AbstractShape=e.AbstractGroup=e.Event=void 0;var r=n(26);Object.defineProperty(e,"Event",{enumerable:!0,get:function(){return r.Event}}),Object.defineProperty(e,"AbstractGroup",{enumerable:!0,get:function(){return r.AbstractGroup}}),Object.defineProperty(e,"AbstractShape",{enumerable:!0,get:function(){return r.AbstractShape}});var i=n(422);Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return i.registerAdjust}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return i.getAdjust}}),Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return i.Adjust}});var a=n(251);Object.defineProperty(e,"getAttribute",{enumerable:!0,get:function(){return a.getAttribute}}),Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return a.Attribute}});var o=n(251);Object.defineProperty(e,"Color",{enumerable:!0,get:function(){return o.Color}});var s=n(848);Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return s.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return s.registerCoordinate}}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return s.Coordinate}});var l=n(66);Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return l.getScale}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return l.registerScale}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return l.Scale}});var u=n(179);Object.defineProperty(e,"Annotation",{enumerable:!0,get:function(){return u.Annotation}}),Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return u.Component}}),Object.defineProperty(e,"Crosshair",{enumerable:!0,get:function(){return u.Crosshair}}),Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return u.GroupComponent}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return u.HtmlComponent}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return u.Slider}}),Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return u.Scrollbar}});var c=u.Axis.Line,f=u.Axis.Circle;e.LineAxis=c,e.CircleAxis=f;var d=u.Grid.Line,p=u.Grid.Circle;e.LineGrid=d,e.CircleGrid=p;var h=u.Legend.Category,g=u.Legend.Continuous;e.CategoryLegend=h,e.ContinuousLegend=g;var v=u.Tooltip.Html;e.HtmlTooltip=v},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.uniq=e.omit=e.padEnd=e.isBetween=void 0;var i=n(0);e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i},e.padEnd=function(t,e,n){if((0,i.isString)(t))return t.padEnd(e,n);if((0,i.isArray)(t)){var r=t.length;if(r0&&(a.isNil(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(i.AbstractShape);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveTo=e.sortDom=e.createDom=e.createSVGElement=void 0;var r=n(0),i=n(52);function a(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}e.createSVGElement=a,e.createDom=function(t){var e=i.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw Error("the type "+t.type+" is not supported by svg");var r=a(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var o=n.get("el");o||(o=n.createDom(),n.set("el",o)),o.appendChild(r)}return r},e.sortDom=function(t,e){var n=t.get("el"),i=r.toArray(n.children).sort(e),a=document.createDocumentFragment();i.forEach(function(t){a.appendChild(t)}),n.appendChild(a)},e.moveTo=function(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter(function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()}),i=r[e],a=r.indexOf(t);if(i){if(a>e)n.insertBefore(t,i);else if(a0&&((0,s.isNil)(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(o.AbstractShape);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDom=function(t){var e=i.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw Error("the type "+t.type+" is not supported by svg");var r=a(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var o=n.get("el");o||(o=n.createDom(),n.set("el",o)),o.appendChild(r)}return r},e.createSVGElement=a,e.moveTo=function(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter(function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()}),i=r[e],a=r.indexOf(t);if(i){if(a>e)n.insertBefore(t,i);else if(a=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;et.minX&&this.minYt.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();e.BBox=a,e.getRegionBBox=function(t,e){var n=e.start,r=e.end;return new a(t.x+t.width*n.x,t.y+t.height*n.y,t.width*Math.abs(r.x-n.x),t.height*Math.abs(r.y-n.y))},e.toPoints=function(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(3),i=n.n(r),a=n(76);function o(){return i.a.useContext(a.a).chart}},function(t,e,n){"use strict";var r=n(6),i=n.n(r),a=n(55),o=n.n(a),s=n(23),l=n.n(s),u=n(61),c=n.n(u);function f(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function d(t){return l()(t)?t.length:c()(t)?Object.keys(t).length:0}e.a=function(t,e){if(f(t,e))return!0;if("object"!==i()(t)||null===t||"object"!==i()(e)||null===e||l()(t)!==l()(e)||d(t)!==d(e))return!1;var n=!0;return o()(t,function(t,r){return!!f(t,e[r])||(n=!1)}),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bar=void 0;var r=n(1),i=n(24),a=n(119),o=n(1120),s=n(1124),l=n(524),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options,i=n.xField,s=n.yField,u=n.isPercent,c=r.__assign(r.__assign({},n),{xField:s,yField:i});o.meta({chart:e,options:c}),e.changeData(a.getDataWhetherPecentage(l.transformBarData(t),i,s,i,u))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Bar=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Column=void 0;var r=n(1),i=n(24),a=n(119),o=n(195),s=n(1127),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this.chart,l=this.options;o.meta({chart:s,options:l}),this.chart.changeData(a.getDataWhetherPecentage(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Column=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return(0,i.default)(t,"String")}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return(0,i.default)(t,"Number")}},function(t,e,n){"use strict";function r(t){return Math.min.apply(null,t)}function i(t){return Math.max.apply(null,t)}Object.defineProperty(e,"__esModule",{value:!0}),e.distance=function(t,e,n,r){var i=t-n,a=e-r;return Math.sqrt(i*i+a*a)},e.getBBoxByArray=function(t,e){var n=r(t),a=r(e);return{x:n,y:a,width:i(t)-n,height:i(e)-a}},e.getBBoxRange=function(t,e,n,a){return{minX:r([t,n]),maxX:i([t,n]),minY:r([e,a]),maxY:i([e,a])}},e.isNumberEqual=function(t,e){return .001>Math.abs(t-e)},e.piMod=function(t){return(t+2*Math.PI)%(2*Math.PI)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"catmullRom2Bezier",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"fillPath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"fillPathByDiff",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"formatPath",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"getArcParams",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"getLineIntersect",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"isPointInPolygon",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"isPolygonsIntersect",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"parsePathArray",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"parsePathString",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"path2Absolute",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"path2Curve",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"path2Segments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"pathIntersection",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"reactPath",{enumerable:!0,get:function(){return h.default}});var i=r(n(414)),a=r(n(800)),o=r(n(803)),s=r(n(804)),l=r(n(805)),u=r(n(806)),c=r(n(811)),f=r(n(418)),d=r(n(416)),p=r(n(417)),h=r(n(415)),g=r(n(419)),v=r(n(812)),y=r(n(420)),m=r(n(813)),b=r(n(421))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=void 0,e.__asyncDelegator=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:u(t[r](e)),done:"return"===r}:i?i(e):e}:i}},e.__asyncGenerator=function(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){a.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{var n;(n=i[t](e)).value instanceof u?Promise.resolve(n.value.v).then(l,c):f(a[0][2],n)}catch(t){f(a[0][3],t)}}function l(t){s("next",t)}function c(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=s(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}},e.__await=u,e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{l(r.next(t))}catch(t){a(t)}}function s(t){try{l(r.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((r=r.apply(t,e||[])).next())})},e.__classPrivateFieldGet=function(t,e){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return e.get(t)},e.__classPrivateFieldSet=function(t,e,n){if(!e.has(t))throw TypeError("attempted to set private field on non-instance");return e.set(t,n),n},e.__createBinding=function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]},e.__decorate=function(t,e,n,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if(("undefined"==typeof Reflect?"undefined":(0,i.default)(Reflect))==="object"&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(o<3?a(s):o>3?a(e,n,s):a(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__exportStar=function(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])},e.__extends=function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},e.__generator=function(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},e.__spread=function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function u(t){return this instanceof u?(this.v=t,this):new u(t)}e.__assign=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyMatrix2BBox=function(t,e){var n=s(t,[e.minX,e.minY]),r=s(t,[e.maxX,e.minY]),i=s(t,[e.minX,e.maxY]),a=s(t,[e.maxX,e.maxY]),o=Math.min(n[0],r[0],i[0],a[0]),l=Math.max(n[0],r[0],i[0],a[0]),u=Math.min(n[1],r[1],i[1],a[1]),c=Math.max(n[1],r[1],i[1],a[1]);return{x:o,y:u,minX:o,minY:u,maxX:l,maxY:c,width:l-o,height:c-u}},e.applyRotate=function(t,e,n,r){if(e){var i=a({x:n,y:r},e,t.getMatrix());t.setMatrix(i)}},e.applyTranslate=function(t,e,n){var r=o({x:e,y:n});t.attr("matrix",r)},e.getAngleByMatrix=function(t){var e=[0,0,0];return r.vec3.transformMat3(e,[1,0,0],t),Math.atan2(e[1],e[0])},e.getMatrixByAngle=a,e.getMatrixByTranslate=o;var r=n(32),i=[1,0,0,0,1,0,0,0,1];function a(t,e,n){return(void 0===n&&(n=i),e)?r.ext.transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]):null}function o(t,e){return t.x||t.y?r.ext.transform(e||i,[["t",t.x,t.y]]):null}function s(t,e){var n=[0,0];return r.vec2.transformMat3(n,e,t),n}},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=n(422),o=n(251),s=n(0),l=n(97),u=(0,i.__importDefault)(n(263)),c=n(21),f=n(70),d=(0,i.__importDefault)(n(269)),p=n(271),h=n(27),g=n(945),v=n(449),y=n(946),m=n(450),b=n(48),x=function(t){function e(e){var n=t.call(this,e)||this;n.type="base",n.attributes={},n.elements=[],n.elementsMap={},n.animateOption=!0,n.attributeOption={},n.lastElementsMap={},n.generatePoints=!1,n.beforeMappingData=null,n.adjusts={},n.idFields=[],n.hasSorted=!1,n.isCoordinateChanged=!1;var r=e.container,i=e.labelsContainer,a=e.coordinate,o=e.data,s=e.sortable,l=e.visible,u=e.theme,c=e.scales,f=e.scaleDefs,d=e.intervalPadding,p=e.dodgePadding,h=e.maxColumnWidth,g=e.minColumnWidth,v=e.columnWidthRatio,y=e.roseWidthRatio,m=e.multiplePieWidthRatio,b=e.zIndexReversed;return n.container=r,n.labelsContainer=i,n.coordinate=a,n.data=o,n.sortable=void 0!==s&&s,n.visible=void 0===l||l,n.userTheme=u,n.scales=void 0===c?{}:c,n.scaleDefs=void 0===f?{}:f,n.intervalPadding=d,n.dodgePadding=p,n.maxColumnWidth=h,n.minColumnWidth=g,n.columnWidthRatio=v,n.roseWidthRatio=y,n.multiplePieWidthRatio=m,n.zIndexReversed=b,n}return(0,i.__extends)(e,t),e.prototype.position=function(t){var e=t;(0,s.isPlainObject)(t)||(e={fields:(0,y.parseFields)(t)});var n=(0,s.get)(e,"fields");return 1===n.length&&(n.unshift("1"),(0,s.set)(e,"fields",n)),(0,s.set)(this.attributeOption,"position",e),this},e.prototype.color=function(t,e){return this.createAttrOption("color",t,e),this},e.prototype.shape=function(t,e){return this.createAttrOption("shape",t,e),this},e.prototype.size=function(t,e){return this.createAttrOption("size",t,e),this},e.prototype.adjust=function(t){var e=t;return((0,s.isString)(t)||(0,s.isPlainObject)(t))&&(e=[t]),(0,s.each)(e,function(t,n){(0,s.isObject)(t)||(e[n]={type:t})}),this.adjustOption=e,this},e.prototype.style=function(t,e){if((0,s.isString)(t)){var n=(0,y.parseFields)(t);this.styleOption={fields:n,callback:e}}else{var n=t.fields,r=t.callback,i=t.cfg;n||r||i?this.styleOption=t:this.styleOption={cfg:t}}return this},e.prototype.tooltip=function(t,e){if((0,s.isString)(t)){var n=(0,y.parseFields)(t);this.tooltipOption={fields:n,callback:e}}else this.tooltipOption=t;return this},e.prototype.animate=function(t){return this.animateOption=t,this},e.prototype.label=function(t,e,n){if((0,s.isString)(t)){var r={},i=(0,y.parseFields)(t);r.fields=i,(0,s.isFunction)(e)?r.callback=e:(0,s.isPlainObject)(e)&&(r.cfg=e),n&&(r.cfg=n),this.labelOption=r}else this.labelOption=t;return this},e.prototype.state=function(t){return this.stateOption=t,this},e.prototype.customInfo=function(t){return this.customOption=t,this},e.prototype.init=function(t){void 0===t&&(t={}),this.setCfg(t),this.initAttributes(),this.processData(this.data),this.adjustScale()},e.prototype.update=function(t){void 0===t&&(t={});var e=t.data,n=t.isDataChanged,r=t.isCoordinateChanged,i=this.attributeOption,a=this.lastAttributeOption;(0,s.isEqual)(i,a)?e&&(n||!(0,s.isEqual)(e,this.data))?(this.setCfg(t),this.initAttributes(),this.processData(e)):this.setCfg(t):this.init(t),this.adjustScale(),this.isCoordinateChanged=r},e.prototype.paint=function(t){void 0===t&&(t=!1),this.animateOption&&(this.animateOption=(0,s.deepMix)({},(0,l.getDefaultAnimateCfg)(this.type,this.coordinate),this.animateOption)),this.defaultSize=void 0,this.elementsMap={},this.elements=[],this.getOffscreenGroup().clear();var e=this.beforeMappingData,n=this.beforeMapping(e);this.dataArray=Array(n.length);for(var r=0;r=0?e:n<=0?n:0},e.prototype.createAttrOption=function(t,e,n){if((0,s.isNil)(e)||(0,s.isObject)(e))(0,s.isObject)(e)&&(0,s.isEqual)(Object.keys(e),["values"])?(0,s.set)(this.attributeOption,t,{fields:e.values}):(0,s.set)(this.attributeOption,t,e);else{var r={};(0,s.isNumber)(e)?r.values=[e]:r.fields=(0,y.parseFields)(e),n&&((0,s.isFunction)(n)?r.callback=n:r.values=n),(0,s.set)(this.attributeOption,t,r)}},e.prototype.initAttributes=function(){var t=this,e=this.attributes,n=this.attributeOption,a=this.theme,s=this.shapeType;this.groupScales=[];var l={},u=function(r){if(n.hasOwnProperty(r)){var u=n[r];if(!u)return{value:void 0};var f=(0,i.__assign)({},u),d=f.callback,p=f.values,h=f.fields,g=(void 0===h?[]:h).map(function(e){var n=t.scales[e];return n.isCategory&&!l[e]&&c.GROUP_ATTRS.includes(r)&&(t.groupScales.push(n),l[e]=!0),n});f.scales=g,"position"!==r&&1===g.length&&"identity"===g[0].type?f.values=g[0].values:d||p||("size"===r?f.values=a.sizes:"shape"===r?f.values=a.shapes[s]||[]:"color"===r&&(g.length?f.values=g[0].values.length<=10?a.colors10:a.colors20:f.values=a.colors10));var v=(0,o.getAttribute)(r);e[r]=new v(f)}};for(var f in n){var d=u(f);if("object"===(0,r.default)(d))return d.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales.filter(function(t){return t.isCategory}),n=this.groupData(t),r=[],i=0,a=n.length;ia&&(a=c)}var f=this.scaleDefs,d={};it.max&&!(0,s.get)(f,[r,"max"])&&(d.max=a),t.change(d)},e.prototype.beforeMapping=function(t){if(this.sortable&&this.sort(t),this.generatePoints)for(var e=0,n=t.length;e1)for(var d=0;d0||1===n?s[a]=r*o:s[a]=-(r*o*1),s},t.prototype.getLabelPoint=function(t,e,n){var r=this.getCoordinate(),a=t.content.length;function o(e,n,r){void 0===r&&(r=!1);var a=e;return(0,i.isArray)(a)&&(a=1===t.content.length?r?u(a):a.length<=2?a[e.length-1]:u(a):a[n]),a}var l={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},c=(0,i.isArray)(e.shape)?e.shape[0]:e.shape,f="funnel"===c||"pyramid"===c;if("polygon"===this.geometry.type){var d=(0,s.getPolygonCentroid)(e.x,e.y);l.x=d[0],l.y=d[1]}else"interval"!==this.geometry.type||f?(l.x=o(e.x,n),l.y=o(e.y,n)):(l.x=o(e.x,n,!0),l.y=o(e.y,n));if(f){var p=(0,i.get)(e,"nextPoints"),h=(0,i.get)(e,"points");if(p){var g=r.convert(h[1]),v=r.convert(p[1]);l.x=(g.x+v.x)/2,l.y=(g.y+v.y)/2}else if("pyramid"===c){var g=r.convert(h[1]),v=r.convert(h[2]);l.x=(g.x+v.x)/2,l.y=(g.y+v.y)/2}}t.position&&this.setLabelPosition(l,e,n,t.position);var y=this.getLabelOffsetPoint(t,n,a);return l.start={x:l.x,y:l.y},l.x+=y.x,l.y+=y.y,l.color=e.color,l},t.prototype.getLabelAlign=function(t,e,n){var r="center";if(this.getCoordinate().isTransposed){var i=t.offset;r=i<0?"right":0===i?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,r=e.getXScale(),i=e.getYScale(),o=t[a.FIELD_ORIGIN],s=e.getElementId(t);return"line"===n||"area"===n?s+=" "+o[r.field]:"path"===n&&(s+=" "+o[r.field]+"-"+o[i.field]),s},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,r=t.canvasRegion,a=t.animateOption,s=this.geometry.coordinate,u=this.labelsRenderer;return u||(u=new l.default({container:e,layout:(0,i.get)(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=u),u.region=r,u.animate=!!a&&(0,o.getDefaultAnimateCfg)("label",s),u},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,o=n.labelOption,s=n.scales,l=n.coordinate,u=o.fields,c=o.callback,f=o.cfg,d=u.map(function(t){return s[t]}),p=[];return(0,i.each)(t,function(t,n){var o,s=t[a.FIELD_ORIGIN],h=e.getLabelText(s,d);if(c){var g=u.map(function(t){return s[t]});if(o=c.apply(void 0,g),(0,i.isNil)(o)){p.push(null);return}}var v=(0,r.__assign)((0,r.__assign)({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:s,mappingData:t,coordinate:l},f),o);(0,i.isFunction)(v.position)&&(v.position=v.position(s,t,n));var y=e.getLabelOffset(v.offset||0),m=e.getDefaultLabelCfg(y,v.position);(v=(0,i.deepMix)({},m,v)).offset=e.getLabelOffset(v.offset||0);var b=v.content;(0,i.isFunction)(b)?v.content=b(s,t,n):(0,i.isUndefined)(b)&&(v.content=h[0]),p.push(v)}),p},t.prototype.getLabelText=function(t,e){var n=[];return(0,i.each)(e,function(e){var r=t[e.field];r=(0,i.isArray)(r)?r.map(function(t){return e.getText(t)}):e.getText(r),(0,i.isNil)(r)||""===r?n.push(null):n.push(r)}),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return(0,i.isNumber)(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return(0,i.each)(t.elementsMap,function(t,n){e[n]=t.shape}),(0,i.each)(t.getOffscreenGroup().getChildren(),function(n){e[t.getElementId(n.get("origin").mappingData)]=n}),e},t}();e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getConstraint=e.getShapeAttrs=void 0;var r=n(0),i=n(115),a=n(33),o=n(112);e.getShapeAttrs=function(t,e,n,s,l){for(var u=(0,a.getStyle)(t,e,!e,"lineWidth"),c=t.connectNulls,f=t.isInCircle,d=t.points,p=t.showSinglePoint,h=(0,i.getPathPoints)(d,c,p),g=[],v=0,y=h.length;v0&&(c[0][0]="L")),s=s.concat(c)}),s.push(["Z"])}return s}(m,f,n,s,l))}return u.path=g,u},e.getConstraint=function(t){var e=t.start,n=t.end;return[[e.x,n.y],[n.x,e.y]]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"each",{enumerable:!0,get:function(){return r.each}}),e.isAllowCapture=function(t){return t.cfg.visible&&t.cfg.capture},Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return r.isArray}}),e.isBrowser=void 0,Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return r.isFunction}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return r.isNil}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return r.isObject}}),e.isParent=function(t,e){if(t.isCanvas())return!0;for(var n=e.getParent(),r=!1;n;){if(n===t){r=!0;break}n=n.getParent()}return r},Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return r.mix}}),e.removeFromArray=function(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)},Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return r.upperFirst}});var r=n(0),i="undefined"!=typeof window&&void 0!==window.document;e.isBrowser=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=function(t,e){return(0,r.isString)(e)?e:t.invert(t.scale(e))},a=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n180||n<-180?n-360*Math.round(n/360):n):(0,i.default)(isNaN(t)?e:t)};var i=r(n(402));function a(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t;return n?a(t,n):(0,i.default)(isNaN(t)?e:t)}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(0)),a=n(250);function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}var s=function(){function t(t){var e=t.xField,n=t.yField,r=t.adjustNames,i=t.dimValuesMap;this.adjustNames=void 0===r?["x","y"]:r,this.xField=e,this.yField=n,this.dimValuesMap=i}return t.prototype.isAdjust=function(t){return this.adjustNames.indexOf(t)>=0},t.prototype.getAdjustRange=function(t,e,n){var r,i,a=this.yField,o=n.indexOf(e),s=n.length;return!a&&this.isAdjust("y")?(r=0,i=1):s>1?(r=n[0===o?0:o-1],i=n[o===s-1?s-1:o+1],0!==o?r+=(e-r)/2:r-=(i-e)/2,o!==s-1?i-=(i-e)/2:i+=(e-n[s-2])/2):(r=0===e?0:e-.5,i=0===e?1:e+.5),{pre:r,next:i}},t.prototype.adjustData=function(t,e){var n=this,r=this.getDimValues(e);i.each(t,function(t,e){i.each(r,function(r,i){n.adjustDim(i,r,t,e)})})},t.prototype.groupData=function(t,e){return i.each(t,function(t){void 0===t[e]&&(t[e]=a.DEFAULT_Y)}),i.groupBy(t,e)},t.prototype.adjustDim=function(t,e,n,r){},t.prototype.getDimValues=function(t){var e=this.xField,n=this.yField,r=i.assign({},this.dimValuesMap),o=[];return e&&this.isAdjust("x")&&o.push(e),n&&this.isAdjust("y")&&o.push(n),o.forEach(function(e){r&&r[e]||(r[e]=i.valuesOfKey(t,e).sort(function(t,e){return t-e}))}),!n&&this.isAdjust("y")&&(r.y=[a.DEFAULT_Y,1]),r},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMaxScale=e.getDefaultCategoryScaleRange=e.getName=e.syncScale=e.createScaleByField=void 0;var r=n(1),i=n(0),a=n(69),o=n(48),s=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;e.createScaleByField=function(t,e,n){var o,l,u=e||[];if((0,i.isNumber)(t)||(0,i.isNil)((0,i.firstValue)(u,t))&&(0,i.isEmpty)(n))return new((0,a.getScale)("identity"))({field:t.toString(),values:[t]});var c=(0,i.valuesOfKey)(u,t),f=(0,i.get)(n,"type",(o=c[0],l="linear",s.test(o)?l="timeCat":(0,i.isString)(o)&&(l="cat"),l));return new((0,a.getScale)(f))((0,r.__assign)({field:t,values:c},n))},e.syncScale=function(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}},e.getName=function(t){return t.alias||t.field},e.getDefaultCategoryScaleRange=function(t,e,n){var r,a=t.values.length;if(1===a)r=[.5,1];else{var s=0;r=(0,o.isFullCircle)(e)?e.isTransposed?[(s=1/a*(0,i.get)(n,"widthRatio.multiplePie",1/1.3))/2,1-s/2]:[0,1-1/a]:[s=1/a/2,1-s]}return r},e.getMaxScale=function(t){var e=t.values.filter(function(t){return!(0,i.isNil)(t)&&!isNaN(t)});return Math.max.apply(Math,(0,r.__spreadArray)((0,r.__spreadArray)([],e,!1),[(0,i.isNil)(t.max)?-1/0:t.max],!1))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPolarPath=e.convertNormalPath=e.getSplinePath=e.getLinePath=e.catmullRom2bezier=e.smoothBezier=void 0;var r=n(32),i=n(0),a=n(48);function o(t,e){for(var n=[t[0]],r=1,i=t.length;r=s[c]?1:0,p=f>Math.PI?1:0,h=n.convert(l),g=(0,a.getDistanceToCenter)(n,h);if(g>=.5){if(f===2*Math.PI){var v={x:(l.x+s.x)/2,y:(l.y+s.y)/2},y=n.convert(v);u.push(["A",g,g,0,p,d,y.x,y.y]),u.push(["A",g,g,0,p,d,h.x,h.y])}else u.push(["A",g,g,0,p,d,h.x,h.y])}return u}(r,l,t)):u.push(o(n,t));break;case"a":u.push(s(n,t));break;default:u.push(n)}}),n=u,(0,i.each)(n,function(t,e){if("a"===t[0].toLowerCase()){var r=n[e-1],i=n[e+1];i&&"a"===i[0].toLowerCase()?r&&"l"===r[0].toLowerCase()&&(r[0]="M"):r&&"a"===r[0].toLowerCase()&&i&&"l"===i[0].toLowerCase()&&(i[0]="M")}}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkShapeOverlap=e.getOverlapArea=e.getlLabelBackgroundInfo=e.findLabelTextShape=void 0;var r=n(0),i=n(114);function a(t,e,n){return void 0===n&&(n=0),Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n))*Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n))}e.findLabelTextShape=function(t){return t.find(function(t){return"text"===t.get("type")})},e.getlLabelBackgroundInfo=function(t,e,n){void 0===n&&(n=[0,0,0,0]);var a=t.getChildren()[0];if(a){var o=a.clone();(null==e?void 0:e.rotate)&&(0,i.rotate)(o,-e.rotate);var s=o.getCanvasBBox(),l=s.x,u=s.y,c=s.width,f=s.height;o.destroy();var d=n;return(0,r.isNil)(d)?d=[2,2,2,2]:(0,r.isNumber)(d)&&(d=[,,,,].fill(d)),{x:l-d[3],y:u-d[0],width:c+d[1]+d[3],height:f+d[0]+d[2],rotation:(null==e?void 0:e.rotate)||0}}},e.getOverlapArea=a,e.checkShapeOverlap=function(t,e){var n=t.getBBox();return(0,r.some)(e,function(t){return a(n,t.getBBox(),2)>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoom=e.getIdentityMatrix=e.rotate=e.getRotateMatrix=e.translate=e.transform=void 0;var r=n(32).ext.transform;function i(t,e){var n=t.attr(),i=n.x,a=n.y;return r(t.getMatrix(),[["t",-i,-a],["r",e],["t",i,a]])}e.transform=r,e.translate=function(t,e,n){var i=r(t.getMatrix(),[["t",e,n]]);t.setMatrix(i)},e.getRotateMatrix=i,e.rotate=function(t,e){var n=i(t,e);t.setMatrix(n)},e.getIdentityMatrix=function(){return[1,0,0,0,1,0,0,0,1]},e.zoom=function(t,e){var n=t.getBBox(),i=(n.minX+n.maxX)/2,a=(n.minY+n.maxY)/2;t.applyToMatrix([i,a,1]);var o=r(t.getMatrix(),[["t",-i,-a],["s",e,e],["t",i,a]]);t.setMatrix(o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSmoothViolinPath=e.getViolinPath=e.getPathPoints=void 0;var r=n(0),i=n(112);function a(t){return!t&&(null==t||isNaN(t))}function o(t){if((0,r.isArray)(t))return a(t[1].y);var e=t.y;return(0,r.isArray)(e)?a(e[0]):a(e)}e.getPathPoints=function(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!0),!t.length||1===t.length&&!n)return[];if(e){for(var r=[],i=0,a=t.length;i0&&(n=n.map(function(t,n){return e.forEach(function(r,i){t+=e[i][n]}),t})),n};var r=n(0);function i(t){if((0,r.isNumber)(t))return[t,t,t,t];if((0,r.isArray)(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pattern=function(t){var e=this;return function(n){var l,u=n.options,c=n.chart,f=u.pattern;return f?(0,s.deepAssign)({},n,{options:((l={})[t]=function(n){for(var l,d,p,h=[],g=1;g(0,i.get)(t.view.getOptions(),"tooltip.showDelay",16)){var o=this.location,s={x:e.x,y:e.y};o&&(0,i.isEqual)(o,s)||this.showTooltip(n,s),this.timeStamp=a,this.location=s}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,r=n.clientX,i=n.clientY;e.isCursorEntered({x:r,y:i})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}((0,r.__importDefault)(n(44)).default);e.default=a},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(325),h=n.n(p),g=n(39),v=n(8);n(278),Object(v.registerGeometry)("Area",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="area",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(329),h=n.n(p);n(281);var g=n(39);Object(n(8).registerGeometry)("Line",h.a);var v=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="line",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(330),h=n.n(p),g=n(39),v=n(8);n(470),n(471),n(472),Object(v.registerGeometry)("Point",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="point",t}return i()(r)}(g.a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLocale=e.registerLocale=void 0;var r=n(0),i=n(15),a=n(187),o={};e.registerLocale=function(t,e){o[t]=e},e.getLocale=function(t){return{get:function(e,n){return i.template(r.get(o[t],e)||r.get(o[a.GLOBAL.locale],e)||r.get(o["en-US"],e)||e,n)}}}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(4),i=n.n(r),a=n(133),o=n.n(a),s=n(3),l=n.n(s),u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ChartContainer",n=l.a.forwardRef(function(e,n){var r=Object(s.useRef)(),a=Object(s.useState)(!1),c=o()(a,2),f=c[0],d=c[1],p=e.className,h=e.containerStyle,g=u(e,["className","containerStyle"]);return Object(s.useEffect)(function(){d(!0)},[]),l.a.createElement("div",{ref:r,className:void 0===p?"bizcharts":p,style:i()({position:"relative",height:e.height||"100%",width:e.width||"100%"},h)},f?l.a.createElement(t,i()({ref:n,container:r.current},g)):l.a.createElement(l.a.Fragment,null))});return n.displayName=e||t.name,n}},function(t,e,n){"use strict";var r=n(1033),i=n(1034),a=n(481),o=n(1035);t.exports=function(t,e){return r(t)||i(t,e)||a(t,e)||o()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Area=void 0;var r=n(1),i=n(24),a=n(119),o=n(1125),s=n(1126),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField,s=this.chart,l=this.options;o.meta({chart:s,options:l}),this.chart.changeData(a.getDataWhetherPecentage(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Area=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(24),a=n(1132),o=n(1133);n(1134),n(1135);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(24),a=n(1139),o=n(1140),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(77),i=n.n(r),a=new RegExp("^on(.*)(?=(".concat(["mousedown","mouseup","dblclick","mouseenter","mouseout","mouseover","mousemove","mouseleave","contextmenu","click","show","hide","change"].map(function(t){return t.replace(/^\S/,function(t){return t.toUpperCase()})}).join("|"),"))")),o=function(t){var e=[];return i()(t,function(t,n){var r=n.match(/^on(.*)/);if(r){var i=n.match(a);if(i){var o=i[1].replace(/([A-Z])/g,"-$1").toLowerCase();(o=o.replace("column","interval"))?e.push([n,"".concat(o.replace("-",""),":").concat(i[2].toLowerCase())]):e.push([n,i[2].toLowerCase()])}else e.push([n,r[1].toLowerCase()])}}),e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(239)),a=r(n(68));e.default=function(t){if(!(0,i.default)(t)||!(0,a.default)(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;try{r=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(t){}finally{r=void 0===r?n:r}return r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=n(0),a=/rgba?\(([\s.,0-9]+)\)/,o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,s=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,l=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,u=function(){var t=document.createElement("i");return t.title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),t},c=function(t,e,n,r){return t[r]+(e[r]-t[r])*n};function f(t){return"#"+p(t[0])+p(t[1])+p(t[2])}var d=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},p=function(t){var e=Math.round(t).toString(16);return 1===e.length?"0"+e:e},h=function(t,e){var n=isNaN(Number(e))||e<0?0:e>1?1:Number(e),r=t.length-1,i=Math.floor(r*n),a=r*n-i,o=t[i],s=i===r?o:t[i+1];return f([c(o,s,a,0),c(o,s,a,1),c(o,s,a,2)])},g=function(t){if("#"===t[0]&&7===t.length)return t;r||(r=u()),r.style.color=t;var e=document.defaultView.getComputedStyle(r,"").getPropertyValue("color");return f(a.exec(e)[1].split(/\s*,\s*/).map(function(t){return Number(t)}))},v={rgb2arr:d,gradient:function(t){var e=(0,i.isString)(t)?t.split("-"):t,n=(0,i.map)(e,function(t){return d(-1===t.indexOf("#")?g(t):t)});return function(t){return h(n,t)}},toRGB:(0,i.memoize)(g),toCSSGradient:function(t){if(/^[r,R,L,l]{1}[\s]*\(/.test(t)){var e,n=void 0;if("l"===t[0]){var r=o.exec(t),a=+r[1]+90;n=r[2],e="linear-gradient("+a+"deg, "}else if("r"===t[0]){e="radial-gradient(";var r=s.exec(t);n=r[4]}var u=n.match(l);return(0,i.each)(u,function(t,n){var r=t.split(":");e+=r[1]+" "+100*r[0]+"%",n!==u.length-1&&(e+=", ")}),e+=")"}return t}};e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(425),a=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){(0,r.assign)(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return(0,r.map)(this.ticks,function(e,n){return(0,r.isObject)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return(0,r.isNil)(i)||!(0,r.isFunction)(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){(0,r.assign)(this,this.__cfg__),this.setDomain(),(0,r.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if((0,r.isString)(t)){var n=(0,i.getTickMethod)(t);if(!n)throw Error("There is no method to to calculate ticks!");e=n(this)}else(0,r.isFunction)(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return this.range[0]},t.prototype.rangeMax=function(){return this.range[1]},t.prototype.calcPercent=function(t,e,n){return(0,r.isNumber)(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsisLabel=function(t,e,n,o){void 0===o&&(o="tail");var s,l=null!==(s=e.attr("text"))&&void 0!==s?s:"";if("tail"===o){var u=(0,r.pick)(e.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),c=(0,r.getEllipsisText)(l,n,u,"…");return l!==c?(e.attr("text",c),e.set("tip",l),!0):(e.set("tip",null),!1)}var f=a(t,e),d=(0,i.strLen)(l),p=!1;if(n=0?(0,i.ellipsisString)(l,h,o):"…")&&(e.attr("text",g),p=!0)}return p?e.set("tip",l):e.set("tip",null),p},e.getLabelLength=a,e.getMaxLabelWidth=function(t){if(t.length>400)return function(t){for(var e=t.map(function(t){var e=t.attr("text");return(0,r.isNil)(e)?"":""+e}),n=0,i=0,a=0;a=19968&&l<=40869?o+=2:o+=1}o>n&&(n=o,i=a)}return t[i].getBBox().width}(t);var e=0;return(0,r.each)(t,function(t){var n=t.getBBox().width;eO?_:O,E=_>O?1:_/O,C=_>O?O/_:1;e.translate(b,x),e.rotate(A),e.scale(E,C),e.arc(0,0,w,P,M,1-S),e.scale(1/E,1/C),e.rotate(-A),e.translate(-b,-x)}break;case"Z":e.closePath()}if("Z"===h)u=c;else{var T=p.length;u=[p[T-2],p[T-1]]}}}},e.refreshElement=function(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),!(t.cfg.parent&&t.cfg.parent.get("hasChanged"))&&(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))},e.getRefreshRegion=f,e.getMergedRegion=function(t){if(!t.length)return null;var e=[],n=[],i=[],a=[];return r.each(t,function(t){var r=f(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),a.push(r.maxY))}),{minX:r.min(e),minY:r.min(n),maxX:r.max(i),maxY:r.max(a)}},e.mergeView=function(t,e){return t&&e&&o.intersectRect(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setClip=e.setTransform=e.setShadow=void 0;var r=n(72);e.setShadow=function(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var a=e.find("filter",i);a||(a=e.addShadow(i)),n.setAttribute("filter","url(#"+a+")")}else n.removeAttribute("filter")},e.setTransform=function(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);-1===(r=r.join(",")).indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}},e.setClip=function(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){r.createDom(n),n.createPath(e);var a=e.addClip(n);i.setAttribute("clip-path","url(#"+a+")")}}else i.removeAttribute("clip-path")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerSymbols=void 0,e.MarkerSymbols={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return h.default}});var i=r(n(73)),a=r(n(952)),o=r(n(953)),s=r(n(954)),l=r(n(955)),u=r(n(956)),c=r(n(957)),f=r(n(959)),d=r(n(960)),p=r(n(961)),h=r(n(964))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.applyAttrsToContext=function(t,e){var n=e.attr();for(var r in n){var i=n[r],s=f[r]?f[r]:r;"matrix"===s&&i?t.transform(i[0],i[1],i[3],i[4],i[6],i[7]):"lineDash"===s&&t.setLineDash?(0,a.isArray)(i)&&t.setLineDash(i):("strokeStyle"===s||"fillStyle"===s?i=(0,o.parseStyle)(t,e,i):"globalAlpha"===s&&(i*=t.globalAlpha),t[s]=i)}},e.checkChildrenRefresh=d,e.checkRefresh=function(t,e,n){var r=t.get("refreshElements");(0,a.each)(r,function(e){if(e!==t)for(var n=e.cfg.parent;n&&n!==t&&!n.cfg.refresh;)n.cfg.refresh=!0,n=n.cfg.parent}),r[0]===t?p(e,n):d(e,n)},e.clearChanged=function t(e){for(var n=0;nO?_:O,E=_>O?1:_/O,C=_>O?O/_:1;e.translate(b,x),e.rotate(A),e.scale(E,C),e.arc(0,0,w,P,M,1-S),e.scale(1/E,1/C),e.rotate(-A),e.translate(-b,-x)}break;case"Z":e.closePath()}if("Z"===h)l=c;else{var T=p.length;l=[p[T-2],p[T-1]]}}}},e.getMergedRegion=function(t){if(!t.length)return null;var e=[],n=[],r=[],i=[];return(0,a.each)(t,function(t){var a=h(t);a&&(e.push(a.minX),n.push(a.minY),r.push(a.maxX),i.push(a.maxY))}),{minX:(0,a.min)(e),minY:(0,a.min)(n),maxX:(0,a.max)(r),maxY:(0,a.max)(i)}},e.getRefreshRegion=h,e.mergeView=function(t,e){return t&&e&&(0,l.intersectRect)(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null},e.refreshElement=function(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),!(t.cfg.parent&&t.cfg.parent.get("hasChanged"))&&(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))};var a=n(0),o=n(453),s=r(n(454)),l=n(53),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function d(t,e){for(var n=0;ne&&(n=n?e/(1+i/n):0,i=e-n),a+o>e&&(a=a?e/(1+o/a):0,o=e-a),[n||0,i||0,a||0,o||0]}e.getRectPoints=function(t){var e,n,i,a,o=t.x,s=t.y,l=t.y0,u=t.size;(0,r.isArray)(s)?(e=s[0],n=s[1]):(e=l,n=s),(0,r.isArray)(o)?(i=o[0],a=o[1]):(i=o-u/2,a=o+u/2);var c=[{x:i,y:e},{x:i,y:n}];return c.push({x:a,y:n},{x:a,y:e}),c},e.getRectPath=a,e.parseRadius=o,e.getBackgroundRectPath=function(t,e,n){var a=[];if(n.isRect){var s=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},l=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},u=(0,r.get)(t,["background","style","radius"]);if(u){var c=o(u,Math.min(n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,n.isTransposed?n.getWidth():n.getHeight())),f=c[0],d=c[1],p=c[2],h=c[3];a.push(["M",s.x,l.y+f]),0!==f&&a.push(["A",f,f,0,0,1,s.x+f,l.y]),a.push(["L",l.x-d,l.y]),0!==d&&a.push(["A",d,d,0,0,1,l.x,l.y+d]),a.push(["L",l.x,s.y-p]),0!==p&&a.push(["A",p,p,0,0,1,l.x-p,s.y]),a.push(["L",s.x+h,s.y]),0!==h&&a.push(["A",h,h,0,0,1,s.x,s.y-h])}else a.push(["M",s.x,s.y]),a.push(["L",l.x,s.y]),a.push(["L",l.x,l.y]),a.push(["L",s.x,l.y]),a.push(["L",s.x,s.y]);a.push(["z"])}if(n.isPolar){var g=n.getCenter(),v=(0,i.getAngle)(t,n),y=v.startAngle,m=v.endAngle;if("theta"===n.type||n.isTransposed){var b=function(t){return Math.pow(t,2)},f=Math.sqrt(b(g.x-e[0].x)+b(g.y-e[0].y)),d=Math.sqrt(b(g.x-e[2].x)+b(g.y-e[2].y));a=(0,i.getSectorPath)(g.x,g.y,f,n.startAngle,n.endAngle,d)}else a=(0,i.getSectorPath)(g.x,g.y,n.getRadius(),y,m)}return a},e.getIntervalRectPath=function(t,e,n){var r=n.getWidth(),i=n.getHeight(),o="rect"===n.type,s=[],l=(t[2].x-t[1].x)/2,u=n.isTransposed?l*i/r:l*r/i;return"round"===e?(o?(s.push(["M",t[0].x,t[0].y+u]),s.push(["L",t[1].x,t[1].y-u]),s.push(["A",l,l,0,0,1,t[2].x,t[2].y-u]),s.push(["L",t[3].x,t[3].y+u]),s.push(["A",l,l,0,0,1,t[0].x,t[0].y+u])):(s.push(["M",t[0].x,t[0].y]),s.push(["L",t[1].x,t[1].y]),s.push(["A",l,l,0,0,1,t[2].x,t[2].y]),s.push(["L",t[3].x,t[3].y]),s.push(["A",l,l,0,0,1,t[0].x,t[0].y])),s.push(["z"])):s=a(t),s},e.getFunnelPath=function(t,e,n){var i=[];return(0,r.isNil)(e)?n?i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",(t[2].x+t[3].x)/2,(t[2].y+t[3].y)/2],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[3].x,t[3].y],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i},e.getRectWithCornerRadius=function(t,e,n){var r,i,a,s,l=t[0],u=t[1],c=t[2],f=t[3],d=0,p=0,h=0,g=0;l.yt[1].x?(f=t[0],l=t[1],u=t[2],c=t[3],d=(a=o(n,Math.min(f.x-l.x,l.y-u.y)))[0],g=a[1],h=a[2],p=a[3]):(p=(s=o(n,Math.min(f.x-l.x,l.y-u.y)))[0],h=s[1],g=s[2],d=s[3]));var v=[];return v.push(["M",u.x,u.y+d]),0!==d&&v.push(["A",d,d,0,0,1,u.x+d,u.y]),v.push(["L",c.x-p,c.y]),0!==p&&v.push(["A",p,p,0,0,1,c.x,c.y+p]),v.push(["L",f.x,f.y-h]),0!==h&&v.push(["A",h,h,0,0,1,f.x-h,f.y]),v.push(["L",l.x+g,l.y]),0!==g&&v.push(["A",g,g,0,0,1,l.x,l.y-g]),v.push(["L",u.x,u.y+d]),v.push(["z"]),v}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=n(31),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return(0,r.__extends)(e,t),e.prototype.getTriggerListInfo=function(){var t=(0,s.getDelegationObject)(this.context),e=null;return(0,s.isList)(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=(0,o.getComponents)(e),r=[];return(0,i.each)(n,function(e){e.isList()&&t.allowSetStateByElement(e)&&r.push(e)}),r},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();(0,i.each)(e,function(e){e.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var r=this.context.view,i=(0,s.getScaleByField)(r,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;return!n.length||0===n.filter(function(n){return e.hasState(t,n)}).length},e.prototype.setStateByElement=function(t,e,n){var r=t.get("field"),i=this.context.view,a=(0,s.getScaleByField)(i,r),o=(0,s.getElementValue)(e,r),l=a.getText(o);this.setItemsState(t,l,n)},e.prototype.setStateEnable=function(t){var e=this,n=(0,s.getCurrentElement)(this.context);if(n){var r=this.getAllowComponents();(0,i.each)(r,function(r){e.setStateByElement(r,n,t)})}else{var a=(0,s.getDelegationObject)(this.context);if((0,s.isList)(a)){var o=a.item,l=a.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(o,l)&&this.setItemState(l,o,t)}}},e.prototype.setItemsState=function(t,e,n){var r=this,a=t.getItems();(0,i.each)(a,function(i){i.name===e&&r.setItemState(t,i,n)})},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=this.hasState(e,n);this.setItemState(e,n,!r)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizeObservers=void 0,e.resizeObservers=[]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pattern=void 0;var r=n(1),i=n(14),a=n(0),o=n(1070),s=n(15);e.pattern=function(t){var e=this;return function(n){var l,u=n.options,c=n.chart,f=u.pattern;return f?s.deepAssign({},n,{options:((l={})[t]=function(n){for(var l,d,p,h=[],g=1;g
',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},e.DEFAULT_TOOLTIP_OPTIONS),animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,u=t.value&&(r-e)/t.value;++s
',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o={appendPadding:2,tooltip:(0,r.__assign)({},a),animation:{}};e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NODE_INDEX_FIELD=e.NODE_ANCESTORS_FIELD=e.CHILD_NODE_COUNT=void 0,e.getAllNodes=function(t){var e,n,s=[];return t&&t.each?t.each(function(t){t.parent!==e?(e=t.parent,n=0):n+=1;var l,u,c=(0,r.filter)(((null===(l=t.ancestors)||void 0===l?void 0:l.call(t))||[]).map(function(t){return s.find(function(e){return e.name===t.name})||t}),function(e){var n=e.depth;return n>0&&n0?"left":"right");break;case"left":t.x=l,t.y=(a+s)/2,t.textAlign=(0,i.get)(t,"textAlign",h>0?"left":"right");break;case"bottom":c&&(t.x=(o+l)/2),t.y=s,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline",h>0?"bottom":"top");break;case"middle":c&&(t.x=(o+l)/2),t.y=(a+s)/2,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline","middle");break;case"top":c&&(t.x=(o+l)/2),t.y=a,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline",h>0?"bottom":"top")}},e}((0,r.__importDefault)(n(100)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(48),o=n(46),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return(0,r.__extends)(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var r=t.prototype.getDefaultLabelCfg.call(this,e,n);return(0,i.deepMix)({},r,(0,i.get)(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var r;return e<0&&((r=t)>Math.PI/2&&(r-=Math.PI),r<-Math.PI/2&&(r+=Math.PI)),r},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate().getCenter();return e=t.angle<=Math.PI/2&&t.x>=n.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),r={x:(0,i.isArray)(t.x)?t.x[0]:t.x,y:t.y[0]},o={x:(0,i.isArray)(t.x)?t.x[1]:t.x,y:t.y[1]},s=(0,a.getAngleByPoint)(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=s;else{var l=(0,a.getAngleByPoint)(n,o);s>=l&&(l+=2*Math.PI),e=s+(l-s)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),i=n.getCenter(),a=n.getRadius()+e;return(0,r.__assign)((0,r.__assign)({},(0,o.polarToCartesian)(i.x,i.y,a,t)),{angle:t,r:a})},e}((0,r.__importDefault)(n(214)).default);e.default=s},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(50),l=n.n(s),u=n(623),c=n.n(u),f=n(61),d=n.n(f),p=function(t){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return l()(t)||o.a.isValidElement(t)?{visible:!0,text:t}:c()(t)?{visible:t}:d()(t)?i()({visible:!0},t):{visible:e}}},function(t,e,n){"use strict";n.d(e,"b",function(){return _});var r=n(12),i=n.n(r),a=n(13),o=n.n(a),s=n(5),l=n.n(s),u=n(9),c=n.n(u),f=n(10),d=n.n(f),p=n(203),h=n(127),g=n.n(h),v=n(0),y=n(8),m={},b=function(){function t(e){c()(this,t),this.cfg={shared:!0},this.chartMap={},this.state={},this.id=Object(v.uniqueId)("bx-action"),this.type=e||"tooltip"}return d()(t,[{key:"connect",value:function(t,e,n){return this.chartMap[t]={chart:e,pointFinder:n},e.interaction("connect-".concat(this.type,"-").concat(this.id)),"tooltip"===this.type&&this.cfg.shared&&void 0===Object(v.get)(e,["options","tooltip","shared"])&&Object(v.set)(e,["options","tooltip","shared"],!0),this}},{key:"unConnect",value:function(t){this.chartMap[t].chart.removeInteraction("connect-".concat(this.type,"-").concat(this.id)),delete this.chartMap[t]}},{key:"destroy",value:function(){Object(p.unregisterAction)("connect-".concat(this.type,"-").concat(this.id))}}]),t}(),x=function(){var t=new b("tooltip");return Object(y.registerAction)("connect-tooltip-".concat(t.id),function(e){i()(a,e);var n,r=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=l()(a);if(n){var r=l()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return o()(this,t)});function a(){var e;return c()(this,a),e=r.apply(this,arguments),e.CM=t,e}return d()(a,[{key:"showTooltip",value:function(t,e){var n=t.getTooltipItems(e)||e;Object(v.forIn)(this.CM.chartMap,function(t){var r=t.chart,i=t.pointFinder;if(!r.destroyed&&r.visible){if(i){var a=i(n,r);a&&r.showTooltip(a)}else r.showTooltip(e)}})}},{key:"hideTooltip",value:function(){Object(v.forIn)(this.CM.chartMap,function(t){return t.chart.hideTooltip()})}}]),a}(g.a)),Object(y.registerInteraction)("connect-tooltip-".concat(t.id),{start:[{trigger:"plot:mousemove",action:"connect-tooltip-".concat(t.id,":show")}],end:[{trigger:"plot:mouseleave",action:"connect-tooltip-".concat(t.id,":hide")}]}),t},_=function(t,e,n,r,i){var a=m[t];if(null===n&&a){a.unConnect(e);return}a?a.connect(e,n,i):(m[t]=x(),m[t].cfg.shared=!!r,m[t].connect(e,n,i))};e.a=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.growInXY=e.growInY=e.growInX=void 0;var r=n(951);e.growInX=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"x")},e.growInY=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"y")},e.growInXY=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"xy")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(23),i=n(1054);e.default=function(t){for(var e=[],n=1;n0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t},e.random=function(t,e){e=e||1;var n=2*a.RANDOM()*Math.PI,r=2*a.RANDOM()-1,i=Math.sqrt(1-r*r)*e;return t[0]=Math.cos(n)*i,t[1]=Math.sin(n)*i,t[2]=r*e,t},e.rotateX=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0],a[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),a[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.rotateY=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),a[1]=i[1],a[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.rotateZ=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),a[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),a[2]=i[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},e.set=function(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=p,e.squaredLength=h,e.str=function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},e.sub=void 0,e.subtract=u,e.transformMat3=function(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t},e.transformQuat=function(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],s=e[0],l=e[1],u=e[2],c=i*u-a*l,f=a*s-r*u,d=r*l-i*s,p=i*d-a*f,h=a*c-r*d,g=r*f-i*c,v=2*o;return c*=v,f*=v,d*=v,p*=2,h*=2,g*=2,t[0]=s+c+p,t[1]=l+f+h,t[2]=u+d+g,t},e.zero=function(t){return t[0]=0,t[1]=0,t[2]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(3);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function l(t){return Math.hypot(t[0],t[1],t[2])}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function d(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2])}function p(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function h(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function g(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}e.sub=u,e.mul=c,e.div=f,e.dist=d,e.sqrDist=p,e.len=l,e.sqrLen=h;var v=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=3),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;s(n-t)*(n-t)+(r-e)*(r-e)?(0,i.distance)(n,r,a,o):this.pointToLine(t,e,n,r,a,o)},pointToLine:function(t,e,n,r,i,o){var s=[n-t,r-e];if(a.exactEquals(s,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var l=[-s[1],s[0]];return a.normalize(l,l),Math.abs(a.dot([i-t,o-e],l))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.YEAR=e.SECOND=e.MONTH=e.MINUTE=e.HOUR=e.DAY=void 0,e.getTickInterval=function(t,e,n){var r=(0,s.default)(function(t){return t[1]})(p,(e-t)/n)-1,i=p[r];return r<0?i=p[0]:r>=p.length&&(i=(0,a.last)(p)),i},e.timeFormat=function(t,e){return(o[u]||o.default[u])(t,e)},e.toTimeStamp=function(t){return(0,a.isString)(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),(0,a.isDate)(t)&&(t=t.getTime()),t};var a=n(0),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(828)),s=r(n(829));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u="format";e.SECOND=1e3,e.MINUTE=6e4;e.HOUR=36e5;var c=864e5;e.DAY=c;var f=31*c;e.MONTH=f;var d=365*c;e.YEAR=d;var p=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",36e5],["HH",216e5],["HH",432e5],["YYYY-MM-DD",c],["YYYY-MM-DD",4*c],["YYYY-WW",7*c],["YYYY-MM",f],["YYYY-MM",4*f],["YYYY-MM",6*f],["YYYY",380*c]]},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return(0,i.__extends)(e,t),e.prototype.scale=function(t){if((0,a.isNil)(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=(0,a.head)(e),r=(0,a.last)(e);nthis.max&&(this.max=r),(0,a.isNil)(this.minLimit)||(this.min=n),(0,a.isNil)(this.maxLimit)||(this.max=r)},e.prototype.setDomain=function(){var t=(0,a.getRange)(this.values),e=t.min,n=t.max;(0,a.isNil)(this.min)&&(this.min=e),(0,a.isNil)(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=(0,a.filter)(n,function(t){return t>=e.min&&t<=e.max})),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calBase=function(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)},e.getLogPositiveMin=function(t,e,n){(0,r.isNil)(n)&&(n=Math.max.apply(null,t));var i=n;return(0,r.each)(t,function(t){t>0&&t1&&(i=1),i},e.log=function(t,e){return 1===t?1:Math.log(e)/Math.log(t)},e.precisionAdd=function(t,e){var n=Math.pow(10,Math.max(i(t),i(e)));return(t*n+e*n)/n};var r=n(0);function i(t){var e=t.toString().split(/[eE]/),n=(e[0].split(".")[1]||"").length-+(e[1]||0);return n>0?n:0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=n(32),a=n(0),o=function(){function t(t){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var e=t.start,n=t.end,i=t.matrix,a=void 0===i?[1,0,0,0,1,0,0,0,1]:i,o=t.isTransposed;this.start=e,this.end=n,this.matrix=a,this.originalMatrix=(0,r.__spreadArray)([],a),this.isTransposed=void 0!==o&&o}return t.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},t.prototype.update=function(t){(0,a.assign)(this,t),this.initial()},t.prototype.convertDim=function(t,e){var n,r=this[e],i=r.start,a=r.end;return this.isReflect(e)&&(i=(n=[a,i])[0],a=n[1]),i+t*(a-i)},t.prototype.invertDim=function(t,e){var n,r=this[e],i=r.start,a=r.end;return this.isReflect(e)&&(i=(n=[a,i])[0],a=n[1]),(t-i)/(a-i)},t.prototype.applyMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,a=[t,e,n];return i.vec3.transformMat3(a,a,r),a},t.prototype.invertMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,a=i.mat3.invert([0,0,0,0,0,0,0,0,0],r),o=[t,e,n];return a&&i.vec3.transformMat3(o,o,a),o},t.prototype.convert=function(t){var e=this.convertPoint(t),n=e.x,r=e.y,i=this.applyMatrix(n,r,1);return{x:i[0],y:i[1]}},t.prototype.invert=function(t){var e=this.invertMatrix(t.x,t.y,1);return this.invertPoint({x:e[0],y:e[1]})},t.prototype.rotate=function(t){var e=this.matrix,n=this.center;return i.ext.leftTranslate(e,e,[-n.x,-n.y]),i.ext.leftRotate(e,e,t),i.ext.leftTranslate(e,e,[n.x,n.y]),this},t.prototype.reflect=function(t){return"x"===t?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},t.prototype.scale=function(t,e){var n=this.matrix,r=this.center;return i.ext.leftTranslate(n,n,[-r.x,-r.y]),i.ext.leftScale(n,n,[t,e]),i.ext.leftTranslate(n,n,[r.x,r.y]),this},t.prototype.translate=function(t,e){var n=this.matrix;return i.ext.leftTranslate(n,n,[t,e]),this},t.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},t.prototype.getCenter=function(){return this.center},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRadius=function(){return this.radius},t.prototype.isReflect=function(t){return"x"===t?this.isReflectX:this.isReflectY},t.prototype.resetMatrix=function(t){this.matrix=t||(0,r.__spreadArray)([],this.originalMatrix)},t}();e.default=o},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0});var a={Annotation:!0,Axis:!0,Crosshair:!0,Grid:!0,Legend:!0,Tooltip:!0,Component:!0,GroupComponent:!0,HtmlComponent:!0,Slider:!0,Scrollbar:!0,propagationDelegate:!0,TOOLTIP_CSS_CONST:!0};e.Axis=e.Annotation=void 0,Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return d.default}}),e.Grid=e.Crosshair=void 0,Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return h.default}}),e.Legend=void 0,Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return v.Scrollbar}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return g.Slider}}),e.Tooltip=e.TOOLTIP_CSS_CONST=void 0,Object.defineProperty(e,"propagationDelegate",{enumerable:!0,get:function(){return b.propagationDelegate}});var o=O(n(854));e.Annotation=o;var s=O(n(866));e.Axis=s;var l=O(n(872));e.Crosshair=l;var u=O(n(877));e.Grid=u;var c=O(n(880));e.Legend=c;var f=O(n(883));e.Tooltip=f;var d=r(n(254)),p=r(n(41)),h=r(n(181)),g=n(887),v=n(894),y=n(896);Object.keys(y).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===y[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))});var m=n(897);Object.keys(m).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}}))});var b=n(432),x=O(n(259));function _(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(_=function(t){return t?n:e})(t)}function O(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=_(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}e.TOOLTIP_CSS_CONST=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderTag=function(t,e){var n=e.x,l=e.y,u=e.content,c=e.style,f=e.id,d=e.name,p=e.rotate,h=e.maxLength,g=e.autoEllipsis,v=e.isVertical,y=e.ellipsisPosition,m=e.background,b=t.addGroup({id:f+"-group",name:d+"-group",attrs:{x:n,y:l}}),x=b.addShape({type:"text",id:f,name:d,attrs:(0,r.__assign)({x:0,y:0,text:u},c)}),_=(0,s.formatPadding)((0,i.get)(m,"padding",0));if(h&&g){var O=h-(_[1]+_[3]);(0,a.ellipsisLabel)(!v,x,O,y)}if(m){var P=(0,i.get)(m,"style",{}),M=x.getCanvasBBox(),A=M.minX,S=M.minY,w=M.width,E=M.height;b.addShape("rect",{id:f+"-bg",name:f+"-bg",attrs:(0,r.__assign)({x:A-_[3],y:S-_[0],width:w+_[1]+_[3],height:E+_[0]+_[2]},P)}).toBack()}(0,o.applyTranslate)(b,n,l),(0,o.applyRotate)(b,p,n,l)};var r=n(1),i=n(0),a=n(142),o=n(90),s=n(42)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(96),o=n(0),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{container:null,containerTpl:"
",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return(0,s.createBBox)(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");(0,s.clearDom)(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if((0,o.isNil)(t)){t=this.createDom();var e=this.get("parent");(0,o.isString)(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else(0,o.isString)(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?(0,o.deepMix)({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&(0,s.hasClass)(e,n)){var r=t[n];(0,a.modifyCSS)(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){(0,o.each)(e,function(e,n){var r=t.getElementsByClassName(n);(0,o.each)(r,function(t){(0,a.modifyCSS)(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");(0,a.modifyCSS)(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return(0,a.createDom)(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){(0,o.hasKey)(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(r(n(254)).default);e.default=l},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.addEndArrow=e.addStartArrow=e.getShortenOffset=void 0;var i=n(1),a=n(143),o=Math.sin,s=Math.cos,l=Math.atan2,u=Math.PI;function c(t,e,n,r,i,c,f){var d=e.stroke,p=e.lineWidth,h=l(r-c,n-i),g=new a.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*s(u/6)+","+10*o(u/6)+" L0,0 L"+10*s(u/6)+",-"+10*o(u/6),stroke:d,lineWidth:p}});g.translate(i,c),g.rotateAtPoint(i,c,h),t.set(f?"startArrowShape":"endArrowShape",g)}function f(t,e,n,r,u,c,f){var d=e.startArrow,p=e.endArrow,h=e.stroke,g=e.lineWidth,v=f?d:p,y=v.d,m=v.fill,b=v.stroke,x=v.lineWidth,_=i.__rest(v,["d","fill","stroke","lineWidth"]),O=l(r-c,n-u);y&&(u-=s(O)*y,c-=o(O)*y);var P=new a.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:i.__assign(i.__assign({},_),{stroke:b||h,lineWidth:x||g,fill:m})});P.translate(u,c),P.rotateAtPoint(u,c,O),t.set(f?"startArrowShape":"endArrowShape",P)}e.getShortenOffset=function(t,e,n,r,i){var a=l(r-e,n-t);return{dx:s(a)*i,dy:o(a)*i}},e.addStartArrow=function(t,e,n,i,a,o){"object"===(0,r.default)(e.startArrow)?f(t,e,n,i,a,o,!0):e.startArrow?c(t,e,n,i,a,o,!0):t.set("startArrowShape",null)},e.addEndArrow=function(t,e,n,i,a,o){"object"===(0,r.default)(e.endArrow)?f(t,e,n,i,a,o,!1):e.endArrow?c(t,e,n,i,a,o,!1):t.set("startArrowShape",null)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(38);e.default=function(t,e,n,i,a,o,s){var l=Math.min(t,n),u=Math.max(t,n),c=Math.min(e,i),f=Math.max(e,i),d=a/2;return o>=l-d&&o<=u+d&&s>=c-d&&s<=f+d&&r.Line.pointToLine(t,e,n,i,o,s)<=a/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62);Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return r.default}});var i=n(915);Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return i.default}});var a=n(916);Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return a.default}});var o=n(917);Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return o.default}});var s=n(918);Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return s.default}});var l=n(919);Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}});var u=n(920);Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return u.default}});var c=n(922);Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c.default}});var f=n(923);Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return f.default}});var d=n(924);Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return d.default}});var p=n(925);Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return p.default}});var h=n(927);Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return h.default}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getActionClass=e.registerAction=e.createAction=e.Action=void 0;var r=n(44);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return(r&&r.__esModule?r:{default:r}).default}});var i=n(203);Object.defineProperty(e,"createAction",{enumerable:!0,get:function(){return i.createAction}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return i.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return i.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findItemsFromViewRecurisive=e.findItemsFromView=e.getTooltipItems=e.findDataByPoint=void 0;var r=n(1),i=n(0),a=n(21),o=n(111);function s(t,e,n){var r=n.translate(t),a=n.translate(e);return(0,i.isNumberEqual)(r,a)}function l(t,e,n){var r=n.coordinate,o=n.getYScale(),s=o.field,l=r.invert(e),u=o.invert(l.y);return(0,i.find)(t,function(t){var e=t[a.FIELD_ORIGIN];return e[s][0]<=u&&e[s][1]>=u})||t[t.length-1]}var u=(0,i.memoize)(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,a=0;ai&&(i=s)}return(i-r)/(n-1)});function c(t){for(var e,n,r=(e=(0,i.values)(t.attributes),(0,i.filter)(e,function(t){return(0,i.contains)(a.GROUP_ATTRS,t.type)})),o=0;o(1+f)/2&&(p=d),o.translate(o.invert(p))),I=E[a.FIELD_ORIGIN][y],j=E[a.FIELD_ORIGIN][m],F=C[a.FIELD_ORIGIN][y],L=v.isLinear&&(0,i.isArray)(j);if((0,i.isArray)(I)){for(var M=0;M=T){if(L)(0,i.isArray)(b)||(b=[]),b.push(D);else{b=D;break}}}(0,i.isArray)(b)&&(b=l(b,t,n))}else{var k=void 0;if(g.isLinear||"timeCat"===g.type){if((T>g.translate(F)||Tg.max||TMath.abs(g.translate(k[a.FIELD_ORIGIN][y])-T)&&(C=k)}var V=u(n.getXScale());return!b&&Math.abs(g.translate(C[a.FIELD_ORIGIN][y])-T)<=V/2&&(b=C),b}function d(t,e,n,s){void 0===n&&(n=""),void 0===s&&(s=!1);var l,u,f,d,p,h,g,v,y,m=t[a.FIELD_ORIGIN],b=(l=n,u=e.getAttribute("position").getFields(),p=(d=e.scales[f=(0,i.isFunction)(l)||!l?u[0]:l])?d.getText(m[f]):m[f]||f,(0,i.isFunction)(l)?l(p,m):p),x=e.tooltipOption,_=e.theme.defaultColor,O=[];function P(e,n){if(s||!(0,i.isNil)(n)&&""!==n){var r={title:b,data:m,mappingData:t,name:e,value:n,color:t.color||_,marker:!0};O.push(r)}}if((0,i.isObject)(x)){var M=x.fields,A=x.callback;if(A){var S=M.map(function(e){return t[a.FIELD_ORIGIN][e]}),w=A.apply(void 0,S),E=(0,r.__assign)({data:t[a.FIELD_ORIGIN],mappingData:t,title:b,color:t.color||_,marker:!0},w);O.push(E)}else for(var C=e.scales,T=0;T=l-d&&o<=u+d&&s>=c-d&&s<=f+d&&r.Line.pointToLine(t,e,n,i,o,s)<=a/2};var r=n(38)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return g.default}});var i=r(n(63)),a=r(n(967)),o=r(n(968)),s=r(n(969)),l=r(n(970)),u=r(n(971)),c=r(n(972)),f=r(n(974)),d=r(n(975)),p=r(n(976)),h=r(n(977)),g=r(n(979))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.freeze=void 0,e.freeze=function(t){return Object.freeze(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSVG=e.isReplacedElement=e.isHidden=e.isElement=void 0;var r=function(t){return t instanceof SVGElement&&"getBBox"in t};e.isSVG=r,e.isHidden=function(t){if(r(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var a=t.offsetWidth,o=t.offsetHeight;return!(a||o||t.getClientRects().length)},e.isElement=function(t){if(t instanceof Element)return!0;var e,n=null===(e=null==t?void 0:t.ownerDocument)||void 0===e?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},e.isReplacedElement=function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cluster",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"hierarchy",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"pack",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"packEnclose",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"packSiblings",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"partition",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"stratify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"tree",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"treemap",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"treemapBinary",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"treemapDice",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"treemapResquarify",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"treemapSlice",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"treemapSliceDice",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"treemapSquarify",{enumerable:!0,get:function(){return y.default}});var i=r(n(1092)),a=r(n(297)),o=r(n(1108)),s=r(n(515)),l=r(n(517)),u=r(n(1109)),c=r(n(1110)),f=r(n(1111)),d=r(n(1112)),p=r(n(1113)),h=r(n(155)),g=r(n(194)),v=r(n(1114)),y=r(n(299)),m=r(n(1115))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,u=t.value&&(i-n)/t.value;++s=0}),a=n.every(function(t){return 0>=(0,i.get)(t,[e])});return r?{min:0}:a?{max:0}:{}},e.processIllegalData=function(t,e){var n=(0,i.filter)(t,function(t){var n=t[e];return null===n||"number"==typeof n&&!isNaN(n)});return(0,a.log)(a.LEVEL.WARN,n.length===t.length,"illegal data existed in chart data."),n},e.transformDataToNodeLinkData=function(t,e,n,i,a){if(void 0===a&&(a=[]),!Array.isArray(t))return{nodes:[],links:[]};var s=[],l={},u=-1;return t.forEach(function(t){var c=t[e],f=t[n],d=t[i],p=(0,o.pick)(t,a);l[c]||(l[c]=(0,r.__assign)({id:++u,name:c},p)),l[f]||(l[f]=(0,r.__assign)({id:++u,name:f},p)),s.push((0,r.__assign)({source:l[c].id,target:l[f].id,value:d},p))}),{nodes:Object.values(l).sort(function(t,e){return t.id-e.id}),links:s}};var r=n(1),i=n(0),a=n(539),o=n(538)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return(0,f.flow)(p,a.theme,(0,u.pattern)("columnStyle"),a.state,h,g,v,y,b,a.slider,a.scrollbar,m,c.brushInteraction,a.interaction,a.animation,(0,a.annotation)(),(0,o.conversionTag)(n.yField,!e,!!r),(0,s.connectedArea)(!n.isStack),a.limitInPlot)(t)},e.legend=y,e.meta=g;var r=n(1),i=n(0),a=n(22),o=n(1196),s=n(1197),l=n(30),u=n(122),c=n(552),f=n(7),d=n(123);function p(t){var e=t.options,n=e.legend,i=e.seriesField,a=e.isStack;return i?!1!==n&&(n=(0,r.__assign)({position:a?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function h(t){var e=t.chart,n=t.options,i=n.data,a=n.columnStyle,o=n.color,s=n.columnWidthRatio,u=n.isPercent,c=n.isGroup,p=n.isStack,h=n.xField,g=n.yField,v=n.seriesField,y=n.groupField,m=n.tooltip,b=n.shape,x=u&&c&&p?(0,d.getDeepPercent)(i,g,[h,y],g):(0,d.getDataWhetherPecentage)(i,g,h,g,u),_=[];p&&v&&!c?x.forEach(function(t){var e=_.find(function(e){return e[h]===t[h]&&e[v]===t[v]});e?e[g]+=t[g]||0:_.push((0,r.__assign)({},t))}):_=x,e.data(_);var O=u?(0,r.__assign)({formatter:function(t){return{name:c&&p?t[v]+" - "+t[y]:t[v]||t[h],value:(100*Number(t[g])).toFixed(2)+"%"}}},m):m,P=(0,f.deepAssign)({},t,{options:{data:_,widthRatio:s,tooltip:O,interval:{shape:b,style:a,color:o}}});return(0,l.interval)(P),P}function g(t){var e,n,i=t.options,o=i.xAxis,s=i.yAxis,l=i.xField,u=i.yField,c=i.data,d=i.isPercent;return(0,f.flow)((0,a.scale)(((e={})[l]=o,e[u]=s,e),((n={})[l]={type:"cat"},n[u]=(0,r.__assign)((0,r.__assign)({},(0,f.adjustYMetaByZero)(c,u)),d?{max:1,min:0,minLimit:0,maxLimit:1}:{}),n)))(t)}function v(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function y(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function m(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,o=n.isRange,s=(0,f.findGeometry)(e,"interval");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:(null==u?void 0:u.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,f.transformLabel)(o?(0,r.__assign)({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},u):u))})}else s.label(!1);return t}function b(t){var e=t.chart,n=t.options,a=n.tooltip,o=n.isGroup,s=n.isStack,l=n.groupField,u=n.data,c=n.xField,d=n.yField,p=n.seriesField;if(!1===a)e.tooltip(!1);else{var h=a;if(o&&s){var g=(null==h?void 0:h.formatter)||function(t){return{name:t[p]+" - "+t[l],value:t[d]}};h=(0,r.__assign)((0,r.__assign)({},h),{customItems:function(t){var e=[];return(0,i.each)(t,function(t){(0,i.filter)(u,function(e){return(0,i.isMatch)(e,(0,f.pick)(t.data,[c,p]))}).forEach(function(n){e.push((0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{value:n[d],data:n,mappingData:{_origin:n}}),g(n)))})}),e}})}e.tooltip(h)}return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,i.flow)((0,r.pattern)("areaStyle"),u,c,r.tooltip,r.theme,r.animation,(0,r.annotation)())(t)},e.meta=c;var r=n(22),i=n(7),a=n(30),o=n(156),s=n(124),l=n(197);function u(t){var e=t.chart,n=t.options,r=n.data,l=n.color,u=n.areaStyle,c=n.point,f=n.line,d=null==c?void 0:c.state,p=(0,s.getTinyData)(r);e.data(p);var h=(0,i.deepAssign)({},t,{options:{xField:o.X_FIELD,yField:o.Y_FIELD,area:{color:l,style:u},line:f,point:c}}),g=(0,i.deepAssign)({},h,{options:{tooltip:!1}}),v=(0,i.deepAssign)({},h,{options:{tooltip:!1,state:d}});return(0,a.area)(h),(0,a.line)(g),(0,a.point)(v),e.axis(!1),e.legend(!1),t}function c(t){var e,n,a=t.options,u=a.xAxis,c=a.yAxis,f=a.data,d=(0,s.getTinyData)(f);return(0,i.flow)((0,r.scale)(((e={})[o.X_FIELD]=u,e[o.Y_FIELD]=c,e),((n={})[o.X_FIELD]={type:"cat"},n[o.Y_FIELD]=(0,l.adjustYMetaByZero)(d,o.Y_FIELD),n)))(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PATH_FIELD=e.ID_FIELD=e.DEFAULT_OPTIONS=void 0,e.ID_FIELD="id",e.PATH_FIELD="path",e.DEFAULT_OPTIONS={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(t){return{name:t.id,value:t.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PADDING_TOP=e.HIERARCHY_DATA_TRANSFORM_PARAMS=e.DrillDownAction=e.DEFAULT_BREAD_CRUMB_CONFIG=e.BREAD_CRUMB_NAME=void 0;var r=n(1),i=n(14),a=n(0),o=n(541);e.PADDING_TOP=5;var s="drilldown-bread-crumb";e.BREAD_CRUMB_NAME=s;var l={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}};e.DEFAULT_BREAD_CRUMB_CONFIG=l;var u="hierarchy-data-transform-params";e.HIERARCHY_DATA_TRANSFORM_PARAMS=u;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.name="drill-down",e.historyCache=[],e.breadCrumbGroup=null,e.breadCrumbCfg=l,e}return(0,r.__extends)(e,t),e.prototype.click=function(){var t=(0,a.get)(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),e=this.breadCrumbGroup,n=e.getBBox(),r=this.getButtonCfg().position,a={x:t.start.x,y:t.end.y-(n.height+10)};t.isPolar&&(a={x:0,y:0}),"bottom-left"===r&&(a={x:t.start.x,y:t.start.y});var o=i.Util.transform(null,[["t",a.x+0,a.y+n.height+5]]);e.setMatrix(o)}},e.prototype.back=function(){(0,a.size)(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var e=this.context.view,n=(0,a.get)(e,["interactions","drill-down","cfg","transformData"],function(t){return t}),i=n((0,r.__assign)({data:t.data},t[u]));e.changeData(i);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:l.name+"_"+s.height+"_"+s.depth,name:l.name,children:n((0,r.__assign)({data:l},t[u]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(t&&!(t.length<=0)){var e=this.context.view,n=(0,a.last)(t).children;e.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,a.get)(t,["interactions","drill-down","cfg","drillDownConfig"]);return(0,o.deepAssign)(this.breadCrumbCfg,null==e?void 0:e.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,e=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:s});var i=0;n.forEach(function(o,l){var u=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:s+"_"+o.name+"_text",attrs:(0,r.__assign)((0,r.__assign)({text:0!==l||(0,a.isNil)(e.rootText)?o.name:e.rootText},e.textStyle),{x:i,y:0})}),c=u.getBBox();if(i+=c.width+4,u.on("click",function(e){var r,i=e.target.get("id");if(i!==(null===(r=(0,a.last)(n))||void 0===r?void 0:r.id)){var o=n.slice(0,n.findIndex(function(t){return t.id===i})+1);t.backTo(o)}}),u.on("mouseenter",function(t){var r;t.target.get("id")!==(null===(r=(0,a.last)(n))||void 0===r?void 0:r.id)?u.attr(e.activeTextStyle):u.attr({cursor:"default"})}),u.on("mouseleave",function(){u.attr(e.textStyle)}),l=0;r--)t.removeChild(e[r])},e.hasClass=function(t,e){return!!t.className.match(RegExp("(\\s|^)"+e+"(\\s|$)"))},e.regionToBBox=function(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),a=Math.max(e.x,n.x),o=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.pointsToBBox=function(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),a=Math.max.apply(Math,e),o=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.createBBox=i,e.getValueByPercent=a,e.getCirclePoint=function(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}},e.distance=o,e.wait=function(t){return new Promise(function(e){setTimeout(e,t)})},e.near=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)0?r.each(d,function(e){if(e.get("visible")){if(e.isGroup()&&0===e.get("children").length)return!0;var n=t(e),r=e.applyToMatrix([n.minX,n.minY,1]),i=e.applyToMatrix([n.minX,n.maxY,1]),a=e.applyToMatrix([n.maxX,n.minY,1]),o=e.applyToMatrix([n.maxX,n.maxY,1]),s=Math.min(r[0],i[0],a[0],o[0]),d=Math.max(r[0],i[0],a[0],o[0]),p=Math.min(r[1],i[1],a[1],o[1]),h=Math.max(r[1],i[1],a[1],o[1]);su&&(u=d),pf&&(f=h)}}):(l=0,u=0,c=0,f=0),n=i(l,c,u-l,f-c)}else n=e.getBBox();return o?s(n,o):n},e.updateClip=function(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(!n){t.setClip(null);return}var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}},e.toPx=function(t){return t+"px"},e.getTextPoint=function(t,e,n,r){var i=r/o(t,e),s=0;return"start"===n?s=0-i:"end"===n&&(s=1+i),{x:a(t.x,e.x,s),y:a(t.y,e.y,s)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCallbackAction=e.unregisterAction=e.registerAction=e.getActionClass=e.createAction=void 0;var r=(0,n(1).__importDefault)(n(937)),i=n(0),a={};e.createAction=function(t,e){var n=a[t],r=null;if(n){var i=n.ActionClass,o=n.cfg;(r=new i(e,o)).name=t,r.init()}return r},e.getActionClass=function(t){var e=a[t];return(0,i.get)(e,"ActionClass")},e.registerAction=function(t,e,n){a[t]={ActionClass:e,cfg:n}},e.unregisterAction=function(t){delete a[t]},e.createCallbackAction=function(t,e){var n=new r.default(e);return n.callback=t,n.name="callback",n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(69),o=n(48),s=n(46),l=n(186),u=n(80),c=n(104),f=(0,r.__importDefault)(n(268)),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"tooltip"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.isVisible=function(){return!1!==this.view.getOptions().tooltip},e.prototype.render=function(){},e.prototype.showTooltip=function(t){if(this.point=t,this.isVisible()){var e=this.view,n=this.getTooltipItems(t);if(!n.length){this.hideTooltip();return}var a=this.getTitle(n),o={x:n[0].x,y:n[0].y};e.emit("tooltip:show",f.default.fromData(e,"tooltip:show",(0,r.__assign)({items:n,title:a},t)));var s=this.getTooltipCfg(),l=s.follow,u=s.showMarkers,c=s.showCrosshairs,d=s.showContent,p=s.marker,h=this.items,g=this.title;if((0,i.isEqual)(g,a)&&(0,i.isEqual)(h,n)?(this.tooltip&&l&&(this.tooltip.update(t),this.tooltip.show()),this.tooltipMarkersGroup&&this.tooltipMarkersGroup.show()):(e.emit("tooltip:change",f.default.fromData(e,"tooltip:change",(0,r.__assign)({items:n,title:a},t))),((0,i.isFunction)(d)?d(n):d)&&(this.tooltip||this.renderTooltip(),this.tooltip.update((0,i.mix)({},s,{items:this.getItemsAfterProcess(n),title:a},l?t:{})),this.tooltip.show()),u&&this.renderTooltipMarkers(n,p)),this.items=n,this.title=a,c){var v=(0,i.get)(s,["crosshairs","follow"],!1);this.renderCrosshairs(v?t:o,s)}}},e.prototype.hideTooltip=function(){if(!this.getTooltipCfg().follow){this.point=null;return}var t=this.tooltipMarkersGroup;t&&t.hide();var e=this.xCrosshair,n=this.yCrosshair;e&&e.hide(),n&&n.hide();var r=this.tooltip;r&&r.hide(),this.view.emit("tooltip:hide",f.default.fromData(this.view,"tooltip:hide",{})),this.point=null},e.prototype.lockTooltip=function(){this.isLocked=!0,this.tooltip&&this.tooltip.setCapture(!0)},e.prototype.unlockTooltip=function(){this.isLocked=!1;var t=this.getTooltipCfg();this.tooltip&&this.tooltip.setCapture(t.capture)},e.prototype.isTooltipLocked=function(){return this.isLocked},e.prototype.clear=function(){var t=this.tooltip,e=this.xCrosshair,n=this.yCrosshair,r=this.tooltipMarkersGroup;t&&(t.hide(),t.clear()),e&&e.clear(),n&&n.clear(),r&&r.clear(),(null==t?void 0:t.get("customContent"))&&(this.tooltip.destroy(),this.tooltip=null),this.title=null,this.items=null},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),this.xCrosshair&&this.xCrosshair.destroy(),this.yCrosshair&&this.yCrosshair.destroy(),this.guideGroup&&this.guideGroup.remove(!0),this.reset()},e.prototype.reset=function(){this.items=null,this.title=null,this.tooltipMarkersGroup=null,this.tooltipCrosshairsGroup=null,this.xCrosshair=null,this.yCrosshair=null,this.tooltip=null,this.guideGroup=null,this.isLocked=!1,this.point=null},e.prototype.changeVisible=function(t){if(this.visible!==t){var e=this.tooltip,n=this.tooltipMarkersGroup,r=this.xCrosshair,i=this.yCrosshair;t?(e&&e.show(),n&&n.show(),r&&r.show(),i&&i.show()):(e&&e.hide(),n&&n.hide(),r&&r.hide(),i&&i.hide()),this.visible=t}},e.prototype.getTooltipItems=function(t){var e=this.findItemsFromView(this.view,t);if(e.length){e=(0,i.flatten)(e);for(var n=0,r=e;n1){for(var f=e[0],d=Math.abs(t.y-f[0].y),p=0,h=e;p'+r+"":r}})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),i=new a.HtmlTooltip((0,r.__assign)((0,r.__assign)({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),i=0;i0&&(r*=1-e.innerRadius),n=.01*parseFloat(t)*r}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),a=this.geometry.getYScale();return(0,i.map)(n,function(t){if(t&&a){var e=a.scale((0,i.get)(t.data,a.field));return(0,r.__assign)((0,r.__assign)({},t),{percent:e})}return t})},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=t.offset;e=1>Math.abs(t.x-r.x)?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var r,i=1,a=t.content[n];this.isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(i=-1),r=this.getArcPoint(e,n));var o=t.offset*i,s=this.getPointAngle(r),l=t.labelEmit,u=this.getCirclePoint(s,o,r,l);return 0===u.r?u.content="":(u.content=a,u.angle=s,u.color=e.color),u.rotate=t.autoRotate?this.getLabelRotate(s,o,l):t.rotate,u.start={x:r.x,y:r.y},u},e.prototype.getArcPoint=function(t,e){return(void 0===e&&(e=0),(0,i.isArray)(t.x)||(0,i.isArray)(t.y))?{x:(0,i.isArray)(t.x)?t.x[e]:t.x,y:(0,i.isArray)(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return(0,o.getAngleByPoint)(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,i){var o=this.getCoordinate(),s=o.getCenter(),l=(0,a.getDistanceToCenter)(o,n);if(0===l)return(0,r.__assign)((0,r.__assign)({},s),{r:l});var u=t;return o.isTransposed&&l>e&&!i?u=t+2*Math.asin(e/(2*l)):l+=e,{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,e,n){var r=t+l;return n&&(r-=l),r&&(r>l?r-=Math.PI:r<-l&&(r+=Math.PI)),r},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,r={x:0,y:0};return(0,i.each)(t,function(t){r.x+=t.x,r.y+=t.y}),r.x/=n,r.y/=n,r=e.convert(r)},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(s.default);e.default=u},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(45),i=n.n(r),a=n(4),o=n.n(a),s=n(37),l=n.n(s),u=n(28),c=n.n(u),f=n(40),d=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function p(t){var e=t.type,n=t.transpose,r=t.rotate,a=t.scale,s=t.reflect,u=t.actions,p=d(t,["type","transpose","rotate","scale","reflect","actions"]),h=Object(f.a)(),g=h.coordinate();return g.update({}),e?h.coordinate(e,o()({},p)):h.coordinate("rect",o()({},p)),r&&g.rotate(r),a&&g.scale.apply(g,i()(a)),l()(s)||g.reflect(s),n&&g.transpose(),c()(u)&&u(g),null}},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(326),h=n.n(p),g=n(39),v=n(8);n(461),Object(v.registerGeometry)("Edge",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="edge",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(327),h=n.n(p),g=n(39);Object(n(8).registerGeometry)("Heatmap",h.a);var v=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="heatmap",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return _});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(328),h=n.n(p),g=n(163),v=n.n(g),y=n(164),m=n.n(y),b=n(39),x=n(8);n(465),n(466),n(467),n(468),n(469),Object(x.registerGeometry)("Interval",h.a),Object(x.registerGeometryLabel)("interval",v.a),Object(x.registerGeometryLabel)("pie",m.a),Object(x.registerInteraction)("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});var _=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.interactionTypes=["active-region","element-highlight"],t.GemoBaseClassName="interval",t}return i()(r)}(b.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(331),h=n.n(p),g=n(39),v=n(8);n(462),n(475),Object(v.registerGeometry)("Polygon",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="polygon",t}return i()(r)}(g.a)},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(101);n(276),n(278);var l=n(61),u=n.n(l),c=n(168),f=n.n(c),d=n(18),p=n.n(d),h=n(20),g=n.n(h),v=n(8),y=n(60),m=n(40),b=n(81),x=n(129),_=n(130),O=n(128),P=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},M={default:{style:{fill:"#5B8FF9",fillOpacity:.25,stroke:null}},active:{style:{fillOpacity:.5}},inactive:{style:{fillOpacity:.4}},selected:{style:{fillOpacity:.5}}};Object(v.registerShape)("area","gradient",{draw:function(t,e){var n=Object(s.getShapeAttrs)(t,!1,!1,this),r=n.fill,i=y.color(r);return i&&(n.fill="l (90) 0:".concat(y.rgb(i.r,i.g,i.b,1).formatRgb()," 1:").concat(y.rgb(i.r,i.g,i.b,.1).formatRgb())),e.addShape({type:"path",attrs:n,name:"area"})}}),Object(v.registerShape)("area","gradient-smooth",{draw:function(t,e){var n=this.coordinate,r=Object(s.getShapeAttrs)(t,!1,!0,this,Object(s.getConstraint)(n)),i=r.fill,a=y.color(i);return a&&(r.fill="l (90) 0:".concat(y.rgb(a.r,a.g,a.b,1).formatRgb()," 1:").concat(y.rgb(a.r,a.g,a.b,.1).formatRgb())),e.addShape({type:"path",attrs:r,name:"area"})}}),e.a=function(t){var e=t.point,n=t.area,r=t.shape,a=P(t,["point","area","shape"]),s={shape:"circle"},l=Object(b.a)(),c=Object(m.a)(),d={shape:"smooth"===r?"gradient-smooth":"gradient"},h=c.getTheme();return h.geometries.area.gradient=M,h.geometries.area["gradient-smooth"]=M,!1!==p()(l,["options","tooltip"])&&(void 0===p()(c,["options","tooltip","shared"])&&g()(c,["options","tooltip","shared"],!0),void 0===p()(c,["options","tooltip","showCrosshairs"])&&g()(c,["options","tooltip","showCrosshairs"],!0),void 0===p()(c,["options","tooltip","showMarkers"])&&g()(c,["options","tooltip","showMarkers"],!0)),u()(s)&&f()(s,e),u()(d)&&f()(d,n),o.a.createElement(o.a.Fragment,null,o.a.createElement(x.a,i()({shape:r,state:{default:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:2}},active:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:5}}}},a)),!!n&&o.a.createElement(O.a,i()({},a,{tooltip:!1},d)),!!e&&o.a.createElement(_.a,i()({size:3},a,{state:{active:{style:{stroke:"#fff",lineWidth:1.5,strokeOpacity:.9}}},tooltip:!1},s)))}},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fadeOut=e.fadeIn=void 0;var r=n(0);e.fadeIn=function(t,e,n){var i={fillOpacity:(0,r.isNil)(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:(0,r.isNil)(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:(0,r.isNil)(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(i,e)},e.fadeOut=function(t,e,n){var r=e.easing,i=e.duration,a=e.delay;t.animate({fillOpacity:0,strokeOpacity:0,opacity:0},i,r,function(){t.remove(!0)},a)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scaleInY=e.scaleInX=void 0;var r=n(32);e.scaleInX=function(t,e,n){var i=t.getBBox(),a=t.get("origin").mappingData.points,o=a[0].y-a[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;t.applyToMatrix([o,s,1]);var l=r.ext.transform(t.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);t.setMatrix(l),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)},e.scaleInY=function(t,e,n){var i=t.getBBox(),a=t.get("origin").mappingData,o=(i.minX+i.maxX)/2,s=a.points,l=s[0].y-s[1].y<=0?i.maxY:i.minY;t.applyToMatrix([o,l,1]);var u=r.ext.transform(t.getMatrix(),[["t",-o,-l],["s",1,.01],["t",o,l]]);t.setMatrix(u),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-o,-l],["s",1,100],["t",o,l]])},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoomOut=e.zoomIn=void 0;var r=n(1),i=n(32),a=n(0);function o(t,e,n){if(t.isGroup())(0,a.each)(t.getChildren(),function(t){o(t,e,n)});else{var s=t.getBBox(),l=(s.minX+s.maxX)/2,u=(s.minY+s.maxY)/2;if(t.applyToMatrix([l,u,1]),"zoomIn"===n){var c=i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",.01,.01],["t",l,u]]);t.setMatrix(c),t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",100,100],["t",l,u]])},e)}else t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",.01,.01],["t",l,u]])},(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t.remove(!0)}}))}}e.zoomIn=function(t,e,n){o(t,e,"zoomIn")},e.zoomOut=function(t,e,n){o(t,e,"zoomOut")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.overlap=e.fixedOverlap=void 0;var r=n(0),i=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=t.yGap;this.xGap=void 0===e?1:e,this.yGap=void 0===n?8:n}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.round(t.minX),i=Math.round(t.maxX),a=Math.round(t.minY),o=Math.round(t.maxY),s=r;s<=i;s+=1){if(!n[s]){n[s]={};continue}if(s===r||s===i){for(var l=a;l<=o;l++)if(n[s][l]){e=!1;break}}else if(n[s][a]||n[s][o]){e=!1;break}}return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),r=Math.round(t.maxX),i=Math.round(t.minY),a=Math.round(t.maxY),o=n;o<=r;o+=1)e[o]||(e[o]={});for(var o=n;o<=r;o+=this.xGap){for(var s=i;s<=a;s+=this.yGap)e[o][s]=!0;e[o][a]=!0}if(1!==this.yGap)for(var o=i;o<=a;o+=1)e[n][o]=!0,e[r][o]=!0;if(1!==this.xGap)for(var o=n;o<=r;o+=1)e[o][i]=!0,e[o][a]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();e.fixedOverlap=function(t,e,n,a){var o=new i;(0,r.each)(e,function(t){!function(t,e,n){void 0===n&&(n=100);var r,i=t.attr(),a=i.x,o=i.y,s=t.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u=1,c=0,f=0;if(e.hasGap(s))return e.fillGap(s),!0;for(var d=!1,p=0,h={};Math.min(Math.abs(c),Math.abs(f))=0},e)},e}(l.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(1014),o=(0,r.__importDefault)(n(151)),s="inactive",l="active",u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=l,e.ignoreItemStates=["unchecked"],e}return(0,r.__extends)(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,function(t){return t.name===e},n)},e.prototype.setItemState=function(t,e,n){t.getItems(),this.setHighlightBy(t,function(t){return t===e},n)},e.prototype.setHighlightBy=function(t,e,n){var r=t.getItems();if(n)(0,i.each)(r,function(n){e(n)?(t.hasState(n,s)&&t.setItemState(n,s,!1),t.setItemState(n,l,!0)):t.hasState(n,l)||t.setItemState(n,s,!0)});else{var a=t.getItemsByState(l),o=!0;(0,i.each)(a,function(t){if(!e(t))return o=!1,!1}),o?this.clear():(0,i.each)(r,function(n){e(n)&&(t.hasState(n,l)&&t.setItemState(n,l,!1),t.setItemState(n,s,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)(0,a.clearList)(t.list);else{var e=this.getAllowComponents();(0,i.each)(e,function(t){t.clearItemsState(l),t.clearItemsState(s)})}},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,a)},e),o&&t.apply(i,a)}}},function(t,e,n){"use strict";t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";e.a=function(t){if(0===t.length)return 0;for(var e,n=t[0],r=0,i=1;i=Math.abs(t[i])?r+=n-e+t[i]:r+=t[i]-e+n,n=e;return n+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ResizeObserver",{enumerable:!0,get:function(){return r.ResizeObserver}}),Object.defineProperty(e,"ResizeObserverEntry",{enumerable:!0,get:function(){return i.ResizeObserverEntry}}),Object.defineProperty(e,"ResizeObserverSize",{enumerable:!0,get:function(){return a.ResizeObserverSize}});var r=n(1039),i=n(483),a=n(485)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var r=n(1),i=n(24),a=n(512),o=n(1087);n(1088);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options;a.meta({chart:e,options:n}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Line=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pie=void 0;var r=n(1),i=n(14),a=n(24),o=n(15),s=n(1128),l=n(525),u=n(526);n(527);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return r.__extends(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=o.processIllegalData(e.data,n),a=o.processIllegalData(t,n);u.isAllZero(r,n)||u.isAllZero(a,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(a),s.pieAnnotation({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.Pie=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scatter=void 0;var r=n(1),i=n(14),a=n(24),o=n(15),s=n(1154),l=n(1156);n(1157);var u=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="scatter",a.on(i.VIEW_LIFE_CIRCLE.BEFORE_RENDER,function(t){var e,n,o=a.options,l=a.chart;if((null===(e=t.data)||void 0===e?void 0:e.source)===i.BRUSH_FILTER_EVENTS.FILTER){var u=a.chart.filterData(a.chart.getData());s.meta({chart:l,options:r.__assign(r.__assign({},o),{data:u})})}(null===(n=t.data)||void 0===n?void 0:n.source)===i.BRUSH_FILTER_EVENTS.RESET&&s.meta({chart:l,options:o})}),a}return r.__extends(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption(s.transformOptions(o.deepAssign({},this.options,{data:t})));var e=this.options,n=this.chart;s.meta({chart:n,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Scatter=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.getArcParams=e.Shape=e.Group=e.Canvas=void 0;var r=n(1),i=n(143);e.Shape=i,r.__exportStar(n(26),e);var a=n(913);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return a.default}});var o=n(260);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return o.default}});var s=n(438);Object.defineProperty(e,"getArcParams",{enumerable:!0,get:function(){return s.default}}),e.version="0.5.12"},function(t,e,n){"use strict";var r,i=n(2)(n(6)),a=SyntaxError,o=Function,s=TypeError,l=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var c=function(){throw new s},f=u?function(){try{return arguments.callee,c}catch(t){try{return u(arguments,"callee").get}catch(t){return c}}}():c,d=n(650)(),p=Object.getPrototypeOf||function(t){return t.__proto__},h={},g="undefined"==typeof Uint8Array?r:p(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":("undefined"==typeof JSON?"undefined":(0,i.default)(JSON))==="object"?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?p(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%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?p(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":g,"%TypeError%":s,"%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%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},y=function t(e){var n;if("%AsyncFunction%"===e)n=l("async function () {}");else if("%GeneratorFunction%"===e)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=l("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(n=p(i.prototype))}return v[e]=n,n},m={"%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"]},b=n(237),x=n(652),_=b.call(Function.call,Array.prototype.concat),O=b.call(Function.apply,Array.prototype.splice),P=b.call(Function.call,String.prototype.replace),M=b.call(Function.call,String.prototype.slice),A=b.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,w=/\\(\\)?/g,E=function(t){var e=M(t,0,1),n=M(t,-1);if("%"===e&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return P(t,S,function(t,e,n,i){r[r.length]=n?P(i,w,"$1"):e||t}),r},C=function(t,e){var n,r=t;if(x(m,r)&&(r="%"+(n=m[r])[0]+"%"),x(v,r)){var i=v[r];if(i===h&&(i=y(r)),void 0===i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,t))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=E(t),r=n.length>0?n[0]:"",i=C("%"+r+"%",e),o=i.name,l=i.value,c=!1,f=i.alias;f&&(r=f[0],O(n,_([0,1],f)));for(var d=1,p=!0;d=n.length){var m=u(l,h);l=(p=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:l[h]}else p=x(l,h),l=l[h];p&&!c&&(v[o]=l)}}return l}},function(t,e,n){"use strict";var r=n(651);t.exports=Function.prototype.bind||r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56));e.default=function(t,e){return!!(0,i.default)(t)&&t.indexOf(e)>-1}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(6));e.default=function(t){return"object"===(0,i.default)(t)&&null!==t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(107)),a=r(n(57)),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return(0,i.default)(t,function(n,r){(0,a.default)(t)&&"prototype"===r||e.push(n)}),e};e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){return e&&r(t,e),n&&r(t,n),i&&r(t,i),t}},function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.SearchBotDeviceInfo=e.ReactNativeInfo=e.NodeInfo=e.BrowserInfo=e.BotInfo=void 0,e.browserName=function(t){var e=f(t);return e?e[0]:null},e.detect=function(t){return t?d(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new s:"undefined"!=typeof navigator?d(navigator.userAgent):h()},e.detectOS=p,e.getNodeVersion=h,e.parseUserAgent=d;var n=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,a=e.length;i=0&&e._call.call(null,t),e=e._next;--s}function x(){f=(c=p.now())+d,s=l=0;try{b()}finally{s=0,function(){for(var t,e,n=i,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:i=e);a=t,O(r)}(),f=0}}function _(){var t=p.now(),e=t-c;e>1e3&&(d-=e,c=t)}function O(t){!s&&(l&&(l=clearTimeout(l)),t-f>24?(t<1/0&&(l=setTimeout(x,t-p.now()-d)),u&&(u=clearInterval(u))):(u||(c=p.now(),u=setInterval(_,1e3)),s=1,h(x)))}y.prototype=m.prototype={constructor:y,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?g():+n)+(null==e?0:+e),this._next||a===this||(a?a._next=this:i=this,a=this),this._call=t,this._time=n,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.Color=o,e.Rgb=A,e.darker=e.brighter=void 0,e.default=x,e.hsl=F,e.hslConvert=j,e.rgb=M,e.rgbConvert=P;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(246));function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}function o(){}e.darker=.7,e.brighter=1.4285714285714286;var s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\(".concat(s,",").concat(s,",").concat(s,"\\)$")),d=new RegExp("^rgb\\(".concat(u,",").concat(u,",").concat(u,"\\)$")),p=new RegExp("^rgba\\(".concat(s,",").concat(s,",").concat(s,",").concat(l,"\\)$")),h=new RegExp("^rgba\\(".concat(u,",").concat(u,",").concat(u,",").concat(l,"\\)$")),g=new RegExp("^hsl\\(".concat(l,",").concat(u,",").concat(u,"\\)$")),v=new RegExp("^hsla\\(".concat(l,",").concat(u,",").concat(u,",").concat(l,"\\)$")),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=c.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?_(e):3===n?new A(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?O(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?O(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new A(e[1],e[2],e[3],1):(e=d.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?O(e[1],e[2],e[3],e[4]):(e=h.exec(t))?O(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?I(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?I(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?_(y[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function _(t){return new A(t>>16&255,t>>8&255,255&t,1)}function O(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function P(t){return(t instanceof o||(t=x(t)),t)?(t=t.rgb(),new A(t.r,t.g,t.b,t.opacity)):new A}function M(t,e,n,r){return 1==arguments.length?P(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function S(){return"#".concat(T(this.r)).concat(T(this.g)).concat(T(this.b))}function w(){var t=E(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(C(this.r),", ").concat(C(this.g),", ").concat(C(this.b)).concat(1===t?")":", ".concat(t,")"))}function E(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function C(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function T(t){return((t=C(t))<16?"0":"")+t.toString(16)}function I(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new L(t,e,n,r)}function j(t){if(t instanceof L)return new L(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=x(t)),!t)return new L;if(t instanceof L)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,l=a-i,u=(a+i)/2;return l?(s=e===a?(n-r)/l+(n0&&u<1?0:s,new L(s,l,u,t.opacity)}function F(t,e,n,r){return 1==arguments.length?j(t):new L(t,e,n,null==r?1:r)}function L(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function D(t){return(t=(t||0)%360)<0?t+360:t}function k(t){return Math.max(0,Math.min(1,t||0))}function R(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}(0,i.default)(o,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return j(this).formatHsl()},formatRgb:b,toString:b}),(0,i.default)(A,M,(0,i.extend)(o,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new A(C(this.r),C(this.g),C(this.b),E(this.opacity))},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatHex8:function(){return"#".concat(T(this.r)).concat(T(this.g)).concat(T(this.b)).concat(T((isNaN(this.opacity)?1:this.opacity)*255))},formatRgb:w,toString:w})),(0,i.default)(L,F,(0,i.extend)(o,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new L(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new L(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new A(R(t>=240?t-240:t+120,i,r),R(t,i,r),R(t<120?t+240:t-120,i,r),this.opacity)},clamp:function(){return new L(D(this.h),k(this.s),k(this.l),E(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=E(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(D(this.h),", ").concat(100*k(this.s),"%, ").concat(100*k(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t},e.extend=function(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}},function(t,e,n){"use strict";function r(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}Object.defineProperty(e,"__esModule",{value:!0}),e.basis=r,e.default=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),a=t[i],o=t[i+1],s=i>0?t[i-1]:2*a-o,l=id&&(d=(i=[f,d])[0],f=i[1]),c<=2)return[f,d];for(var p=(d-f)/(c-1),h=[],g=0;g0?e="start":t[0]<0&&(e="end"),e},e.prototype.getTextBaseline=function(t){var e;return(0,o.isNumberEqual)(t[1],0)?e="middle":t[1]>0?e="top":t[1]<0&&(e="bottom"),e},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var e=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:(0,o.mix)({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],r=this.get("tickLine"),i=r.alignTick,a=r.length,s=1;return t.length>=2&&(s=t[1].value-t[0].value),(0,o.each)(t,function(t){var r=t.point;i||(r=e.getTickPoint(t.value-s/2));var o=e.getSidePoint(r,a);n.push({startPoint:r,tickValue:t.value,endPoint:o,tickId:t.id,id:"tickline-"+t.id})}),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),r=n.count,i=t.length;if(i>=2)for(var a=0;a0){var n=(0,o.size)(e);if(n>t.threshold){var r=Math.ceil(n/t.threshold),i=e.filter(function(t,e){return e%r==0});this.set("ticks",i),this.set("originalTicks",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var r=this.get("label"),i=r.offset,a=r.offsetX,s=r.offsetY,u=r.rotate,c=r.formatter,f=this.getSidePoint(t.point,i),d=this.getSideVector(i,f),p=c?c(t.name,t,e):t.name,h=r.style;h=(0,o.isFunction)(h)?(0,o.get)(this.get("theme"),["label","style"],{}):h;var g=(0,o.mix)({x:f.x+a,y:f.y+s,text:p,textAlign:this.getTextAnchor(d),textBaseline:this.getTextBaseline(d)},h);return u&&(g.matrix=(0,l.getMatrixByAngle)(f,u)),g},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),r=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});(0,o.each)(n,function(t,i){e.addShape(r,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,i,n),delegateObject:{tick:t,item:t,index:i}})}),this.processOverlap(r);var i=r.getChildren(),a=(0,o.get)(this.get("theme"),["label","style"],{}),s=this.get("label"),l=s.style,u=s.formatter;if((0,o.isFunction)(l)){var c=i.map(function(t){return(0,o.get)(t.get("delegateObject"),"tick")});(0,o.each)(i,function(t,e){var n=t.get("delegateObject").tick,r=u?u(n.name,n,e):n.name,i=(0,o.mix)({},a,l(r,e,c));t.attr(i)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,r=t.offset,i=t.spacing,s=void 0===i?0:i,u=t.autoRotate,c=e.fontSize,f=.5;"start"===n?f=0:"end"===n&&(f=1);var d=this.getTickPoint(f),p=this.getSidePoint(d,r||s+c/2),h=(0,o.mix)({x:p.x,y:p.y,text:t.text},e),g=t.rotate,v=g;if((0,o.isNil)(g)&&u){var y=this.getAxisVector(d);v=a.ext.angleTo(y,[1,0],!0)}if(v){var m=(0,l.getMatrixByAngle)(p,v);h.matrix=m}return h},e.prototype.drawTitle=function(t){var e,n=this.getTitleAttrs(),r=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:n});(null===(e=this.get("title"))||void 0===e?void 0:e.description)&&this.drawDescriptionIcon(t,r,n.matrix)},e.prototype.drawDescriptionIcon=function(t,e,n){var r=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),a=e.getBBox(),o=a.maxX,s=a.maxY,l=a.height,u=this.get("title").iconStyle,c=l/2,f=c/6,d=o+4,p=s-l/2,h=[d+c,p-c],g=h[0],v=h[1],y=[g+c,v+c],m=y[0],b=y[1],x=[g,b+c],_=x[0],O=x[1],P=[d,v+c],M=P[0],A=P[1],S=[d+c,p-l/4],w=S[0],E=S[1],C=[w,E+f],T=C[0],I=C[1],j=[T,I+f],F=j[0],L=j[1],D=[F,L+3*c/4],k=D[0],R=D[1];this.addShape(r,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:(0,i.__assign)({path:[["M",g,v],["A",c,c,0,0,1,m,b],["A",c,c,0,0,1,_,O],["A",c,c,0,0,1,M,A],["A",c,c,0,0,1,g,v],["M",w,E],["L",T,I],["M",F,L],["L",k,R]],lineWidth:f,matrix:n},u)}),this.addShape(r,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:d,y:p-l/2,width:l,height:l,stroke:"#000",fill:"#000",opacity:0,matrix:n,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,e){if(this.getItemStates(t).length){var n=this.get("tickStates"),r=this.getElementId("label-"+t.id),i=e.findById(r);if(i){var a=(0,u.getStatesStyle)(t,"label",n);a&&i.attr(a)}var o=this.getElementId("tickline-"+t.id),s=e.findById(o);if(s){var l=(0,u.getStatesStyle)(t,"tickLine",n);l&&s.attr(l)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),r=this.get("label"),i=this.getElementByLocalId("label-"+t.id),a=this.get("tickLine"),o=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(i){var s=(0,u.getStatesStyle)(t,"label",n);s&&i.attr(s)}if(o){var l=(0,u.getStatesStyle)(t,"tickLine",n);l&&o.attr(l)}}else i&&i.attr(r.style),o&&o.attr(a.style)},e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(90),l=r(n(58)),u=n(42),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:l.default.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:l.default.textColor,textAlign:"center",textBaseline:"middle",fontFamily:l.default.fontFamily}},textBackground:{padding:5,style:{stroke:l.default.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,r=e.autoRotate,o=e.content;if(!(0,a.isNil)(o)){var l=this.getTextPoint(),u=null;if(r){var c=this.getRotateAngle();u=(0,s.getMatrixByAngle)(l,c)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:(0,i.__assign)((0,i.__assign)((0,i.__assign)({},l),{text:o,matrix:u}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line").style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:(0,i.__assign)({path:e},n)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),r=this.get("textBackground");if(r&&n){var a=n.getBBox(),o=(0,u.formatPadding)(r.padding),s=r.style;this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:(0,i.__assign)({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2],matrix:n.attr("matrix")},s)}).toBack()}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=r(n(58)),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:s.default.lineColor}}}})},e.prototype.getLineType=function(){return(this.get("line")||this.get("defaultCfg").line).type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),r=e.slice(0).reverse(),i=this.getGridPath(r,!0);return this.get("closed")?n=n.concat(i):(i[0][0]="L",(n=n.concat(i)).push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),r=this.get("items"),i=this.get("alternateColor"),o=null;(0,a.each)(r,function(s,l){var u=s.id||l;if(n){var c=e.getPathStyle();c=(0,a.isFunction)(c)?c(s,l,r):c;var f=e.getElementId("line-"+u),d=e.getGridPath(s.points);e.addShape(t,{type:"path",name:"grid-line",id:f,attrs:(0,a.mix)({path:d},c)})}if(i&&l>0){var p=e.getElementId("region-"+u),h=l%2==0;if((0,a.isString)(i))h&&e.drawAlternateRegion(p,t,o.points,s.points,i);else{var g=h?i[1]:i[0];e.drawAlternateRegion(p,t,o.points,s.points,g)}}o=s})},e.prototype.drawAlternateRegion=function(t,e,n,r,i){var a=this.getAlternatePath(n,r);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:a,fill:i}})},e}(o.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=n(42),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),r=this.get("maxHeight"),i=e.width,a=e.height;return n&&(i=Math.min(i,n)),r&&(a=Math.min(a,r)),(0,o.createBBox)(e.minX,e.minY,i,a)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),r=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+r})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),r=(0,o.formatPadding)(e.padding),a=(0,i.__assign)({x:0,y:0,width:n.width+r[1]+r[3],height:n.height+r[0]+r[2]},e.style);this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:a}).toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),r=n.spacing,a=n.style,o=n.text,s=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:(0,i.__assign)({text:o,x:e.x,y:e.y},a)}).getBBox();this.set("currentPoint",{x:e.x,y:s.maxY+r})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=(0,o.formatPadding)(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VALUE_CLASS=e.TITLE_CLASS=e.NAME_CLASS=e.MARKER_CLASS=e.LIST_ITEM_CLASS=e.LIST_CLASS=e.CROSSHAIR_Y=e.CROSSHAIR_X=e.CONTAINER_CLASS=void 0,e.CONTAINER_CLASS="g2-tooltip",e.TITLE_CLASS="g2-tooltip-title",e.LIST_CLASS="g2-tooltip-list",e.LIST_ITEM_CLASS="g2-tooltip-list-item",e.MARKER_CLASS="g2-tooltip-marker",e.VALUE_CLASS="g2-tooltip-value",e.NAME_CLASS="g2-tooltip-name",e.CROSSHAIR_X="g2-tooltip-crosshair-x",e.CROSSHAIR_Y="g2-tooltip-crosshair-y"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(143),o=n(144),s=n(0),l=n(51),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.onCanvasChange=function(t){o.refreshElement(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),o.applyAttrsToContext(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];s.each(t,function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))});var r=null;if(e.length){var i=s.min(e),a=s.max(e),o=s.min(n),u=s.max(n);r={minX:i,minY:o,x:i,y:o,maxX:a,maxY:u,width:a-i,height:u-o};var c=this.cfg.canvas;if(c){var f=c.getViewRange();this.set("isInView",l.intersectRect(r,f))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),o.applyAttrsToContext(t,this),this._applyClip(t,this.getClip()),o.drawChildren(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i.AbstractGroup);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.refreshElement=e.drawChildren=void 0;var r=n(145),i=n(72);e.drawChildren=function(t,e){e.forEach(function(e){e.draw(t)})},e.refreshElement=function(t,e){var n=t.get("canvas");if(n&&n.get("autoDraw")){var a=n.get("context"),o=t.getParent(),s=o?o.getChildren():[n],l=t.get("el");if("remove"===e){if(t.get("isClipShape")){var u=l&&l.parentNode,c=u&&u.parentNode;u&&c&&c.removeChild(u)}else l&&l.parentNode&&l.parentNode.removeChild(l)}else if("show"===e)l.setAttribute("visibility","visible");else if("hide"===e)l.setAttribute("visibility","hidden");else if("zIndex"===e)i.moveTo(l,s.indexOf(t));else if("sort"===e){var f=t.get("children");f&&f.length&&i.sortDom(t,function(t,e){return f.indexOf(t)-f.indexOf(e)?1:0})}else"clear"===e?l&&(l.innerHTML=""):"matrix"===e?r.setTransform(t):"clip"===e?r.setClip(t,a):"attr"===e||"add"===e&&t.draw(a)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(0),o=n(184),s=n(261),l=n(145),u=n(52),c=n(72),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=c.createSVGElement("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n||(n=e.createDom(),e.set("el",n)),n.appendChild(t)}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){s.refreshElement(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),l.setClip(this,t),this.createPath(t),e.length&&s.drawChildren(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");a.each(e||n,function(t,e){u.SVG_ATTR_MAP[e]&&r.setAttribute(u.SVG_ATTR_MAP[e],t)}),l.setTransform(this)},e}(i.AbstractGroup);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=e.visible;return n.visible=void 0===r||r,n}return(0,r.__extends)(e,t),e.prototype.show=function(){this.visible||this.changeVisible(!0)},e.prototype.hide=function(){this.visible&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}((0,r.__importDefault)(n(126)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerFacet=e.getFacet=e.Facet=void 0;var r=n(0),i=n(105);Object.defineProperty(e,"Facet",{enumerable:!0,get:function(){return i.Facet}});var a={};e.getFacet=function(t){return a[(0,r.lowerCase)(t)]},e.registerFacet=function(t,e){a[(0,r.lowerCase)(t)]=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAxisTitleText=e.getAxisDirection=e.getAxisOption=e.getCircleAxisCenterRadius=e.getAxisTitleOptions=e.getAxisThemeCfg=e.getAxisFactorByRegion=e.isVertical=e.getAxisFactor=e.getAxisRegion=e.getCircleAxisRelativeRegion=e.getLineAxisRelativeRegion=void 0;var r=n(0),i=n(21),a=n(111),o=n(32);function s(t){var e,n;switch(t){case i.DIRECTION.TOP:e={x:0,y:1},n={x:1,y:1};break;case i.DIRECTION.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case i.DIRECTION.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case i.DIRECTION.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}function l(t){var e,n;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{start:e,end:n}}function u(t){var e=t.start,n=t.end;return e.x===n.x}e.getLineAxisRelativeRegion=s,e.getCircleAxisRelativeRegion=l,e.getAxisRegion=function(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=s(e):t.isPolar&&(n=l(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}},e.getAxisFactor=function(t,e){return t.isRect?t.isTransposed?[i.DIRECTION.RIGHT,i.DIRECTION.BOTTOM].includes(e)?1:-1:[i.DIRECTION.BOTTOM,i.DIRECTION.RIGHT].includes(e)?-1:1:t.isPolar&&t.x.start<0?-1:1},e.isVertical=u,e.getAxisFactorByRegion=function(t,e){var n=t.start,r=t.end;return u(t)?(n.y-r.y)*(e.x-n.x)>0?1:-1:(r.x-n.x)*(n.y-e.y)>0?-1:1},e.getAxisThemeCfg=function(t,e){var n=(0,r.get)(t,["components","axis"],{});return(0,r.deepMix)({},(0,r.get)(n,["common"],{}),(0,r.deepMix)({},(0,r.get)(n,[e],{})))},e.getAxisTitleOptions=function(t,e,n){var i=(0,r.get)(t,["components","axis"],{});return(0,r.deepMix)({},(0,r.get)(i,["common","title"],{}),(0,r.deepMix)({},(0,r.get)(i,[e,"title"],{})),n)},e.getCircleAxisCenterRadius=function(t){var e=t.x,n=t.y,r=t.circleCenter,i=n.start>n.end,a=t.isTransposed?t.convert({x:i?0:1,y:0}):t.convert({x:0,y:i?0:1}),s=[a.x-r.x,a.y-r.y],l=[1,0],u=a.y>r.y?o.vec2.angle(s,l):-1*o.vec2.angle(s,l),c=u+(e.end-e.start),f=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2));return{center:r,radius:f,startAngle:u,endAngle:c}},e.getAxisOption=function(t,e){return(0,r.isBoolean)(t)?!1!==t&&{}:(0,r.get)(t,[e])},e.getAxisDirection=function(t,e){return(0,r.get)(t,"position",e)},e.getAxisTitleText=function(t,e){return(0,r.get)(e,["title","text"],(0,a.getName)(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getActionClass=e.registerAction=e.Action=e.Interaction=e.createInteraction=e.registerInteraction=e.getInteraction=void 0;var r=n(1),i=n(0),a=(0,r.__importDefault)(n(936)),o={};function s(t){return o[(0,i.lowerCase)(t)]}e.getInteraction=s,e.registerInteraction=function(t,e){o[(0,i.lowerCase)(t)]=e},e.createInteraction=function(t,e,n){var r=s(t);if(!r)return null;if(!(0,i.isPlainObject)(r))return new r(e,n);var o=(0,i.mix)((0,i.clone)(r),n);return new a.default(e,o)};var l=n(445);Object.defineProperty(e,"Interaction",{enumerable:!0,get:function(){return(0,r.__importDefault)(l).default}});var u=n(185);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return u.Action}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return u.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return u.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePadding=e.isAutoPadding=void 0;var r=n(1),i=n(0);e.isAutoPadding=function(t){return!(0,i.isNumber)(t)&&!(0,i.isArray)(t)},e.parsePadding=function(t){void 0===t&&(t=0);var e=(0,i.isArray)(t)?t:[t];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=[,,,,].fill(e[0]);break;case 2:e=(0,r.__spreadArray)((0,r.__spreadArray)([],e,!0),e,!0);break;case 3:e=(0,r.__spreadArray)((0,r.__spreadArray)([],e,!0),[e[1]],!1);break;default:e=e.slice(0,4)}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(69),i=function(){function t(t,e,n){this.view=t,this.gEvent=e,this.data=n,this.type=e.type}return t.fromData=function(e,n,i){return new t(e,new r.Event(n,{}),i)},Object.defineProperty(t.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(179),o=n(97),s=(0,r.__importDefault)(n(263)),l=n(46),u=n(21),c=n(270),f=function(t){function e(e){var n=t.call(this,e)||this;n.states=[];var r=e.shapeFactory,i=e.container,a=e.offscreenGroup,o=e.elementIndex,s=e.visible;return n.shapeFactory=r,n.container=i,n.offscreenGroup=a,n.visible=void 0===s||s,n.elementIndex=o,n}return(0,r.__extends)(e,t),e.prototype.draw=function(t,e){void 0===e&&(e=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,e),!1===this.visible&&this.changeVisible(!1)},e.prototype.update=function(t){var e=this.shapeFactory,n=this.shape;if(n){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(n,t);var r=this.getOffscreenGroup(),i=e.drawShape(this.shapeType,t,r);i.cfg.data=this.data,i.cfg.origin=t,i.cfg.element=this,this.syncShapeStyle(n,i,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var e=this.shapeFactory,n=this.shape;if(n){var i=this.getAnimateCfg("leave");i?(0,o.doAnimate)(n,i,{coordinate:e.coordinate,toAttrs:(0,r.__assign)({},n.attr())}):n.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=void 0,this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e),e?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(t){t.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(t){t.hide()}))},e.prototype.setState=function(t,e){var n=this.states,r=this.shapeFactory,i=this.model,o=this.shape,s=this.shapeType,l=n.indexOf(t);if(e){if(l>-1)return;n.push(t),("active"===t||"selected"===t)&&(null==o||o.toFront())}else{if(-1===l)return;n.splice(l,1),("active"===t||"selected"===t)&&(this.geometry.zIndexReversed?o.setZIndex(this.geometry.elements.length-this.elementIndex):o.setZIndex(this.elementIndex))}var u=r.drawShape(s,i,this.getOffscreenGroup());n.length?this.syncShapeStyle(o,u,n,null):this.syncShapeStyle(o,u,["reset"],null),u.remove(!0);var c={state:t,stateStatus:e,element:this,target:this.container};this.container.emit("statechange",c),(0,a.propagationDelegate)(this.shape,"statechange",c)},e.prototype.clearStates=function(){var t=this,e=this.states;(0,i.each)(e,function(e){t.setState(e,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this.shape,e=this.labelShape,n={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return t&&(n=t.getCanvasBBox()),e&&e.forEach(function(t){var e=t.getCanvasBBox();n.x=Math.min(e.x,n.x),n.y=Math.min(e.y,n.y),n.minX=Math.min(e.minX,n.minX),n.minY=Math.min(e.minY,n.minY),n.maxX=Math.max(e.maxX,n.maxX),n.maxY=Math.max(e.maxY,n.maxY)}),n.width=n.maxX-n.minX,n.height=n.maxY-n.minY,n},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this.shapeType,e=this.geometry,n=this.shapeFactory,r=e.stateOption,a=n.defaultShapeType,o=n.theme[t]||n.theme[a];this.statesStyle=(0,i.deepMix)({},o,r)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),r=(0,i.get)(n,[t,"style"],{}),a=r[e]||r;return(0,i.isFunction)(a)?a(this):a},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var a=n[t];return a?(0,r.__assign)((0,r.__assign)({},a),{callback:function(){var t;(0,i.isFunction)(a.callback)&&a.callback(),null===(t=e.geometry)||void 0===t||t.emit(u.GEOMETRY_LIFE_CIRCLE.AFTER_DRAW_ANIMATE)}}):a}return null},e.prototype.drawShape=function(t,e){void 0===e&&(e=!1);var n,a=this.shapeFactory,s=this.container,l=this.shapeType;if(this.shape=a.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var c=this.shape.cfg.name;c?(0,i.isString)(c)&&(this.shape.cfg.name=["element",c]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var f=e?"enter":"appear",d=this.getAnimateCfg(f);d&&(null===(n=this.geometry)||void 0===n||n.emit(u.GEOMETRY_LIFE_CIRCLE.BEFORE_DRAW_ANIMATE),(0,o.doAnimate)(this.shape,d,{coordinate:a.coordinate,toAttrs:(0,r.__assign)({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;t.cfg.origin=e,t.cfg.element=this,t.isGroup()&&t.get("children").forEach(function(t){n.setShapeInfo(t,e)})},e.prototype.syncShapeStyle=function(t,e,n,r,a){var s,f=this;if(void 0===n&&(n=[]),void 0===a&&(a=0),t&&e){var d=t.get("clipShape"),p=e.get("clipShape");if(this.syncShapeStyle(d,p,n,r),t.isGroup())for(var h=t.get("children"),g=e.get("children"),v=0;v1){o.sort();var y=function(t,e){var n=t.length,i=t;(0,r.isString)(i[0])&&(i=t.map(function(t){return e.translate(t)}));for(var a=i[1]-i[0],o=2;os&&(a=s)}return a}(o,a);l=(a.max-a.min)/y,o.length>l&&(l=o.length)}var m=a.range,b=1/l,x=1;if(n.isPolar?x=n.isTransposed&&l>1?g:v:(a.isLinear&&(b*=m[1]-m[0]),x=h),!(0,r.isNil)(c)&&c>=0?b=(1-(l-1)*(c/u))/l:b*=x,t.getAdjust("dodge")){var _=function(t,e){if(e){var n=(0,r.flatten)(t);return(0,r.valuesOfKey)(n,e).length}return t.length}(s,t.getAdjust("dodge").dodgeBy);!(0,r.isNil)(f)&&f>=0?b=(b-f/u*(_-1))/_:(!(0,r.isNil)(c)&&c>=0&&(b*=x),b/=_),b=b>=0?b:0}if(!(0,r.isNil)(d)&&d>=0){var O=d/u;b>O&&(b=O)}if(!(0,r.isNil)(p)&&p>=0){var P=p/u;b1){for(var f=n.addGroup(),d=0;de.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _(t){var e=t.parentInstance,n=t.content,r=x(t,["parentInstance","content"]);return b()(!1,"Label组件即将被取消,请使用图形组件的label属性进行配置"),e.label(!1),e.label(n,r),i.a.createElement(i.a.Fragment,null)}Object(y.registerGeometryLabel)("base",o.a),Object(y.registerGeometryLabel)("interval",l.a),Object(y.registerGeometryLabel)("pie",c.a),Object(y.registerGeometryLabel)("polar",d.a),Object(y.registerGeometryLabelLayout)("overlap",v.overlap),Object(y.registerGeometryLabelLayout)("distribute",p.distribute),Object(y.registerGeometryLabelLayout)("fixed-overlap",v.fixedOverlap),Object(y.registerGeometryLabelLayout)("limit-in-shape",g.limitInShape),Object(y.registerGeometryLabelLayout)("limit-in-canvas",h.limitInCanvas)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBetween=e.isRealNumber=void 0,e.isRealNumber=function(t){return"number"==typeof t&&!isNaN(t)},e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processIllegalData=e.transformDataToNodeLinkData=e.adjustYMetaByZero=void 0;var r=n(1),i=n(0),a=n(500),o=n(499);e.adjustYMetaByZero=function(t,e){var n=t.filter(function(t){var n=i.get(t,[e]);return i.isNumber(n)&&!isNaN(n)}),r=n.every(function(t){return i.get(t,[e])>=0}),a=n.every(function(t){return 0>=i.get(t,[e])});return r?{min:0}:a?{max:0}:{}},e.transformDataToNodeLinkData=function(t,e,n,i,a){if(void 0===a&&(a=[]),!Array.isArray(t))return{nodes:[],links:[]};var s=[],l={},u=-1;return t.forEach(function(t){var c=t[e],f=t[n],d=t[i],p=o.pick(t,a);l[c]||(l[c]=r.__assign({id:++u,name:c},p)),l[f]||(l[f]=r.__assign({id:++u,name:f},p)),s.push(r.__assign({source:l[c].id,target:l[f].id,value:d},p))}),{nodes:Object.values(l).sort(function(t,e){return t.id-e.id}),links:s}},e.processIllegalData=function(t,e){var n=i.filter(t,function(t){var n=t[e];return null===n||"number"==typeof n&&!isNaN(n)});return a.log(a.LEVEL.WARN,n.length===t.length,"illegal data existed in chart data."),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveAllPadding=e.getAdjustAppendPadding=e.normalPadding=void 0;var r=n(0);function i(t){if(r.isNumber(t))return[t,t,t,t];if(r.isArray(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}e.normalPadding=i,e.getAdjustAppendPadding=function(t,e,n){void 0===e&&(e="bottom"),void 0===n&&(n=25);var r=i(t),a=[e.startsWith("top")?n:0,e.startsWith("right")?n:0,e.startsWith("bottom")?n:0,e.startsWith("left")?n:0];return[r[0]+a[0],r[1]+a[1],r[2]+a[2],r[3]+a[3]]},e.resolveAllPadding=function(t){var e=t.map(function(t){return i(t)}),n=[0,0,0,0];return e.length>0&&(n=n.map(function(t,n){return e.forEach(function(r,i){t+=e[i][n]}),t})),n}},function(t,e,n){"use strict";var r=n(2)(n(6));function i(){return("undefined"==typeof window?"undefined":(0,r.default)(window))==="object"?null==window?void 0:window.devicePixelRatio:2}Object.defineProperty(e,"__esModule",{value:!0}),e.transformMatrix=e.getSymbolsPosition=e.getUnitPatternSize=e.drawBackground=e.initCanvas=e.getPixelRatio=void 0,e.getPixelRatio=i,e.initCanvas=function(t,e){void 0===e&&(e=t);var n=document.createElement("canvas"),r=i();return n.width=t*r,n.height=e*r,n.style.width=t+"px",n.style.height=e+"px",n.getContext("2d").scale(r,r),n},e.drawBackground=function(t,e,n,r){void 0===r&&(r=n);var i=e.backgroundColor,a=e.opacity;t.globalAlpha=a,t.fillStyle=i,t.beginPath(),t.fillRect(0,0,n,r),t.closePath()},e.getUnitPatternSize=function(t,e,n){var r=t+e;return n?2*r:r},e.getSymbolsPosition=function(t,e){return e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]]},e.transformMatrix=function(t,e){var n=e*Math.PI/180;return{a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProgressData=void 0;var r=n(0),i=n(291);e.getProgressData=function(t){var e=r.clamp(i.isRealNumber(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(34),i=n(15),a=n(43),o=n(154),s=n(118),l=n(292);function u(t){var e=t.chart,n=t.options,r=n.data,l=n.color,u=n.areaStyle,c=n.point,f=n.line,d=null==c?void 0:c.state,p=s.getTinyData(r);e.data(p);var h=i.deepAssign({},t,{options:{xField:o.X_FIELD,yField:o.Y_FIELD,area:{color:l,style:u},line:f,point:c}}),g=i.deepAssign({},h,{options:{tooltip:!1}}),v=i.deepAssign({},h,{options:{tooltip:!1,state:d}});return a.area(h),a.line(g),a.point(v),e.axis(!1),e.legend(!1),t}function c(t){var e,n,a=t.options,u=a.xAxis,c=a.yAxis,f=a.data,d=s.getTinyData(f);return i.flow(r.scale(((e={})[o.X_FIELD]=u,e[o.Y_FIELD]=c,e),((n={})[o.X_FIELD]={type:"cat"},n[o.Y_FIELD]=l.adjustYMetaByZero(d,o.Y_FIELD),n)))(t)}e.meta=c,e.adaptor=function(t){return i.flow(r.pattern("areaStyle"),u,c,r.tooltip,r.theme,r.animation,r.annotation())(t)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Node=P,e.computeHeight=O,e.default=m;var i=r(n(229)),a=r(n(1093)),o=r(n(1094)),s=r(n(1095)),l=r(n(1096)),u=r(n(1097)),c=r(n(1098)),f=r(n(1099)),d=r(n(1100)),p=r(n(1101)),h=r(n(1102)),g=r(n(1103)),v=r(n(1104)),y=r(n(1105));function m(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=x)):void 0===e&&(e=b);for(var n,r,i,a,o,s=new P(t),l=[s];n=l.pop();)if((i=e(n.data))&&(o=(i=Array.from(i)).length))for(n.children=i,a=o-1;a>=0;--a)l.push(r=i[a]=new P(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(O)}function b(t){return t.children}function x(t){return Array.isArray(t)?t[1]:null}function _(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function O(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function P(t){this.data=t,this.depth=this.height=0,this.parent=null}P.prototype=m.prototype=(0,i.default)({constructor:P,count:a.default,each:o.default,eachAfter:l.default,eachBefore:s.default,find:u.default,sum:c.default,sort:f.default,path:d.default,ancestors:p.default,descendants:h.default,leaves:g.default,links:v.default,copy:function(){return m(this).eachBefore(_)}},Symbol.iterator,y.default)},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw Error();return t}Object.defineProperty(e,"__esModule",{value:!0}),e.optional=function(t){return null==t?null:r(t)},e.required=r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.phi=e.default=void 0,e.squarifyRatio=s;var i=r(n(155)),a=r(n(194)),o=(1+Math.sqrt(5))/2;function s(t,e,n,r,o,s){for(var l,u,c,f,d,p,h,g,v,y,m,b=[],x=e.children,_=0,O=0,P=x.length,M=e.value;_h&&(h=u),(g=Math.max(h/(m=d*d*y),m/p))>v){d-=u;break}v=g}b.push(l={value:d,dice:c1?e:1)},n}(o);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagComponent=e.transformData=void 0;var r=n(1),i=n(0),a=n(120);e.transformData=function(t,e,n){var r=n.yField,o=n.maxSize,s=n.minSize,l=i.get(i.maxBy(e,r),[r]),u=i.isNumber(o)?o:1,c=i.isNumber(s)?s:0;return i.map(t,function(e,n){var o=(e[r]||0)/l;return e[a.FUNNEL_PERCENT]=o,e[a.FUNNEL_MAPPING_VALUE]=(u-c)*o+c,e[a.FUNNEL_CONVERSATION]=[i.get(t,[n-1,r]),e[r]],e})},e.conversionTagComponent=function(t){return function(e){var n=e.chart,o=e.options.conversionTag,s=n.getOptions().data;if(o){var l=o.formatter;s.forEach(function(e,u){if(!(u<=0||Number.isNaN(e[a.FUNNEL_MAPPING_VALUE]))){var c=t(e,u,s,{top:!0,text:{content:i.isFunction(l)?l(e,s):l,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:r.__assign({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(c)}})}return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.IS_TOTAL=e.ABSOLUTE_FIELD=e.DIFF_FIELD=e.Y_FIELD=void 0,e.Y_FIELD="$$yField$$",e.DIFF_FIELD="$$diffField$$",e.ABSOLUTE_FIELD="$$absoluteField$$",e.IS_TOTAL="$$isTotal$$",e.DEFAULT_OPTIONS={label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i},e.isRealNumber=function(t){return"number"==typeof t&&!isNaN(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(u,c,g,a.theme,f,d,p,a.tooltip,h,a.slider,a.interaction,a.animation,(0,a.annotation)(),a.limitInPlot)(t)},e.adjust=g,e.axis=d,e.legend=p,e.meta=c;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(197);function u(t){var e=t.chart,n=t.options,i=n.data,a=n.color,l=n.lineStyle,u=n.lineShape,c=n.point,f=n.area,d=n.seriesField,p=null==c?void 0:c.state;e.data(i);var h=(0,o.deepAssign)({},t,{options:{shapeField:d,line:{color:a,style:l,shape:u},point:c&&(0,r.__assign)({color:a,shape:"circle"},c),area:f&&(0,r.__assign)({color:a},f),label:void 0}}),g=(0,o.deepAssign)({},h,{options:{tooltip:!1,state:p}}),v=(0,o.deepAssign)({},h,{options:{tooltip:!1,state:p}});return(0,s.line)(h),(0,s.point)(g),(0,s.area)(v),t}function c(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,u=r.xField,c=r.yField,f=r.data;return(0,o.flow)((0,a.scale)(((e={})[u]=i,e[c]=s,e),((n={})[u]={type:"cat"},n[c]=(0,l.adjustYMetaByZero)(f,c),n)))(t)}function f(t){var e=t.chart,n=t.options.reflect;if(n){var r=n;(0,i.isArray)(r)||(r=[r]);var a=r.map(function(t){return["reflect",t]});e.coordinate({type:"rect",actions:a})}return t}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"line");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,o.transformLabel)(u))})}else s.label(!1);return t}function g(t){var e=t.chart;return t.options.isStack&&(0,i.each)(e.geometries,function(t){t.adjust("stack")}),t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.drawBackground=function(t,e,n,r){void 0===r&&(r=n);var i=e.backgroundColor,a=e.opacity;t.globalAlpha=a,t.fillStyle=i,t.beginPath(),t.fillRect(0,0,n,r),t.closePath()},e.getPixelRatio=a,e.getSymbolsPosition=function(t,e){return e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]]},e.getUnitPatternSize=function(t,e,n){var r=t+e;return n?2*r:r},e.initCanvas=function(t,e){void 0===e&&(e=t);var n=document.createElement("canvas"),r=a();return n.width=t*r,n.height=e*r,n.style.width=t+"px",n.style.height=e+"px",n.getContext("2d").scale(r,r),n},e.transformMatrix=function(t,e){var n=e*Math.PI/180;return{a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0}};var i=r(n(6));function a(){return("undefined"==typeof window?"undefined":(0,i.default)(window))==="object"?null==window?void 0:window.devicePixelRatio:2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getGeometryOption=function(t,e,n){return l(n)?(0,a.deepAssign)({},{geometry:o.DualAxesGeometry.Column,label:n.label&&n.isRange?{content:function(t){var n;return null===(n=t[e])||void 0===n?void 0:n.join("-")}}:void 0},n):(0,r.__assign)({geometry:o.DualAxesGeometry.Line},n)},e.getYAxisWithDefault=function(t,e){return e===o.AxisType.Left?!1!==t&&(0,a.deepAssign)({},s.DEFAULT_LEFT_YAXIS_CONFIG,t):e===o.AxisType.Right?!1!==t&&(0,a.deepAssign)({},s.DEFAULT_RIGHT_YAXIS_CONFIG,t):t},e.isColumn=l,e.isLine=function(t){return(0,i.get)(t,"geometry")===o.DualAxesGeometry.Line},e.transformObjectToArray=function(t,e){var n=t[0],r=t[1];return(0,i.isArray)(e)?[e[0],e[1]]:[(0,i.get)(e,n),(0,i.get)(e,r)]};var r=n(1),i=n(0),a=n(7),o=n(567),s=n(568);function l(t){return(0,i.get)(t,"geometry")===o.DualAxesGeometry.Column}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,i.flow)(u,(0,a.scale)({}),c,a.animation,a.theme,(0,a.annotation)())(t)},e.geometry=u;var r=n(0),i=n(7),a=n(22),o=n(30),s=n(579),l=n(307);function u(t){var e=t.chart,n=t.options,a=n.percent,u=n.progressStyle,c=n.color,f=n.barWidthRatio;e.data((0,l.getProgressData)(a));var d=(0,i.deepAssign)({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:f,interval:{style:u,color:(0,r.isString)(c)?[c,s.DEFAULT_COLOR[1]]:c},args:{zIndexReversed:!0}}});return(0,o.interval)(d),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function c(t){return t.chart.coordinate("rect").transpose(),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProgressData=function(t){var e=(0,r.clamp)((0,i.isRealNumber)(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]};var r=n(0),i=n(302)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OUTLIERS_VIEW_ID=e.DEFAULT_OPTIONS=e.BOX_SYNC_NAME=e.BOX_RANGE_ALIAS=e.BOX_RANGE=void 0;var r,i=n(19),a=n(7),o="$$range$$";e.BOX_RANGE=o;var s="low-q1-median-q3-high";e.BOX_RANGE_ALIAS=s,e.BOX_SYNC_NAME="$$y_outliers$$",e.OUTLIERS_VIEW_ID="outliers_view";var l=(0,a.deepAssign)({},i.Plot.getDefaultOptions(),{meta:((r={})[o]={min:0,alias:s},r),interactions:[{type:"active-region"}],tooltip:{showMarkers:!1,shared:!0},boxStyle:{lineWidth:1}});e.DEFAULT_OPTIONS=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.placeElementsOrdered=function(t){t&&t.geometries[0].elements.forEach(function(t){t.shape.toFront()})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Y_FIELD=e.TREND_UP=e.TREND_FIELD=e.TREND_DOWN=e.DEFAULT_TOOLTIP_OPTIONS=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.Y_FIELD="$$stock-range$$",e.TREND_FIELD="trend",e.TREND_UP="up",e.TREND_DOWN="down";var a={showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:"xy",follow:!0,text:function(t,e,n){var r;if("x"===t){var i=n[0];r=i?i.title:e}else r=e;return{position:"y"===t?"start":"end",content:r,style:{fill:"#dfdfdf"}}},textBackground:{padding:[2,4],style:{fill:"#666"}}}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{tooltip:a,interactions:[{type:"tooltip"}],legend:{position:"top-left"},risingFill:"#ef5350",fallingFill:"#26a69a"});e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagComponent=function(t){return function(e){var n=e.chart,o=e.options.conversionTag,s=n.getOptions().data;if(o){var l=o.formatter;s.forEach(function(e,u){if(!(u<=0||Number.isNaN(e[a.FUNNEL_MAPPING_VALUE]))){var c=t(e,u,s,{top:!0,text:{content:(0,i.isFunction)(l)?l(e,s):l,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:(0,r.__assign)({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(c)}})}return e}},e.transformData=function(t,e,n){var r=n.yField,o=n.maxSize,s=n.minSize,l=(0,i.get)((0,i.maxBy)(e,r),[r]),u=(0,i.isNumber)(o)?o:1,c=(0,i.isNumber)(s)?s:0;return(0,i.map)(t,function(e,n){var o=(e[r]||0)/l;return e[a.FUNNEL_PERCENT]=o,e[a.FUNNEL_MAPPING_VALUE]=(u-c)*o+c,e[a.FUNNEL_CONVERSATION]=[(0,i.get)(t,[n-1,r]),e[r]],e})};var r=n(1),i=n(0),a=n(125)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SUNBURST_Y_FIELD=e.SUNBURST_PATH_FIELD=e.SUNBURST_ANCESTOR_FIELD=e.RAW_FIELDS=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7),a=n(157);e.SUNBURST_ANCESTOR_FIELD="ancestor-node",e.SUNBURST_Y_FIELD="value";var o="path";e.SUNBURST_PATH_FIELD=o;var s=[o,a.NODE_INDEX_FIELD,a.NODE_ANCESTORS_FIELD,a.CHILD_NODE_COUNT,"name","depth","height"];e.RAW_FIELDS=s;var l=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}});e.DEFAULT_OPTIONS=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isParentNode=o;var r=n(14),i=n(0),a=n(201);function o(t){var e=(0,i.get)(t,["event","data","data"],{});return(0,i.isArray)(e.children)&&e.children.length>0}function s(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var r=t.event,i=r.x,a=r.y,o=e.center;return Math.sqrt(Math.pow(o.x-i,2)+Math.pow(o.y-a,2))=n){var i=r.parsePosition([t[s],t[o.field]]);i&&f.push(i)}if(t[s]===c)return!1}),f},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,r=this.view.getCoordinate(),i=r.start,a=r.end,o={x:Math.min(i.x,a.x),y:Math.min(i.y,a.y)};return{x:r.getWidth()*e+o.x,y:r.getHeight()*n+o.y}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,r=t.getWidth(),i=t.getHeight(),a={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y)};return{x:a.x,y:a.y,minX:a.x,minY:a.y,maxX:a.x+r,maxY:a.y+i,width:r,height:i}},e.prototype.getAnnotationCfg=function(t,e,n){var a=this,s=this.view.getCoordinate(),u=this.view.getCanvas(),c={};if((0,i.isNil)(e))return null;if("arc"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]),h=this.parsePosition(f),g=this.parsePosition(d),v=(0,l.getAngleByPoint)(s,h),y=(0,l.getAngleByPoint)(s,g);v>y&&(y=2*Math.PI+y),c=(0,r.__assign)((0,r.__assign)({},p),{center:s.getCenter(),radius:(0,l.getDistanceToCenter)(s,h),startAngle:v,endAngle:y})}else if("image"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d),src:e.src})}else if("line"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d),text:(0,i.get)(e,"text",null)})}else if("region"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d)})}else if("text"===t){var m=this.view.getData(),b=e.position,x=e.content,p=(0,r.__rest)(e,["position","content"]),_=x;(0,i.isFunction)(x)&&(_=x(m)),c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},this.parsePosition(b)),p),{content:_})}else if("dataMarker"===t){var b=e.position,O=e.point,P=e.line,M=e.text,A=e.autoAdjust,S=e.direction,p=(0,r.__rest)(e,["position","point","line","text","autoAdjust","direction"]);c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},p),this.parsePosition(b)),{coordinateBBox:this.getCoordinateBBox(),point:O,line:P,text:M,autoAdjust:A,direction:S})}else if("dataRegion"===t){var f=e.start,d=e.end,w=e.region,M=e.text,E=e.lineLength,p=(0,r.__rest)(e,["start","end","region","text","lineLength"]);c=(0,r.__assign)((0,r.__assign)({},p),{points:this.getRegionPoints(f,d),region:w,text:M,lineLength:E})}else if("regionFilter"===t){var f=e.start,d=e.end,C=e.apply,T=e.color,p=(0,r.__rest)(e,["start","end","apply","color"]),I=this.view.geometries,j=[],F=function t(e){e&&(e.isGroup()?e.getChildren().forEach(function(e){return t(e)}):j.push(e))};(0,i.each)(I,function(t){C?(0,i.contains)(C,t.type)&&(0,i.each)(t.elements,function(t){F(t.shape)}):(0,i.each)(t.elements,function(t){F(t.shape)})}),c=(0,r.__assign)((0,r.__assign)({},p),{color:T,shapes:j,start:this.parsePosition(f),end:this.parsePosition(d)})}else if("shape"===t){var L=e.render,D=(0,r.__rest)(e,["render"]);c=(0,r.__assign)((0,r.__assign)({},D),{render:function(t){if((0,i.isFunction)(e.render))return L(t,a.view,{parsePosition:a.parsePosition.bind(a)})}})}else if("html"===t){var k=e.html,b=e.position,D=(0,r.__rest)(e,["html","position"]);c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},D),this.parsePosition(b)),{parent:u.get("el").parentNode,html:function(t){return(0,i.isFunction)(k)?k(t,a.view):k}})}var R=(0,i.deepMix)({},n,(0,r.__assign)((0,r.__assign)({},c),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(R.container=this.getComponentContainer(R)),R.animate=this.view.getOptions().animate&&R.animate&&(0,i.get)(e,"animate",R.animate),R.animateOption=(0,i.deepMix)({},o.DEFAULT_ANIMATE_CFG,R.animateOption,e.animateOption),R},e.prototype.isTop=function(t){return(0,i.get)(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return(0,i.get)(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,r=this.getAnnotationTheme(n),a=this.getAnnotationCfg(n,t,r);(0,u.omit)(a,["container"]),e.component.update(a),(0,i.includes)(d,t.type)&&e.component.render()}else(e=this.createAnnotation(t))&&(e.component.init(),(0,i.includes)(d,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach(function(t,e){n.set(e,t)}),n.forEach(function(t,r){(0,i.find)(e.option,function(t){return r===e.getCacheKey(t)})||(t.component.destroy(),n.delete(r))}),n},e.prototype.getCacheKey=function(t){return t},e}(f.Controller);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.positionUpdate=void 0,e.positionUpdate=function(t,e,n){var r=n.toAttrs,i=r.x,a=r.y;delete r.x,delete r.y,t.attr(r),t.animate({x:i,y:a},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sectorPathUpdate=void 0;var r=n(1),i=n(205),a=n(0),o=n(46);function s(t,e){var n,r=(0,i.getArcParams)(t,e),o=r.startAngle,s=r.endAngle;return!(0,a.isNumberEqual)(o,-(.5*Math.PI))&&o<-(.5*Math.PI)&&(o+=2*Math.PI),!(0,a.isNumberEqual)(s,-(.5*Math.PI))&&s<-(.5*Math.PI)&&(s+=2*Math.PI),0===e[5]&&(o=(n=[s,o])[0],s=n[1]),(0,a.isNumberEqual)(o,1.5*Math.PI)&&(o=-.5*Math.PI),(0,a.isNumberEqual)(s,-.5*Math.PI)&&(s=1.5*Math.PI),{startAngle:o,endAngle:s}}function l(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:("a"===t[0]||"A"===t[0]||"C"===t[0])&&(e=[t[t.length-2],t[t.length-1]]),e}function u(t){var e,n,r,i=t.filter(function(t){return"A"===t[0]||"a"===t[0]});if(0===i.length)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var o=i[0],u=i.length>1?i[1]:i[0],c=t.indexOf(o),f=t.indexOf(u),d=l(t[c-1]),p=l(t[f-1]),h=s(d,o),g=h.startAngle,v=h.endAngle,y=s(p,u),m=y.startAngle,b=y.endAngle;(0,a.isNumberEqual)(g,m)&&(0,a.isNumberEqual)(v,b)?(n=g,r=v):(n=Math.min(g,m),r=Math.max(v,b));var x=o[1],_=i[i.length-1][1];return x<_?(x=(e=[_,x])[0],_=e[1]):x===_&&(_=0),{startAngle:n,endAngle:r,radius:x,innerRadius:_}}e.sectorPathUpdate=function(t,e,n){var i=n.toAttrs,s=n.coordinate,l=i.path||[],c=l.map(function(t){return t[0]});if(!(l.length<1)){var f=u(l),d=f.startAngle,p=f.endAngle,h=f.radius,g=f.innerRadius,v=u(t.attr("path")),y=v.startAngle,m=v.endAngle,b=s.getCenter(),x=d-y,_=p-m;if(0===x&&0===_){t.attr("path",l);return}t.animate(function(t){var e=y+t*x,n=m+t*_;return(0,r.__assign)((0,r.__assign)({},i),{path:(0,a.isEqual)(c,["M","A","A","Z"])?(0,o.getArcPath)(b.x,b.y,h,e,n):(0,o.getSectorPath)(b.x,b.y,h,e,n,g)})},(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t.attr("path",l)}}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waveIn=void 0;var r=n(1),i=n(48);e.waveIn=function(t,e,n){var a=(0,i.getCoordinateClipCfg)(n.coordinate,20),o=a.type,s=a.startState,l=a.endState,u=t.setClip({type:o,attrs:s});u.animate(l,(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t&&!t.get("destroyed")&&t.set("clipShape",null),u.remove(!0)}}))}},function(t,e,n){"use strict";n.r(e);var r=n(14);for(var i in r)0>["default"].indexOf(i)&&function(t){n.d(e,t,function(){return r[t]})}(i)},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0});var a={version:!0,Shape:!0,Canvas:!0,Group:!0};Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return u.default}}),e.version=e.Shape=void 0;var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190));e.Shape=o;var s=n(26);Object.keys(s).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))});var l=r(n(980)),u=r(n(275));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}e.version="0.5.6"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(21),a=(0,r.__importDefault)(n(158));n(278);var o=function(t){function e(e){var n=t.call(this,e)||this;n.type="area",n.shapeType="area",n.generatePoints=!0,n.startOnZero=!0;var r=e.startOnZero,i=e.sortable,a=e.showSinglePoint;return n.startOnZero=void 0===r||r,n.sortable=void 0!==i&&i,n.showSinglePoint=void 0!==a&&a,n}return(0,r.__extends)(e,t),e.prototype.getPointsAndData=function(t){for(var e=[],n=[],r=0,a=t.length;rr&&(r=i),i=e[0]}));for(var d=this.scales[c],p=0,h=t;p0&&!(0,i.get)(n,[r,"min"])&&e.change({min:0}),o<=0&&!(0,i.get)(n,[r,"max"])&&e.change({max:0}))}},e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(158));n(276);var a=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var r=e.sortable;return n.sortable=void 0!==r&&r,n}return(0,r.__extends)(e,t),e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(91));n(988);var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e.shapeType="point",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return(0,r.__assign)((0,r.__assign)({},n),{isStack:!!this.getAdjust("stack")})},e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(91));n(462);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.shapeType="polygon",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),a=r.x,o=r.y;if(!((0,i.isArray)(a)&&(0,i.isArray)(o))){var s=this.getXScale(),l=this.getYScale(),u=s.values.length,c=l.values.length,f=.5/u,d=.5/c;s.isCategory&&l.isCategory?(a=[a-f,a-f,a+f,a+f],o=[o-d,o+d,o+d,o-d]):(0,i.isArray)(a)?(a=[(n=a)[0],n[0],n[1],n[1]],o=[o-d/2,o+d/2,o+d/2,o-d/2]):(0,i.isArray)(o)&&(o=[(n=o)[0],n[1],n[1],n[0]],a=[a-f/2,a-f/2,a+f/2,a+f/2]),r.x=a,r.y=o}return r},e}(a.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(48),a=(0,r.__importDefault)(n(91));n(463);var o=n(279),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="schema",e.shapeType="schema",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),a=this.getAttribute("size");if(a){n=this.getAttributeValues(a,e)[0];var s=this.coordinate;n/=(0,i.getXDimensionLength)(s)}else this.defaultSize||(this.defaultSize=(0,o.getDefaultSize)(this)),n=this.defaultSize;return r.size=n,r},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.distribute=void 0;var r=n(0),i=n(46);e.distribute=function(t,e,n,a){if(t.length&&e.length){var o=t[0]?t[0].offset:0,s=e[0].get("coordinate"),l=s.getRadius(),u=s.getCenter();if(o>0){var c=2*(l+o)+28,f={start:s.start,end:s.end},d=[[],[]];t.forEach(function(t){t&&("right"===t.textAlign?d[0].push(t):d[1].push(t))}),d.forEach(function(t,n){var i=c/14;t.length>i&&(t.sort(function(t,e){return e["..percent"]-t["..percent"]}),t.splice(i,t.length-i)),t.sort(function(t,e){return t.y-e.y}),function(t,e,n,i,a,o){var s,l=!0,u=i.start,c=i.end,f=Math.min(u.y,c.y),d=Math.abs(u.y-c.y),p=0,h=Number.MIN_VALUE,g=e.map(function(t){return t.y>p&&(p=t.y),t.yd&&(d=p-f);l;)for(g.forEach(function(t){var e=(Math.min.apply(h,t.targets)+Math.max.apply(h,t.targets))/2;t.pos=Math.min(Math.max(h,e-t.size/2),d-t.size)}),l=!1,s=g.length;s--;)if(s>0){var v=g[s-1],y=g[s];v.pos+v.size>y.pos&&(v.size+=y.size,v.targets=v.targets.concat(y.targets),v.pos+v.size>d&&(v.pos=d-v.size),g.splice(s,1),l=!0)}s=0,g.forEach(function(t){var r=f+n/2;t.targets.forEach(function(){e[s].y=t.pos+r,r+=n,s++})});for(var m={},b=0;br?v=r-h:c>r&&(v-=c-r),u>o?y=o-g:f>o&&(y-=f-o),(v!==d||y!==p)&&(0,i.translate)(t,v-d,y-p)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInShape=void 0;var r=n(0);e.limitInShape=function(t,e,n,i){(0,r.each)(e,function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minXi.maxX||r.maxY>i.maxY)&&t.remove(!0)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"circle",showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.getRegion=function(t,e){var n=2*Math.PI/t,r=-1*Math.PI/2+n*e,i=.5/(1+1/Math.sin(n/2)),a=(0,o.getAnglePoint)({x:.5,y:.5},.5-i,r),s=5*Math.PI/4,l=1*Math.PI/4;return{start:(0,o.getAnglePoint)(a,i,s),end:(0,o.getAnglePoint)(a,i,l)}},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg,r=n.fields,a=n.type,o=r[0];if(!o)throw Error("No `fields` specified!");var s=this.getFieldValues(t,o),l=s.length,u=[];return s.forEach(function(n,r){var c=[{field:o,value:n,values:s}],f={type:a,data:(0,i.filter)(t,e.getFacetDataFilter(c)),region:e.getRegion(l,r),columnValue:n,columnField:o,columnIndex:r,columnValuesLength:l,rowValue:null,rowField:null,rowIndex:0,rowValuesLength:1};u.push(f)}),u},e.prototype.getXAxisOption=function(t,e,n,r){return n},e.prototype.getYAxisOption=function(t,e,n,r){return n},e.prototype.renderTitle=function(){var t=this;(0,i.each)(this.facets,function(e){var n=e.columnValue,r=e.view,s=(0,i.get)(t.cfg.title,"formatter"),l=(0,i.deepMix)({position:["50%","0%"],content:s?s(n):n},(0,o.getFactTitleConfig)(a.DIRECTION.TOP),t.cfg.title);r.annotation().text(l)})},e}(n(105).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"list",cols:null,showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg.fields,r=this.cfg.cols,a=n[0];if(!a)throw Error("No `fields` specified!");var o=this.getFieldValues(t,a),s=o.length;r=r||s;var l=this.getPageCount(s,r),u=[];return o.forEach(function(n,c){var f=e.getRowCol(c,r),d=f.row,p=f.col,h=[{field:a,value:n,values:o}],g=(0,i.filter)(t,e.getFacetDataFilter(h)),v={type:e.cfg.type,data:g,region:e.getRegion(l,r,p,d),columnValue:n,rowValue:n,columnField:a,rowField:null,columnIndex:p,rowIndex:d,columnValuesLength:r,rowValuesLength:l,total:s};u.push(v)}),u},e.prototype.getXAxisOption=function(t,e,n,i){return i.rowIndex!==i.rowValuesLength-1&&i.columnValuesLength*i.rowIndex+i.columnIndex+1+i.columnValuesLength<=i.total?(0,r.__assign)((0,r.__assign)({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,i){return 0!==i.columnIndex?(0,r.__assign)((0,r.__assign)({},n),{title:null,label:null}):n},e.prototype.renderTitle=function(){var t=this;(0,i.each)(this.facets,function(e){var n=e.columnValue,r=e.view,s=(0,i.get)(t.cfg.title,"formatter"),l=(0,i.deepMix)({position:["50%","0%"],content:s?s(n):n},(0,o.getFactTitleConfig)(a.DIRECTION.TOP),t.cfg.title);r.annotation().text(l)})},e.prototype.getPageCount=function(t,e){return Math.floor((t+e-1)/e)},e.prototype.getRowCol=function(t,e){return{row:Math.floor(t/e),col:t%e}},e}(n(105).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"matrix",showTitle:!1,columnTitle:(0,r.__assign)({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:(0,r.__assign)({},t.prototype.getDefaultTitleCfg.call(this))})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){for(var e=this.cfg,n=e.fields,r=e.type,i=n.length,a=[],o=0;o=0;a--)for(var o=this.getFacetsByLevel(t,a),s=0;s-1)||(0,u.isBetween)(n,l,c)}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(n(104).Controller);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getItemsOfView=void 0;var r=n(1),i=n(0),a=n(186),o=n(46),s=(0,r.__importDefault)(n(44)),l={fill:"#CCD6EC",opacity:.3};function u(t,e,n){var r=(0,a.findItemsFromViewRecurisive)(t,e,n);if(r.length){r=(0,i.flatten)(r);for(var o=0,s=r;o1){for(var h=r[0],g=Math.abs(e.y-h[0].y),v=0,y=r;vv.maxY&&(v=e)):(e.minXv.maxX&&(v=e)),y.x=Math.min(e.minX,y.minX),y.y=Math.min(e.minY,y.minY),y.width=Math.max(e.maxX,y.maxX)-y.x,y.height=Math.max(e.maxY,y.maxY)-y.y});var m=e.backgroundGroup,b=e.coordinateBBox,x=void 0;if(h.isRect){var _=e.getXScale(),O=t||{},P=O.appendRatio,M=O.appendWidth;(0,i.isNil)(M)&&(P=(0,i.isNil)(P)?_.isLinear?0:.25:P,M=h.isTransposed?P*v.height:P*g.width);var A=void 0,S=void 0,w=void 0,E=void 0;h.isTransposed?(A=b.minX,S=Math.min(v.minY,g.minY)-M,w=b.width,E=y.height+2*M):(A=Math.min(g.minX,v.minX)-M,S=b.minY,w=y.width+2*M,E=b.height),x=[["M",A,S],["L",A+w,S],["L",A+w,S+E],["L",A,S+E],["Z"]]}else{var C=(0,i.head)(d),T=(0,i.last)(d),I=(0,o.getAngle)(C.getModel(),h).startAngle,j=(0,o.getAngle)(T.getModel(),h).endAngle,F=h.getCenter(),L=h.getRadius(),D=h.innerRadius*L;x=(0,o.getSectorPath)(F.x,F.y,L,I,j,D)}if(this.regionPath)this.regionPath.attr("path",x),this.regionPath.show();else{var k=(0,i.get)(t,"style",l);this.regionPath=m.addShape({type:"path",name:"active-region",capture:!1,attrs:(0,r.__assign)((0,r.__assign)({},k),{path:x})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(31),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.showTooltip=function(t,e){var n=(0,a.getSilbings)(t);(0,i.each)(n,function(n){var r=(0,a.getSiblingPoint)(t,n,e);n.showTooltip(r)})},e.prototype.hideTooltip=function(t){var e=(0,a.getSilbings)(t);(0,i.each)(e,function(t){t.hideTooltip()})},e}((0,r.__importDefault)(n(127)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(179),o=(0,r.__importDefault)(n(44)),s=n(69),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return(0,r.__extends)(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context.event,e=this.timeStamp,n=+new Date;if(n-e>16){var r=this.location,a={x:t.x,y:t.y};r&&(0,i.isEqual)(r,a)||this.showTooltip(a),this.timeStamp=n,this.location=a}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context.event.target;if(e&&e.get("tip")){this.tooltip||this.renderTooltip();var n=e.get("tip");this.tooltip.update((0,r.__assign)({title:n},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,o={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},l=e.getTheme(),u=(0,i.get)(l,["components","tooltip","domStyles"],{}),c=new s.HtmlTooltip({parent:n.get("el").parentNode,region:o,visible:!1,crosshairs:null,domStyles:(0,r.__assign)({},(0,i.deepMix)({},u,((t={})[a.TOOLTIP_CSS_CONST.CONTAINER_CLASS]={"max-width":"50%"},t[a.TOOLTIP_CSS_CONST.TITLE_CLASS]={"word-break":"break-all"},t)))});c.init(),c.setCapture(!1),this.tooltip=c},e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return(0,r.__extends)(e,t),e.prototype.active=function(){this.setState()},e}((0,r.__importDefault)(n(283)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(44)),a=n(31),o=n(0),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return(0,r.__extends)(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");return n?t.getScaleByField(n.getFields()[0]):null},e.prototype.getLinkPath=function(t,e){var n=this.context.view.getCoordinate().isTransposed,r=t.shape.getCanvasBBox(),i=e.shape.getCanvasBBox();return n?[["M",r.minX,r.minY],["L",i.minX,i.maxY],["L",i.maxX,i.maxY],["L",r.maxX,r.minY],["Z"]]:[["M",r.maxX,r.minY],["L",i.minX,i.minY],["L",i.minX,i.maxY],["L",r.maxX,r.maxY],["Z"]]},e.prototype.addLinkShape=function(t,e,n,i){var a={opacity:.4,fill:e.shape.attr("fill")};t.addShape({type:"path",attrs:(0,r.__assign)((0,r.__assign)({},(0,o.deepMix)({},a,(0,o.isFunction)(i)?i(a,e):i)),{path:this.getLinkPath(e,n)})})},e.prototype.linkByElement=function(t,e){var n=this,r=this.context.view,i=this.getColorScale(r,t);if(i){var s=(0,a.getElementValue)(t,i.field);if(!this.cache[s]){var l=(0,a.getElementsByField)(r,i.field,s),u=this.linkGroup.addGroup();this.cache[s]=u;var c=l.length;(0,o.each)(l,function(t,r){if(r=u&&t<=c}),e.render(!0)}}},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(949);function i(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=i=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=i=function(t,e,n){var i=r(t,e);if(i){var a=Object.getOwnPropertyDescriptor(i,e);return a.get?a.get.call(arguments.length<3?t:n):a.value}},t.exports.__esModule=!0,t.exports.default=t.exports),i.apply(this,arguments)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(2)(n(6)),i=n(365),a="function"==typeof Symbol&&"symbol"===(0,r.default)(Symbol("foo")),o=Object.prototype.toString,s=Array.prototype.concat,l=Object.defineProperty,u=n(649)(),c=l&&u,f=function(t,e,n,r){(!(e in t)||"function"==typeof r&&"[object Function]"===o.call(r)&&r())&&(c?l(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},d=function(t,e){var n=arguments.length>2?arguments[2]:{},r=i(e);a&&(r=s.call(r,Object.getOwnPropertySymbols(e)));for(var o=0;o=0&&"[object Function]"===i.call(t.callee)),n}},function(t,e,n){"use strict";var r=n(2)(n(6));t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===(0,r.default)(Symbol.iterator))return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,n){"use strict";var r=n(237),i=n(236),a=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(o,a),l=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(r,o,arguments);return l&&u&&l(e,"length").configurable&&u(e,"length",{value:1+c(0,t.length-(arguments.length-1))}),e};var f=function(){return s(r,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,n){"use strict";var r=n(365),i=n(367)(),a=n(653),o=Object,s=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),u=i?Object.getOwnPropertySymbols:null;t.exports=function(t,e){if(null==t)throw TypeError("target must be an object");var n=o(t);if(1==arguments.length)return n;for(var a=1;a2&&(n.push([i].concat(s.splice(0,2))),l="l",i="m"===i?"l":"L"),"o"===l&&1===s.length&&n.push([i,s[0]]),"r"===l)n.push([i].concat(s));else for(;s.length>=e[l]&&(n.push([i].concat(s.splice(0,e[l]))),e[l]););return t}),n};e.parsePathString=s;var l=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var a=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?a[3]={x:+t[0],y:+t[1]}:i-2===r&&(a[2]={x:+t[0],y:+t[1]},a[3]={x:+t[2],y:+t[3]}):a[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?a[3]=a[2]:r||(a[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return n};e.catmullRomToBezier=l;var u=function(t,e,n,r,i){var a=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var o=Math.PI/180,s=t+n*Math.cos(-r*o),l=t+n*Math.cos(-i*o),u=e+n*Math.sin(-r*o),c=e+n*Math.sin(-i*o);a=[["M",s,u],["A",n,n,0,+(i-r>180),0,l,c]]}else a=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return a},c=function(t){if(!(t=s(t))||!t.length)return[["M",0,0]];var e,n,r=[],i=0,a=0,o=0,c=0,f=0;"M"===t[0][0]&&(i=+t[0][1],a=+t[0][2],o=i,c=a,f++,r[0]=["M",i,a]);for(var d=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),p=void 0,h=void 0,g=f,v=t.length;g1&&(r*=O=Math.sqrt(O),i*=O);var P=r*r,M=i*i,A=(o===s?-1:1)*Math.sqrt(Math.abs((P*M-P*_*_-M*x*x)/(P*_*_+M*x*x)));h=A*r*_/i+(e+l)/2,g=-(A*i)*x/r+(n+u)/2,d=Math.asin(((n-g)/i).toFixed(9)),p=Math.asin(((u-g)/i).toFixed(9)),d=ep&&(d-=2*Math.PI),!s&&p>d&&(p-=2*Math.PI)}var S=p-d;if(Math.abs(S)>v){var w=p,E=l,C=u;m=t(l=h+r*Math.cos(p=d+v*(s&&p>d?1:-1)),u=g+i*Math.sin(p),r,i,a,0,s,E,C,[p,w,h,g])}S=p-d;var T=Math.cos(d),I=Math.cos(p),j=Math.tan(S/4),F=4/3*r*j,L=4/3*i*j,D=[e,n],k=[e+F*Math.sin(d),n-L*T],R=[l+F*Math.sin(p),u-L*I],N=[l,u];if(k[0]=2*D[0]-k[0],k[1]=2*D[1]-k[1],c)return[k,R,N].concat(m);m=[k,R,N].concat(m).join().split(",");for(var B=[],G=0,V=m.length;G7){t[e].shift();for(var a=t[e];a.length;)s[e]="A",i&&(l[e]="A"),t.splice(e++,0,["C"].concat(a.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},y=function(t,e,a,o,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",o.x,o.y]),a.bx=0,a.by=0,a.x=t[s][1],a.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var m=0;m1?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,p=0;p<12;p++){var h=u*c[p]+u,g=y(h,t,n,i,o),v=y(h,e,r,a,s),m=g*g+v*v;d+=f[p]*Math.sqrt(m)}return u*d},b=function(t,e,n,r,i,a,o,s){for(var l,u,c,f,d,p=[],h=[[],[]],g=0;g<2;++g){if(0===g?(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*o,c=3*n-3*t):(u=6*e-12*r+6*a,l=-3*e+9*r-9*a+3*s,c=3*r-3*e),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;(f=-c/u)>0&&f<1&&p.push(f);continue}var v=u*u-4*c*l,y=Math.sqrt(v);if(!(v<0)){var m=(-u+y)/(2*l);m>0&&m<1&&p.push(m);var b=(-u-y)/(2*l);b>0&&b<1&&p.push(b)}}for(var x=p.length,_=x;x--;)d=1-(f=p[x]),h[0][x]=d*d*d*t+3*d*d*f*n+3*d*f*f*i+f*f*f*o,h[1][x]=d*d*d*e+3*d*d*f*r+3*d*f*f*a+f*f*f*s;return h[0][_]=t,h[1][_]=e,h[0][_+1]=o,h[1][_+1]=s,h[0].length=h[1].length=_+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}},x=function(t,e,n,r,i,a,o,s){if(!(Math.max(t,n)Math.max(i,o)||Math.max(e,r)Math.max(a,s))){var l=(t-n)*(a-s)-(e-r)*(i-o);if(l){var u=((t*r-e*n)*(i-o)-(t-n)*(i*s-a*o))/l,c=((t*r-e*n)*(a-s)-(e-r)*(i*s-a*o))/l,f=+u.toFixed(2),d=+c.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,o).toFixed(2)||f>+Math.max(i,o).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:u,y:c}}}},_=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},O=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var a=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return a.parsePathArray=v,a};e.rectPath=O;var P=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:O(t,e,n,r),vb:[t,e,n,r].join(" ")}},M=function(t,e,n,i,a,o,s,l){(0,r.isArray)(t)||(t=[t,e,n,i,a,o,s,l]);var u=b.apply(null,t);return P(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)},A=function(t,e,n,r,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),d=l*l,p=d*l,h=t+2*l*(n-t)+d*(i-2*n+t),g=e+2*l*(r-e)+d*(a-2*r+e),v=n+2*l*(i-n)+d*(o-2*i+n),y=r+2*l*(a-r)+d*(s-2*a+r),m=90-180*Math.atan2(h-v,g-y)/Math.PI;return{x:c*t+3*f*l*n+3*u*l*l*i+p*o,y:c*e+3*f*l*r+3*u*l*l*a+p*s,m:{x:h,y:g},n:{x:v,y:y},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*o,y:u*a+l*s},alpha:m}},S=function(t,e,n){var r,i,a=M(t),o=M(e);if(r=a,i=o,r=P(r),!(_(i=P(i),r.x,r.y)||_(i,r.x2,r.y)||_(i,r.x,r.y2)||_(i,r.x2,r.y2)||_(r,i.x,i.y)||_(r,i.x2,i.y)||_(r,i.x,i.y2)||_(r,i.x2,i.y2))&&((!(r.xi.x))&&(!(i.xr.x))||(!(r.yi.y))&&(!(i.yr.y))))return n?0:[];for(var s=m.apply(0,t),l=m.apply(0,e),u=~~(s/8),c=~~(l/8),f=[],d=[],p={},h=n?0:[],g=0;gMath.abs(O.x-b.x)?"y":"x",C=.001>Math.abs(w.x-S.x)?"y":"x",T=x(b.x,b.y,O.x,O.y,S.x,S.y,w.x,w.y);if(T){if(p[T.x.toFixed(4)]===T.y.toFixed(4))continue;p[T.x.toFixed(4)]=T.y.toFixed(4);var I=b.t+Math.abs((T[E]-b[E])/(O[E]-b[E]))*(O.t-b.t),j=S.t+Math.abs((T[C]-S[C])/(w[C]-S[C]))*(w.t-S.t);I>=0&&I<=1&&j>=0&&j<=1&&(n?h+=1:h.push({x:T.x,y:T.y,t1:I,t2:j}))}}return h},w=function(t,e,n){t=h(t),e=h(e);for(var r,i,a,o,s,l,u,c,f,d,p=n?0:[],g=0,v=t.length;g=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var a=0;a<=n-1;a++)r.push(i)}return r};e.fillPath=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,a=[];if(1===t.length&&"M"===t[0][0]){for(var o=0;o=0;l--)o=a[l].index,"add"===a[l].type?t.splice(o,0,[].concat(t[o])):t.splice(o,1)}var f=i-(r=t.length);if(r0)n=I(n,t[r-1],1);else{t[r]=e[r];break}}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(r>0)n=I(n,t[r-1],2);else{t[r]=e[r];break}}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(r>0)n=I(n,t[r-1],1);else{t[r]=e[r];break}}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();e.default=r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(126)),o=n(102),s=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=(0,o.mix)(r,e),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,e){this.cfg[t]=e},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(393)),s=n(102),l={},u="_INDEX",c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],o=[],l=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return l.length>0?((0,s.each)(l,function(t){var e=t.getBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=(0,a.min)(i),e=(0,a.max)(i),n=(0,a.min)(o),r=(0,a.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],o=[],l=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return l.length>0?((0,s.each)(l,function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=(0,a.min)(i),e=(0,a.max)(i),n=(0,a.min)(o),r=(0,a.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.children=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();(0,s.each)(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e=0;a--){var o=t[a];if((0,s.isAllowCapture)(o)&&(o.isGroup()?i=o.getShape(e,n,r):o.isHit(e,n)&&(i=o)),i)break}return i},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=t.getParent();i&&(t.set("parent",null),t.set("canvas",null),(0,s.removeFromArray)(i.getChildren(),t)),t.set("parent",this),e&&function t(e,n){if(e.set("canvas",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,e),r&&function t(e,n){if(e.set("timeline",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,r),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();(0,s.each)(t,function(t,e){return t[u]=e,t}),t.sort(function(t,e){var n=t.get("zIndex")-e.get("zIndex");return 0===n?t[u]-e[u]:n}),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){return this.getChildren()[t]},e.prototype.getCount=function(){return this.getChildren().length},e.prototype.contain=function(t){return this.getChildren().indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return(0,s.each)(n,function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))}),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return(0,s.each)(n,function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1}),e},e.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(32),s=n(102),l=n(243),u=r(n(391)),c=o.ext.transform,f="matrix",d=["zIndex","capture","visible","type"],p=["repeat"],h=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var r=n.getDefaultAttrs();return(0,a.mix)(r,e.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n0?d=function(t,e){if(e.onFrame)return t;var n=e.startTime,r=e.delay,i=e.duration,o=Object.prototype.hasOwnProperty;return(0,a.each)(t,function(t){n+rt.delay&&(0,a.each)(e.toAttrs,function(e,n){o.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])})}),t}(d,P):f.addAnimator(this),d.push(P),this.set("animations",d),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");(0,a.each)(n,function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return(0,a.each)(e,function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline").getTime(),e=this.get("animations"),n=this.get("_pause").pauseTime;return(0,a.each)(e,function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",e),this},e.prototype.emitDelegation=function(t,e){var n,r=this,i=e.propagationPath;this.getEvents(),"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var o=this,l=0;l0?(n[0]=(u*s+d*r+c*o-f*a)*2/p,n[1]=(c*s+d*a+f*r-u*o)*2/p,n[2]=(f*s+d*o+u*a-c*r)*2/p):(n[0]=(u*s+d*r+c*o-f*a)*2,n[1]=(c*s+d*a+f*r-u*o)*2,n[2]=(f*s+d*o+u*a-c*r)*2),l(t,e,n),t},e.fromRotation=function(t,e,n){var r,a,o,s=n[0],l=n[1],u=n[2],c=Math.hypot(s,l,u);return c0?(m=2*Math.sqrt(y+1),t[3]=.25*m,t[0]=(p-g)/m,t[1]=(h-c)/m,t[2]=(l-f)/m):s>d&&s>v?(m=2*Math.sqrt(1+s-d-v),t[3]=(p-g)/m,t[0]=.25*m,t[1]=(l+f)/m,t[2]=(h+c)/m):d>v?(m=2*Math.sqrt(1+d-s-v),t[3]=(h-c)/m,t[0]=(l+f)/m,t[1]=.25*m,t[2]=(p+g)/m):(m=2*Math.sqrt(1+v-s-d),t[3]=(l-f)/m,t[0]=(h+c)/m,t[1]=(p+g)/m,t[2]=.25*m),t},e.getScaling=u,e.getTranslation=function(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t},e.identity=o,e.invert=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8],f=e[9],d=e[10],p=e[11],h=e[12],g=e[13],v=e[14],y=e[15],m=n*s-r*o,b=n*l-i*o,x=n*u-a*o,_=r*l-i*s,O=r*u-a*s,P=i*u-a*l,M=c*g-f*h,A=c*v-d*h,S=c*y-p*h,w=f*v-d*g,E=f*y-p*g,C=d*y-p*v,T=m*C-b*E+x*w+_*S-O*A+P*M;return T?(T=1/T,t[0]=(s*C-l*E+u*w)*T,t[1]=(i*E-r*C-a*w)*T,t[2]=(g*P-v*O+y*_)*T,t[3]=(d*O-f*P-p*_)*T,t[4]=(l*S-o*C-u*A)*T,t[5]=(n*C-i*S+a*A)*T,t[6]=(v*x-h*P-y*b)*T,t[7]=(c*P-d*x+p*b)*T,t[8]=(o*E-s*S+u*M)*T,t[9]=(r*S-n*E-a*M)*T,t[10]=(h*O-g*x+y*m)*T,t[11]=(f*x-c*O-p*m)*T,t[12]=(s*A-o*w-l*M)*T,t[13]=(n*w-r*A+i*M)*T,t[14]=(g*b-h*_-v*m)*T,t[15]=(c*_-f*b+d*m)*T,t):null},e.lookAt=function(t,e,n,r){var a,s,l,u,c,f,d,p,h,g,v=e[0],y=e[1],m=e[2],b=r[0],x=r[1],_=r[2],O=n[0],P=n[1],M=n[2];return Math.abs(v-O)0&&(c*=p=1/Math.sqrt(p),f*=p,d*=p);var h=l*d-u*f,g=u*c-s*d,v=s*f-l*c;return(p=h*h+g*g+v*v)>0&&(h*=p=1/Math.sqrt(p),g*=p,v*=p),t[0]=h,t[1]=g,t[2]=v,t[3]=0,t[4]=f*v-d*g,t[5]=d*h-c*v,t[6]=c*g-f*h,t[7]=0,t[8]=c,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t},e.translate=function(t,e,n){var r,i,a,o,s,l,u,c,f,d,p,h,g=n[0],v=n[1],y=n[2];return e===t?(t[12]=e[0]*g+e[4]*v+e[8]*y+e[12],t[13]=e[1]*g+e[5]*v+e[9]*y+e[13],t[14]=e[2]*g+e[6]*v+e[10]*y+e[14],t[15]=e[3]*g+e[7]*v+e[11]*y+e[15]):(r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],u=e[6],c=e[7],f=e[8],d=e[9],p=e[10],h=e[11],t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=f,t[9]=d,t[10]=p,t[11]=h,t[12]=r*g+s*v+f*y+e[12],t[13]=i*g+l*v+d*y+e[13],t[14]=a*g+u*v+p*y+e[14],t[15]=o*g+c*v+h*y+e[15]),t},e.transpose=function(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(79));function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}function o(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function s(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],u=e[6],c=e[7],f=e[8],d=e[9],p=e[10],h=e[11],g=e[12],v=e[13],y=e[14],m=e[15],b=n[0],x=n[1],_=n[2],O=n[3];return t[0]=b*r+x*s+_*f+O*g,t[1]=b*i+x*l+_*d+O*v,t[2]=b*a+x*u+_*p+O*y,t[3]=b*o+x*c+_*h+O*m,b=n[4],x=n[5],_=n[6],O=n[7],t[4]=b*r+x*s+_*f+O*g,t[5]=b*i+x*l+_*d+O*v,t[6]=b*a+x*u+_*p+O*y,t[7]=b*o+x*c+_*h+O*m,b=n[8],x=n[9],_=n[10],O=n[11],t[8]=b*r+x*s+_*f+O*g,t[9]=b*i+x*l+_*d+O*v,t[10]=b*a+x*u+_*p+O*y,t[11]=b*o+x*c+_*h+O*m,b=n[12],x=n[13],_=n[14],O=n[15],t[12]=b*r+x*s+_*f+O*g,t[13]=b*i+x*l+_*d+O*v,t[14]=b*a+x*u+_*p+O*y,t[15]=b*o+x*c+_*h+O*m,t}function l(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=r+r,l=i+i,u=a+a,c=r*s,f=r*l,d=r*u,p=i*l,h=i*u,g=a*u,v=o*s,y=o*l,m=o*u;return t[0]=1-(p+g),t[1]=f+m,t[2]=d-y,t[3]=0,t[4]=f-m,t[5]=1-(c+g),t[6]=h+v,t[7]=0,t[8]=d+y,t[9]=h-v,t[10]=1-(c+p),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function u(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],s=e[6],l=e[8],u=e[9],c=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,s),t[2]=Math.hypot(l,u,c),t}function c(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t}function f(t,e,n,r,i,a,o){var s=1/(e-n),l=1/(r-i),u=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*l,t[14]=(o+a)*u,t[15]=1,t}function d(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}e.perspective=c,e.ortho=f,e.mul=s,e.sub=d},function(t,e,n){"use strict";var r,i,a,o,s,l,u=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.add=void 0,e.calculateW=function(t,e){var n=e[0],r=e[1],i=e[2];return t[0]=n,t[1]=r,t[2]=i,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),t},e.clone=void 0,e.conjugate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t},e.copy=void 0,e.create=v,e.exactEquals=e.equals=e.dot=void 0,e.exp=b,e.fromEuler=function(t,e,n,r){var i=.5*Math.PI/180,a=Math.sin(e*=i),o=Math.cos(e),s=Math.sin(n*=i),l=Math.cos(n),u=Math.sin(r*=i),c=Math.cos(r);return t[0]=a*l*c-o*s*u,t[1]=o*s*c+a*l*u,t[2]=o*l*u-a*s*c,t[3]=o*l*c+a*s*u,t},e.fromMat3=O,e.fromValues=void 0,e.getAngle=function(t,e){var n=C(t,e);return Math.acos(2*n*n-1)},e.getAxisAngle=function(t,e){var n=2*Math.acos(e[3]),r=Math.sin(n/2);return r>c.EPSILON?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n},e.identity=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},e.invert=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=a*s,t},e.lerp=e.length=e.len=void 0,e.ln=x,e.mul=void 0,e.multiply=m,e.normalize=void 0,e.pow=function(t,e,n){return x(t,e),E(t,t,n),b(t,t),t},e.random=function(t){var e=c.RANDOM(),n=c.RANDOM(),r=c.RANDOM(),i=Math.sqrt(1-e),a=Math.sqrt(e);return t[0]=i*Math.sin(2*Math.PI*n),t[1]=i*Math.cos(2*Math.PI*n),t[2]=a*Math.sin(2*Math.PI*r),t[3]=a*Math.cos(2*Math.PI*r),t},e.rotateX=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+o*s,t[1]=i*l+a*s,t[2]=a*l-i*s,t[3]=o*l-r*s,t},e.rotateY=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l-a*s,t[1]=i*l+o*s,t[2]=a*l+r*s,t[3]=o*l-i*s,t},e.rotateZ=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+i*s,t[1]=i*l-r*s,t[2]=a*l+o*s,t[3]=o*l-a*s,t},e.setAxes=e.set=e.scale=e.rotationTo=void 0,e.setAxisAngle=y,e.slerp=_,e.squaredLength=e.sqrLen=e.sqlerp=void 0,e.str=function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"};var c=g(n(79)),f=g(n(394)),d=g(n(171)),p=g(n(397));function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}function g(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==u(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var o=i?Object.getOwnPropertyDescriptor(t,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=t[a]}return r.default=t,n&&n.set(t,r),r}function v(){var t=new c.ARRAY_TYPE(4);return c.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function y(t,e,n){var r=Math.sin(n*=.5);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=n[0],l=n[1],u=n[2],c=n[3];return t[0]=r*c+o*s+i*u-a*l,t[1]=i*c+o*l+a*s-r*u,t[2]=a*c+o*u+r*l-i*s,t[3]=o*c-r*s-i*l-a*u,t}function b(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=Math.sqrt(n*n+r*r+i*i),s=Math.exp(a),l=o>0?s*Math.sin(o)/o:0;return t[0]=n*l,t[1]=r*l,t[2]=i*l,t[3]=s*Math.cos(o),t}function x(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=Math.sqrt(n*n+r*r+i*i),s=o>0?Math.atan2(o,a)/o:0;return t[0]=n*s,t[1]=r*s,t[2]=i*s,t[3]=.5*Math.log(n*n+r*r+i*i+a*a),t}function _(t,e,n,r){var i,a,o,s,l,u=e[0],f=e[1],d=e[2],p=e[3],h=n[0],g=n[1],v=n[2],y=n[3];return(a=u*h+f*g+d*v+p*y)<0&&(a=-a,h=-h,g=-g,v=-v,y=-y),1-a>c.EPSILON?(o=Math.sin(i=Math.acos(a)),s=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(s=1-r,l=r),t[0]=s*u+l*h,t[1]=s*f+l*g,t[2]=s*d+l*v,t[3]=s*p+l*y,t}function O(t,e){var n,r=e[0]+e[4]+e[8];if(r>0)n=Math.sqrt(r+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[3*i+i]&&(i=2);var a=(i+1)%3,o=(i+2)%3;n=Math.sqrt(e[3*i+i]-e[3*a+a]-e[3*o+o]+1),t[i]=.5*n,n=.5/n,t[3]=(e[3*a+o]-e[3*o+a])*n,t[a]=(e[3*a+i]+e[3*i+a])*n,t[o]=(e[3*o+i]+e[3*i+o])*n}return t}var P=p.clone;e.clone=P;var M=p.fromValues;e.fromValues=M;var A=p.copy;e.copy=A;var S=p.set;e.set=S;var w=p.add;e.add=w,e.mul=m;var E=p.scale;e.scale=E;var C=p.dot;e.dot=C;var T=p.lerp;e.lerp=T;var I=p.length;e.length=I,e.len=I;var j=p.squaredLength;e.squaredLength=j,e.sqrLen=j;var F=p.normalize;e.normalize=F;var L=p.exactEquals;e.exactEquals=L;var D=p.equals;e.equals=D;var k=(r=d.create(),i=d.fromValues(1,0,0),a=d.fromValues(0,1,0),function(t,e,n){var o=d.dot(e,n);return o<-.999999?(d.cross(r,i,e),1e-6>d.len(r)&&d.cross(r,a,e),d.normalize(r,r),y(t,r,Math.PI),t):o>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):(d.cross(r,e,n),t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=1+o,F(t,t))});e.rotationTo=k;var R=(o=v(),s=v(),function(t,e,n,r,i,a){return _(o,e,i,a),_(s,n,r,a),_(t,o,s,2*a*(1-a)),t});e.sqlerp=R;var N=(l=f.create(),function(t,e,n,r){return l[0]=n[0],l[3]=n[1],l[6]=n[2],l[1]=r[0],l[4]=r[1],l[7]=r[2],l[2]=-e[0],l[5]=-e[1],l[8]=-e[2],F(t,O(t,l))});e.setAxes=N},function(t,e,n){"use strict";var r,i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t},e.ceil=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},e.clone=function(t){var e=new a.ARRAY_TYPE(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},e.create=s,e.cross=function(t,e,n,r){var i=n[0]*r[1]-n[1]*r[0],a=n[0]*r[2]-n[2]*r[0],o=n[0]*r[3]-n[3]*r[0],s=n[1]*r[2]-n[2]*r[1],l=n[1]*r[3]-n[3]*r[1],u=n[2]*r[3]-n[3]*r[2],c=e[0],f=e[1],d=e[2],p=e[3];return t[0]=f*u-d*l+p*s,t[1]=-(c*u)+d*o-p*a,t[2]=c*l-f*o+p*i,t[3]=-(c*s)+f*a-d*i,t},e.dist=void 0,e.distance=f,e.div=void 0,e.divide=c,e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},e.equals=function(t,e){var n=t[0],r=t[1],i=t[2],o=t[3],s=e[0],l=e[1],u=e[2],c=e[3];return Math.abs(n-s)<=a.EPSILON*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-l)<=a.EPSILON*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(i-u)<=a.EPSILON*Math.max(1,Math.abs(i),Math.abs(u))&&Math.abs(o-c)<=a.EPSILON*Math.max(1,Math.abs(o),Math.abs(c))},e.exactEquals=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]},e.floor=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},e.forEach=void 0,e.fromValues=function(t,e,n,r){var i=new a.ARRAY_TYPE(4);return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i},e.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},e.len=void 0,e.length=p,e.lerp=function(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t[3]=s+r*(n[3]-s),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t},e.mul=void 0,e.multiply=u,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},e.normalize=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t},e.random=function(t,e){e=e||1;do s=(n=2*a.RANDOM()-1)*n+(r=2*a.RANDOM()-1)*r;while(s>=1);do l=(i=2*a.RANDOM()-1)*i+(o=2*a.RANDOM()-1)*o;while(l>=1);var n,r,i,o,s,l,u=Math.sqrt((1-s)/l);return t[0]=e*n,t[1]=e*r,t[2]=e*i*u,t[3]=e*o*u,t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},e.set=function(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=d,e.squaredLength=h,e.str=function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},e.sub=void 0,e.subtract=l,e.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t},e.transformQuat=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*a-l*i,f=u*i+l*r-o*a,d=u*a+o*i-s*r,p=-o*r-s*i-l*a;return t[0]=c*u+-(p*o)+-(f*l)- -(d*s),t[1]=f*u+-(p*s)+-(d*o)- -(c*l),t[2]=d*u+-(p*l)+-(c*s)- -(f*o),t[3]=e[3],t},e.zero=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(4);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function c(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function f(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2],e[3]-t[3])}function d(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return n*n+r*r+i*i+a*a}function p(t){return Math.hypot(t[0],t[1],t[2],t[3])}function h(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}e.sub=l,e.mul=u,e.div=c,e.dist=f,e.sqrDist=d,e.len=p,e.sqrLen=h;var g=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=4),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;s0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t},e.random=function(t,e){e=e||1;var n=2*a.RANDOM()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},e.rotate=function(t,e,n,r){var i=e[0]-n[0],a=e[1]-n[1],o=Math.sin(r),s=Math.cos(r);return t[0]=i*s-a*o+n[0],t[1]=i*o+a*s+n[1],t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=d,e.squaredLength=h,e.str=function(t){return"vec2("+t[0]+", "+t[1]+")"},e.sub=void 0,e.subtract=l,e.transformMat2=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t},e.transformMat2d=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t},e.transformMat3=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t},e.zero=function(t){return t[0]=0,t[1]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(2);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0),t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function c(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function f(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1])}function d(t,e){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}function p(t){return Math.hypot(t[0],t[1])}function h(t){var e=t[0],n=t[1];return e*e+n*n}e.len=p,e.sub=l,e.mul=u,e.div=c,e.dist=f,e.sqrDist=d,e.sqrLen=h;var g=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=2),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;sc&&(u=e.slice(c,u),d[f]?d[f]+=u:d[++f]=u),(s=s[0])===(l=l[0])?d[f]?d[f]+=l:d[++f]=l:(d[++f]=null,p.push({i:f,x:(0,i.default)(s,l)})),c=o.lastIndex;return c200&&(c=o/10);for(var f=1/c,d=f/10,p=0;p<=c;p++){var h=p*f,g=[a.apply(null,t.concat([h])),a.apply(null,e.concat([h]))],v=(0,r.distance)(u[0],u[1],g[0],g[1]);v=0&&v1||e<0||t.length<2)return 0;for(var n=o(t),r=n.segments,i=n.totalLength,a=0,s=0,l=0;l=a&&e<=a+d){s=Math.atan2(f[1]-c[1],f[0]-c[0]);break}a+=d}return s},e.distanceAtSegment=function(t,e,n){for(var r=1/0,a=0;a1||e<0||t.length<2)return null;var n=o(t),r=n.segments,a=n.totalLength;if(0===a)return{x:t[0][0],y:t[0][1]};for(var s=0,l=null,u=0;u=s&&e<=s+p){var h=(e-s)/p;l=i.default.pointAt(f[0],f[1],d[0],d[1],h);break}s+=p}return l};var i=r(n(174)),a=n(87);function o(t){for(var e=0,n=[],r=0;r1){var o=a(e,n);return e*i+o*(i-1)}return e},e.getTextWidth=function(t,e){var n=(0,i.getOffScreenContext)(),a=0;if((0,r.isNil)(t)||""===t)return a;if(n.save(),n.font=e,(0,r.isString)(t)&&t.includes("\n")){var o=t.split("\n");(0,r.each)(o,function(t){var e=n.measureText(t).width;a1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}(0,r.each)(t,function(e,n){isNaN(e)||(t[n]=+e)}),e[n]=t}),e):void 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){return i?[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){void 0===e&&(e=!1);for(var n,r,o=(0,i.default)(t),s={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null},l=[],u="",c=o.length,f=[],d=0;d7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}(o,l,d),c=o.length,"Z"===u&&f.push(d),r=(n=o[d]).length,s.x1=+n[r-2],s.y1=+n[r-1],s.x2=+n[r-4]||s.x1,s.y2=+n[r-3]||s.y1;return e?[o,f]:o};var i=r(n(417)),a=n(807)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=(0,i.default)(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r=0){n=!0;break}}if(!n)return e;var l=[],u=0,c=0,f=0,d=0,p=0,h=e[0];("M"===h[0]||"m"===h[0])&&(u=+h[1],c=+h[2],f=u,d=c,p++,l[0]=["M",u,c]);for(var r=p,g=e.length;r2&&(n.push([r].concat(a.splice(0,2))),s="l",r="m"===r?"l":"L"),"o"===s&&1===a.length&&n.push([r,a[0]]),"r"===s)n.push([r].concat(a));else for(;a.length>=e[s]&&(n.push([r].concat(a.splice(0,e[s]))),e[s]););return""}),n};var r=n(0),i=" \n\v\f\r \xa0 ᠎              \u2028\u2029",a=RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),o=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=e[1],i=e[2],l=(0,r.mod)((0,r.toRadian)(e[3]),2*Math.PI),u=e[4],c=e[5],f=t[0],d=t[1],p=e[6],h=e[7],g=Math.cos(l)*(f-p)/2+Math.sin(l)*(d-h)/2,v=-1*Math.sin(l)*(f-p)/2+Math.cos(l)*(d-h)/2,y=g*g/(n*n)+v*v/(i*i);y>1&&(n*=Math.sqrt(y),i*=Math.sqrt(y));var m=n*n*(v*v)+i*i*(g*g),b=m?Math.sqrt((n*n*(i*i)-m)/m):1;u===c&&(b*=-1),isNaN(b)&&(b=0);var x=i?b*n*v/i:0,_=n?-(b*i)*g/n:0,O=(f+p)/2+Math.cos(l)*x-Math.sin(l)*_,P=(d+h)/2+Math.sin(l)*x+Math.cos(l)*_,M=[(g-x)/n,(v-_)/i],A=[(-1*g-x)/n,(-1*v-_)/i],S=o([1,0],M),w=o(M,A);return -1>=a(M,A)&&(w=Math.PI),a(M,A)>=1&&(w=0),0===c&&w>0&&(w-=2*Math.PI),1===c&&w<0&&(w+=2*Math.PI),{cx:O,cy:P,rx:s(t,[p,h])?0:n,ry:s(t,[p,h])?0:i,startAngle:S,endAngle:S+w,xRotation:l,arcFlag:u,sweepFlag:c}},e.isSamePoint=s;var r=n(0);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function a(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function o(t,e){return(t[0]*e[1].001*u*c){var d=(a.x*s.y-a.y*s.x)/l,p=(a.x*o.y-a.y*o.x)/l;r(d,0,1)&&r(p,0,1)&&(f={x:t.x+d*o.x,y:t.y+d*o.y})}return f};var r=function(t,e,n){return t>=e&&t<=n}},function(t,e,n){"use strict";function r(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAdjust:!0,registerAdjust:!0,Adjust:!0};Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return a.getAdjust}}),Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return a.registerAdjust}});var a=n(816),o=r(n(110)),s=r(n(817)),l=r(n(818)),u=r(n(819)),c=r(n(820)),f=n(423);Object.keys(f).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===f[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))}),(0,a.registerAdjust)("Dodge",s.default),(0,a.registerAdjust)("Jitter",l.default),(0,a.registerAdjust)("Stack",u.default),(0,a.registerAdjust)("Symmetric",c.default)},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return r.Scale}});var r=n(66)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTickMethod=function(t){return r[t]},e.registerTickMethod=function(t,e){r[t]=e};var r={}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return(0,i.__extends)(e,t),e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[e]},e.prototype.getText=function(e){for(var n=[],r=1;r1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(r(n(176)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,r=this.getInvertPercent(t),i=Math.floor(r*(n-1));if(i>=n-1)return(0,a.last)(e);if(i<0)return(0,a.head)(e);var o=e[i],s=e[i+1],l=i/(n-1);return o+(r-l)/((i+1)/(n-1)-l)*(s-o)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||((0,a.last)(e)!==this.max&&e.push(this.max),(0,a.head)(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(t<(0,a.head)(e))return 0;if(t>(0,a.last)(e))return 1;var n=0;return(0,a.each)(e,function(e,r){if(!(t>=e))return!1;n=r}),n/(e.length-1)},e}(r(n(176)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.values,n=t.tickInterval,i=t.tickCount,a=t.showLast;if((0,r.isNumber)(n)){var o=(0,r.filter)(e,function(t,e){return e%n==0}),s=(0,r.last)(e);return a&&(0,r.last)(o)!==s&&o.push(s),o}var l=e.length,u=t.min,c=t.max;if((0,r.isNil)(u)&&(u=0),(0,r.isNil)(c)&&(c=e.length-1),!(0,r.isNumber)(i)||i>=l)return e.slice(u,c+1);if(i<=0||c<=0)return[];for(var f=1===i?l:Math.floor(l/(i-1)),d=[],p=u,h=0;h=c);h++)p=Math.min(u+h*f,c),h===i-1&&a?d.push(e[c]):d.push(e[p]);return d};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.prettyNumber=function(t){return 1e-15>Math.abs(t)?t:parseFloat(t.toFixed(15))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(void 0===n&&(n=5),t===e)return{max:e,min:t,ticks:[t]};var i=n<0?0:Math.round(n);if(0===i)return{max:e,min:t,ticks:[]};var a=(e-t)/i,o=Math.pow(10,Math.floor(Math.log10(a))),s=o;2*o-a<1.5*(a-s)&&(s=2*o,5*o-a<2.75*(a-s)&&(s=5*o,10*o-a<1.5*(a-s)&&(s=10*o)));for(var l=Math.ceil(e/s),u=Math.floor(t/s),c=Math.max(l*s,e),f=Math.min(u*s,t),d=Math.floor((c-f)/s)+1,p=Array(d),h=0;h=0&&s<.5*Math.PI?(r={x:c.minX,y:c.minY},a={x:c.maxX,y:c.maxY}):.5*Math.PI<=s&&s1&&(n*=Math.sqrt(v),i*=Math.sqrt(v));var y=n*n*(g*g)+i*i*(h*h),m=y?Math.sqrt((n*n*(i*i)-y)/y):1;l===u&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?-(m*i)*h/n:0,_=(c+d)/2+Math.cos(s)*b-Math.sin(s)*x,O=(f+p)/2+Math.sin(s)*b+Math.cos(s)*x,P=[(h-b)/n,(g-x)/i],M=[(-1*h-b)/n,(-1*g-x)/i],A=o([1,0],P),S=o(P,M);return -1>=a(P,M)&&(S=Math.PI),a(P,M)>=1&&(S=0),0===u&&S>0&&(S-=2*Math.PI),1===u&&S<0&&(S+=2*Math.PI),{cx:_,cy:O,rx:r.isSamePoint(t,[d,p])?0:n,ry:r.isSamePoint(t,[d,p])?0:i,startAngle:A,endAngle:A+S,xRotation:s,arcFlag:l,sweepFlag:u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26);e.default=function(t,e,n){var i=r.getOffScreenContext();return t.createPath(i),i.isPointInPath(e,n)}},function(t,e,n){"use strict";function r(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51);e.default=function(t,e,n,i,a,o,s,l){var u=(Math.atan2(l-e,s-t)+2*Math.PI)%(2*Math.PI);if(ua)return!1;var c={x:t+n*Math.cos(u),y:e+n*Math.sin(u)};return r.distance(c.x,c.y,s,l)<=o/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(183);e.default=function(t,e,n,i,a){var o=t.length;if(o<2)return!1;for(var s=0;s1){var i,a=Array(t.callback.length-1).fill("");i=t.mapping.apply(t,(0,r.__spreadArray)([e],a,!1)).join("")}else i=t.mapping(e).join("");return i||n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLegendThemeCfg=e.getCustomLegendItems=e.getLegendItems=e.getLegendLayout=void 0;var r=n(1),i=n(0),a=n(21),o=n(451),s=n(70),l=n(146),u=["line","cross","tick","plus","hyphen"];function c(t){var e=t.symbol;(0,i.isString)(e)&&l.MarkerSymbols[e]&&(t.symbol=l.MarkerSymbols[e])}e.getLegendLayout=function(t){return t.startsWith(a.DIRECTION.LEFT)||t.startsWith(a.DIRECTION.RIGHT)?"vertical":"horizontal"},e.getLegendItems=function(t,e,n,a,l){var f=n.getScale(n.type);if(f.isCategory){var d=f.field,p=e.getAttribute("color"),h=e.getAttribute("shape"),g=t.getTheme().defaultColor,v=e.coordinate.isPolar;return f.getTicks().map(function(n,y){var m,b,x,_=n.text,O=n.value,P=f.invert(O),M=0===t.filterFieldData(d,[((x={})[d]=P,x)]).length;(0,i.each)(t.views,function(t){var e;t.filterFieldData(d,[((e={})[d]=P,e)]).length||(M=!0)});var A=(0,o.getMappingValue)(p,P,g),S=(0,o.getMappingValue)(h,P,"point"),w=e.getShapeMarker(S,{color:A,isInPolar:v}),E=l;return(0,i.isFunction)(E)&&(E=E(_,y,(0,r.__assign)({name:_,value:P},(0,i.deepMix)({},a,w)))),function(t,e){var n=t.symbol;if((0,i.isString)(n)&&-1!==u.indexOf(n)){var r=(0,i.get)(t,"style",{}),a=(0,i.get)(r,"lineWidth",1),o=r.stroke||r.fill||e;t.style=(0,i.deepMix)({},t.style,{lineWidth:a,stroke:o,fill:null})}}(w=(0,i.deepMix)({},a,w,(0,s.omit)((0,r.__assign)({},E),["style"])),A),E&&E.style&&(w.style=(m=w.style,b=E.style,(0,i.isFunction)(b)?b(m):(0,i.deepMix)({},m,b))),c(w),{id:P,name:_,value:P,marker:w,unchecked:M}})}return[]},e.getCustomLegendItems=function(t,e,n){return n.map(function(n,r){var a=e;(0,i.isFunction)(a)&&(a=a(n.name,r,(0,i.deepMix)({},t,n)));var o=(0,i.isFunction)(n.marker)?n.marker(n.name,r,(0,i.deepMix)({},t,n)):n.marker,s=(0,i.deepMix)({},t,a,o);return c(s),n.marker=s,n})},e.getLegendThemeCfg=function(t,e){var n=(0,i.get)(t,["components","legend"],{});return(0,i.deepMix)({},(0,i.get)(n,["common"],{}),(0,i.deepMix)({},(0,i.get)(n,[e],{})))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLineGradient=u,e.parsePattern=f,e.parseRadialGradient=c,e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return(0,r.isArray)(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,[e,n,i,a]},e.parseStyle=function(t,e,n){var i=e.getBBox();if(isNaN(i.x)||isNaN(i.y)||isNaN(i.width)||isNaN(i.height))return n;if((0,r.isString)(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return u(t,e,n);if("r"===n[0])return c(t,e,n);if("p"===n[0])return f(t,e,n)}return n}if(n instanceof CanvasPattern)return n};var r=n(53),i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,o=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function l(t,e){var n=t.match(s);(0,r.each)(n,function(t){var n=t.split(":");e.addColorStop(n[0],n[1])})}function u(t,e,n){var r,a,o=i.exec(n),s=parseFloat(o[1])%360*(Math.PI/180),u=o[2],c=e.getBBox();s>=0&&s<.5*Math.PI?(r={x:c.minX,y:c.minY},a={x:c.maxX,y:c.maxY}):.5*Math.PI<=s&&s1&&(n*=Math.sqrt(v),i*=Math.sqrt(v));var y=n*n*(g*g)+i*i*(h*h),m=y?Math.sqrt((n*n*(i*i)-y)/y):1;l===u&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?-(m*i)*h/n:0,_=(c+d)/2+Math.cos(s)*b-Math.sin(s)*x,O=(f+p)/2+Math.sin(s)*b+Math.cos(s)*x,P=[(h-b)/n,(g-x)/i],M=[(-1*h-b)/n,(-1*g-x)/i],A=o([1,0],P),S=o(P,M);return -1>=a(P,M)&&(S=Math.PI),a(P,M)>=1&&(S=0),0===u&&S>0&&(S-=2*Math.PI),1===u&&S<0&&(S+=2*Math.PI),{cx:_,cy:O,rx:(0,r.isSamePoint)(t,[d,p])?0:n,ry:(0,r.isSamePoint)(t,[d,p])?0:i,startAngle:A,endAngle:A+S,xRotation:s,arcFlag:l,sweepFlag:u}};var r=n(53);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function a(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function o(t,e){return(t[0]*e[1]Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i,a,o,s,l){var u=(Math.atan2(l-e,s-t)+2*Math.PI)%(2*Math.PI);if(ua)return!1;var c={x:t+n*Math.cos(u),y:e+n*Math.sin(u)};return(0,r.distance)(c.x,c.y,s,l)<=o/2};var r=n(53)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,a){var o=t.length;if(o<2)return!1;for(var s=0;s1){for(var o=e.addGroup(),s=0;s1?e[1]:n,o=e.length>3?e[3]:r,s=e.length>2?e[2]:a;return{min:n,max:r,min1:a,max1:o,median:s}}function l(t,e,n){var r,a=n/2;if((0,i.isArray)(e)){var o=s(e),l=o.min,u=o.max,c=o.median,f=o.min1,d=o.max1,p=t-a,h=t+a;r=[[p,u],[h,u],[t,u],[t,d],[p,f],[p,d],[h,d],[h,f],[t,f],[t,l],[p,l],[h,l],[p,c],[h,c]]}else{e=(0,i.isNil)(e)?.5:e;var g=s(t),l=g.min,u=g.max,c=g.median,f=g.min1,d=g.max1,v=e-a,y=e+a;r=[[l,v],[l,y],[l,e],[f,e],[f,v],[f,y],[d,y],[d,v],[d,e],[u,e],[u,v],[u,y],[c,v],[c,y]]}return r.map(function(t){return{x:t[0],y:t[1]}})}(0,a.registerShape)("schema","box",{getPoints:function(t){return l(t.x,t.y,t.size)},draw:function(t,e){var n,i=(0,o.getStyle)(t,!0,!1),a=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["M",n[4].x,n[4].y],["L",n[5].x,n[5].y],["L",n[6].x,n[6].y],["L",n[7].x,n[7].y],["L",n[4].x,n[4].y],["Z"],["M",n[8].x,n[8].y],["L",n[9].x,n[9].y],["M",n[10].x,n[10].y],["L",n[11].x,n[11].y],["M",n[12].x,n[12].y],["L",n[13].x,n[13].y]]);return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:a,name:"schema"})})},getMarker:function(t){return{symbol:function(t,e,n){var r=l(t,[e-6,e-3,e,e+3,e+6],n);return[["M",r[0].x+1,r[0].y],["L",r[1].x-1,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x+1,r[10].y],["L",r[11].x-1,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]},style:{r:6,lineWidth:1,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(70),o=n(27),s=n(33);function l(t,e,n){var r,o=(r=((0,i.isArray)(e)?e:[e]).sort(function(t,e){return e-t}),(0,a.padEnd)(r,4,r[r.length-1]));return[{x:t,y:o[0]},{x:t,y:o[1]},{x:t-n/2,y:o[2]},{x:t-n/2,y:o[1]},{x:t+n/2,y:o[1]},{x:t+n/2,y:o[2]},{x:t,y:o[2]},{x:t,y:o[3]}]}(0,o.registerShape)("schema","candle",{getPoints:function(t){return l(t.x,t.y,t.size)},draw:function(t,e){var n,i=(0,s.getStyle)(t,!0,!0),a=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["L",n[4].x,n[4].y],["L",n[5].x,n[5].y],["Z"],["M",n[6].x,n[6].y],["L",n[7].x,n[7].y]]);return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:a,name:"schema"})})},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var r=l(t,[e+7.5,e+3,e-3,e-7.5],n);return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(33);(0,a.registerShape)("polygon","square",{draw:function(t,e){if(!(0,i.isEmpty)(t.points)){var n,a,s,l,u=(0,o.getStyle)(t,!0,!0),c=this.parsePoints(t.points);return e.addShape("rect",{attrs:(0,r.__assign)((0,r.__assign)({},u),(n=t.size,l=Math.min(a=Math.abs(c[0].x-c[2].x),s=Math.abs(c[0].y-c[2].y)),n&&(l=(0,i.clamp)(n,0,Math.min(a,s))),l/=2,{x:(c[0].x+c[2].x)/2-l,y:(c[0].y+c[2].y)/2-l,width:2*l,height:2*l})),name:"polygon"})}},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.antiCollision=void 0,e.antiCollision=function(t,e,n){var r,i=t.filter(function(t){return!t.invisible});i.sort(function(t,e){return t.y-e.y});var a=!0,o=n.minY,s=Math.abs(o-n.maxY),l=0,u=Number.MIN_VALUE,c=i.map(function(t){return t.y>l&&(l=t.y),t.ys&&(s=l-o);a;)for(c.forEach(function(t){var e=(Math.min.apply(u,t.targets)+Math.max.apply(u,t.targets))/2;t.pos=Math.min(Math.max(u,e-t.size/2),s-t.size),t.pos=Math.max(0,t.pos)}),a=!1,r=c.length;r--;)if(r>0){var f=c[r-1],d=c[r];f.pos+f.size>d.pos&&(f.size+=d.size,f.targets=f.targets.concat(d.targets),f.pos+f.size>s&&(f.pos=s-f.size),c.splice(r,1),a=!0)}r=0,c.forEach(function(t){var n=o+e/2;t.targets.forEach(function(){i[r].y=t.pos+n,n+=e,r++})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return(0,r.__extends)(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:(0,i.head)(t),end:(0,i.last)(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end;return{x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),width:Math.abs(n.x-e.x),height:Math.abs(n.y-e.y)}},e}((0,r.__importDefault)(n(288)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&((0,i.each)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}((0,r.__importDefault)(n(288)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BRUSH_FILTER_EVENTS=void 0;var r,i,a=n(1),o=n(98),s=(0,a.__importDefault)(n(44)),l=n(31);function u(t,e,n,r){var i=Math.min(n[e],r[e]),a=Math.max(n[e],r[e]),o=t.range,s=o[0],l=o[1];if(il&&(a=l),i===l&&a===l)return null;var u=t.invert(i),c=t.invert(a);if(!t.isCategory)return function(t){return t>=u&&t<=c};var f=t.values.indexOf(u),d=t.values.indexOf(c),p=t.values.slice(f,d+1);return function(t){return p.includes(t)}}(r=i||(i={})).FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset",e.BRUSH_FILTER_EVENTS=i;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return(0,a.__extends)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){if((0,l.isMask)(this.context)){var t,e,n=this.context.event.target.getCanvasBBox();t={x:n.x,y:n.y},e={x:n.maxX,y:n.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(5>Math.abs(t.x-e.x)||5>Math.abs(t.x-e.y))){var r=this.context,a=r.view,s={view:a,event:r.event,dims:this.dims};a.emit(i.BEFORE_FILTER,o.Event.fromData(a,i.BEFORE_FILTER,s));var c=a.getCoordinate(),f=c.invert(e),d=c.invert(t);if(this.hasDim("x")){var p=a.getXScale(),h=u(p,"x",f,d);this.filterView(a,p.field,h)}if(this.hasDim("y")){var g=a.getYScales()[0],h=u(g,"y",f,d);this.filterView(a,g.field,h)}this.reRender(a,{source:i.FILTER}),a.emit(i.AFTER_FILTER,o.Event.fromData(a,i.AFTER_FILTER,s))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(i.BEFORE_RESET,o.Event.fromData(t,i.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:i.RESET}),t.emit(i.AFTER_RESET,o.Event.fromData(t,i.AFTER_RESET,{}))},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t,e){t.render(!0,e)},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return(0,r.__extends)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim("x"),this.resetDim("y"),this.context.view.render(!0)},e}(n(185).Action);e.default=i},function(t,e,n){"use strict";var r=n(482);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(_.registerFacet)("rect",v.a),Object(_.registerFacet)("mirror",h.a),Object(_.registerFacet)("list",c.a),Object(_.registerFacet)("matrix",d.a),Object(_.registerFacet)("circle",l.a),Object(_.registerFacet)("tree",m.a),e.a=function(t){var e=Object(b.a)(),n=Object(x.a)(),r=t.type,a=t.children,s=O(t,["type","children"]);return e.facetInstance&&(e.facetInstance.destroy(),e.facetInstance=null,n.forceReRender=!0),o()(a)?e.facet(r,i()(i()({},s),{eachView:a})):e.facet(r,i()({},s)),null}},function(t,e,n){"use strict";n(3);var r=n(344),i=n.n(r),a=n(25),o=n(40);Object(a.registerComponentController)("slider",i.a),e.a=function(t){return Object(o.a)().option("slider",t),null}},function(t,e,n){"use strict";n(98),n(272)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(332),h=n.n(p),g=n(39),v=n(8);n(463),n(474),n(473),Object(v.registerGeometry)("Schema",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="schema",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(158),h=n.n(p),g=n(162),v=n(39),y=n(8);Object(y.registerAnimation)("path-in",g.pathIn),Object(y.registerGeometry)("Path",h.a);var m=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="path",t}return i()(r)}(v.a)},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(128),l=n(216),u=n(217),c=n(218),f=n(129),d=n(130),p=n(219),h=n(220),g=n(17),v=n.n(g),y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},m={area:s.a,edge:l.a,heatmap:u.a,interval:c.a,line:f.a,point:d.a,polygon:p.a,"line-advance":h.a};e.a=function(t){var e=t.type,n=y(t,["type"]),r=m[e];return r?o.a.createElement(r,i()({},n)):(v()(!1,"Only support the below type: area|edge|heatmap|interval|line|point|polygon|line-advance"),null)}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(17),l=n.n(s),u=n(215);function c(t){return l()(!1,"Coord (协调) 组件将重命名为更加语义化的组件名 Coordinate(坐标),请使用Coordinate替代,我们将在5.0后删除Coord组件"),o.a.createElement(u.a,i()({},t))}},function(t,e,n){"use strict";var r=n(17),i=n.n(r),a=n(207),o=n(208),s=n(209),l=n(210),u=n(211),c=n(212),f=n(213),d=function(t){return i()(!1,"Guide组件将在5.0后不再支持,请使用Annotation替代,请查看Annotation的使用文档"),t.children};d.Arc=a.a,d.DataMarker=o.a,d.DataRegion=s.a,d.Image=l.a,d.Line=u.a,d.Region=c.a,d.Text=f.a,e.a=d},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(3),i=n.n(r),a=n(28),o=n.n(a),s=n(81),l=n(17),u=n.n(l);function c(t){var e=Object(s.a)();if(o()(t.children)){var n=t.children(e);return i.a.isValidElement(n)?n:null}return u()(!1,"Effects 的子组件应当是一个函数 (chart) => {}"),null}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(3),i=n(40);function a(t){var e=Object(i.a)(),n=t.type,a=t.config;return Object(r.useLayoutEffect)(function(){return e.interaction(n,a),function(){e.removeInteraction(n)}}),null}},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.pick=void 0,e.pick=function(t,e){var n={};return null!==t&&"object"===(0,r.default)(t)&&e.forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=e.invariant=e.LEVEL=void 0;var r,i=n(1);(r=e.LEVEL||(e.LEVEL={})).ERROR="error",r.WARN="warn",r.INFO="log";var a="AntV/G2Plot";function o(t){for(var e=[],n=1;n"},key:(0===l?"top":"bottom")+"-statistic"},a.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}})},e.renderGaugeStatistic=function(t,e,n){var l=e.statistic;[l.title,l.content].forEach(function(e){if(e){var l=i.isFunction(e.style)?e.style(n):e.style;t.annotation().html(r.__assign({position:["50%","100%"],html:function(t,a){var u=a.getCoordinate(),c=a.views[0].getCoordinate(),f=c.getCenter(),d=c.getRadius(),p=Math.max(Math.sin(c.startAngle),Math.sin(c.endAngle))*d,h=f.y+p-u.y.start-parseFloat(i.get(l,"fontSize",0)),g=u.getRadius()*u.innerRadius*2;s(t,r.__assign({width:g+"px",transform:"translate(-50%, "+h+"px)"},o(l)));var v=a.getData();if(e.customHtml)return e.customHtml(t,a,n,v);var y=e.content;return e.formatter&&(y=e.formatter(n,v)),y?i.isString(y)?y:""+y:"
"}},a.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(133),i=n.n(r),a=n(3),o=n(92);function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=Object(o.getTheme)(t);e.name=t;var n=Object(a.useState)(e),r=i()(n,2),s=r[0],l=r[1];return[s,function(t){var e=Object(o.getTheme)(t);e.name=t,l(e)}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;var r=n(1065);e.bind=function(t,e){var n=(0,r.getSensor)(t);return n.bind(e),function(){n.unbind(e)}},e.clear=function(t){var e=(0,r.getSensor)(t);(0,r.removeSensor)(e)},e.ver="1.0.1"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,a=Array(i),o=0;o1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},n.prototype.getButtonCfg=function(){var t=this.context.view,e=a.get(t,["interactions","drill-down","cfg","drillDownConfig"]);return o.deepAssign(this.breadCrumbCfg,null==e?void 0:e.breadCrumb,this.cfg)},n.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},n.prototype.drawBreadCrumbGroup=function(){var t=this,n=this.getButtonCfg(),i=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:e.BREAD_CRUMB_NAME});var o=0;i.forEach(function(s,l){var u=t.breadCrumbGroup.addShape({type:"text",id:s.id,name:e.BREAD_CRUMB_NAME+"_"+s.name+"_text",attrs:r.__assign(r.__assign({text:0!==l||a.isNil(n.rootText)?s.name:n.rootText},n.textStyle),{x:o,y:0})}),c=u.getBBox();if(o+=c.width+4,u.on("click",function(e){var n,r=e.target.get("id");if(r!==(null===(n=a.last(i))||void 0===n?void 0:n.id)){var o=i.slice(0,i.findIndex(function(t){return t.id===r})+1);t.backTo(o)}}),u.on("mouseenter",function(t){var e;t.target.get("id")!==(null===(e=a.last(i))||void 0===e?void 0:e.id)?u.attr(n.activeTextStyle):u.attr({cursor:"default"})}),u.on("mouseleave",function(){u.attr(n.textStyle)}),l(o*=o)?(r=(u+o-i)/(2*u),a=Math.sqrt(Math.max(0,o/u-r*r)),n.x=t.x-r*s-a*l,n.y=t.y-r*l+a*s):(r=(u+i-o)/(2*u),a=Math.sqrt(Math.max(0,i/u-r*r)),n.x=e.x+r*s-a*l,n.y=e.y+r*l+a*s)):(n.x=e.x+n.r,n.y=e.y)}function s(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function l(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function u(t){this._=t,this.next=null,this.previous=null}function c(t){var e,n,r,c,f,d,p,h,g,v,y;if(!(c=(t=(0,i.default)(t)).length))return 0;if((e=t[0]).x=0,e.y=0,!(c>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(c>2))return e.r+n.r;o(n,e,r=t[2]),e=new u(e),n=new u(n),r=new u(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(p=3;p0&&n*n>r*r+i*i}function o(t,e){for(var n=0;n0?n:e;return e<0?e:n;case"outer":if(n=12,r.isString(e)&&e.endsWith("%"))return .01*parseFloat(e)<0?n:e;return e>0?e:n;default:return e}},e.isAllZero=function(t,e){return r.every(i.processIllegalData(t,e),function(t){return 0===t[e]})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PIE_STATISTIC=void 0;var r=n(14),i=n(1129),a=n(1130);e.PIE_STATISTIC="pie-statistic",r.registerAction(e.PIE_STATISTIC,a.StatisticAction),r.registerInteraction("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),r.registerAction("pie-legend",i.PieLegendAction),r.registerInteraction("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0;var r=n(1),i=n(14),a=[1,0,0,0,1,0,0,0,1];e.transform=function(t,e){var n=e?r.__spreadArrays(e):r.__spreadArrays(a);return i.Util.transform(n,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingleKeyValues=e.getFontSizeMapping=e.processImageMask=e.getSize=e.transform=void 0;var r=n(1),i=n(0),a=n(293),o=n(15),s=n(1137);function l(t){var e,n,r,i=t.width,s=t.height,l=t.container,u=t.autoFit,c=t.padding,f=t.appendPadding;if(u){var d=o.getContainerSize(l);i=d.width,s=d.height}i=i||400,s=s||400;var p=(e={padding:c,appendPadding:f},n=a.normalPadding(e.padding),r=a.normalPadding(e.appendPadding),[n[0]+r[0],n[1]+r[1],n[2]+r[2],n[3]+r[3]]),h=p[0],g=p[1],v=p[2];return[i-(p[3]+g),s-(h+v)]}function u(t,e){if(i.isFunction(t))return t;if(i.isArray(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var a=e[0],o=e[1];return o===a?function(){return(r+n)/2}:function(t){return(r-n)/(o-a)*(t.value-a)+n}}return function(){return t}}function c(t,e){return t.map(function(t){return t[e]}).filter(function(t){return!("number"!=typeof t||isNaN(t))})}e.transform=function(t){var e=t.options,n=t.chart,a=n.width,f=n.height,d=n.padding,p=n.appendPadding,h=n.ele,g=e.data,v=e.imageMask,y=e.wordField,m=e.weightField,b=e.colorField,x=e.wordStyle,_=e.timeInterval,O=e.random,P=e.spiral,M=e.autoFit,A=e.placementStrategy;if(!g||!g.length)return[];var S=x.fontFamily,w=x.fontWeight,E=x.padding,C=x.fontSize,T=c(g,m),I=[Math.min.apply(Math,T),Math.max.apply(Math,T)],j=g.map(function(t){return{text:t[y],value:t[m],color:t[b],datum:t}}),F={imageMask:v,font:S,fontSize:u(C,I),fontWeight:w,size:l({width:a,height:f,padding:d,appendPadding:p,autoFit:void 0===M||M,container:h}),padding:E,timeInterval:_,random:O,spiral:P,rotate:function(t){var e,n=((e=t.wordStyle.rotationSteps)<1&&(o.log(o.LEVEL.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}),r=n.rotation,a=n.rotationSteps;if(!i.isArray(r))return r;var s=r[0],l=r[1],u=1===a?0:(l-s)/(a-1);return function(){return l===s?l:Math.floor(Math.random()*a)*u}}(e)};if(i.isFunction(A)){var L=j.map(function(t,e,i){return r.__assign(r.__assign(r.__assign({},t),{hasText:!!t.text,font:s.functor(F.font)(t,e,i),weight:s.functor(F.fontWeight)(t,e,i),rotate:s.functor(F.rotate)(t,e,i),size:s.functor(F.fontSize)(t,e,i),style:"normal"}),A.call(n,t,e,i))});return L.push({text:"",value:0,x:0,y:0,opacity:0}),L.push({text:"",value:0,x:F.size[0],y:F.size[1],opacity:0}),L}return s.wordCloud(j,F)},e.getSize=l,e.processImageMask=function(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement){e(t);return}if(i.isString(t)){var r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},r.onerror=function(){o.log(o.LEVEL.ERROR,!1,"image %s load failed !!!",t),n()};return}o.log(o.LEVEL.WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()})},e.getFontSizeMapping=u,e.getSingleKeyValues=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.WORD_CLOUD_COLOR_FIELD=void 0;var r=n(24),i=n(15);e.WORD_CLOUD_COLOR_FIELD="color",e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",e.WORD_CLOUD_COLOR_FIELD],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.basicFunnel=void 0;var r=n(1),i=n(0),a=n(15),o=n(64),s=n(59),l=n(120),u=n(300);function c(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,a=n.yField,o=n.maxSize,s=n.minSize,l=u.transformData(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),t}function f(t){var e=t.chart,n=t.options,r=n.xField,u=n.yField,c=n.color,f=n.tooltip,d=n.label,p=n.shape,h=n.funnelStyle,g=n.state,v=o.getTooltipMapping(f,[r,u]),y=v.fields,m=v.formatter;return s.geometry({chart:e,options:{type:"interval",xField:r,yField:l.FUNNEL_MAPPING_VALUE,colorField:r,tooltipFields:i.isArray(y)&&y.concat([l.FUNNEL_PERCENT,l.FUNNEL_CONVERSATION]),mapping:{shape:void 0===p?"funnel":p,tooltip:m,color:c,style:h},label:d,state:g}}),a.findGeometry(t.chart,"interval").adjust("symmetric"),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function p(t){var e=t.options.maxSize;return u.conversionTagComponent(function(t,n,i,a){var o=e-(e-t[l.FUNNEL_MAPPING_VALUE])/2;return r.__assign(r.__assign({},a),{start:[n-.5,o],end:[n-.5,o+.05]})})(t),t}e.basicFunnel=function(t){return a.flow(c,f,d,p)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLiquidData=void 0,e.getLiquidData=function(t){return[{percent:t,type:"liquid"}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.binHistogram=void 0;var r=n(0);function i(t,e,n){if(1===n)return[0,e];var r=Math.floor(t/e);return[e*r,e*(r+1)]}e.binHistogram=function(t,e,n,a,o){var s=r.clone(t);r.sortBy(s,e);var l=r.valuesOfKey(s,e),u=r.getRange(l),c=u.max-u.min,f=n;!n&&a&&(f=a>1?c/(a-1):u.max),n||a||(f=c/(Math.ceil(Math.log(l.length)/Math.LN2)+1));var d={},p=r.groupBy(s,o);r.isEmpty(p)?r.each(s,function(t){var n=i(t[e],f,a),o=n[0]+"-"+n[1];r.hasKey(d,o)||(d[o]={range:n,count:0}),d[o].count+=1}):Object.keys(p).forEach(function(t){r.each(p[t],function(n){var s=i(n[e],f,a),l=s[0]+"-"+s[1]+"-"+t;r.hasKey(d,l)||(d[l]={range:s,count:0},d[l][o]=t),d[l].count+=1})});var h=[];return r.each(d,function(t){h.push(t)}),h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.HISTOGRAM_Y_FIELD=e.HISTOGRAM_X_FIELD=void 0;var r=n(24),i=n(15);e.HISTOGRAM_X_FIELD="range",e.HISTOGRAM_Y_FIELD="count",e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=e.processData=void 0;var r=n(1),i=n(0),a=n(15),o=n(301);function s(t,e,n,o,s){var l,u=[];if(i.reduce(t,function(t,e){a.log(a.LEVEL.WARN,i.isNumber(e[n]),e[n]+" is not a valid number");var s,l=i.isUndefined(e[n])?null:e[n];return u.push(r.__assign(r.__assign({},e),((s={})[o]=[t,t+l],s))),t+l},0),u.length&&s){var c=i.get(u,[[t.length-1],o,[1]]);u.push(((l={})[e]=s.label,l[n]=c,l[o]=[0,c],l))}return u}e.processData=s,e.transformData=function(t,e,n,a){return s(t,e,n,o.Y_FIELD,a).map(function(e,n){var a;return i.isObject(e)?r.__assign(r.__assign({},e),((a={})[o.ABSOLUTE_FIELD]=e[o.Y_FIELD][1],a[o.DIFF_FIELD]=e[o.Y_FIELD][1]-e[o.Y_FIELD][0],a[o.IS_TOTAL]=n===t.length,a)):e})}},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t){function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(t,e,n,r){t=t.filter(function(t,r){var i=e(t,r),a=n(t,r);return null!=i&&isFinite(i)&&null!=a&&isFinite(a)}),r&&t.sort(function(t,n){return e(t)-e(n)});for(var i,a,o,s=t.length,l=new Float64Array(s),u=new Float64Array(s),c=0,f=0,d=0;dr&&(t.splice(s+1,0,d),i=!0)}return i}(i)&&o<1e4;);return i}function s(t,e,n,r){var i=r-t*t,a=1e-24>Math.abs(i)?0:(n-t*e)/i;return[e-a*t,a]}function l(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function o(o){var l=0,u=0,c=0,f=0,d=0,p=t?+t[0]:1/0,h=t?+t[1]:-1/0;r(o,n,a,function(e,n){++l,u+=(e-u)/l,c+=(n-c)/l,f+=(e*n-f)/l,d+=(e*e-d)/l,!t&&(eh&&(h=e))});var g=e(s(u,c,f,d),2),v=g[0],y=g[1],m=function(t){return y*t+v},b=[[p,m(p)],[h,m(h)]];return b.a=y,b.b=v,b.predict=m,b.rSquared=i(o,n,a,c,m),b}return o.domain=function(e){return arguments.length?(t=e,o):t},o.x=function(t){return arguments.length?(n=t,o):n},o.y=function(t){return arguments.length?(a=t,o):a},o}function u(){var t,a=function(t){return t[0]},s=function(t){return t[1]};function l(l){var u,c,f,d,p=e(n(l,a,s),4),h=p[0],g=p[1],v=p[2],y=p[3],m=h.length,b=0,x=0,_=0,O=0,P=0;for(u=0;uw&&(w=e))});var E=_-b*b,C=b*E-x*x,T=(P*b-O*x)/C,I=(O*E-P*x)/C,j=-T*b,F=function(t){return T*(t-=v)*t+I*t+j+y},L=o(S,w,F);return L.a=T,L.b=I-2*T*v,L.c=j-I*v+T*v*v+y,L.predict=F,L.rSquared=i(l,a,s,M,F),L}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(a=t,l):a},l.y=function(t){return arguments.length?(s=t,l):s},l}t.regressionExp=function(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function l(l){var u=0,c=0,f=0,d=0,p=0,h=0,g=t?+t[0]:1/0,v=t?+t[1]:-1/0;r(l,n,a,function(e,n){var r=Math.log(n),i=e*n;++u,c+=(n-c)/u,d+=(i-d)/u,h+=(e*i-h)/u,f+=(n*r-f)/u,p+=(i*r-p)/u,!t&&(ev&&(v=e))});var y=e(s(d/c,f/c,p/c,h/c),2),m=y[0],b=y[1];m=Math.exp(m);var x=function(t){return m*Math.exp(b*t)},_=o(g,v,x);return _.a=m,_.b=b,_.predict=x,_.rSquared=i(l,n,a,c,x),_}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(a=t,l):a},l},t.regressionLinear=l,t.regressionLoess=function(){var t=function(t){return t[0]},r=function(t){return t[1]},i=.3;function a(a){for(var o=e(n(a,t,r,!0),4),l=o[0],u=o[1],c=o[2],f=o[3],d=l.length,p=Math.max(2,~~(i*d)),h=new Float64Array(d),g=new Float64Array(d),v=new Float64Array(d).fill(1),y=-1;++y<=2;){for(var m=[0,p-1],b=0;bl[O]-x?_:O,M=0,A=0,S=0,w=0,E=0,C=1/Math.abs(l[P]-x||1),T=_;T<=O;++T){var I,j=l[T],F=u[T],L=(I=1-(I=Math.abs(x-j)*C)*I*I)*I*I*v[T],D=j*L;M+=L,A+=D,S+=F*L,w+=F*D,E+=j*D}var k=e(s(A/M,S/M,w/M,E/M),2),R=k[0],N=k[1];h[b]=R+N*x,g[b]=Math.abs(u[b]-h[b]),function(t,e,n){var r=t[e],i=n[0],a=n[1]+1;if(!(a>=t.length))for(;e>i&&t[a]-r<=r-t[i];)n[0]=++i,n[1]=a,++a}(l,b+1,m)}if(2===y)break;var B=function(t){t.sort(function(t,e){return t-e});var e=t.length/2;return e%1==0?(t[e-1]+t[e])/2:t[Math.floor(e)]}(g);if(1e-12>Math.abs(B))break;for(var G,V,z=0;z=1?1e-12:(V=1-G*G)*V}return function(t,e,n,r){for(var i,a=t.length,o=[],s=0,l=0,u=[];sv&&(v=e))});var m=e(s(f,d,p,h),2),b=m[0],x=m[1],_=function(t){return x*Math.log(t)/y+b},O=o(g,v,_);return O.a=x,O.b=b,O.predict=_,O.rSquared=i(u,n,a,d,_),O}return u.domain=function(e){return arguments.length?(t=e,u):t},u.x=function(t){return arguments.length?(n=t,u):n},u.y=function(t){return arguments.length?(a=t,u):a},u.base=function(t){return arguments.length?(l=t,u):l},u},t.regressionPoly=function(){var t,a=function(t){return t[0]},s=function(t){return t[1]},c=3;function f(f){if(1===c){var d,p,h,g,v,y=l().x(a).y(s).domain(t)(f);return y.coefficients=[y.b,y.a],delete y.a,delete y.b,y}if(2===c){var m=u().x(a).y(s).domain(t)(f);return m.coefficients=[m.c,m.b,m.a],delete m.a,delete m.b,delete m.c,m}var b=e(n(f,a,s),4),x=b[0],_=b[1],O=b[2],P=b[3],M=x.length,A=[],S=[],w=c+1,E=0,C=0,T=t?+t[0]:1/0,I=t?+t[1]:-1/0;for(r(f,a,s,function(e,n){++C,E+=(n-E)/C,!t&&(eI&&(I=e))}),d=0;dMath.abs(t[e][i])&&(i=n);for(r=e;r=e;r--)t[r][n]-=t[r][e]*t[e][n]/t[e][e]}for(n=o-1;n>=0;--n){for(a=0,r=n+1;r=0;--i)for(o=e[i],s=1,l[i]+=o,a=1;a<=i;++a)s*=(i+1-a)/a,l[i-a]+=o*Math.pow(n,a)*s;return l[0]+=r,l}(w,j,-O,P),L.predict=F,L.rSquared=i(f,a,s,E,F),L}return f.domain=function(e){return arguments.length?(t=e,f):t},f.x=function(t){return arguments.length?(a=t,f):a},f.y=function(t){return arguments.length?(s=t,f):s},f.order=function(t){return arguments.length?(c=t,f):c},f},t.regressionPow=function(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function l(l){var u=0,c=0,f=0,d=0,p=0,h=0,g=t?+t[0]:1/0,v=t?+t[1]:-1/0;r(l,n,a,function(e,n){var r=Math.log(e),i=Math.log(n);++u,c+=(r-c)/u,f+=(i-f)/u,d+=(r*i-d)/u,p+=(r*r-p)/u,h+=(n-h)/u,!t&&(ev&&(v=e))});var y=e(s(c,f,d,p),2),m=y[0],b=y[1];m=Math.exp(m);var x=function(t){return m*Math.pow(t,b)},_=o(g,v,x);return _.a=m,_.b=b,_.predict=x,_.rSquared=i(l,n,a,h,x),_}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(a=t,l):a},l},t.regressionQuad=u,Object.defineProperty(t,"__esModule",{value:!0})},"object"===(0,o.default)(e)&&void 0!==t?a(e):(r=[e],void 0!==(i=a.apply(e,r))&&(t.exports=i))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0,e.transformData=function(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,a=t.targetField,o=t.layout,s=[],l=[];e.forEach(function(t,e){var o;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,a){var o,l=0===a?r:t[i][a]-t[i][a-1];s.push(((o={rKey:i+"_"+a})[n]=n?t[n]:String(e),o[i]=l,o))}),t[r].forEach(function(i,a){var o;s.push(((o={mKey:t[r].length>1?r+"_"+a:""+r})[n]=n?t[n]:String(e),o[r]=i,o))}),s.push(((o={tKey:""+a})[n]=n?t[n]:String(e),o[a]=t[a],o)),l.push(t[i],t[r],t[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,"vertical"===o&&s.reverse(),{min:u,max:c,ds:s}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.pick=function(t,e){var n={};return null!==t&&"object"===(0,i.default)(t)&&e.forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n};var i=r(n(6))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LEVEL=void 0,e.invariant=function(t,e){for(var n=[],r=2;r"},key:(0===l?"top":"bottom")+"-statistic"},(0,a.pick)(e,["offsetX","offsetY","rotate","style","formatter"])))}})},e.renderGaugeStatistic=function(t,e,n){var l=e.statistic;[l.title,l.content].forEach(function(e){if(e){var l=(0,i.isFunction)(e.style)?e.style(n):e.style;t.annotation().html((0,r.__assign)({position:["50%","100%"],html:function(t,a){var u=a.getCoordinate(),c=a.views[0].getCoordinate(),f=c.getCenter(),d=c.getRadius(),p=Math.max(Math.sin(c.startAngle),Math.sin(c.endAngle))*d,h=f.y+p-u.y.start-parseFloat((0,i.get)(l,"fontSize",0)),g=u.getRadius()*u.innerRadius*2;s(t,(0,r.__assign)({width:g+"px",transform:"translate(-50%, "+h+"px)"},o(l)));var v=a.getData();if(e.customHtml)return e.customHtml(t,a,n,v);var y=e.content;return e.formatter&&(y=e.formatter(n,v)),y?(0,i.isString)(y)?y:""+y:"
"}},(0,a.pick)(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL=void 0,e.setGlobal=function(t){(0,r.each)(t,function(t,e){return i[e]=t})};var r=n(0),i={locale:"en-US"};e.GLOBAL=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var r=n(1),i=n(19),a=n(303),o=n(1192);n(1193);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options;(0,a.meta)({chart:e,options:n}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Line=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasPattern=function(t){var e,n=t.type,o=t.cfg;switch(n){case"dot":e=(0,r.createDotPattern)(o);break;case"line":e=(0,i.createLinePattern)(o);break;case"square":e=(0,a.createSquarePattern)(o)}return e};var r=n(1183),i=n(1184),a=n(1185)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.point=function(t){var e=t.options,n=e.point,s=e.xField,l=e.yField,u=e.seriesField,c=e.sizeField,f=e.shapeField,d=e.tooltip,p=(0,i.getTooltipMapping)(d,[s,l,u,c,f]),h=p.fields,g=p.formatter;return n?(0,o.geometry)((0,a.deepAssign)({},t,{options:{type:"point",colorField:u,shapeField:f,tooltipFields:h,mapping:(0,r.__assign)({tooltip:g},n)}})):t};var r=n(1),i=n(65),a=n(7),o=n(49)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.polygon=function(t){var e=t.options,n=e.polygon,s=e.xField,l=e.yField,u=e.seriesField,c=e.tooltip,f=(0,i.getTooltipMapping)(c,[s,l,u]),d=f.fields,p=f.formatter;return n?(0,o.geometry)((0,a.deepAssign)({},t,{options:{type:"polygon",colorField:u,tooltipFields:d,mapping:(0,r.__assign)({tooltip:p},n)}})):t};var r=n(1),i=n(65),a=n(7),o=n(49)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Area=void 0;var r=n(1),i=n(19),a=n(123),o=n(549),s=n(1195),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField,s=this.chart,l=this.options;(0,o.meta)({chart:s,options:l}),this.chart.changeData((0,a.getDataWhetherPecentage)(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Area=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(a.theme,(0,a.pattern)("areaStyle"),c,u.meta,d,u.axis,u.legend,a.tooltip,f,a.slider,(0,a.annotation)(),a.interaction,a.animation,a.limitInPlot)(t)},Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return u.meta}});var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(123),u=n(303);function c(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,u=n.color,c=n.point,f=n.line,d=n.isPercent,p=n.xField,h=n.yField,g=n.tooltip,v=n.seriesField,y=n.startOnZero,m=null==c?void 0:c.state,b=(0,l.getDataWhetherPecentage)(i,h,p,h,d);e.data(b);var x=d?(0,r.__assign)({formatter:function(t){return{name:t[v]||t[p],value:(100*Number(t[h])).toFixed(2)+"%"}}},g):g,_=(0,o.deepAssign)({},t,{options:{area:{color:u,style:a},line:f&&(0,r.__assign)({color:u},f),point:c&&(0,r.__assign)({color:u},c),tooltip:x,label:void 0,args:{startOnZero:y}}}),O=(0,o.deepAssign)({options:{line:{size:2}}},_,{options:{sizeField:v,tooltip:!1}}),P=(0,o.deepAssign)({},_,{options:{tooltip:!1,state:m}});return(0,s.area)(_),(0,s.line)(O),(0,s.point)(P),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"area");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,o.transformLabel)(u))})}else s.label(!1);return t}function d(t){var e=t.chart,n=t.options,r=n.isStack,a=n.isPercent,o=n.seriesField;return(a||r)&&o&&(0,i.each)(e.geometries,function(t){t.adjust("stack")}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Column=void 0;var r=n(1),i=n(19),a=n(123),o=n(198),s=n(1200),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this.chart,l=this.options;(0,o.meta)({chart:s,options:l}),this.chart.changeData((0,a.getDataWhetherPecentage)(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Column=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagFormatter=function(t,e){return(0,r.isNumber)(t)&&(0,r.isNumber)(e)?t===e?"100%":0===t?"∞":0===e?"-∞":(100*e/t).toFixed(2)+"%":"-"};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.brushInteraction=function(t){var e=t.options,n=e.brush,s=(0,r.filter)(e.interactions||[],function(t){return -1===o.indexOf(t.type)});return(null==n?void 0:n.enabled)&&(o.forEach(function(t){var e,r=!1;switch(n.type){case"x-rect":r=t===("highlight"===n.action?"brush-x-highlight":"brush-x");break;case"y-rect":r=t===("highlight"===n.action?"brush-y-highlight":"brush-y");break;default:r=t===("highlight"===n.action?"brush-highlight":"brush")}var a={type:t,enable:r};((null===(e=n.mask)||void 0===e?void 0:e.style)||n.type)&&(a.cfg=(0,i.getInteractionCfg)(t,n.type,n.mask)),s.push(a)}),(null==n?void 0:n.action)!=="highlight"&&s.push({type:"filter-action",cfg:{buttonConfig:n.button}})),(0,a.deepAssign)({},t,{options:{interactions:s}})};var r=n(0),i=n(1198),a=n(7),o=["brush","brush-x","brush-y","brush-highlight","brush-x-highlight","brush-y-highlight"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bar=void 0;var r=n(1),i=n(19),a=n(123),o=n(554),s=n(1201),l=n(555),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options,i=n.xField,s=n.yField,u=n.isPercent,c=(0,r.__assign)((0,r.__assign)({},n),{xField:s,yField:i});(0,o.meta)({chart:e,options:c}),e.changeData((0,a.getDataWhetherPecentage)((0,l.transformBarData)(t),i,s,i,u))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Bar=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){var e=t.chart,n=t.options,o=n.xField,s=n.yField,l=n.xAxis,u=n.yAxis,c=n.barStyle,f=n.barWidthRatio,d=n.label,p=n.data,h=n.seriesField,g=n.isStack,v=n.minBarWidth,y=n.maxBarWidth;!d||d.position||(d.position="left",d.layout||(d.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]));var m=n.legend;h?!1!==m&&(m=(0,r.__assign)({position:g?"top-left":"right-top",reversed:!g},m||{})):m=!1,t.options.legend=m;var b=n.tooltip;return h&&!1!==b&&(b=(0,r.__assign)({reversed:!g},b||{})),t.options.tooltip=b,e.coordinate().transpose(),(0,i.adaptor)({chart:e,options:(0,r.__assign)((0,r.__assign)({},n),{label:d,xField:s,yField:o,xAxis:u,yAxis:l,columnStyle:c,columnWidthRatio:f,minColumnWidth:v,maxColumnWidth:y,columnBackground:n.barBackground,data:(0,a.transformBarData)(p)})},!0)},Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return i.meta}});var r=n(1),i=n(198),a=n(555)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformBarData=function(t){return t?t.slice().reverse():t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pie=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(557),l=n(558),u=n(559);n(560);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=(0,o.processIllegalData)(e.data,n),a=(0,o.processIllegalData)(t,n);(0,u.isAllZero)(r,n)||(0,u.isAllZero)(a,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(a),(0,s.pieAnnotation)({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.Pie=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,c.flow)((0,l.pattern)("pieStyle"),h,g,a.theme,v,a.legend,x,y,a.state,b,_,a.animation)(t)},e.interaction=_,e.pieAnnotation=b,e.transformStatisticOptions=m;var r=n(1),i=n(0),a=n(22),o=n(49),s=n(30),l=n(122),u=n(196),c=n(7),f=n(558),d=n(559),p=n(560);function h(t){var e=t.chart,n=t.options,i=n.data,a=n.angleField,o=n.colorField,l=n.color,u=n.pieStyle,f=(0,c.processIllegalData)(i,a);if((0,d.isAllZero)(f,a)){var p="$$percentage$$";f=f.map(function(t){var e;return(0,r.__assign)((0,r.__assign)({},t),((e={})[p]=1/f.length,e))}),e.data(f);var h=(0,c.deepAssign)({},t,{options:{xField:"1",yField:p,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});(0,s.interval)(h)}else{e.data(f);var h=(0,c.deepAssign)({},t,{options:{xField:"1",yField:a,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});(0,s.interval)(h)}return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,o=(0,c.deepAssign)({},i);return n.scale(o,((e={})[a]={type:"cat"},e)),t}function v(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function y(t){var e=t.chart,n=t.options,a=n.label,o=n.colorField,s=n.angleField,l=e.geometries[0];if(a){var u=a.callback,f=(0,r.__rest)(a,["callback"]),p=(0,c.transformLabel)(f);if(p.content){var h=p.content;p.content=function(t,n,a){var l=t[o],u=t[s],f=e.getScaleByField(s),d=null==f?void 0:f.scale(u);return(0,i.isFunction)(h)?h((0,r.__assign)((0,r.__assign)({},t),{percent:d}),n,a):(0,i.isString)(h)?(0,c.template)(h,{value:u,name:l,percentage:(0,i.isNumber)(d)&&!(0,i.isNil)(u)?(100*d).toFixed(2)+"%":null}):h}}var g=p.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[p.type]:"pie-outer",v=p.layout?(0,i.isArray)(p.layout)?p.layout:[p.layout]:[];p.layout=(g?[{type:g}]:[]).concat(v),l.label({fields:o?[s,o]:[s],callback:u,cfg:(0,r.__assign)((0,r.__assign)({},p),{offset:(0,d.adaptOffset)(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,r=t.angleField,a=t.colorField,o=t.meta,s=t.locale,l=(0,u.getLocale)(s);if(e&&n){var p=(0,c.deepAssign)({},f.DEFAULT_OPTIONS.statistic,n),h=p.title,g=p.content;return!1!==h&&(h=(0,c.deepAssign)({},{formatter:function(t){return t?t[a]:(0,i.isNil)(h.content)?l.get(["statistic","total"]):h.content}},h)),!1!==g&&(g=(0,c.deepAssign)({},{formatter:function(t,e){var n=t?t[r]:(0,d.getTotalValue)(e,r),a=(0,i.get)(o,[r,"formatter"])||function(t){return t};return t?a(n):(0,i.isNil)(g.content)?a(n):g.content}},g)),(0,c.deepAssign)({},{statistic:{title:h,content:g}},t)}return t}function b(t){var e=t.chart,n=m(t.options),r=n.innerRadius,i=n.statistic;return e.getController("annotation").clear(!0),(0,c.flow)((0,a.annotation)())(t),r&&i&&(0,c.renderStatistic)(e,{statistic:i,plotType:"pie"}),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip,a=n.colorField,s=n.angleField,l=n.data;if(!1===r)e.tooltip(r);else if(e.tooltip((0,c.deepAssign)({},r,{shared:!1})),(0,d.isAllZero)(l,s)){var u=(0,i.get)(r,"fields"),f=(0,i.get)(r,"formatter");(0,i.isEmpty)((0,i.get)(r,"fields"))&&(u=[a,s],f=f||function(t){return{name:t[a],value:(0,i.toString)(t[s])}}),e.geometries[0].tooltip(u.join("*"),(0,o.getMappingFunction)(u,f))}return t}function _(t){var e=t.chart,n=m(t.options),a=n.interactions,o=n.statistic,s=n.annotations;return(0,i.each)(a,function(t){var n,a;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var l=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(l=[{trigger:"element:mouseenter",action:p.PIE_STATISTIC+":change",arg:{statistic:o,annotations:s}}]),(0,i.each)(null===(a=t.cfg)||void 0===a?void 0:a.start,function(t){l.push((0,r.__assign)((0,r.__assign)({},t),{arg:{statistic:o,annotations:s}}))}),e.interaction(t.type,(0,c.deepAssign)({},t.cfg,{start:l}))}else e.interaction(t.type,t.cfg||{})}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{legend:{position:"right"},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptOffset=function(t,e){var n;switch(t){case"inner":if(n="-30%",(0,r.isString)(e)&&e.endsWith("%"))return .01*parseFloat(e)>0?n:e;return e<0?e:n;case"outer":if(n=12,(0,r.isString)(e)&&e.endsWith("%"))return .01*parseFloat(e)<0?n:e;return e>0?e:n;default:return e}},e.getTotalValue=function(t,e){var n=null;return(0,r.each)(t,function(t){"number"==typeof t[e]&&(n+=t[e])}),n},e.isAllZero=function(t,e){return(0,r.every)((0,i.processIllegalData)(t,e),function(t){return 0===t[e]})};var r=n(0),i=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PIE_STATISTIC=void 0;var r=n(14),i=n(1202),a=n(1203),o="pie-statistic";e.PIE_STATISTIC=o,(0,r.registerAction)(o,a.StatisticAction),(0,r.registerInteraction)("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),(0,r.registerAction)("pie-legend",i.PieLegendAction),(0,r.registerInteraction)("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transform=function(t,e){var n=e?(0,r.__spreadArrays)(e):(0,r.__spreadArrays)(a);return i.Util.transform(n,t)};var r=n(1),i=n(14),a=[1,0,0,0,1,0,0,0,1]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFontSizeMapping=u,e.getSingleKeyValues=c,e.getSize=l,e.processImageMask=function(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement){e(t);return}if((0,i.isString)(t)){var r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},r.onerror=function(){(0,o.log)(o.LEVEL.ERROR,!1,"image %s load failed !!!",t),n()};return}(0,o.log)(o.LEVEL.WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()})},e.transform=function(t){var e=t.options,n=t.chart,a=n.width,f=n.height,d=n.padding,p=n.appendPadding,h=n.ele,g=e.data,v=e.imageMask,y=e.wordField,m=e.weightField,b=e.colorField,x=e.wordStyle,_=e.timeInterval,O=e.random,P=e.spiral,M=e.autoFit,A=e.placementStrategy;if(!g||!g.length)return[];var S=x.fontFamily,w=x.fontWeight,E=x.padding,C=x.fontSize,T=c(g,m),I=[Math.min.apply(Math,T),Math.max.apply(Math,T)],j=g.map(function(t){return{text:t[y],value:t[m],color:t[b],datum:t}}),F={imageMask:v,font:S,fontSize:u(C,I),fontWeight:w,size:l({width:a,height:f,padding:d,appendPadding:p,autoFit:void 0===M||M,container:h}),padding:E,timeInterval:_,random:O,spiral:P,rotate:function(t){var e,n=((e=t.wordStyle.rotationSteps)<1&&((0,o.log)(o.LEVEL.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}),r=n.rotation,a=n.rotationSteps;if(!(0,i.isArray)(r))return r;var s=r[0],l=r[1],u=1===a?0:(l-s)/(a-1);return function(){return l===s?l:Math.floor(Math.random()*a)*u}}(e)};if((0,i.isFunction)(A)){var L=j.map(function(t,e,i){return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{hasText:!!t.text,font:(0,s.functor)(F.font)(t,e,i),weight:(0,s.functor)(F.fontWeight)(t,e,i),rotate:(0,s.functor)(F.rotate)(t,e,i),size:(0,s.functor)(F.fontSize)(t,e,i),style:"normal"}),A.call(n,t,e,i))});return L.push({text:"",value:0,x:0,y:0,opacity:0}),L.push({text:"",value:0,x:F.size[0],y:F.size[1],opacity:0}),L}return(0,s.wordCloud)(j,F)};var r=n(1),i=n(0),a=n(121),o=n(7),s=n(1210);function l(t){var e,n,r,i=t.width,s=t.height,l=t.container,u=t.autoFit,c=t.padding,f=t.appendPadding;if(u){var d=(0,o.getContainerSize)(l);i=d.width,s=d.height}i=i||400,s=s||400;var p=(e={padding:c,appendPadding:f},n=(0,a.normalPadding)(e.padding),r=(0,a.normalPadding)(e.appendPadding),[n[0]+r[0],n[1]+r[1],n[2]+r[2],n[3]+r[3]]),h=p[0],g=p[1],v=p[2];return[i-(p[3]+g),s-(h+v)]}function u(t,e){if((0,i.isFunction)(t))return t;if((0,i.isArray)(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var a=e[0],o=e[1];return o===a?function(){return(r+n)/2}:function(t){return(r-n)/(o-a)*(t.value-a)+n}}return function(){return t}}function c(t,e){return t.map(function(t){return t[e]}).filter(function(t){return!("number"!=typeof t||isNaN(t))})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WORD_CLOUD_COLOR_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7),a="color";e.WORD_CLOUD_COLOR_FIELD=a;var o=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",a],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}});e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scatter=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(565),l=n(1213);n(1214);var u=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="scatter",a.on(i.VIEW_LIFE_CIRCLE.BEFORE_RENDER,function(t){var e,n,o=a.options,l=a.chart;if((null===(e=t.data)||void 0===e?void 0:e.source)===i.BRUSH_FILTER_EVENTS.FILTER){var u=a.chart.filterData(a.chart.getData());(0,s.meta)({chart:l,options:(0,r.__assign)((0,r.__assign)({},o),{data:u})})}(null===(n=t.data)||void 0===n?void 0:n.source)===i.BRUSH_FILTER_EVENTS.RESET&&(0,s.meta)({chart:l,options:o})}),a}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption((0,s.transformOptions)((0,o.deepAssign)({},this.options,{data:t})));var e=this.options,n=this.chart;(0,s.meta)({chart:n,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Scatter=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(f,d,p,h,m,g,s.brushInteraction,l.interaction,v,l.animation,l.theme,y)(t)},e.meta=d,e.tooltip=m,e.transformOptions=c;var r=n(1),i=n(0),a=n(7),o=n(30),s=n(552),l=n(22),u=n(1212);function c(t){var e=t.data,n=void 0===e?[]:e,r=t.xField,i=t.yField;if(n.length){for(var o=!0,s=!0,l=n[0],c=void 0,f=1;f1?c/(a-1):u.max),n||a||(f=c/(Math.ceil(Math.log(l.length)/Math.LN2)+1));var d={},p=(0,r.groupBy)(s,o);(0,r.isEmpty)(p)?(0,r.each)(s,function(t){var n=i(t[e],f,a),o=n[0]+"-"+n[1];(0,r.hasKey)(d,o)||(d[o]={range:n,count:0}),d[o].count+=1}):Object.keys(p).forEach(function(t){(0,r.each)(p[t],function(n){var s=i(n[e],f,a),l=s[0]+"-"+s[1]+"-"+t;(0,r.hasKey)(d,l)||(d[l]={range:s,count:0},d[l][o]=t),d[l].count+=1})});var h=[];return(0,r.each)(d,function(t){h.push(t)}),h};var r=n(0);function i(t,e,n){if(1===n)return[0,e];var r=Math.floor(t/e);return[e*r,e*(r+1)]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(i.theme,(0,a.pattern)("columnStyle"),c,f,d,i.state,p,i.tooltip,i.interaction,i.animation)(t)};var r=n(1),i=n(22),a=n(122),o=n(7),s=n(30),l=n(575),u=n(577);function c(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,c=n.binWidth,f=n.color,d=n.stackField,p=n.legend,h=n.columnStyle,g=(0,l.binHistogram)(r,i,c,a,d);e.data(g);var v=(0,o.deepAssign)({},t,{options:{xField:u.HISTOGRAM_X_FIELD,yField:u.HISTOGRAM_Y_FIELD,seriesField:d,isStack:!0,interval:{color:f,style:h}}});return(0,s.interval)(v),p&&d&&e.legend(d,p),t}function f(t){var e,n=t.options,r=n.xAxis,a=n.yAxis;return(0,o.flow)((0,i.scale)(((e={})[u.HISTOGRAM_X_FIELD]=r,e[u.HISTOGRAM_Y_FIELD]=a,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis(u.HISTOGRAM_X_FIELD,!1):e.axis(u.HISTOGRAM_X_FIELD,r),!1===i?e.axis(u.HISTOGRAM_Y_FIELD,!1):e.axis(u.HISTOGRAM_Y_FIELD,i),t}function p(t){var e=t.chart,n=t.options.label,i=(0,o.findGeometry)(e,"interval");if(n){var a=n.callback,s=(0,r.__rest)(n,["callback"]);i.label({fields:[u.HISTOGRAM_Y_FIELD],callback:a,cfg:(0,o.transformLabel)(s)})}else i.label(!1);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HISTOGRAM_Y_FIELD=e.HISTOGRAM_X_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.HISTOGRAM_X_FIELD="range",e.HISTOGRAM_Y_FIELD="count";var a=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Progress=void 0;var r=n(1),i=n(19),a=n(306),o=n(579),s=n(307),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData((0,s.getProgressData)(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Progress=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.DEFAULT_COLOR=void 0;var r=["#FAAD14","#E8EDF3"];e.DEFAULT_COLOR=r,e.DEFAULT_OPTIONS={percent:.2,color:r,animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RingProgress=void 0;var r=n(1),i=n(14),a=n(19),o=n(307),s=n(581),l=n(1226),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data((0,o.getProgressData)(t)),(0,s.statistic)({chart:this.chart,options:this.options},!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.RingProgress=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(s.geometry,(0,o.scale)({}),l,u,o.animation,o.theme,(0,o.annotation)())(t)},e.statistic=u;var r=n(1),i=n(0),a=n(7),o=n(22),s=n(306);function l(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function u(t,e){var n=t.chart,o=t.options,s=o.innerRadius,l=o.statistic,u=o.percent,c=o.meta;if(n.getController("annotation").clear(!0),s&&l){var f=(0,i.get)(c,["percent","formatter"])||function(t){return(100*t).toFixed(2)+"%"},d=l.content;d&&(d=(0,a.deepAssign)({},d,{content:(0,i.isNil)(d.content)?f(u):d.content})),(0,a.renderStatistic)(n,{statistic:(0,r.__assign)((0,r.__assign)({},l),{content:d}),plotType:"ring-progress"},{percent:u})}return e&&n.render(!0),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0;var r=n(0),i=n(308);e.transformData=function(t,e){var n=t;if(Array.isArray(e)){var a=e[0],o=e[1],s=e[2],l=e[3],u=e[4];n=(0,r.map)(t,function(t){return t[i.BOX_RANGE]=[t[a],t[o],t[s],t[l],t[u]],t})}return n}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.transformViolinData=e.toViolinValue=e.toBoxValue=void 0;var i=n(1),a=n(0),o=r(n(1236)),s=n(1238),l=function(t){return{low:(0,a.min)(t),high:(0,a.max)(t),q1:(0,s.quantile)(t,.25),q3:(0,s.quantile)(t,.75),median:(0,s.quantile)(t,[.5]),minMax:[(0,a.min)(t),(0,a.max)(t)],quantile:[(0,s.quantile)(t,.25),(0,s.quantile)(t,.75)]}};e.toBoxValue=l;var u=function(t,e){var n=o.default.create(t,e);return{violinSize:n.map(function(t){return t.y}),violinY:n.map(function(t){return t.x})}};e.toViolinValue=u,e.transformViolinData=function(t){var e=t.xField,n=t.yField,r=t.seriesField,o=t.data,s=t.kde,c={min:s.min,max:s.max,size:s.sampleSize,width:s.width};if(!r){var f=(0,a.groupBy)(o,e);return Object.keys(f).map(function(t){var e=f[t].map(function(t){return t[n]});return(0,i.__assign)((0,i.__assign)({x:t},u(e,c)),l(e))})}var d=[],p=(0,a.groupBy)(o,r);return Object.keys(p).forEach(function(t){var o=(0,a.groupBy)(p[t],e);return Object.keys(o).forEach(function(e){var a,s=o[e].map(function(t){return t[n]});d.push((0,i.__assign)((0,i.__assign)(((a={x:e})[r]=t,a),u(s,c)),l(s)))})}),d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.X_FIELD=e.VIOLIN_Y_FIELD=e.VIOLIN_VIEW_ID=e.VIOLIN_SIZE_FIELD=e.QUANTILE_VIEW_ID=e.QUANTILE_FIELD=e.MIN_MAX_VIEW_ID=e.MIN_MAX_FIELD=e.MEDIAN_VIEW_ID=e.MEDIAN_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.X_FIELD="x",e.VIOLIN_Y_FIELD="violinY",e.VIOLIN_SIZE_FIELD="violinSize",e.MIN_MAX_FIELD="minMax",e.QUANTILE_FIELD="quantile",e.MEDIAN_FIELD="median",e.VIOLIN_VIEW_ID="violin_view",e.MIN_MAX_VIEW_ID="min_max_view",e.QUANTILE_VIEW_ID="quantile_view",e.MEDIAN_VIEW_ID="median_view";var a=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{syncViewPadding:!0,kde:{type:"triangular",sampleSize:32,width:3},violinStyle:{lineWidth:1,fillOpacity:.3,strokeOpacity:.75},xAxis:{grid:{line:null},tickLine:{alignTick:!1}},yAxis:{grid:{line:{style:{lineWidth:.5,lineDash:[4,4]}}}},legend:{position:"top-left"},tooltip:{showMarkers:!1}});e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t){function e(t){for(var e=Array(t),n=0;nu+s*o*c||f>=g)h=o;else{if(Math.abs(p)<=-l*c)return o;p*(h-d)>=0&&(h=d),d=o,g=f}return 0}o=o||1,s=s||1e-6,l=l||.1;for(var v=0;v<10;++v){if(a(i.x,1,r.x,o,e),f=i.fx=t(i.x,i.fxprime),p=n(i.fxprime,e),f>u+s*o*c||v&&f>=d)return g(h,o,d);if(Math.abs(p)<=-l*c)break;if(p>=0)return g(o,h,f);d=f,h=o,o*=2}return o}t.bisect=function(t,e,n,r){var i=(r=r||{}).maxIterations||100,a=r.tolerance||1e-10,o=t(e),s=t(n),l=n-e;if(o*s>0)throw"Initial bisect points must have opposite signs";if(0===o)return e;if(0===s)return n;for(var u=0;u=0&&(e=c),Math.abs(l)=g[h-1].fx){var E=!1;if(_.fx>w.fx?(a(O,1+d,x,-d,w),O.fx=t(O),O.fx=1)break;for(v=1;v=r(f.fxprime))break}return s.history&&s.history.push({x:f.x.slice(),fx:f.fx,fxprime:f.fxprime.slice(),alpha:h}),f},t.gradientDescent=function(t,e,n){for(var i=(n=n||{}).maxIterations||100*e.length,o=n.learnRate||.001,s={x:e.slice(),fx:0,fxprime:e.slice()},l=0;l=r(s.fxprime)));++l);return s},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var a,s={x:e.slice(),fx:0,fxprime:e.slice()},l={x:e.slice(),fx:0,fxprime:e.slice()},u=n.maxIterations||100*e.length,c=n.learnRate||1,f=e.slice(),d=n.c1||.001,p=n.c2||.1,h=[];if(n.history){var g=t;t=function(t,e){return h.push(t.slice()),g(t,e)}}s.fx=t(s.x,s.fxprime);for(var v=0;vr(s.fxprime)));++v);return s},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=r,t.weightedSum=a,t.scale=i},"object"===(0,o.default)(e)&&void 0!==t?a(e):(r=[e],void 0!==(i=a.apply(e,r))&&(t.exports=i))},function(t,e,n){"use strict";function r(t,e){for(var n=0;ne[n].radius+1e-10)return!1;return!0}function i(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function a(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function o(t,e){var n=a(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];var o=(r*r-i*i+n*n)/(2*n),s=Math.sqrt(r*r-o*o),l=t.x+o*(e.x-t.x)/n,u=t.y+o*(e.y-t.y)/n,c=-(e.y-t.y)*(s/n),f=-(e.x-t.x)*(s/n);return[{x:l+c,y:u-f},{x:l-c,y:u+f}]}function s(t){for(var e={x:0,y:0},n=0;n=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);var r=t-(n*n-e*e+t*t)/(2*n),a=e-(n*n-t*t+e*e)/(2*n);return i(t,r)+i(e,a)},e.containedInCircles=r,e.distance=a,e.getCenter=s,e.intersectionArea=function(t,e){var n,l=function(t){for(var e=[],n=0;n1){var p=s(u);for(n=0;n-1){var x=t[v.parentIndex[b]],_=Math.atan2(v.x-x.x,v.y-x.y),O=Math.atan2(g.x-x.x,g.y-x.y),P=O-_;P<0&&(P+=2*Math.PI);var M=O-P/2,A=a(y,{x:x.x+x.radius*Math.sin(M),y:x.y+x.radius*Math.cos(M)});A>2*x.radius&&(A=2*x.radius),(null===m||m.width>A)&&(m={circle:x,width:A,p1:v,p2:g})}null!==m&&(d.push(m),c+=i(m.circle.radius,m.width),g=v)}}else{var S=t[0];for(n=1;nMath.abs(S.radius-t[n].radius)){w=!0;break}w?c=f=0:(c=S.radius*S.radius*Math.PI,d.push({circle:S,p1:{x:S.x,y:S.y+S.radius},p2:{x:S.x-1e-10,y:S.y+S.radius},width:2*S.radius}))}return f/=2,e&&(e.area=c+f,e.arcArea=c,e.polygonArea=f,e.arcs=d,e.innerPoints=u,e.intersectionPoints=l),c+f}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStockData=function(t,e){return(0,r.map)(t,function(t){if((0,r.isArray)(e)){var n=e[0],a=e[1],o=e[2],s=e[3];t[i.TREND_FIELD]=t[n]<=t[a]?i.TREND_UP:i.TREND_DOWN,t[i.Y_FIELD]=[t[n],t[a],t[o],t[s]]}return t})};var r=n(0),i=n(310)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FUNNEL_CONVERSATION_FIELD",{enumerable:!0,get:function(){return l.FUNNEL_CONVERSATION}}),e.Funnel=void 0;var r=n(1),i=n(0),a=n(19),o=n(7),s=n(589),l=n(125),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="funnel",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=(0,o.getAllElementsRecursively)(this.chart);(0,i.each)(r,function(r){e(r.getData())&&r.setState(t,n)})},e.prototype.getStates=function(){var t=(0,o.getAllElementsRecursively)(this.chart),e=[];return(0,i.each)(t,function(t){var n=t.getData(),r=t.getStates();(0,i.each)(r,function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})})}),e},e.CONVERSATION_FIELD=l.FUNNEL_CONVERSATION,e.PERCENT_FIELD=l.FUNNEL_PERCENT,e.TOTAL_PERCENT_FIELD=l.FUNNEL_TOTAL_PERCENT,e}(a.Plot);e.Funnel=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(p,h,g,v,i.tooltip,i.interaction,y,i.animation,i.theme,(0,i.annotation)())(t)},e.meta=g;var r=n(0),i=n(22),a=n(196),o=n(7),s=n(551),l=n(590),u=n(1253),c=n(1254),f=n(1255),d=n(125);function p(t){var e,n=t.options,i=n.compareField,l=n.xField,u=n.yField,c=n.locale,f=n.funnelStyle,p=n.data,h=(0,a.getLocale)(c),g={label:i?{fields:[l,u,i,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],formatter:function(t){return""+t[u]}}:{fields:[l,u,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],offset:0,position:"middle",formatter:function(t){return t[l]+" "+t[u]}},tooltip:{title:l,formatter:function(t){return{name:t[l],value:t[u]}}},conversionTag:{formatter:function(t){return h.get(["conversionTag","label"])+": "+s.conversionTagFormatter.apply(void 0,t[d.FUNNEL_CONVERSATION])}}};return(i||f)&&(e=function(t){return(0,o.deepAssign)({},i&&{lineWidth:1,stroke:"#fff"},(0,r.isFunction)(f)?f(t):f)}),(0,o.deepAssign)({options:g},t,{options:{funnelStyle:e,data:(0,r.clone)(p)}})}function h(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?(0,c.facetFunnel)(t):n?(0,u.compareFunnel)(t):r?(0,f.dynamicHeightFunnel)(t):(0,l.basicFunnel)(t)}function g(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return(0,o.flow)((0,i.scale)(((e={})[s]=r,e[l]=a,e)))(t)}function v(t){return t.chart.axis(!1),t}function y(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.basicFunnel=function(t){return(0,a.flow)(c,f,d,p)(t)};var r=n(1),i=n(0),a=n(7),o=n(65),s=n(49),l=n(125),u=n(311);function c(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,a=n.yField,o=n.maxSize,s=n.minSize,l=(0,u.transformData)(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),t}function f(t){var e=t.chart,n=t.options,r=n.xField,u=n.yField,c=n.color,f=n.tooltip,d=n.label,p=n.shape,h=n.funnelStyle,g=n.state,v=(0,o.getTooltipMapping)(f,[r,u]),y=v.fields,m=v.formatter;return(0,s.geometry)({chart:e,options:{type:"interval",xField:r,yField:l.FUNNEL_MAPPING_VALUE,colorField:r,tooltipFields:(0,i.isArray)(y)&&y.concat([l.FUNNEL_PERCENT,l.FUNNEL_CONVERSATION]),mapping:{shape:void 0===p?"funnel":p,tooltip:m,color:c,style:h},label:d,state:g}}),(0,a.findGeometry)(t.chart,"interval").adjust("symmetric"),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function p(t){var e=t.options.maxSize;return(0,u.conversionTagComponent)(function(t,n,i,a){var o=e-(e-t[l.FUNNEL_MAPPING_VALUE])/2;return(0,r.__assign)((0,r.__assign)({},a),{start:[n-.5,o],end:[n-.5,o+.05]})})(t),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLiquidData=function(t){return[{percent:t,type:"liquid"}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=function(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,a=t.targetField,o=t.layout,s=[],l=[];e.forEach(function(t,e){var o;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,a){var o,l=0===a?r:t[i][a]-t[i][a-1];s.push(((o={rKey:i+"_"+a})[n]=n?t[n]:String(e),o[i]=l,o))}),t[r].forEach(function(i,a){var o;s.push(((o={mKey:t[r].length>1?r+"_"+a:""+r})[n]=n?t[n]:String(e),o[r]=i,o))}),s.push(((o={tKey:""+a})[n]=n?t[n]:String(e),o[a]=t[a],o)),l.push(t[i],t[r],t[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,"vertical"===o&&s.reverse(),{min:u,max:c,ds:s}}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.getTileMethod=u,e.treemap=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||2!==r.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=u(e.tile,e.ratio),c=i.treemap().tile(s).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(i.hierarchy(t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[n]}).sort(e.sort)),f=r[0],d=r[1];return c.each(function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),(0,o.getAllNodes)(c)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function u(t,e){return"treemapSquarify"===t?i[t].ratio(e):i[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gauge=void 0;var r=n(1),i=n(14),a=n(19),o=n(595),s=n(314),l=n(596);n(1268),n(1269);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="gauge",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t});var e=this.chart.views.find(function(t){return t.id===s.INDICATEOR_VIEW_ID});e&&e.data((0,l.getIndicatorData)(t));var n=this.chart.views.find(function(t){return t.id===s.RANGE_VIEW_ID});n&&n.data((0,l.getRangeData)(t,this.options.range)),(0,o.statistic)({chart:this.chart,options:this.options},!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(a.Plot);e.Gauge=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,l.flow)(a.theme,a.animation,f,d,p,a.interaction,(0,a.annotation)(),h)(t)},e.statistic=p;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(99),l=n(7),u=n(314),c=n(596);function f(t){var e=t.chart,n=t.options,r=n.percent,a=n.range,f=n.radius,d=n.innerRadius,p=n.startAngle,h=n.endAngle,g=n.axis,v=n.indicator,y=n.gaugeStyle,m=n.type,b=n.meter,x=a.color,_=a.width;if(v){var O=(0,c.getIndicatorData)(r),P=e.createView({id:u.INDICATEOR_VIEW_ID});P.data(O),P.point().position(u.PERCENT+"*1").shape(v.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:v}),P.coordinate("polar",{startAngle:p,endAngle:h,radius:d*f}),P.axis(u.PERCENT,g),P.scale(u.PERCENT,(0,l.pick)(g,s.AXIS_META_CONFIG_KEYS))}var M=(0,c.getRangeData)(r,n.range),A=e.createView({id:u.RANGE_VIEW_ID});A.data(M);var S=(0,i.isString)(x)?[x,u.DEFAULT_COLOR]:x;return(0,o.interval)({chart:A,options:{xField:"1",yField:u.RANGE_VALUE,seriesField:u.RANGE_TYPE,rawFields:[u.PERCENT],isStack:!0,interval:{color:S,style:y,shape:"meter"===m?"meter-gauge":null},args:{zIndexReversed:!0},minColumnWidth:_,maxColumnWidth:_}}).ext.geometry.customInfo({meter:b}),A.coordinate("polar",{innerRadius:d,radius:f,startAngle:p,endAngle:h}).transpose(),t}function d(t){var e;return(0,l.flow)((0,a.scale)(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[u.PERCENT]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,a=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),a){var s=a.content,u=void 0;s&&(u=(0,l.deepAssign)({},{content:(100*o).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),(0,l.renderGaugeStatistic)(n,{statistic:(0,r.__assign)((0,r.__assign)({},a),{content:u})},{percent:o})}return e&&n.render(!0),t}function h(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndicatorData=function(t){var e;return[((e={})[i.PERCENT]=(0,r.clamp)(t,0,1),e)]},e.getRangeData=function(t,e){var n=(0,r.get)(e,["ticks"],[]);return a((0,r.size)(n)?n:[0,(0,r.clamp)(t,0,1),1],t)},e.processRangeData=a;var r=n(0),i=n(314);function a(t,e){return t.map(function(n,r){var a;return(a={})[i.RANGE_VALUE]=n-(t[r-1]||0),a[i.RANGE_TYPE]=""+r,a[i.PERCENT]=e,a}).filter(function(t){return!!t[i.RANGE_VALUE]})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processData=s,e.transformData=function(t,e,n,a){return s(t,e,n,o.Y_FIELD,a).map(function(e,n){var a;return(0,i.isObject)(e)?(0,r.__assign)((0,r.__assign)({},e),((a={})[o.ABSOLUTE_FIELD]=e[o.Y_FIELD][1],a[o.DIFF_FIELD]=e[o.Y_FIELD][1]-e[o.Y_FIELD][0],a[o.IS_TOTAL]=n===t.length,a)):e})};var r=n(1),i=n(0),a=n(7),o=n(315);function s(t,e,n,o,s){var l,u=[];if((0,i.reduce)(t,function(t,e){(0,a.log)(a.LEVEL.WARN,(0,i.isNumber)(e[n]),e[n]+" is not a valid number");var s,l=(0,i.isUndefined)(e[n])?null:e[n];return u.push((0,r.__assign)((0,r.__assign)({},e),((s={})[o]=[t,t+l],s))),t+l},0),u.length&&s){var c=(0,i.get)(u,[[t.length-1],o,[1]]);u.push(((l={})[e]=s.label,l[n]=c,l[o]=[0,c],l))}return u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SERIES_FIELD_KEY=e.SECOND_AXES_VIEW=e.FIRST_AXES_VIEW=void 0,e.FIRST_AXES_VIEW="first-axes-view",e.SECOND_AXES_VIEW="second-axes-view",e.SERIES_FIELD_KEY="series-field-key"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isHorizontal=i,e.syncViewPadding=function(t,e,n){var r=e[0],a=e[1],o=r.autoPadding,s=a.autoPadding,l=t.__axisPosition,u=l.layout,c=l.position;if(i(u)&&"top"===c&&(r.autoPadding=n.instance(o.top,0,o.bottom,o.left),a.autoPadding=n.instance(s.top,o.left,s.bottom,0)),i(u)&&"bottom"===c&&(r.autoPadding=n.instance(o.top,o.right/2+5,o.bottom,o.left),a.autoPadding=n.instance(s.top,s.right,s.bottom,o.right/2+5)),!i(u)&&"bottom"===c){var f=o.left>=s.left?o.left:s.left;r.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,f),a.autoPadding=n.instance(o.bottom/2+5,s.right,s.bottom,f)}if(!i(u)&&"top"===c){var f=o.left>=s.left?o.left:s.left;r.autoPadding=n.instance(o.top,o.right,0,f),a.autoPadding=n.instance(0,s.right,o.top,f)}},e.transformData=function(t,e,n,i,a){var o=[];e.forEach(function(e){i.forEach(function(r){var i,a=((i={})[t]=r[t],i[n]=e,i[e]=r[e],i);o.push(a)})});var s=Object.values((0,r.groupBy)(o,n)),l=s[0],u=void 0===l?[]:l,c=s[1],f=void 0===c?[]:c;return a?[u.reverse(),f.reverse()]:[u,f]};var r=n(0);function i(t){return"vertical"!==t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enableDrillInteraction=function(t){var e=t.interactions,n=t.drilldown;return(0,i.get)(n,"enabled")||l(e,"treemap-drill-down")},e.enableInteraction=l,e.findInteraction=s,e.resetDrillDown=function(t){var e=t.interactions["drill-down"];e&&e.context.actions.find(function(t){return"drill-down-action"===t.name}).reset()},e.transformData=function(t){var e=t.data,n=t.colorField,s=t.enableDrillDown,l=t.hierarchyConfig,u=(0,o.treemap)(e,(0,r.__assign)((0,r.__assign)({},l),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),c=[];return u.forEach(function(t){if(0===t.depth||s&&1!==t.depth||!s&&t.children)return null;var o=t.ancestors().map(function(t){return{data:t.data,height:t.height,value:t.value}}),u=s&&(0,i.isArray)(e.path)?o.concat(e.path.slice(1)):o,f=Object.assign({},t.data,(0,r.__assign)({x:t.x,y:t.y,depth:t.depth,value:t.value,path:u},t));if(!t.data[n]&&t.parent){var d=t.ancestors().find(function(t){return t.data[n]});f[n]=null==d?void 0:d.data[n]}else f[n]=t.data[n];f[a.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:l,colorField:n,enableDrillDown:s},c.push(f)}),c};var r=n(1),i=n(0),a=n(201),o=n(593);function s(t,e){if((0,i.isArray)(t))return t.find(function(t){return t.type===e})}function l(t,e){var n=s(t,e);return n&&!1!==n.enable}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNodePaddingRatio=u,e.getNodeWidthRatio=l,e.transformToViewsData=function(t,e,n){var c=t.data,f=t.sourceField,d=t.targetField,p=t.weightField,h=t.nodeAlign,g=t.nodeSort,v=t.nodePadding,y=t.nodePaddingRatio,m=t.nodeWidth,b=t.nodeWidthRatio,x=t.nodeDepth,_=t.rawFields,O=void 0===_?[]:_,P=(0,a.transformDataToNodeLinkData)((0,s.cutoffCircle)(c,f,d),f,d,p,O),M=(0,o.sankeyLayout)({nodeAlign:h,nodePadding:u(v,y,n),nodeWidth:l(m,b,e),nodeSort:g,nodeDepth:x},P),A=M.nodes,S=M.links;return{nodes:A.map(function(t){return(0,r.__assign)((0,r.__assign)({},(0,i.pick)(t,(0,r.__spreadArrays)(["x","y","name"],O))),{isNode:!0})}),edges:S.map(function(t){return(0,r.__assign)((0,r.__assign)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},(0,i.pick)(t,(0,r.__spreadArrays)(["x","y","value"],O))),{isNode:!1})})}};var r=n(1),i=n(7),a=n(197),o=n(1285),s=n(1289);function l(t,e,n){return(0,i.isRealNumber)(t)?t/n:e}function u(t,e,n){return(0,i.isRealNumber)(t)?t/n:e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.center=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,r.minBy)(t.sourceLinks,i)-1:0},e.justify=function(t,e){return t.sourceLinks.length?t.depth:e-1},e.left=function(t){return t.depth},e.right=function(t,e){return e-1-t.height};var r=n(0);function i(t){return t.target.depth}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Y_FIELD=e.X_FIELD=e.NODE_COLOR_FIELD=e.EDGE_COLOR_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(0);e.X_FIELD="x",e.Y_FIELD="y",e.NODE_COLOR_FIELD="name",e.EDGE_COLOR_FIELD="source",e.DEFAULT_OPTIONS={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){return{labelEmit:!0,style:{fill:"#8c8c8c"},offsetX:(t[0]+t[1])/2>.5?-4:4,content:e}}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(t){return!(0,r.get)(t,[0,"data","isNode"])},formatter:function(t){return{name:t.source+" -> "+t.target,value:t.value}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RAW_FIELDS=e.DEFAULT_OPTIONS=void 0,e.RAW_FIELDS=["x","y","r","name","value","path","depth"],e.DEFAULT_OPTIONS={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mix=void 0;var r=n(1),i=n(19),a=n(1302);n(1303);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="mix",e}return(0,r.__extends)(e,t),e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Mix=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execPlotAdaptor=function(t,e,n){var a=L[t];if(!a){console.error("could not find "+t+" plot");return}(0,F[t])({chart:e,options:(0,i.deepAssign)({},a.getDefaultOptions(),(0,r.get)(D,t,{}),n)})};var r=n(0),i=n(7),a=n(303),o=n(557),s=n(198),l=n(554),u=n(549),c=n(595),f=n(570),d=n(572),p=n(199),h=n(581),g=n(306),v=n(565),y=n(576),m=n(589),b=n(544),x=n(556),_=n(553),O=n(550),P=n(548),M=n(594),A=n(569),S=n(573),w=n(571),E=n(580),C=n(578),T=n(564),I=n(574),j=n(588),F={line:a.adaptor,pie:o.adaptor,column:s.adaptor,bar:l.adaptor,area:u.adaptor,gauge:c.adaptor,"tiny-line":f.adaptor,"tiny-column":d.adaptor,"tiny-area":p.adaptor,"ring-progress":h.adaptor,progress:g.adaptor,scatter:v.adaptor,histogram:y.adaptor,funnel:m.adaptor},L={line:b.Line,pie:x.Pie,column:O.Column,bar:_.Bar,area:P.Area,gauge:M.Gauge,"tiny-line":A.TinyLine,"tiny-column":w.TinyColumn,"tiny-area":S.TinyArea,"ring-progress":E.RingProgress,progress:C.Progress,scatter:T.Scatter,histogram:I.Histogram,funnel:j.Funnel},D={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRangeData=e.getIndicatorData=e.processRangeData=void 0;var r=n(0),i=n(317);function a(t,e){return t.map(function(n,r){var a;return(a={})[i.RANGE_VALUE]=n-(t[r-1]||0),a[i.RANGE_TYPE]=""+r,a[i.PERCENT]=e,a}).filter(function(t){return!!t[i.RANGE_VALUE]})}e.processRangeData=a,e.getIndicatorData=function(t){var e;return[((e={})[i.PERCENT]=r.clamp(t,0,1),e)]},e.getRangeData=function(t,e){var n=r.get(e,["ticks"],[]);return a(r.size(n)?n:[0,r.clamp(t,0,1),1],t)}},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),e.DualAxesGeometry=e.AxisType=void 0,(r=e.AxisType||(e.AxisType={})).Left="Left",r.Right="Right",(i=e.DualAxesGeometry||(e.DualAxesGeometry={})).Line="line",i.Column="column"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_RIGHT_YAXIS_CONFIG=e.DEFAULT_LEFT_YAXIS_CONFIG=e.DEFAULT_YAXIS_CONFIG=e.RIGHT_AXES_VIEW=e.LEFT_AXES_VIEW=void 0;var r=n(1);e.LEFT_AXES_VIEW="left-axes-view",e.RIGHT_AXES_VIEW="right-axes-view",e.DEFAULT_YAXIS_CONFIG={nice:!0,label:{autoHide:!0,autoRotate:!1}},e.DEFAULT_LEFT_YAXIS_CONFIG=r.__assign(r.__assign({},e.DEFAULT_YAXIS_CONFIG),{position:"left"}),e.DEFAULT_RIGHT_YAXIS_CONFIG=r.__assign(r.__assign({},e.DEFAULT_YAXIS_CONFIG),{position:"right",grid:null})},function(t,e,n){"use strict";n.d(e,"x",function(){return f}),n.d(e,"B",function(){return p}),n.d(e,"K",function(){return b}),n.d(e,"J",function(){return O}),n.d(e,"L",function(){return S}),n.d(e,"q",function(){return C}),n.d(e,"M",function(){return L}),n.d(e,"I",function(){return D}),n.d(e,"b",function(){return B}),n.d(e,"F",function(){return G}),n.d(e,"l",function(){return W}),n.d(e,"t",function(){return Y}),n.d(e,"z",function(){return H}),n.d(e,"a",function(){return q}),n.d(e,"E",function(){return Z}),n.d(e,"s",function(){return K}),n.d(e,"f",function(){return te}),n.d(e,"m",function(){return tr}),n.d(e,"G",function(){return ti}),n.d(e,"A",function(){return ta}),n.d(e,"u",function(){return to}),n.d(e,"v",function(){return tl}),n.d(e,"g",function(){return tc}),n.d(e,"o",function(){return td}),n.d(e,"O",function(){return tv}),n.d(e,"C",function(){return tb}),n.d(e,"j",function(){return t_}),n.d(e,"H",function(){return tP}),n.d(e,"n",function(){return tA}),n.d(e,"y",function(){return tF}),n.d(e,"r",function(){return tk}),n.d(e,"p",function(){return tN}),n.d(e,"h",function(){return tB}),n.d(e,"N",function(){return tV}),n.d(e,"D",function(){return tW}),n.d(e,"c",function(){return tY}),n.d(e,"d",function(){return tq}),n.d(e,"e",function(){return tK}),n.d(e,"k",function(){return tJ}),n.d(e,"i",function(){return t1}),n.d(e,"w",function(){return t4});var r={};n.r(r),n.d(r,"ProgressChart",function(){return f}),n.d(r,"RingProgressChart",function(){return p}),n.d(r,"TinyColumnChart",function(){return b}),n.d(r,"TinyAreaChart",function(){return O}),n.d(r,"TinyLineChart",function(){return S});var i={};n.r(i),n.d(i,"LineChart",function(){return C}),n.d(i,"TreemapChart",function(){return L}),n.d(i,"StepLineChart",function(){return D}),n.d(i,"BarChart",function(){return B}),n.d(i,"StackedBarChart",function(){return G}),n.d(i,"GroupedBarChart",function(){return W}),n.d(i,"PercentStackedBarChart",function(){return Y}),n.d(i,"RangeBarChart",function(){return H}),n.d(i,"AreaChart",function(){return q}),n.d(i,"StackedAreaChart",function(){return Z}),n.d(i,"PercentStackedAreaChart",function(){return K}),n.d(i,"ColumnChart",function(){return te}),n.d(i,"GroupedColumnChart",function(){return tr}),n.d(i,"StackedColumnChart",function(){return ti}),n.d(i,"RangeColumnChart",function(){return ta}),n.d(i,"PercentStackedColumnChart",function(){return to}),n.d(i,"PieChart",function(){return tl}),n.d(i,"DensityHeatmapChart",function(){return tc}),n.d(i,"HeatmapChart",function(){return td}),n.d(i,"WordCloudChart",function(){return tv}),n.d(i,"RoseChart",function(){return tb}),n.d(i,"FunnelChart",function(){return t_}),n.d(i,"StackedRoseChart",function(){return tP}),n.d(i,"GroupedRoseChart",function(){return tA}),n.d(i,"RadarChart",function(){return tF}),n.d(i,"LiquidChart",function(){return tk}),n.d(i,"HistogramChart",function(){return tN}),n.d(i,"DonutChart",function(){return tB}),n.d(i,"WaterfallChart",function(){return tV}),n.d(i,"ScatterChart",function(){return tW}),n.d(i,"BubbleChart",function(){return tY}),n.d(i,"BulletChart",function(){return tq}),n.d(i,"CalendarChart",function(){return tK}),n.d(i,"GaugeChart",function(){return tJ}),n.d(i,"DualAxesChart",function(){return t1});var a=n(4),o=n.n(a),s=n(3),l=n.n(s),u=n(629),c=n(11),f=Object(c.a)(u.Progress,"ProgressChart",function(t){return o()({data:t.percent,color:"#5B8FF9"},t)}),d=n(630),p=Object(c.a)(d.RingProgress,"RingProgressChart",function(t){return o()({data:t.percent,color:"#5B8FF9"},t)}),h=n(631),g=n(20),v=n.n(g),y=n(16),m=n(0),b=Object(c.a)(h.TinyColumn,"TinyColumnChart",function(t){var e=Object(y.c)(t);if(!Object(m.isNil)(e.yField)){var n=e.data.map(function(t){return t[e.yField]}).filter(function(t){return!Object(m.isNil)(t)});n&&n.length&&v()(e,"data",n)}return v()(e,"tooltip",!1),e}),x=n(632),_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},O=Object(c.a)(x.TinyArea,"TinyAreaChart",function(t){var e=Object(y.c)(t),n=e.xField,r=e.yField,i=e.data,a=_(e,["xField","yField","data"]);return n&&r&&i&&(a.data=i.map(function(t){return t[r]})),o()({},a)}),P=n(633),M=n(18),A=n.n(M),S=Object(c.a)(P.TinyLine,"TinyLineChart",function(t){var e=Object(y.c)(t);if(!Object(m.isNil)(e.yField)){var n=e.data.map(function(t){return t[e.yField]}).filter(function(t){return!Object(m.isNil)(t)});n&&n.length&&v()(e,"data",n)}var r=A()(e,"size");if(!Object(m.isNil)(r)){var i=A()(e,"lineStyle",{});v()(e,"lineStyle",o()(o()({},i),{lineWidth:r}))}return v()(e,"tooltip",!1),e}),w=n(232),E=function(t){var e=Object(y.c)(t);return Object(y.e)(e,"point"),!0===e.point&&(e.point={}),e},C=Object(c.a)(w.Line,"LineChart",E),T=n(634),I=n(17),j=n.n(I),F=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(r>n)delete e.children;else{var i=e.children;i&&i.length&&i.forEach(function(e){t(e,n,r+1)})}},L=Object(c.a)(T.Treemap,"TreemapChart",function(t){var e=Object(y.c)(t),n=Object(m.get)(e,"maxLevel",2);if(!Object(m.isNil)(n)){if(n<1)j()(!1,"maxLevel 必须大于等于1");else{var r=Object(m.get)(e,"data",{});F(r,n),Object(m.set)(e,"data",r),Object(m.set)(e,"maxLevel",n)}}return e}),D=Object(c.a)(w.Line,"StepLineChart",function(t){return j()(!1,"即将在5.0后废弃,请使用替代。"),t.stepType=t.stepType||t.step||"hv",E(t)}),k=n(83),R=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},N=function(t){var e=Object(y.c)(t),n=e.barSize,r=R(e,["barSize"]);return Object(y.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField是旧版API,即将废弃 请使用seriesField替代"},{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField是旧版API,即将废弃 请使用seriesField替代"}],r),Object(m.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),r},B=Object(c.a)(k.Bar,"BarChart",N),G=Object(c.a)(k.Bar,"StackedBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代,"),Object(m.deepMix)(t,{isStack:!0}),N(t)}),V=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},z=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"}],W=Object(c.a)(k.Bar,"GroupedBarChart",function(t){j()(!1," 在5.0后即将被废弃,请使用 替代");var e=Object(y.c)(t),n=e.barSize,r=V(e,["barSize"]);return Object(y.f)(z,r),Object(m.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),Object(m.deepMix)(t,{isGroup:!0}),r}),Y=Object(c.a)(k.Bar,"PercentStackedBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isPercent:!0,isStack:!0}),N(t)}),H=Object(c.a)(k.Bar,"RangeBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isRange:!0}),N(t)}),X=n(134),U=function(t){var e=Object(y.c)(t);return Object(y.e)(e,"line"),Object(y.e)(e,"point"),e.isStack=!Object(m.isNil)(e.isStack)&&e.isStack,Object(y.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField是旧版api,即将废弃 请使用seriesField替代"}],e),e},q=Object(c.a)(X.Area,"AreaChart",U),Z=Object(c.a)(X.Area,"StackedAreaChart",function(t){return j()(!1," 即将在5.0后废弃,请使用 替代。"),Object(m.deepMix)(t,{isStack:!0}),U(t)}),K=Object(c.a)(X.Area,"PercentStackedAreaChart",function(t){return j()(!1," 即将在5.0后废弃,请使用 替代。"),Object(m.deepMix)(t,{isPercent:!0}),U(t)}),$=n(84),Q=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},J=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"stackField",targetKey:"seriesField",notice:"colorField是旧版API,即将废弃 请使用seriesField替代"}],tt=function(t){var e=Object(y.c)(t),n=e.columnSize,r=Q(e,["columnSize"]);return Object(y.f)(J,r),Object(m.isNil)(n)||(r.minColumnWidth=n,r.maxColumnWidth=n),r},te=Object(c.a)($.Column,"ColumnChart",tt),tn=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tr=Object(c.a)($.Column,"GroupedColumnChart",function(t){j()(!1," 在5.0后即将被废弃,请使用 替代");var e=Object(y.c)(t),n=e.columnSize,r=tn(e,["columnSize"]);return Object(m.isNil)(n)||(r.minColumnWidth=n,r.maxColumnWidth=n),Object(m.deepMix)(t,{isGroup:!0}),r}),ti=Object(c.a)($.Column,"StackedColumnChart",function(t){return j()(!1,"即将在5.0中废弃,请使用替代。"),Object(m.deepMix)(t,{isStack:!0}),tt(t)}),ta=Object(c.a)($.Column,"RangeColumnChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isRange:!0}),tt(t)}),to=Object(c.a)($.Column,"PercentStackedColumnChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isPercent:!0,isStack:!0}),tt(t)}),ts=n(233),tl=Object(c.a)(ts.Pie,"PieChart",y.c),tu=n(135),tc=Object(c.a)(tu.Heatmap,"DensityHeatmapChartChart",function(t){var e=Object(y.c)(t);return Object(y.f)([{sourceKey:"radius",targetKey:"sizeRatio",notice:"radius 请使用sizeRatio替代"}],e),Object(m.set)(e,"type","density"),e}),tf=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},td=Object(c.a)(tu.Heatmap,"HeatmapChart",function(t){var e=Object(y.c)(t),n=e.shapeType,r=tf(e,["shapeType"]);return n&&(r.heatmapStyle=n,Object(I.warn)(!1,"shapeType是g2plot@1.0的属性,即将废弃,请使用 `heatmapStyle` 替代")),!r.shape&&r.sizeField&&(r.shape="square"),r}),tp=n(635),th=n(14),tg=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tv=Object(c.a)(tp.WordCloud,"WordCloudChart",function(t){var e=t.maskImage,n=t.wordField,r=t.weightField,i=t.colorField,a=t.selected,s=t.shuffle,l=t.interactions,u=t.onGetG2Instance,c=t.tooltip,f=t.wordStyle,d=t.onWordCloudHover,p=t.onWordCloudClick,h=tg(t,["maskImage","wordField","weightField","colorField","selected","shuffle","interactions","onGetG2Instance","tooltip","wordStyle","onWordCloudHover","onWordCloudClick"]),g=f.active,v=tg(f,["active"]);return o()({colorField:void 0===i?"word":i,wordField:void 0===n?"word":n,weightField:void 0===r?"weight":r,imageMask:e,random:s,interactions:void 0===l?[{type:"element-active"}]:l,wordStyle:v,tooltip:(!c||!!c.visible)&&c,onGetG2Instance:function(t){if(u&&u(t),a>=0){var e=t.chart,n=Object(th.getTheme)();g&&o()(n.geometries.point["hollow-circle"].active.style,g),e.on("afterrender",function(){e.geometries.length&&e.geometries[0].elements.forEach(function(t,e){e===a&&t.setState("active",!0)})}),e.on("plot:mousemove",function(t){if(!t.data){d&&d(void 0,void 0,t.event);return}var e=t.data.data,n=e.datum,r=e.x,i=e.y,a=e.width,o=e.height;d&&d(n,{x:r,y:i,w:a,h:o},t.event)}),e.on("plot:click",function(t){if(!t.data){p&&p(void 0,void 0,t.event);return}var e=t.data.data,n=e.datum,r=e.x,i=e.y,a=e.width,o=e.height;p&&p(n,{x:r,y:i,w:a,h:o},t.event)})}}},h)}),ty=n(136),tm=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tb=Object(c.a)(ty.Rose,"RoseChart",function(t){var e=Object(y.c)(t);return Object(y.f)(tm,e),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"inner"===A()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===A()(e,"label.type")&&delete e.label.type,e}),tx=n(636),t_=Object(c.a)(tx.Funnel,"FunnelChart",function(t){var e=Object(y.c)(t);return Object(y.f)([{sourceKey:"transpose",targetKey:"isTransposed",notice:"transpose 即将废弃 请使用isTransposed替代"}],e),e}),tO=[{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tP=Object(c.a)(ty.Rose,"StackedRoseChart",function(t){j()(!1," 即将在5.0后废弃,请使用替代,");var e=Object(y.c)(t);return Object(y.f)(tO,e),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"inner"===A()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===A()(e,"label.type")&&delete e.label.type,o()(o()({},e),{isStack:!0})}),tM=[{sourceKey:"groupField",targetKey:"seriesField",notice:"groupField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tA=Object(c.a)(ty.Rose,"GroupedRoseChart",function(t){j()(!1," 即将在5.0后废弃,请使用。");var e=Object(y.c)(t);return Object(y.f)(tM,e),"inner"===Object(m.get)(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===Object(m.get)(e,"label.type")&&delete e.label.type,o()(o()({},e),{isGroup:!0})}),tS=n(37),tw=n.n(tS),tE=n(61),tC=n.n(tE),tT=n(637),tI=[{sourceKey:"angleField",targetKey:"xField",notice:"angleField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"},{sourceKey:"angleAxis",targetKey:"xAxis",notice:"angleAxis 是 g2@1.0的属性,即将废弃,请使用xAxis替代"},{sourceKey:"radiusAxis",targetKey:"yAxis",notice:"radiusAxis 是 g2@1.0的属性,即将废弃,请使用yAxis替代"}],tj=function(t){var e=A()(t,"line",{}),n=e.visible,r=e.size,i=e.style;v()(t,"lineStyle",o()(o()(o()({},i),{opacity:1,lineWidth:"number"==typeof r?r:2}),tw()(n)||n?{fillOpacity:1,strokeOpacity:1}:{fillOpacity:0,strokeOpacity:0}))},tF=Object(c.a)(tT.Radar,"RadarChart",function(t){Object(y.f)(tI,t);var e=Object(y.c)(t);return!1===A()(e,"area.visible")&&v()(e,"area",!1),!1===A()(e,"point.visible")&&v()(e,"point",!1),tj(e),(tC()(e.angleAxis)||tC()(e.radiusAxis))&&(e.angleAxis||(e.angleAxis={}),e.angleAxis.line=A()(e,"angleAxis.line",null),e.angleAxis.tickLine=A()(e,"angleAxis.tickLine",null)),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"line"===A()(e,"yAxis.grid.line.type")&&Object(m.deepMix)(e,{xAxis:{line:null,tickLine:null}},e),e}),tL=n(638),tD=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tk=Object(c.a)(tL.Liquid,"LiquidChart",function(t){var e=Object(y.c)(t),n=(e.range,e.min),r=e.max,i=e.value,a=tD(e,["range","min","max","value"]);if(!Object(m.isNil)(i)){a.percent=i/((void 0===r?1:r)-(void 0===n?0:n));var s=Object(m.get)(a,"statistic.content.formatter");null!==a.statistic&&!1!==a.statistic&&Object(m.deepMix)(a,{statistic:{content:{formatter:function(){return Object(m.isFunction)(s)&&s(i),i}}}})}Object(y.e)(a,"statistic"),Object(y.e)(a,"statistic.title"),Object(y.e)(a,"statistic.content");var l=a.percent;return o()({data:l},a)}),tR=n(639),tN=Object(c.a)(tR.Histogram,"HistogramChart"),tB=Object(c.a)(ts.Pie,"DonutChart",function(t){var e=Object(y.c)(t);return Object(y.e)(e,"statistic"),Object(y.e)(e,"statistic.title"),Object(y.e)(e,"statistic.content"),o()({innerRadius:.8},e)}),tG=n(640),tV=Object(c.a)(tG.Waterfall,"WaterfallChart"),tz=n(234),tW=Object(c.a)(tz.Scatter,"ScatterChart",function(t){var e=Object(y.c)(t);A()(e,"pointSize")&&v()(e,"size",A()(e,"pointSize")),Object(y.e)(e,"quadrant");var n=A()(e,"quadrant.label");if(!A()(e,"quadrant.labels")&&n){var r=n.text,i=n.style;if(r&&r.length&&i){var a=r.map(function(t){return{style:i,content:t}});v()(e,"quadrant.labels",a)}}if(!A()(e,"regressionLine")){var o=A()(e,"trendline");Object(m.isObject)(o)&&!1===A()(o,"visible")?v()(e,"regressionLine",null):v()(e,"regressionLine",o)}return e}),tY=Object(c.a)(tz.Scatter,"BubbleChart",function(t){var e=Object(y.c)(t);return tw()(A()(e,"pointSize"))||v()(e,"size",A()(e,"pointSize")),j()(!1,"BubbleChart 图表类型命名已变更为Scatter,请修改为"),e}),tH=n(641),tX=n(23),tU=n.n(tX),tq=Object(c.a)(tH.Bullet,"BulletChart",function(t){var e=Object(y.c)(t);return tw()(A()(t,"measureSize"))||(j()(!1,"measureSize已废弃,请使用size.measure替代"),v()(e,"size.measure",A()(t,"measureSize"))),tw()(A()(t,"rangeSize"))||(j()(!1,"rangeSize已废弃,请使用size.range替代"),v()(e,"size.range",A()(t,"rangeSize"))),tw()(A()(t,"markerSize"))||(j()(!1,"markerSizee已废弃,请使用size.target替代"),v()(e,"size.target",A()(t,"markerSize"))),tw()(A()(t,"measureColors"))||(j()(!1,"measureColors已废弃,请使用color.measure替代"),v()(e,"color.measure",A()(t,"measureColors"))),tw()(A()(t,"rangeColors"))||(j()(!1,"rangeColors已废弃,请使用color.range替代"),v()(e,"color.range",A()(t,"rangeColors"))),tw()(A()(t,"markerColors"))||(j()(!1,"markerColors已废弃,请使用color.target替代"),v()(e,"color.target",A()(t,"markerColors"))),tw()(A()(t,"markerStyle"))||(j()(!1,"markerStyle已废弃,请使用bulletStyle.target替代"),v()(e,"bulletStyle.target",A()(t,"markerStyle"))),tw()(A()(t,"xAxis.line"))&&v()(e,"xAxis.line",!1),tw()(A()(t,"yAxis"))&&v()(e,"yAxis",!1),tw()(A()(t,"measureField"))&&v()(e,"measureField","measures"),tw()(A()(t,"rangeField"))&&v()(e,"rangeField","ranges"),tw()(A()(t,"targetField"))&&v()(e,"targetField","target"),j()(!tw()(A()(t,"rangeMax")),"该属性已废弃,请在数据中配置range,并配置rangeField"),tU()(A()(t,"data"))&&v()(e,"data",t.data.map(function(e){var n={};return(tw()(A()(t,"rangeMax"))||(n={ranges:[A()(t,"rangeMax")]}),tU()(e.targets))?o()(o()(o()({},n),{target:e.targets[0]}),e):o()(o()({},n),e)})),e});n(642).G2.registerShape("polygon","boundary-polygon",{draw:function(t,e){var n=e.addGroup(),r={stroke:"#fff",lineWidth:1,fill:t.color,paht:[]},i=t.points,a=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["L",i[2].x,i[2].y],["L",i[3].x,i[3].y],["Z"]];if(r.path=this.parsePath(a),n.addShape("path",{attrs:r}),Object(m.get)(t,"data.lastWeek")){var o=[["M",i[2].x,i[2].y],["L",i[3].x,i[3].y]];n.addShape("path",{attrs:{path:this.parsePath(o),lineWidth:4,stroke:"#404040"}}),Object(m.get)(t,"data.lastDay")&&n.addShape("path",{attrs:{path:this.parsePath([["M",i[1].x,i[1].y],["L",i[2].x,i[2].y]]),lineWidth:4,stroke:"#404040"}})}return n}});var tZ=[{sourceKey:"colors",targetKey:"color",notice:"colors 是 g2Plot@1.0 的属性,请使用 color 属性替代"},{sourceKey:"valueField",targetKey:"colorField",notice:"valueField 是 g2@1.0的属性,即将废弃,请使用colorField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tK=Object(c.a)(tu.Heatmap,"CalendarChart",function(t){var e=Object(y.c)(t);return Object(y.f)(tZ,e),Object(m.isNil)(Object(m.get)(t,"shape"))&&Object(m.set)(e,"shape","boundary-polygon"),Object(m.isNil)(Object(m.get)(e,"xField"))&&Object(m.isNil)(Object(m.get)(e,"yField"))&&(Object(m.set)(e,"xField","week"),Object(m.set)(e,"meta.week",o()({type:"cat"},Object(m.get)(e,"meta.week",{}))),Object(m.set)(e,"yField","day"),Object(m.set)(e,"meta.day",{type:"cat",values:["Sun.","Mon.","Tues.","Wed.","Thur.","Fri.","Sat."]}),Object(m.set)(e,"reflect","y"),Object(m.set)(e,"xAxis",o()({tickLine:null,line:null,title:null,label:{offset:20,style:{fontSize:12,fill:"#bbb",textBaseline:"top"},formatter:function(t){return"2"==t?"MAY":"6"===t?"JUN":"10"==t?"JUL":"14"===t?"AUG":"18"==t?"SEP":"24"===t?"OCT":""}}},Object(m.get)(e,"xAxis",{})))),e}),t$=n(643),tQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tJ=Object(c.a)(t$.Gauge,"GaugeChart",function(t){var e=Object(y.c)(t),n=e.range,r=e.min,i=void 0===r?0:r,a=e.max,s=void 0===a?1:a,l=e.value,u=tQ(e,["range","min","max","value"]);Object(m.isArray)(n)?(j()(!1,"range 应当是个对象,请修改配置。"),u.range={ticks:n.map(function(t){return(t-i)/(s-i)}),color:Object(th.getTheme)().colors10}):u.range=n||{};var c=Object(m.get)(u,"color");if(Object(m.isNil)(c)||(j()(!1,"请通过配置属性range.color来配置颜色"),u.range.color=c),Object(m.isNil)(Object(m.get)(u,"indicator"))&&Object(m.set)(u,"indicator",{pointer:{style:{stroke:"#D0D0D0"}},pin:{style:{stroke:"#D0D0D0"}}}),Object(m.get)(u,"statistic.visible")&&Object(m.set)(u,"statistic.title",Object(m.get)(u,"statistic")),!Object(m.isNil)(i)&&!Object(m.isNil)(s)&&!Object(m.isNil)(l)){u.percent=(l-i)/(s-i);var f=Object(m.get)(u,"axis.label.formatter");Object(m.set)(u,"axis",{label:{formatter:function(t){var e=t*(s-i)+i;return Object(m.isFunction)(f)?f(e):e}}})}j()(!(Object(m.get)(u,"min")||Object(m.get)(u,"max")),"属性 `max` 和 `min` 不推荐使用, 请直接配置属性range.ticks"),j()((Object(m.get)(u,"rangeSize")||Object(m.get)(u,"rangeStyle"),!1),"不再支持rangeSize、rangeStyle、rangeBackgroundStyle属性, 请查看新版仪表盘配置文档。");var d=Object(m.isNil)(u.percent)?l:u.percent;return o()({data:d},u)}),t0=n(644),t1=Object(c.a)(t0.DualAxes,"DualAxesChart"),t2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},t3=o()(o()({},i),r),t5=function(t){var e=t.chartName,n=(t.adapter||function(e){return{plotType:t.plotType||"Line",options:e}})(t2(t,["chartName","adapter"]))||{},r=n.plotType,i=n.options,a=t3[r];return(a.displayName=e,a)?l.a.createElement(a,o()({},i)):l.a.createElement("div",{style:{color:"#aaa"}},"不存在plotName=:","".concat(r),"的Plot组件")};t5.registerPlot=function(t,e){j()(!t3[t],"%s的plot已存在",t),t3[t]=e};var t4=t5},function(t,e,n){"use strict";n.r(e),n.d(e,"Canvas",function(){return T}),n.d(e,"Group",function(){return X}),n.d(e,"Circle",function(){return tt}),n.d(e,"Ellipse",function(){return tn}),n.d(e,"Image",function(){return ti}),n.d(e,"Line",function(){return to}),n.d(e,"Marker",function(){return tl}),n.d(e,"Path",function(){return tc}),n.d(e,"Polygon",function(){return td}),n.d(e,"Polyline",function(){return th}),n.d(e,"Rect",function(){return tv}),n.d(e,"Text",function(){return tm}),n.d(e,"render",function(){return tb});var r=n(621),i=n.n(r),a=n(3),o=n.n(a),s=n(29),l={},u=i()({getRootHostContext:function(){},getChildHostContext:function(){},createInstance:function(){},finalizeInitialChildren:function(){return!1},hideTextInstance:function(){},getPublicInstance:function(t){return t},hideInstance:function(){},unhideInstance:function(){},createTextInstance:function(){},prepareUpdate:function(){return l},shouldDeprioritizeSubtree:function(){return!1},appendInitialChild:function(){},appendChildToContainer:function(){},removeChildFromContainer:function(){},prepareForCommit:function(){},resetAfterCommit:function(){},shouldSetTextContent:function(){return!1},supportsMutation:!0,appendChild:function(){}}),c=n(12),f=n.n(c),d=n(13),p=n.n(d),h=n(5),g=n.n(h),v=n(4),y=n.n(v),m=n(9),b=n.n(m),x=n(10),_=n.n(x),O=n(205),P=n(324),M=n(132),A=n(67),S=o.a.createContext(null);S.displayName="CanvasContext";var w=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},E=function(){function t(){b()(this,t)}return _()(t,[{key:"createInstance",value:function(t){t.children;var e=t.renderer,n=w(t,["children","renderer"]);"svg"===e?this.instance=new P.Canvas(y()({},n)):this.instance=new O.Canvas(y()({},n))}},{key:"update",value:function(t){this.instance||this.createInstance(t)}},{key:"draw",value:function(){this.instance&&this.instance.draw()}},{key:"destory",value:function(){this.instance&&(this.instance.remove(),this.instance=null)}}]),t}(),C=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new E,e}return _()(r,[{key:"componentDidMount",value:function(){this.helper.draw()}},{key:"componentWillUnmount",value:function(){this.helper.destory()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),o.a.createElement(A.b,y()({},this.props.ErrorBoundaryProps),o.a.createElement(S.Provider,{value:this.helper},o.a.createElement(s.a.Provider,{value:this.helper.instance},o.a.createElement(o.a.Fragment,null,this.props.children))))}}]),r}(o.a.Component),T=Object(M.a)(C),I=n(45),j=n.n(I),F=n(77),L=n.n(F),D=n(28),k=n.n(D),R=n(228),N=n.n(R),B=n(23),G=n.n(B),V=n(93),z=n.n(V),W={onClick:"click",onMousedown:"mousedown",onMouseup:"mouseup",onDblclick:"dblclick",onMouseout:"mouseout",onMouseover:"mouseover",onMousemove:"mousemove",onMouseleave:"mouseleave",onMouseenter:"mouseenter",onTouchstart:"touchstart",onTouchmove:"touchmove",onTouchend:"touchend",onDragenter:"dragenter",onDragover:"dragover",onDragleave:"dragleave",onDrop:"drop",onContextmenu:"contextmenu"},Y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},H=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){b()(this,r),(e=n.call(this,t)).state={isReady:!1},e.handleRender=N()(function(){if(e.instance)e.forceUpdate();else{var t=e.props,n=t.group,r=t.zIndex,i=t.name;e.instance=n.chart.canvas.addGroup({zIndex:r,name:i}),n.chart.canvas.sort(),e.setState({isReady:!0})}},300),e.configGroup=function(t){var n,r=t.rotate,i=t.animate,a=t.rotateAtPoint,o=t.scale,s=t.translate,l=t.move;if(r&&e.instance.rotate(r),G()(a)&&(n=e.instance).rotateAtPoint.apply(n,j()(a)),o&&e.instance.rotate(o),s&&e.instance.translate(s[0],s[1]),l&&e.instance.move(l.x,l.y),i){var u=i.toAttrs,c=Y(i,["toAttrs"]);e.instance.animate(u,c)}},e.bindEvents=function(){e.instance.off(),L()(W,function(t,n){k()(e.props[n])&&e.instance.on(t,e.props[n])})};var e,i=t.group,a=t.zIndex,o=t.name;return e.id=z()("group"),i.isChartCanvas?i.chart.on("afterrender",e.handleRender):(e.instance=i.addGroup({zIndex:a,name:o}),e.configGroup(t)),e}return _()(r,[{key:"componentWillUnmount",value:function(){var t=this.props.group;t.isChartCanvas&&t.chart.off("afterrender",this.handleRender),this.instance&&this.instance.remove(!0)}},{key:"getInstance",value:function(){return this.instance}},{key:"render",value:function(){var t=this.props.group;return this.instance&&(this.instance.clear(),this.bindEvents()),t.isChartCanvas&&this.state.isReady||!t.isChartCanvas?o.a.createElement(s.a.Provider,{value:this.instance},o.a.createElement(o.a.Fragment,{key:z()(this.id)},this.props.children)):o.a.createElement(o.a.Fragment,null)}}]),r}(o.a.Component);H.defaultProps={zIndex:3};var X=Object(s.b)(H),U=n(78),q=n(94),Z=n(75),K=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},$=function(){function t(e){b()(this,t),this.shape=e}return _()(t,[{key:"createInstance",value:function(t){this.instance=t.group.addShape(this.shape,Object(U.a)(t,["group","ctx"]))}},{key:"destroy",value:function(){this.instance&&(this.instance.remove(!0),this.instance=null)}},{key:"update",value:function(t){var e=this,n=Object(U.a)(t,j()(q.a));this.destroy(),this.createInstance(n);var r=n.attrs,i=n.animate,a=n.isClipShape,o=n.visible,s=n.matrix,l=K(n,["attrs","animate","isClipShape","visible","matrix"]);if(this.instance.attr(r),i){var u=i.toAttrs,c=K(i,["toAttrs"]);this.instance.animate(u,c)}a&&this.instance.isClipShape(),!1===o&&this.instance.hide(),s&&this.instance.setMatrix(s),L()(W,function(t,n){k()(l[n])&&e.instance.on(t,l[n])}),this.config=Object(Z.a)(n)}}]),t}(),Q=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(){return b()(this,r),n.apply(this,arguments)}return _()(r,[{key:"componentWillUnmount",value:function(){this.helper.destroy()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),null}}]),r}(o.a.Component),J=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("circle"),e}return _()(r)}(Q),tt=Object(s.b)(J),te=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("ellipse"),e}return _()(r)}(Q),tn=Object(s.b)(te),tr=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("image"),e}return _()(r)}(Q),ti=Object(s.b)(tr),ta=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("line"),e}return _()(r)}(Q),to=Object(s.b)(ta),ts=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("marker"),e}return _()(r)}(Q),tl=Object(s.b)(ts),tu=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("path"),e}return _()(r)}(Q),tc=Object(s.b)(tu),tf=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("polygon"),e}return _()(r)}(Q),td=Object(s.b)(tf),tp=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("polyline"),e}return _()(r)}(Q),th=Object(s.b)(tp),tg=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("rect"),e}return _()(r)}(Q),tv=Object(s.b)(tg),ty=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("text"),e}return _()(r)}(Q),tm=Object(s.b)(ty),tb=function(t,e){e.clear&&e.clear();var n=u.createContainer(e,0,!1);return u.updateContainer(o.a.createElement(s.a.Provider,{value:e},o.a.createElement(o.a.Fragment,null,t)),n,null,function(){}),u.getPublicRootInstance(n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"Base",function(){return r.a}),n.d(e,"Arc",function(){return i.a}),n.d(e,"DataMarker",function(){return a.a}),n.d(e,"DataRegion",function(){return o.a}),n.d(e,"RegionFilter",function(){return y}),n.d(e,"Html",function(){return m}),n.d(e,"ReactElement",function(){return b}),n.d(e,"Image",function(){return x.a}),n.d(e,"Line",function(){return _.a}),n.d(e,"Region",function(){return O.a}),n.d(e,"Text",function(){return P.a});var r=n(35),i=n(207),a=n(208),o=n(209),s=n(10),l=n.n(s),u=n(9),c=n.n(u),f=n(12),d=n.n(f),p=n(13),h=n.n(p),g=n(5),v=n.n(g),y=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="regionFilter",t}return l()(r)}(r.a),m=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="html",t}return l()(r)}(r.a),b=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="ReactElement",t}return l()(r)}(r.a),x=n(210),_=n(211),O=n(212),P=n(213)},function(t,e,n){"use strict";n.d(e,"a",function(){return J});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(28),l=n.n(s),u=n(204),c=n.n(u),f=n(93),d=n.n(f),p=n(23),h=n.n(p),g=n(50),v=n.n(g),y=n(8),m=n(40),b=n(9),x=n.n(b),_=n(10),O=n.n(_),P=n(12),M=n.n(P),A=n(13),S=n.n(A),w=n(5),E=n.n(w),C=n(221),T=n.n(C),I=n(18),j=n.n(I),F=n(625),L=n.n(F),D=n(47),k=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},R="g2-tooltip",N=function(t){M()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=E()(r);if(e){var i=E()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return S()(this,t)});function r(){var t;return x()(this,r),t=n.apply(this,arguments),t.renderInnder=function(e){var n=e.data,r=n.title,i=n.items,a=n.x,o=n.y;T.a.render(t.props.children(r,i,a,o,e),t.getElement())},t}return O()(r,[{key:"componentWillUnmount",value:function(){var t=this.props.chartView;this.element&&this.element.remove(),t.getController("tooltip").clear(),t.off("tooltip:change",this.renderInnder)}},{key:"getElement",value:function(){return this.element||(this.element=document.createElement("div"),this.element.classList.add("bizcharts-tooltip"),this.element.classList.add("g2-tooltip"),this.element.style.width="auto",this.element.style.height="auto"),this.element}},{key:"overwriteCfg",value:function(){var t=this,e=this.props,n=e.chartView,r=(e.children,e.domStyles),a=void 0===r?{}:r,o=k(e,["chartView","children","domStyles"]);n.tooltip(i()(i()({inPlot:!1,domStyles:a},o),{customContent:function(){return t.getElement()}})),n.on("tooltip:change",this.renderInnder);var s=j()(Object(y.getTheme)(),["components","tooltip","domStyles",R],{});L()(this.element,i()(i()({},s),a[R]))}},{key:"render",value:function(){return this.overwriteCfg(),null}}]),r}(o.a.Component),B=Object(D.b)(N),G=n(166),V=n(345),z=n.n(V),W=n(346),Y=n.n(W),H=n(127),X=n.n(H),U=n(347),q=n.n(U);Object(y.registerAction)("tooltip",X.a),Object(y.registerAction)("sibling-tooltip",Y.a),Object(y.registerAction)("active-region",z.a),Object(y.registerAction)("ellipsis-text",q.a),Object(y.registerInteraction)("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(y.registerInteraction)("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Object(y.registerInteraction)("tooltip-click",{start:[{trigger:"plot:click",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchstart",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:leave",action:"tooltip:hide"}]});var Z=function(t){t.view.isTooltipLocked()?t.view.unlockTooltip():t.view.lockTooltip()};Object(y.registerInteraction)("tooltip-lock",{start:[{trigger:"plot:click",action:Z},{trigger:"plot:touchstart",action:Z},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:mousemove",action:"tooltip:show"}],end:[{trigger:"plot:click",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(y.registerInteraction)("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});var K=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(y.registerComponentController)("tooltip",c.a);var $=function(t){var e=t.visible,n=t.children;return(void 0===e||e)&&l()(n)},Q=function(t){var e=t.visible,n=(t.children,K(t,["visible","children"])),r=Object(m.a)();return r.getController("tooltip").clear(),!0===(void 0===e||e)?r.tooltip(i()({customContent:null,showMarkers:!1},n)):r.tooltip(!1),null};function J(t){var e=t.children,n=t.triggerOn,r=t.onShow,s=t.onChange,u=t.onHide,c=t.lock,f=t.linkage,p=K(t,["children","triggerOn","onShow","onChange","onHide","lock","linkage"]),g=Object(m.a)();g.removeInteraction("tooltip"),g.removeInteraction("tooltip-click"),g.removeInteraction("tooltip-lock"),"click"===n?g.interaction("tooltip-click"):c?g.interaction("tooltip-lock"):g.interaction("tooltip");var y=Object(a.useRef)(d()("tooltip"));Object(a.useEffect)(function(){h()(f)?Object(G.b)(f[0],y.current,g,p.shared,f[1]):v()(f)&&Object(G.b)(f,y.current,g,p.shared)},[f,g]);var b=Object(a.useCallback)(function(t){l()(r)&&r(t,g)},[]),x=Object(a.useCallback)(function(t){l()(s)&&s(t,g)},[]),_=Object(a.useCallback)(function(t){l()(u)&&u(t,g)},[]);return g.off("tooltip:show",b),g.on("tooltip:show",b),g.off("tooltip:change",x),g.on("tooltip:change",x),g.off("tooltip:hide",_),g.on("tooltip:hide",_),$(t)?o.a.createElement(B,i()({},p),e):o.a.createElement(Q,i()({},t))}J.defaultProps={showMarkers:!1,triggerOn:"hover"}},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(9),o=n.n(a),s=n(10),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(3),v=n.n(g),y=n(228),m=n.n(y),b=n(160),x=n(231),_=n(67),O=n(132),P=n(76),M=n(47),A=n(29),S=n(45),w=n.n(S),E=n(93),C=n.n(E),T=n(55),I=n.n(T),j=n(28),F=n.n(j),L=n(23),D=n.n(L),k=n(624),R=n.n(k),N=n(8),B=n(17),G=n.n(B),V=n(82),z=n(78),W=n(75),Y=n(94),H=n(21),X=n(126),U=n.n(X),q=n(137),Z=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},K=function(t){c()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=h()(r);if(e){var i=h()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return d()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.config={},t}return l()(r,[{key:"createInstance",value:function(t){this.chart=new N.Chart(i()({},t)),this.key=C()("bx-chart"),this.chart.emit("initialed"),this.isNewInstance=!0,this.extendGroup={isChartCanvas:!0,chart:this.chart}}},{key:"render",value:function(){if(this.chart)try{this.isNewInstance?(this.chart.render(),this.onGetG2Instance(),this.chart.unbindAutoFit(),this.isNewInstance=!1):this.chart.forceReRender?this.chart.render():this.chart.render(!0),this.chart.emit("processElemens")}catch(t){this.emit("renderError",t),this.destory(),console&&console.error(null==t?void 0:t.stack)}}},{key:"onGetG2Instance",value:function(){F()(this.config.onGetG2Instance)&&this.config.onGetG2Instance(this.chart)}},{key:"shouldReCreateInstance",value:function(t){if(!this.chart||t.forceUpdate)return!0;var e=this.config,n=e.data,r=Z(e,["data"]),i=t.data,a=Z(t,["data"]);if(D()(this.config.data)&&0===n.length&&D()(i)&&0!==i.length)return!0;var o=[].concat(w()(Y.a),["scale","width","height","container","_container","_interactions","placeholder",/^on/,/^\_on/]);return!R()(Object(z.a)(r,w()(o)),Object(z.a)(a,w()(o)))}},{key:"update",value:function(t){var e=this,n=Object(W.a)(this.adapterOptions(t));this.shouldReCreateInstance(n)&&(this.destory(),this.createInstance(n)),n.pure&&(this.chart.axis(!1),this.chart.tooltip(!1),this.chart.legend(!1),this.chart.isPure=!0);var r=Object(q.a)(this.config),i=Object(q.a)(n),a=n.data,o=n.interactions,s=Z(n,["data","interactions"]),l=this.config,u=l.data,c=l.interactions;if(this.isNewInstance||r.forEach(function(t){e.chart.off(t[1],e.config["_".concat(t[0])])}),i.forEach(function(t){n["_".concat(t[0])]=function(r){n[t[0]](r,e.chart)},e.chart.on(t[1],n["_".concat(t[0])])}),D()(u)&&u.length){var f=!0;if(n.notCompareData&&(f=!1),u.length!==a.length?f=!1:u.forEach(function(t,e){Object(V.a)(t,a[e])||(f=!1)}),!f){this.chart.isDataChanged=!0,this.chart.emit(H.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA),this.chart.data(a);for(var d=this.chart.views,p=0,h=d.length;p=0&&e!==this.chartHelper.chart.width||n>=0&&n!==this.chartHelper.chart.height){var r=e||this.chartHelper.chart.width,i=n||this.chartHelper.chart.height;this.chartHelper.chart.changeSize(r,i),this.chartHelper.chart.emit("resize")}else this.chartHelper.render()}else this.chartHelper.render()}},{key:"componentWillUnmount",value:function(){this.chartHelper.destory(),this.resizeObserver.unobserve(this.props.container)}},{key:"getG2Instance",value:function(){return this.chartHelper.chart}},{key:"render",value:function(){var t=this,e=this.props,n=e.placeholder,r=e.data,a=e.errorContent,o=this.props.ErrorBoundaryProps;if((void 0===r||0===r.length)&&n){this.chartHelper.destory();var s=!0===n?v.a.createElement("div",{style:{position:"relative",top:"48%",color:"#aaa",textAlign:"center"}},"暂无数据"):n;return v.a.createElement(_.b,i()({},o),s)}return this.chartHelper.update(this.props),o=a?i()({fallback:a},o):{FallbackComponent:_.a},v.a.createElement(_.b,i()({},o,{key:this.chartHelper.key,onError:function(){var e;t.isError=!0,Object($.isFunction)(o.onError)&&(e=o).onError.apply(e,arguments)},onReset:function(){var e;t.isError=!1,Object($.isFunction)(o.onReset)&&(e=o).onReset.apply(e,arguments)},resetKeys:[this.chartHelper.key],fallback:a}),v.a.createElement(P.a.Provider,{value:this.chartHelper},v.a.createElement(M.a.Provider,{value:this.chartHelper.chart},v.a.createElement(A.a.Provider,{value:this.chartHelper.extendGroup},this.props.children))))}}]),r}(v.a.Component);Q.defaultProps={placeholder:!1,visible:!0,interactions:[],filter:[]},e.a=Object(O.a)(Q)},function(t,e,n){"use strict";var r=n(9),i=n.n(r),a=n(10),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(3),h=n.n(p),g=n(76),v=n(47),y=n(4),m=n.n(y),b=n(23),x=n.n(b),_=n(168),O=n.n(_),P=n(55),M=n.n(P),A=n(17),S=n.n(A),w=n(82),E=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},C=function(){function t(e){i()(this,t),this.config={},this.isRootView=!1,this.chart=e}return o()(t,[{key:"creatViewInstance",value:function(t){this.view=this.chart.createView(this.processOptions(t)),this.view.rootChart=this.chart}},{key:"getView",value:function(){return this.view}},{key:"update",value:function(t){var e=this,n=this.config.data,r=t.scale,i=t.animate,a=t.filter,o=t.visible,s=t.data,l=void 0===s?[]:s;if(l.rows&&(S()(!l.rows,"bizcharts@4不支持 dataset数据格式,请使用data={dv.rows}"),l=l.rows),(!this.view||x()(n)&&0===n.length)&&(this.destroy(),this.creatViewInstance(t)),x()(n)){this.view.changeData(l);var u=!0;n.length!==l.length?u=!1:n.forEach(function(t,e){Object(w.a)(t,l[e])||(u=!1)}),u||this.view.changeData(l)}else this.view.data(l);this.view.scale(r),this.view.animate(i),M()(this.config.filter,function(t,n){x()(t)?e.view.filter(t[0],null):e.view.filter(n,null)}),M()(a,function(t,n){x()(t)?e.view.filter(t[0],t[1]):e.view.filter(n,t)}),o?this.view.show():this.view.hide(),this.config=m()(m()({},t),{data:l})}},{key:"destroy",value:function(){this.view&&(this.view.destroy(),this.view=null),this.config={}}},{key:"processOptions",value:function(t){var e=t.region,n=t.start,r=t.end,i=E(t,["region","start","end"]);S()(!n,"start 属性将在5.0后废弃,请使用 region={{ start: {x:0,y:0}}} 替代"),S()(!r,"end 属性将在5.0后废弃,请使用 region={{ end: {x:0,y:0}}} 替代");var a=O()({start:{x:0,y:0},end:{x:1,y:1}},{start:n,end:r},e);return m()(m()({},i),{region:a})}}]),t}(),T=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return i()(this,r),t=n.apply(this,arguments),t.name="view",t}return o()(r,[{key:"componentWillUnmount",value:function(){this.viewHelper.destroy(),this.viewHelper=null}},{key:"render",value:function(){return this.viewHelper||(this.viewHelper=new C(this.context.chart)),this.viewHelper.update(this.props),h.a.createElement(v.a.Provider,{value:this.viewHelper.view},h.a.createElement(h.a.Fragment,null,this.props.children))}}]),r}(h.a.Component);T.defaultProps={visible:!0,preInteractions:[],filter:[]},T.contextType=g.a,e.a=T},function(t,e,n){"use strict";n.d(e,"a",function(){return _});var r=n(3),i=n(343),a=n.n(i),o=n(28),s=n.n(o),l=n(8),u=n(40),c=n(227),f=n.n(c),d=n(358),p=n.n(d),h=n(360),g=n.n(h),v=n(362),y=n.n(v),m=n(359),b=n.n(m);Object(l.registerAction)("list-active",p.a),Object(l.registerAction)("list-selected",b.a),Object(l.registerAction)("list-highlight",f.a),Object(l.registerAction)("list-unchecked",g.a),Object(l.registerAction)("data-filter",y.a),Object(l.registerAction)("legend-item-highlight",f.a,{componentNames:["legend"]}),Object(l.registerInteraction)("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Object(l.registerInteraction)("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Object(l.registerInteraction)("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:"list-unchecked:toggle"},{trigger:"legend-item:click",action:"data-filter:filter"}]});var x=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _(t){var e=t.name,n=t.visible,i=void 0===n||n,a=(t.onChange,t.filter),o=x(t,["name","visible","onChange","filter"]),l=Object(u.a)();return void 0===e?i?l.legend(o):l.legend(!1):i?l.legend(e,o):l.legend(e,!1),s()(a)&&e&&l.filter(e,a),Object(r.useEffect)(function(){l.on("legend:valuechanged",function(e){s()(t.onChange)&&t.onChange(e,l)}),l.on("legend-item:click",function(e){if(s()(t.onChange)){var n=e.target.get("delegateObject").item;e.item=n,t.onChange(e,l)}})},[]),null}Object(l.registerComponentController)("legend",a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n(342),i=n.n(r),a=n(40),o=n(626),s=n.n(o),l=function(t,e){var n=s()(t);return e.forEach(function(t){!0===n[t]?n[t]={}:!1===n[t]&&(n[t]=null)}),n},u=n(8),c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(u.registerComponentController)("axis",i.a);var f=function(t){return void 0===t};function d(t){var e=t.name,n=t.visible,r=c(t,["name","visible"]),i=Object(a.a)(),o=l(r,["title","line","tickLine","subTickLine","label","grid"]);return void 0===n||n?f(e)?i.axis(!0):i.axis(e,o):f(e)?i.axis(!1):i.axis(e,!1),null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(96),a=n(0),o=n(742),s=n(202),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.__assign(r.__assign({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");s.clearDom(t);var n=a.isFunction(e)?e(t):e;if(a.isElement(n))t.appendChild(n);else if(a.isString(n)||a.isNumber(n)){var r=i.createDom(""+n);r&&t.appendChild(r)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,a=this.get("alignX"),o=this.get("alignY"),s=this.get("offsetX"),l=this.get("offsetY"),u=i.getOuterWidth(t),c=i.getOuterHeight(t),f={x:n,y:r};"middle"===a?f.x-=Math.round(u/2):"right"===a&&(f.x-=Math.round(u)),"middle"===o?f.y-=Math.round(c/2):"bottom"===o&&(f.y-=Math.round(c)),s&&(f.x+=s),l&&(f.y+=l),i.modifyCSS(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.Shape=void 0;var r=n(1),i=n(184);e.Shape=i,r.__exportStar(n(26),e);var a=n(928);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return a.default}});var o=n(262);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return o.default}}),e.version="0.5.6"},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t,e){var n=e&&"object"===(0,o.default)(e)&&"default"in e?e:{default:e},r={error:null},i=function(t){function e(){for(var e,n=arguments.length,i=Array(n),a=0;a2&&void 0!==arguments[2]?arguments[2]:[],i=t;return r&&r.length&&(i=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return v()(n)?e=n:h()(n)?e=function(t,e){for(var r=0;re[i])return 1}return 0}:m()(n)&&(e=function(t,e){return t[n]e[n]?1:0}),t.sort(e)}(t,r)),v()(e)?n=e:h()(e)?n=function(t){return"_".concat(e.map(function(e){return t[e]}).join("-"))}:m()(e)&&(n=function(t){return"_".concat(t[e])}),x()(i,n)},O=function(t,e,n,r){var i=[],a=r?_(t,r):{_data:t};return u()(a,function(t){var r=Object(c.a)(t.map(function(t){return t[e]}));d()(0!==r,"Invalid data: total sum of field ".concat(e," is 0!")),u()(t,function(t){var a=o()({},t);0===r?a[n]=0:a[n]=t[e]/r,i.push(a)})}),i},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t>=1e8?"".concat((t/1e8).toFixed(e).replace(/\.?0*$/,""),"亿"):t>=1e4?"".concat((t/1e4).toFixed(e).replace(/\.?0*$/,""),"万"):t.toFixed(e).replace(/\.?0*$/,"")},M=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return"number"==typeof t?t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e):t},A=n(165),S=n(75),w=n(82)},function(t,e,n){t.exports=n(647)},function(t,e,n){"use strict";n.r(e),n.d(e,"Util",function(){return H});var r=n(4),i=n.n(r),a=n(0),o=n(612);n.d(e,"Annotation",function(){return o});var s=n(323);n.d(e,"G2",function(){return s});var l=n(611);n.d(e,"GComponents",function(){return l});var u=n(645),c=n(614);n.d(e,"Chart",function(){return c.a});var f=n(615);n.d(e,"View",function(){return f.a});var d=n(613);n.d(e,"Tooltip",function(){return d.a});var p=n(616);n.d(e,"Legend",function(){return p.a});var h=n(215);n.d(e,"Coordinate",function(){return h.a});var g=n(617);n.d(e,"Axis",function(){return g.a});var v=n(489);n.d(e,"Facet",function(){return v.a});var y=n(490);n.d(e,"Slider",function(){return y.a});var m=n(128);n.d(e,"Area",function(){return m.a});var b=n(216);n.d(e,"Edge",function(){return b.a});var x=n(217);n.d(e,"Heatmap",function(){return x.a});var _=n(218);n.d(e,"Interval",function(){return _.a});var O=n(129);n.d(e,"Line",function(){return O.a});var P=n(130);n.d(e,"Point",function(){return P.a});var M=n(219);n.d(e,"Polygon",function(){return M.a});var A=n(492);n.d(e,"Schema",function(){return A.a});var S=n(39);n.d(e,"BaseGeom",function(){return S.a});var w=n(290);n.d(e,"Label",function(){return w.a});var E=n(493);n.d(e,"Path",function(){return E.a});var C=n(220);n.d(e,"LineAdvance",function(){return C.a});var T=n(494);n.d(e,"Geom",function(){return T.a});var I=n(495);n.d(e,"Coord",function(){return I.a});var j=n(496);n.d(e,"Guide",function(){return j.a});var F=n(497);n.d(e,"Effects",function(){return F.a});var L=n(498);n.d(e,"Interaction",function(){return L.a});var D=n(11);n.d(e,"createPlot",function(){return D.a});var k=n(166);n.d(e,"createTooltipConnector",function(){return k.a});var R=n(40);n.d(e,"useView",function(){return R.a});var N=n(81);n.d(e,"useRootChart",function(){return N.a}),n.d(e,"useChartInstance",function(){return N.a});var B=n(504);n.d(e,"useTheme",function(){return B.a});var G=n(47);n.d(e,"withView",function(){return G.b});var V=n(76);n.d(e,"withChartInstance",function(){return V.b});var z=n(8);for(var W in z)0>["default","Util","Annotation","G2","GComponents","Chart","View","Tooltip","Legend","Coordinate","Axis","Facet","Slider","Area","Edge","Heatmap","Interval","Line","Point","Polygon","Schema","BaseGeom","Label","Path","LineAdvance","Geom","Coord","Guide","Effects","Interaction","createPlot","createTooltipConnector","useView","useRootChart","useChartInstance","useTheme","withView","withChartInstance"].indexOf(W)&&function(t){n.d(e,t,function(){return z[t]})}(W);var Y=n(610);n.d(e,"ProgressChart",function(){return Y.x}),n.d(e,"RingProgressChart",function(){return Y.B}),n.d(e,"TinyColumnChart",function(){return Y.K}),n.d(e,"TinyAreaChart",function(){return Y.J}),n.d(e,"TinyLineChart",function(){return Y.L}),n.d(e,"LineChart",function(){return Y.q}),n.d(e,"TreemapChart",function(){return Y.M}),n.d(e,"StepLineChart",function(){return Y.I}),n.d(e,"BarChart",function(){return Y.b}),n.d(e,"StackedBarChart",function(){return Y.F}),n.d(e,"GroupedBarChart",function(){return Y.l}),n.d(e,"PercentStackedBarChart",function(){return Y.t}),n.d(e,"RangeBarChart",function(){return Y.z}),n.d(e,"AreaChart",function(){return Y.a}),n.d(e,"StackedAreaChart",function(){return Y.E}),n.d(e,"PercentStackedAreaChart",function(){return Y.s}),n.d(e,"ColumnChart",function(){return Y.f}),n.d(e,"GroupedColumnChart",function(){return Y.m}),n.d(e,"StackedColumnChart",function(){return Y.G}),n.d(e,"RangeColumnChart",function(){return Y.A}),n.d(e,"PercentStackedColumnChart",function(){return Y.u}),n.d(e,"PieChart",function(){return Y.v}),n.d(e,"DensityHeatmapChart",function(){return Y.g}),n.d(e,"HeatmapChart",function(){return Y.o}),n.d(e,"WordCloudChart",function(){return Y.O}),n.d(e,"RoseChart",function(){return Y.C}),n.d(e,"FunnelChart",function(){return Y.j}),n.d(e,"StackedRoseChart",function(){return Y.H}),n.d(e,"GroupedRoseChart",function(){return Y.n}),n.d(e,"RadarChart",function(){return Y.y}),n.d(e,"LiquidChart",function(){return Y.r}),n.d(e,"HistogramChart",function(){return Y.p}),n.d(e,"DonutChart",function(){return Y.h}),n.d(e,"WaterfallChart",function(){return Y.N}),n.d(e,"ScatterChart",function(){return Y.D}),n.d(e,"BubbleChart",function(){return Y.c}),n.d(e,"BulletChart",function(){return Y.d}),n.d(e,"CalendarChart",function(){return Y.e}),n.d(e,"GaugeChart",function(){return Y.k}),n.d(e,"DualAxesChart",function(){return Y.i}),n.d(e,"PlotAdapter",function(){return Y.w});var H=i()(i()(i()({},a),u),s.Util)},function(t,e,n){"use strict";var r,i=n(2)(n(6));if(!Object.keys){var a=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=n(366),l=Object.prototype.propertyIsEnumerable,u=!l.call({toString:null},"toString"),c=l.call(function(){},"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(t){var e=t.constructor;return e&&e.prototype===t},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},h=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&a.call(window,t)&&null!==window[t]&&"object"===(0,i.default)(window[t]))try{d(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),g=function(t){if("undefined"==typeof window||!h)return d(t);try{return d(t)}catch(t){return!1}};r=function(t){var e=null!==t&&"object"===(0,i.default)(t),n="[object Function]"===o.call(t),r=s(t),l=e&&"[object String]"===o.call(t),d=[];if(!e&&!n&&!r)throw TypeError("Object.keys called on a non-object");var p=c&&n;if(l&&t.length>0&&!a.call(t,0))for(var h=0;h0)for(var v=0;v-1?i(n):n}},function(t,e,n){"use strict";var r=n(364),i=n(370);t.exports=function(){var t=i();return r(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(371)),a=r(n(238));e.default=function(t,e){return void 0===e&&(e=[]),(0,i.default)(t,function(t){return!(0,a.default)(e,t)})}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(57)),a=r(n(372)),o=r(n(36)),s=r(n(138));e.default=function(t,e){if(!(0,o.default)(t))return null;if((0,i.default)(e)&&(n=e),(0,s.default)(e)&&(n=function(t){return(0,a.default)(t,e)}),n){for(var n,r=0;r-1;)i.call(t,s,1);return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56)),a=r(n(376));e.default=function(t,e){var n=[];if(!(0,i.default)(t))return n;for(var r=-1,o=[],s=t.length;++re[i])return 1;if(t[i]n?n:t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t%1!=0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t%2==0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86)),a=Number.isInteger?Number.isInteger:function(t){return(0,i.default)(t)&&t%1==0};e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t<0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(36)),a=r(n(57));e.default=function(t,e){if((0,i.default)(t)){for(var n,r=-1/0,o=0;or&&(n=s,r=l)}return n}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(36)),a=r(n(57));e.default=function(t,e){if((0,i.default)(t)){for(var n,r=1/0,o=0;oe?(r&&(clearTimeout(r),r=null),s=u,o=t.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(l,c)),o};return u.cancel=function(){clearTimeout(r),s=0,r=i=a=null},u}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56));e.default=function(t){return(0,i.default)(t)?Array.prototype.slice.call(t):[]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={};e.default=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)?0:(0,a.default)(t)?t.length:Object.keys(t).length};var i=r(n(95)),a=r(n(56))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(85)),a=r(n(108)),o=r(n(386));e.default=function(t,e,n,r){void 0===r&&(r="...");var s,l,u=(0,o.default)(r,n),c=(0,i.default)(t)?t:(0,a.default)(t),f=e,d=[];if((0,o.default)(t,n)<=e)return t;for(;s=c.substr(0,16),!((l=(0,o.default)(s,n))+u>f)||!(l>f);)if(d.push(s),f-=l,!(c=c.substr(16)))return d.join("");for(;s=c.substr(0,1),!((l=(0,o.default)(s,n))+u>f);)if(d.push(s),f-=l,!(c=c.substr(1)))return d.join("");return""+d.join("")+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.default=r},function(t,e,n){"use strict";function r(e,n){return t.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e,n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";t.exports=function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(t){if("function"==typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"==typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}},function(t,e,n){"use strict";var r,i,a,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){r||(r=document.createElement("table"),i=document.createElement("tr"),a=/^\s*<(\w+|!)[^>]*>/,o={tr:document.createElement("tbody"),tbody:r,thead:r,tfoot:r,td:i,th:i,"*":document.createElement("div")});var e=a.test(t)&&RegExp.$1;e&&e in o||(e="*");var n=o[e];t="string"==typeof t?t.replace(/(^\s*)|(\s*$)/g,""):t,n.innerHTML=""+t;var s=n.childNodes[0];return s&&n.contains(s)&&n.removeChild(s),s}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,a.default)(t,e),r=parseFloat((0,i.default)(t,"borderTopWidth"))||0,o=parseFloat((0,i.default)(t,"paddingTop"))||0,s=parseFloat((0,i.default)(t,"paddingBottom"))||0;return n+r+(parseFloat((0,i.default)(t,"borderBottomWidth"))||0)+o+s+(parseFloat((0,i.default)(t,"marginTop"))||0)+(parseFloat((0,i.default)(t,"marginBottom"))||0)};var i=r(n(139)),a=r(n(387))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,a.default)(t,e),r=parseFloat((0,i.default)(t,"borderLeftWidth"))||0,o=parseFloat((0,i.default)(t,"paddingLeft"))||0,s=parseFloat((0,i.default)(t,"paddingRight"))||0,l=parseFloat((0,i.default)(t,"borderRightWidth"))||0,u=parseFloat((0,i.default)(t,"marginRight"))||0;return n+r+l+o+s+(parseFloat((0,i.default)(t,"marginLeft"))||0)+u};var i=r(n(139)),a=r(n(388))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return window.devicePixelRatio?window.devicePixelRatio:2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(96),a=n(0),o=n(202),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.__assign(r.__assign({},e),{container:null,containerTpl:"
",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return o.createBBox(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");o.clearDom(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(a.isNil(t)){t=this.createDom();var e=this.get("parent");a.isString(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else a.isString(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?a.deepMix({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&o.hasClass(e,n)){var r=t[n];i.modifyCSS(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){a.each(e,function(e,n){var r=t.getElementsByClassName(n);a.each(r,function(t){i.modifyCSS(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");i.modifyCSS(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return i.createDom(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){a.hasKey(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(n(743).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(0),o={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},s=function(t){function e(e){var n=t.call(this,e)||this;return n.initCfg(),n}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var e=this,n=this.get("defaultCfg")||{};a.each(t,function(t,r){var i=e.get(r),o=t;i!==t&&(a.isObject(t)&&n[r]&&(o=a.deepMix({},n[r],t)),e.set(r,o))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){a.hasKey(t,"visible")&&(t.visible?this.show():this.hide()),a.hasKey(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,e){this.update({offsetX:t,offsetY:e})},e.prototype.setLocation=function(t){var e=r.__assign({},t);this.update(e)},e.prototype.getLocation=function(){var t=this,e={},n=o[this.get("locationType")];return a.each(n,function(n){e[n]=t.get(n)}),e},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,e=this.get("defaultCfg");a.each(e,function(e,n){var r=t.get(n);if(a.isObject(r)){var i=a.deepMix({},e,r);t.set(n,i)}})},e}(i.Base);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(242),o=r(n(392)),s=n(102),l=r(n(752)),u=r(n(784)),c=(0,a.detect)(),f=c&&"firefox"===c.name,d=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.cursor="default",e.supportCSSTransform=!1,e},e.prototype.initContainer=function(){var t=this.get("container");(0,s.isString)(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t),this.get("container").appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new u.default({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new l.default(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");s.isBrowser&&(n.style.width=t+"px",n.style.height=e+"px")},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");s.isBrowser&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){if(this.get("supportCSSTransform")){if(f&&!(0,s.isNil)(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!(0,s.isNil)(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var e=this.getClientByEvent(t),n=e.x,r=e.y;return this.getPointByClient(n,r)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t-n.left,y:e-n.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t+n.left,y:e+n.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){this.get("eventController").destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(o.default);e.default=d},function(t,e,n){"use strict";var r,i,a,o=t.exports={};function s(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}function u(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(t){r=s}try{i="function"==typeof clearTimeout?clearTimeout:l}catch(t){i=l}}();var c=[],f=!1,d=-1;function p(){f&&a&&(f=!1,a.length?c=a.concat(c):d=-1,c.length&&h())}function h(){if(!f){var t=u(p);f=!0;for(var e=c.length;e;){for(a=c,c=[];++d1)for(var n=1;nh(e,n)&&(r=-r),t[0]=e[0]*i+n[0]*r,t[1]=e[1]*i+n[1]*r,t[2]=e[2]*i+n[2]*r,t[3]=e[3]*i+n[3]*r,t[4]=e[4]*i+n[4]*r,t[5]=e[5]*i+n[5]*r,t[6]=e[6]*i+n[6]*r,t[7]=e[7]*i+n[7]*r,t},e.mul=void 0,e.multiply=p,e.normalize=function(t,e){var n=v(e);if(n>0){n=Math.sqrt(n);var r=e[0]/n,i=e[1]/n,a=e[2]/n,o=e[3]/n,s=e[4],l=e[5],u=e[6],c=e[7],f=r*s+i*l+a*u+o*c;t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=(s-r*f)/n,t[5]=(l-i*f)/n,t[6]=(u-a*f)/n,t[7]=(c-o*f)/n}return t},e.rotateAroundAxis=function(t,e,n,r){if(Math.abs(r)=0;return n?a?2*Math.PI-i:i:a?i:2*Math.PI-i},e.direction=s,e.leftRotate=a,e.leftScale=o,e.leftTranslate=i,e.transform=function(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],s=0,l=e.length;s0){for(var c=r.animators.length-1;c>=0;c--){if((t=r.animators[c]).destroyed){r.removeAnimator(c);continue}if(!t.isAnimatePaused()){e=t.get("animations");for(var f=e.length-1;f>=0;f--)(function(t,e,n){var r,a=e.startTime;if(nh.length?(p=l.parsePathString(c[f]),h=l.parsePathString(s[f]),h=l.fillPathByDiff(h,p),h=l.formatPath(h,p),e.fromAttrs.path=h,e.toAttrs.path=p):e.pathFormatted||(p=l.parsePathString(c[f]),h=l.parsePathString(s[f]),h=l.formatPath(h,p),e.fromAttrs.path=h,e.toAttrs.path=p,e.pathFormatted=!0),a[f]=[];for(var g=0;gf?Math.pow(t,1/3):t/c+l}function v(t){return t>u?t*t*t:c*(t-l)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function b(t){if(t instanceof _)return new _(t.h,t.c,t.l,t.opacity);if(t instanceof h||(t=d(t)),0===t.a&&0===t.b)return new _(NaN,0180?u+=360:u-l>180&&(l+=360),p.push({i:d.push(a(d)+"rotate(",null,r)-2,x:(0,i.default)(l,u)})):u&&d.push(a(d)+"rotate("+u+r),(c=o.skewX)!==(f=s.skewX)?p.push({i:d.push(a(d)+"skewX(",null,r)-2,x:(0,i.default)(c,f)}):f&&d.push(a(d)+"skewX("+f+r),function(t,e,n,r,o,s){if(t!==n||e!==r){var l=o.push(a(o)+"scale(",null,",",null,")");s.push({i:l-4,x:(0,i.default)(t,n)},{i:l-2,x:(0,i.default)(e,r)})}else(1!==n||1!==r)&&o.push(a(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,d,p),o=s=null,function(t){for(var e,n=-1,r=p.length;++n120||u*u+c*c>40?s&&s.get("draggable")?((a=this.mousedownShape).set("capture",!1),this.draggingShape=a,this.dragging=!0,this._emitEvent("dragstart",n,t,a),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var l=this._getEventObj(t,e,n,r,i,o);if(r){l.shape=r,s(r,t,l);for(var u=r.getParent();u;)u.emitDelegation(t,l),l.propagationStopped||function(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),!t.isCanvas()||!i){if(r&&(0,a.isParent)(t,r)){n.bubbles=!1;return}n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}}(u,t,l),l.propagationPath.push(u),u=u.getParent()}else s(this.canvas,t,l)},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}();e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;r=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,r=t.minY,i=t.maxX,a=t.maxY;if(e){var s=(0,o.multiplyVec2)(e,[t.minX,t.minY]),l=(0,o.multiplyVec2)(e,[t.maxX,t.minY]),u=(0,o.multiplyVec2)(e,[t.minX,t.maxY]),c=(0,o.multiplyVec2)(e,[t.maxX,t.maxY]);n=Math.min(s[0],l[0],u[0],c[0]),i=Math.max(s[0],l[0],u[0],c[0]),r=Math.min(s[1],l[1],u[1],c[1]),a=Math.max(s[1],l[1],u[1],c[1])}var f=this.attrs;if(f.shadowColor){var d=f.shadowBlur,p=void 0===d?0:d,h=f.shadowOffsetX,g=void 0===h?0:h,v=f.shadowOffsetY,y=void 0===v?0:v,m=n-p+g,b=i+p+g,x=r-p+y,_=a+p+y;n=Math.min(n,m),i=Math.max(i,b),r=Math.min(r,x),a=Math.max(a,_)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:a,width:i-n,height:a-r}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[t,e,1],a=(i=this.invertFromMatrix(i))[0],o=i[1],s=this._isInBBox(a,o);return this.isOnlyHitBox()?s:!!(s&&!this.isClipped(a,o)&&(this.isInShape(a,o)||n&&n.isHit(a,o)||r&&r.isHit(a,o)))},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getBBoxMethod",{enumerable:!0,get:function(){return i.getMethod}}),Object.defineProperty(e,"registerBBox",{enumerable:!0,get:function(){return i.register}});var i=n(788),a=r(n(789)),o=r(n(790)),s=r(n(791)),l=r(n(797)),u=r(n(798)),c=r(n(799)),f=r(n(814)),d=r(n(815));(0,i.register)("rect",a.default),(0,i.register)("image",a.default),(0,i.register)("circle",o.default),(0,i.register)("marker",o.default),(0,i.register)("polyline",s.default),(0,i.register)("polygon",l.default),(0,i.register)("text",u.default),(0,i.register)("path",c.default),(0,i.register)("line",f.default),(0,i.register)("ellipse",d.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMethod=function(t){return r.get(t)},e.register=function(t,e){r.set(t,e)};var r=new Map},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr();return{x:e.x,y:e.y,width:e.width,height:e.height}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.r;return{x:n-i,y:r-i,width:2*i,height:2*i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=t.attr().points,n=[],a=[],o=0;o=0?[i]:[]}function u(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function c(t,e,n,r,a,o,l){var u=s(t,n,a,l),c=s(e,r,o,l),f=i.default.pointAt(t,e,n,r,l),d=i.default.pointAt(n,r,a,o,l);return[[t,e,f.x,f.y,u,c],[u,c,d.x,d.y,a,o]]}e.default={box:function(t,e,n,r,i,o){var u=l(t,n,i)[0],c=l(e,r,o)[0],f=[t,i],d=[e,o];return void 0!==u&&f.push(s(t,n,i,u)),void 0!==c&&d.push(s(e,r,o,c)),(0,a.getBBoxByArray)(f,d)},length:function(t,e,n,r,i,o){return function t(e,n,r,i,o,s,l){if(0===l)return((0,a.distance)(e,n,r,i)+(0,a.distance)(r,i,o,s)+(0,a.distance)(e,n,o,s))/2;var u=c(e,n,r,i,o,s,.5),f=u[0],d=u[1];return f.push(l-1),d.push(l-1),t.apply(null,f)+t.apply(null,d)}(t,e,n,r,i,o,3)},nearestPoint:function(t,e,n,r,i,a,l,u){return(0,o.nearestPoint)([t,n,i],[e,r,a],l,u,s)},pointDistance:function(t,e,n,r,i,o,s,l){var u=this.nearestPoint(t,e,n,r,i,o,s,l);return(0,a.distance)(u.x,u.y,s,l)},interpolationAt:s,pointAt:function(t,e,n,r,i,a,o){return{x:s(t,n,i,o),y:s(e,r,a,o)}},divide:function(t,e,n,r,i,a,o){return c(t,e,n,r,i,a,o)},tangentAngle:function(t,e,n,r,i,o,s){var l=u(t,n,i,s),c=Math.atan2(u(e,r,o,s),l);return(0,a.piMod)(c)}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(87),a=r(n(174)),o=n(409);function s(t,e,n,r,i){var a=1-i;return a*a*a*t+3*e*i*a*a+3*n*i*i*a+r*i*i*i}function l(t,e,n,r,i){var a=1-i;return 3*(a*a*(e-t)+2*a*i*(n-e)+i*i*(r-n))}function u(t,e,n,r){var a,o,s,l=-3*t+9*e-9*n+3*r,u=6*t-12*e+6*n,c=3*e-3*t,f=[];if((0,i.isNumberEqual)(l,0))!(0,i.isNumberEqual)(u,0)&&(a=-c/u)>=0&&a<=1&&f.push(a);else{var d=u*u-4*l*c;(0,i.isNumberEqual)(d,0)?f.push(-u/(2*l)):d>0&&(a=(-u+(s=Math.sqrt(d)))/(2*l),o=(-u-s)/(2*l),a>=0&&a<=1&&f.push(a),o>=0&&o<=1&&f.push(o))}return f}function c(t,e,n,r,i,o,l,u,c){var f=s(t,n,i,l,c),d=s(e,r,o,u,c),p=a.default.pointAt(t,e,n,r,c),h=a.default.pointAt(n,r,i,o,c),g=a.default.pointAt(i,o,l,u,c),v=a.default.pointAt(p.x,p.y,h.x,h.y,c),y=a.default.pointAt(h.x,h.y,g.x,g.y,c);return[[t,e,p.x,p.y,v.x,v.y,f,d],[f,d,y.x,y.y,g.x,g.y,l,u]]}e.default={extrema:u,box:function(t,e,n,r,a,o,l,c){for(var f=[t,l],d=[e,c],p=u(t,n,a,l),h=u(e,r,o,c),g=0;gf&&(f=g)}for(var v=Math.atan(r/(n*Math.tan(i))),y=1/0,m=-1/0,b=[a,l],p=-(2*Math.PI);p<=2*Math.PI;p+=Math.PI){var x=v+p;am&&(m=_)}return{x:c,y:y,width:f-c,height:m-y}},length:function(t,e,n,r,i,a,o){},nearestPoint:function(t,e,n,r,i,o,s,c,f){var d,p=u(c-t,f-e,-i),h=p[0],g=p[1],v=a.default.nearestPoint(0,0,n,r,h,g),y=(d=v.x,(Math.atan2(v.y*n,d*r)+2*Math.PI)%(2*Math.PI));ys&&(v=l(n,r,s));var m=u(v.x,v.y,i);return{x:m[0]+t,y:m[1]+e}},pointDistance:function(t,e,n,r,a,o,s,l,u){var c=this.nearestPoint(t,e,n,r,l,u);return(0,i.distance)(c.x,c.y,l,u)},pointAt:function(t,e,n,r,i,a,l,u){var c=(l-a)*u+a;return{x:o(t,e,n,r,i,c),y:s(t,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,a,o,s,l){var u=(s-o)*l+o,c=-1*n*Math.cos(a)*Math.sin(u)-r*Math.sin(a)*Math.cos(u),f=-1*n*Math.sin(a)*Math.sin(u)+r*Math.cos(a)*Math.cos(u);return(0,i.piMod)(Math.atan2(f,c))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(87);function i(t,e){var n=Math.abs(t);return e>0?n:-1*n}e.default={box:function(t,e,n,r){return{x:t-n,y:e-r,width:2*n,height:2*r}},length:function(t,e,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(t,e,n,r,a,o){if(0===n||0===r)return{x:t,y:e};for(var s,l,u=a-t,c=o-e,f=Math.abs(u),d=Math.abs(c),p=n*n,h=r*r,g=Math.PI/4,v=0;v<4;v++){s=n*Math.cos(g),l=r*Math.sin(g);var y=(p-h)*Math.pow(Math.cos(g),3)/n,m=(h-p)*Math.pow(Math.sin(g),3)/r,b=s-y,x=l-m,_=f-y,O=d-m,P=Math.hypot(x,b),M=Math.hypot(O,_);g+=P*Math.asin((b*O-x*_)/(P*M))/Math.sqrt(p+h-s*s-l*l),g=Math.min(Math.PI/2,Math.max(0,g))}return{x:t+i(s,u),y:e+i(l,c)}},pointDistance:function(t,e,n,i,a,o){var s=this.nearestPoint(t,e,n,i,a,o);return(0,r.distance)(s.x,s.y,a,o)},pointAt:function(t,e,n,r,i){var a=2*Math.PI*i;return{x:t+n*Math.cos(a),y:e+r*Math.sin(a)}},tangentAngle:function(t,e,n,i,a){var o=2*Math.PI*a,s=Math.atan2(i*Math.cos(o),-n*Math.sin(o));return(0,r.piMod)(s)}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(410),a=r(n(411));function o(t){var e=t.slice(0);return t.length&&e.push(t[0]),e}e.default={box:function(t){return a.default.box(t)},length:function(t){return(0,i.lengthOfSegment)(o(t))},pointAt:function(t,e){return(0,i.pointAtSegments)(o(t),e)},pointDistance:function(t,e,n){return(0,i.distanceAtSegment)(o(t),e,n)},tangentAngle:function(t,e){return(0,i.angleAtSegments)(o(t),e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=t.attr().points,n=[],i=[],a=0;aMath.PI/2?Math.PI-u:u))*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos((c=c>Math.PI/2?Math.PI-c:c)-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(801);e.default=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=[[0,0],[1,1]]);for(var i,a,o,s=!!e,l=[],u=0,c=t.length;u=0;return n?a?2*Math.PI-i:i:a?i:2*Math.PI-i},e.direction=s,e.leftRotate=a,e.leftScale=o,e.leftTranslate=i,e.transform=function(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],s=0,l=e.length;s=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var a=0;a<=n-1;a++)r.push(i)}return r}(t[i],t[i+1],r))},[]);return l.unshift(t[0]),("Z"===e[r]||"z"===e[r])&&l.push("Z"),l}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=i(t,e),r=t.length,a=e.length,o=[],s=1,l=1;if(n[r][a]!==r){for(var u=1;u<=r;u++){var c=n[u][u].min;l=u;for(var f=s;f<=a;f++)n[u][f].min=0;u--)s=o[u].index,"add"===o[u].type?t.splice(s,0,[].concat(t[s])):t.splice(s,1)}if((r=t.length)0)n=i(n,t[a-1],1);else{t[a]=e[a];break}}t[a]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[a]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(a>0)n=i(n,t[a-1],2);else{t[a]=e[a];break}}t[a]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(a>0)n=i(n,t[a-1],1);else{t[a]=e[a];break}}t[a]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[a]=e[a]}return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return v(t,e)};var i=n(0),a=r(n(415)),o=r(n(416)),s=function(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n},l=function(t,e,n,r,i,a,o,l,u){null===u&&(u=1);for(var c=(u=u>1?1:u<0?0:u)/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,h=0;h<12;h++){var g=c*f[h]+c,v=s(g,t,n,i,o),y=s(g,e,r,a,l),m=v*v+y*y;p+=d[h]*Math.sqrt(m)}return c*p},u=function(t,e,n,r,i,a,o,s){for(var l,u,c,f,d,p=[],h=[[],[]],g=0;g<2;++g){if(0===g?(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*o,c=3*n-3*t):(u=6*e-12*r+6*a,l=-3*e+9*r-9*a+3*s,c=3*r-3*e),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;(f=-c/u)>0&&f<1&&p.push(f);continue}var v=u*u-4*c*l,y=Math.sqrt(v);if(!(v<0)){var m=(-u+y)/(2*l);m>0&&m<1&&p.push(m);var b=(-u-y)/(2*l);b>0&&b<1&&p.push(b)}}for(var x=p.length,_=x;x--;)d=1-(f=p[x]),h[0][x]=d*d*d*t+3*d*d*f*n+3*d*f*f*i+f*f*f*o,h[1][x]=d*d*d*e+3*d*d*f*r+3*d*f*f*a+f*f*f*s;return h[0][_]=t,h[1][_]=e,h[0][_+1]=o,h[1][_+1]=s,h[0].length=h[1].length=_+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}},c=function(t,e,n,r,i,a,o,s){if(!(Math.max(t,n)Math.max(i,o)||Math.max(e,r)Math.max(a,s))){var l=(t-n)*(a-s)-(e-r)*(i-o);if(l){var u=((t*r-e*n)*(i-o)-(t-n)*(i*s-a*o))/l,c=((t*r-e*n)*(a-s)-(e-r)*(i*s-a*o))/l,f=+u.toFixed(2),d=+c.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,o).toFixed(2)||f>+Math.max(i,o).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:u,y:c}}}},f=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},d=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:(0,a.default)(t,e,n,r),vb:[t,e,n,r].join(" ")}},p=function(t,e,n,r,a,o,s,l){(0,i.isArray)(t)||(t=[t,e,n,r,a,o,s,l]);var c=u.apply(null,t);return d(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)},h=function(t,e,n,r,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),d=l*l,p=d*l,h=t+2*l*(n-t)+d*(i-2*n+t),g=e+2*l*(r-e)+d*(a-2*r+e),v=n+2*l*(i-n)+d*(o-2*i+n),y=r+2*l*(a-r)+d*(s-2*a+r),m=90-180*Math.atan2(h-v,g-y)/Math.PI;return{x:c*t+3*f*l*n+3*u*l*l*i+p*o,y:c*e+3*f*l*r+3*u*l*l*a+p*s,m:{x:h,y:g},n:{x:v,y:y},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*o,y:u*a+l*s},alpha:m}},g=function(t,e,n){var r,i,a=p(t),o=p(e);if(r=a,i=o,r=d(r),!(f(i=d(i),r.x,r.y)||f(i,r.x2,r.y)||f(i,r.x,r.y2)||f(i,r.x2,r.y2)||f(r,i.x,i.y)||f(r,i.x2,i.y)||f(r,i.x,i.y2)||f(r,i.x2,i.y2))&&((!(r.xi.x))&&(!(i.xr.x))||(!(r.yi.y))&&(!(i.yr.y))))return n?0:[];for(var s=l.apply(0,t),u=l.apply(0,e),g=~~(s/8),v=~~(u/8),y=[],m=[],b={},x=n?0:[],_=0;_Math.abs(A.x-M.x)?"y":"x",C=.001>Math.abs(w.x-S.x)?"y":"x",T=c(M.x,M.y,A.x,A.y,S.x,S.y,w.x,w.y);if(T){if(b[T.x.toFixed(4)]===T.y.toFixed(4))continue;b[T.x.toFixed(4)]=T.y.toFixed(4);var I=M.t+Math.abs((T[E]-M[E])/(A[E]-M[E]))*(A.t-M.t),j=S.t+Math.abs((T[C]-S[C])/(w[C]-S[C]))*(w.t-S.t);I>=0&&I<=1&&j>=0&&j<=1&&(n?x++:x.push({x:T.x,y:T.y,t1:I,t2:j}))}}return x},v=function(t,e,n){t=(0,o.default)(t),e=(0,o.default)(e);for(var r,i,a,s,l,u,c,f,d,p,h=n?0:[],v=0,y=t.length;v"TQ".indexOf(t[0])&&(e.qx=null,e.qy=null);var n=t.slice(1),o=n[0],s=n[1];switch(t[0]){case"M":e.x=o,e.y=s;break;case"A":return["C"].concat(r.arcToCubic.apply(0,[e.x1,e.y1].concat(t.slice(1))));case"Q":return e.qx=o,e.qy=s,["C"].concat(i.quadToCubic.apply(0,[e.x1,e.y1].concat(t.slice(1))));case"L":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,t[1],t[2]));case"H":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,t[1],e.y1));case"V":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,e.x1,t[1]));case"Z":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,e.x,e.y))}return t};var r=n(808),i=n(809),a=n(810)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arcToCubic=function(t,e,n,r,i,a,o,s,u){return l({px:t,py:e,cx:s,cy:u,rx:n,ry:r,xAxisRotation:i,largeArcFlag:a,sweepFlag:o}).reduce(function(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.x,s=e.y;return t.push(n,r,i,a,o,s),t},[])};var r=2*Math.PI,i=function(t,e,n,r,i,a,o){var s=t.x,l=t.y;return{x:r*(s*=e)-i*(l*=n)+a,y:i*s+r*l+o}},a=function(t,e){var n=1.5707963267948966===e?.551915024494:-1.5707963267948966===e?-.551915024494:4/3*Math.tan(e/4),r=Math.cos(t),i=Math.sin(t),a=Math.cos(t+e),o=Math.sin(t+e);return[{x:r-i*n,y:i+r*n},{x:a+o*n,y:o-a*n},{x:a,y:o}]},o=function(t,e,n,r){var i=t*n+e*r;return i>1&&(i=1),i<-1&&(i=-1),(t*r-e*n<0?-1:1)*Math.acos(i)},s=function(t,e,n,i,a,s,l,u,c,f,d,p){var h=Math.pow(a,2),g=Math.pow(s,2),v=Math.pow(d,2),y=Math.pow(p,2),m=h*g-h*y-g*v;m<0&&(m=0),m/=h*y+g*v;var b=(m=Math.sqrt(m)*(l===u?-1:1))*a/s*p,x=-(m*s)/a*d,_=(d-b)/a,O=(p-x)/s,P=o(1,0,_,O),M=o(_,O,(-d-b)/a,(-p-x)/s);return 0===u&&M>0&&(M-=r),1===u&&M<0&&(M+=r),[f*b-c*x+(t+n)/2,c*b+f*x+(e+i)/2,P,M]},l=function(t){var e=t.px,n=t.py,o=t.cx,l=t.cy,u=t.rx,c=t.ry,f=t.xAxisRotation,d=void 0===f?0:f,p=t.largeArcFlag,h=void 0===p?0:p,g=t.sweepFlag,v=void 0===g?0:g,y=[];if(0===u||0===c)return[{x1:0,y1:0,x2:0,y2:0,x:o,y:l}];var m=Math.sin(d*r/360),b=Math.cos(d*r/360),x=b*(e-o)/2+m*(n-l)/2,_=-m*(e-o)/2+b*(n-l)/2;if(0===x&&0===_)return[{x1:0,y1:0,x2:0,y2:0,x:o,y:l}];var O=Math.pow(x,2)/Math.pow(u=Math.abs(u),2)+Math.pow(_,2)/Math.pow(c=Math.abs(c),2);O>1&&(u*=Math.sqrt(O),c*=Math.sqrt(O));var P=s(e,n,o,l,u,c,h,v,m,b,x,_),M=P[0],A=P[1],S=P[2],w=P[3],E=Math.abs(w)/(r/4);1e-7>Math.abs(1-E)&&(E=1);var C=Math.max(Math.ceil(E),1);w/=C;for(var T=0;Tn.maxX||r.maxXn.maxY||r.maxY1){var o=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function l(t){var e=t.map(function(t){return t[0]}),n=t.map(function(t){return t[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x1,i=e.y1,a=e.x2,o=e.y2,s={minX:Math.min(n,a),maxX:Math.max(n,a),minY:Math.min(i,o),maxY:Math.max(i,o)};return{x:(s=(0,r.mergeArrowBBox)(t,s)).minX,y:s.minY,width:s.maxX-s.minX,height:s.maxY-s.minY}};var r=n(249)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;return{x:n-i,y:r-a,width:2*i,height:2*a}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAdjust:!0,registerAdjust:!0,Adjust:!0};Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return a.default}}),e.registerAdjust=e.getAdjust=void 0;var a=r(n(110)),o=n(423);Object.keys(o).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var s={},l=function(t){return s[t.toLowerCase()]};e.getAdjust=l,e.registerAdjust=function(t,e){if(l(t))throw Error("Adjust type '"+t+"' existed.");s[t.toLowerCase()]=e}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=n(250);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var r=e.marginRatio,i=void 0===r?s.MARGIN_RATIO:r,a=e.dodgeRatio,o=void 0===a?s.DODGE_RATIO:a,l=e.dodgeBy,u=e.intervalPadding,c=e.dodgePadding,f=e.xDimensionLength,d=e.groupNum,p=e.defaultSize,h=e.maxColumnWidth,g=e.minColumnWidth,v=e.columnWidthRatio,y=e.customOffset;return n.marginRatio=i,n.dodgeRatio=o,n.dodgeBy=l,n.intervalPadding=u,n.dodgePadding=c,n.xDimensionLegenth=f,n.groupNum=d,n.defaultSize=p,n.maxColumnWidth=h,n.minColumnWidth=g,n.columnWidthRatio=v,n.customOffset=y,n}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.clone(t),n=o.flatten(e),r=this.dodgeBy,i=r?o.group(n,r):e;return this.cacheMap={},this.adjustDataArray=i,this.mergeData=n,this.adjustData(i,n),this.adjustDataArray=[],this.mergeData=[],e},e.prototype.adjustDim=function(t,e,n,r){var i=this,a=this.customOffset,s=this.getDistribution(t),l=this.groupData(n,t);return o.each(l,function(n,l){var u;u=1===e.length?{pre:e[0]-1,next:e[0]+1}:i.getAdjustRange(t,parseFloat(l),e),o.each(n,function(e){var n=s[e[t]],l=n.indexOf(r);if(o.isNil(a))e[t]=i.getDodgeOffset(u,l,n.length);else{var c=u.pre,f=u.next;e[t]=o.isFunction(a)?a(e,u):(c+f)/2+a}})}),[]},e.prototype.getDodgeOffset=function(t,e,n){var r,i=this.dodgeRatio,a=this.marginRatio,s=this.intervalPadding,l=this.dodgePadding,u=t.pre,c=t.next,f=c-u;if(!o.isNil(s)&&o.isNil(l)&&s>=0){var d=this.getIntervalOnlyOffset(n,e);r=u+d}else if(!o.isNil(l)&&o.isNil(s)&&l>=0){var d=this.getDodgeOnlyOffset(n,e);r=u+d}else if(!o.isNil(s)&&!o.isNil(l)&&s>=0&&l>=0){var d=this.getIntervalAndDodgeOffset(n,e);r=u+d}else{var p=f*i/n,h=a*p,d=.5*(f-n*p-(n-1)*h)+((e+1)*p+e*h)-.5*p-.5*f;r=(u+c)/2+d}return r},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this.defaultSize,r=this.intervalPadding,i=this.xDimensionLegenth,a=this.groupNum,s=this.dodgeRatio,l=this.maxColumnWidth,u=this.minColumnWidth,c=this.columnWidthRatio,f=r/i,d=(1-(a-1)*f)/a*s/(t-1),p=((1-f*(a-1))/a-d*(t-1))/t;return p=o.isNil(c)?p:1/a/t*c,o.isNil(l)||(p=Math.min(p,l/i)),o.isNil(u)||(p=Math.max(p,u/i)),d=((1-(a-1)*f)/a-t*(p=n?n/i:p))/(t-1),((.5+e)*p+e*d+.5*f)*a-f/2},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this.defaultSize,r=this.dodgePadding,i=this.xDimensionLegenth,a=this.groupNum,s=this.marginRatio,l=this.maxColumnWidth,u=this.minColumnWidth,c=this.columnWidthRatio,f=r/i,d=1*s/(a-1),p=((1-d*(a-1))/a-f*(t-1))/t;return p=c?1/a/t*c:p,o.isNil(l)||(p=Math.min(p,l/i)),o.isNil(u)||(p=Math.max(p,u/i)),d=(1-((p=n?n/i:p)*t+f*(t-1))*a)/(a-1),((.5+e)*p+e*f+.5*d)*a-d/2},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this.intervalPadding,r=this.dodgePadding,i=this.xDimensionLegenth,a=this.groupNum,o=n/i,s=r/i;return((.5+e)*(((1-o*(a-1))/a-s*(t-1))/t)+e*s+.5*o)*a-o/2},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,r=n[t];return r||(r={},o.each(e,function(e,n){var i=o.valuesOfKey(e,t);i.length||i.push(0),o.each(i,function(t){r[t]||(r[t]=[]),r[t].push(n)})}),n[t]=r),r},e}(r(n(110)).default);e.default=u},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=n(250);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.clone(t),n=o.flatten(e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var r=this,i=this.groupData(n,t);return o.each(i,function(n,i){return r.adjustGroup(n,t,parseFloat(i),e)})},e.prototype.getAdjustOffset=function(t){var e,n=t.pre,r=t.next,i=(r-n)*s.GAP;return e=n+i,(r-i-e)*Math.random()+e},e.prototype.adjustGroup=function(t,e,n,r){var i=this,a=this.getAdjustRange(e,n,r);return o.each(t,function(t){t[e]=i.getAdjustOffset(a)}),t},e}(r(n(110)).default);e.default=u},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=r(n(110));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=o.Cache,c=function(t){function e(e){var n=t.call(this,e)||this,r=e.adjustNames,i=e.height,a=void 0===i?NaN:i,o=e.size,s=e.reverseOrder;return n.adjustNames=void 0===r?["y"]:r,n.height=a,n.size=void 0===o?10:o,n.reverseOrder=void 0!==s&&s,n}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=this.yField,n=this.reverseOrder,r=e?this.processStack(t):this.processOneDimStack(t);return n?this.reverse(r):r},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this.xField,n=this.yField,r=this.reverseOrder?this.reverse(t):t,i=new u,s=new u;return r.map(function(t){return t.map(function(t){var r,l=o.get(t,e,0),u=o.get(t,[n]),c=l.toString();if(u=o.isArray(u)?u[1]:u,!o.isNil(u)){var f=u>=0?i:s;f.has(c)||f.set(c,0);var d=f.get(c),p=u+d;return f.set(c,p),(0,a.__assign)((0,a.__assign)({},t),((r={})[n]=[d,p],r))}return t})})},e.prototype.processOneDimStack=function(t){var e=this,n=this.xField,r=this.height,i=this.reverseOrder?this.reverse(t):t,o=new u;return i.map(function(t){return t.map(function(t){var i,s=e.size,l=t[n],u=2*s/r;o.has(l)||o.set(l,u/2);var c=o.get(l);return o.set(l,c+u),(0,a.__assign)((0,a.__assign)({},t),((i={}).y=c,i))})})},e}(s.default);e.default=c},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.flatten(t),n=this.xField,r=this.yField,i=this.getXValuesMaxMap(e),s=Math.max.apply(Math,Object.keys(i).map(function(t){return i[t]}));return o.map(t,function(t){return o.map(t,function(t){var e,l,u=t[r],c=t[n];if(o.isArray(u)){var f=(s-i[c])/2;return(0,a.__assign)((0,a.__assign)({},t),((e={})[r]=o.map(u,function(t){return f+t}),e))}var d=(s-u)/2;return(0,a.__assign)((0,a.__assign)({},t),((l={})[r]=[d,u+d],l))})})},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this.xField,r=this.yField,i=o.groupBy(t,function(t){return t[n]});return o.mapValues(i,function(t){return e.getDimMaxValue(t,r)})},e.prototype.getDimMaxValue=function(t,e){var n=o.map(t,function(t){return o.get(t,e,[])}),r=o.flatten(n);return Math.max.apply(Math,r)},e}(r(n(110)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=r(n(140)),o=n(0),s=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],(0,o.isString)(n.values)&&(n.linear=!0),n.gradient=a.default.gradient(n.values),n}return(0,i.__extends)(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(r(n(103)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return(0,i.__extends)(e,t),e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=n(0),o=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return(0,i.__extends)(e,t),e.prototype.mapping=function(t,e){var n=this.scales,r=n[0],i=n[1];return(0,a.isNil)(t)||(0,a.isNil)(e)?[]:[(0,a.isArray)(t)?t.map(function(t){return r.scale(t)}):r.scale(t),(0,a.isArray)(e)?e.map(function(t){return i.scale(t)}):i.scale(e)]},e}(r(n(103)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return(0,i.__extends)(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return(0,i.__extends)(e,t),e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAttribute:!0,registerAttribute:!0,Attribute:!0};Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return a.default}}),e.registerAttribute=e.getAttribute=void 0;var a=r(n(103)),o=n(424);Object.keys(o).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var s={},l=function(t){return s[t.toLowerCase()]};e.getAttribute=l,e.registerAttribute=function(t,e){if(l(t))throw Error("Attribute type '"+t+"' existed.");s[t.toLowerCase()]=e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(175),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return(0,i.__extends)(e,t),e.prototype.translate=function(t){t=(0,o.toTimeStamp)(t);var e=this.values.indexOf(t);return -1===e&&(e=(0,a.isNumber)(t)&&t-1){var r=this.values[n],i=this.formatter;return i?i(r,e):(0,o.timeFormat)(r,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;(0,a.each)(e,function(t,n){e[n]=(0,o.toTimeStamp)(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(r(n(426)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assign=c,e.format=e.defaultI18n=e.default=void 0,e.parse=C,e.setGlobalDateMasks=e.setGlobalDateI18n=void 0;var r=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,i="\\d\\d?",a="\\d\\d",o="[^\\s]+",s=/\[([^]*?)\]/gm;function l(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function c(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}};e.defaultI18n=h;var g=c({},h),v=function(t){return g=c(g,t)};e.setGlobalDateI18n=v;var y=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},m=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+m(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+m(Math.floor(Math.abs(e)/60),2)+":"+m(Math.abs(e)%60,2)}},x=function(t){return+t-1},_=[null,i],O=[null,o],P=["isPm",o,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],M=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],A={D:["day",i],DD:["day",a],Do:["day",i+o,function(t){return parseInt(t,10)}],M:["month",i,x],MM:["month",a,x],YY:["year",a,function(t){var e=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour",i,void 0,"isPm"],hh:["hour",a,void 0,"isPm"],H:["hour",i],HH:["hour",a],m:["minute",i],mm:["minute",a],s:["second",i],ss:["second",a],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond",a,function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:_,dd:_,ddd:O,dddd:O,MMM:["month",o,u("monthNamesShort")],MMMM:["month",o,u("monthNames")],a:P,A:P,ZZ:M,Z:M},S={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},w=function(t){return c(S,t)};e.setGlobalDateMasks=w;var E=function(t,e,n){if(void 0===e&&(e=S.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=S[e]||e;var i=[];e=e.replace(s,function(t,e){return i.push(e),"@@@"});var a=c(c({},g),n);return(e=e.replace(r,function(e){return b[e](t,a)})).replace(/@@@/g,function(){return i.shift()})};function C(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw Error("Invalid format in fecha parse");if(e=S[e]||e,t.length>1e3)return null;var i,a={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},o=[],l=[],u=e.replace(s,function(t,e){return l.push(y(e)),"@@@"}),f={},d={};u=y(u).replace(r,function(t){var e=A[t],n=e[0],r=e[1],i=e[3];if(f[n])throw Error("Invalid format. "+n+" specified twice in format");return f[n]=!0,i&&(d[i]=!0),o.push(e),"("+r+")"}),Object.keys(d).forEach(function(t){if(!f[t])throw Error("Invalid format. "+t+" is required in specified format")}),u=u.replace(/@@@/g,function(){return l.shift()});var p=t.match(RegExp(u,"i"));if(!p)return null;for(var h=c(c({},g),n),v=1;v11||a.month<0||a.day>31||a.day<1||a.hour>23||a.hour<0||a.minute>59||a.minute<0||a.second>59||a.second<0)return null;return i}e.format=E,e.default={format:E,parse:C,defaultI18n:h,setGlobalDateI18n:v,setGlobalDateMasks:w}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e,n,i,a){for(var o=(0,r.isNil)(i)?0:i,s=(0,r.isNil)(a)?e.length:a;o>>1;t(e[l])>n?s=l:o=l+1}return o}};var r=n(0)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(177),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e,n=this.base,r=(0,a.log)(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,s=this.positiveMin;if(s){if(0===t)return 0;var l=1/(r-(e=(0,a.log)(n,s/n)))*o;if(t=0?1:-1)},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent;return((0,a.calBase)(r,t)-(0,a.calBase)(r,n))/((0,a.calBase)(r,e)-(0,a.calBase)(r,n))},e}(r(n(176)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(175),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return(0,i.__extends)(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):(0,o.timeFormat)(n,this.mask)},e.prototype.scale=function(e){var n=e;return((0,a.isString)(n)||(0,a.isDate)(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return(0,o.toTimeStamp)(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if((0,a.isNil)(e)&&(0,a.isNumber)(e)||(this.min=this.translate(this.min)),(0,a.isNil)(n)&&(0,a.isNumber)(n)||(this.max=this.translate(this.max)),t&&t.length){var r=[],i=1/0,s=1/0,l=0;(0,a.each)(t,function(t){var e=(0,o.toTimeStamp)(t);if(isNaN(e))throw TypeError("Invalid Time: "+t+" in time scale!");i>e?(s=i,i=e):s>e&&(s=e),l1&&(this.minTickInterval=s-i),(0,a.isNil)(e)&&(this.min=i),(0,a.isNil)(n)&&(this.max=l)}},e}(r(n(427)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return(0,i.__extends)(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(r(n(428)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return i.default}}),e.getScale=function(t){return a[t]},e.registerScale=function(t,e){if(a[t])throw Error("type '"+t+"' existed.");a[t]=e};var i=r(n(141)),a={}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return(0,i.__extends)(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&(0,a.isNumber)(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getTickMethod",{enumerable:!0,get:function(){return f.getTickMethod}}),Object.defineProperty(e,"registerTickMethod",{enumerable:!0,get:function(){return f.registerTickMethod}});var i=r(n(429)),a=r(n(837)),o=r(n(839)),s=r(n(841)),l=r(n(842)),u=r(n(843)),c=r(n(844)),f=n(425),d=r(n(845)),p=r(n(846)),h=r(n(847));(0,f.registerTickMethod)("cat",i.default),(0,f.registerTickMethod)("time-cat",p.default),(0,f.registerTickMethod)("wilkinson-extended",o.default),(0,f.registerTickMethod)("r-pretty",c.default),(0,f.registerTickMethod)("time",d.default),(0,f.registerTickMethod)("time-pretty",h.default),(0,f.registerTickMethod)("log",s.default),(0,f.registerTickMethod)("pow",l.default),(0,f.registerTickMethod)("quantile",u.default),(0,f.registerTickMethod)("d3-linear",a.default)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.min,n=t.max,r=t.tickInterval,l=t.minLimit,u=t.maxLimit,c=(0,a.default)(t);return(0,i.isNil)(l)&&(0,i.isNil)(u)?r?(0,o.default)(e,n,r).ticks:c:(0,s.default)(t,(0,i.head)(c),(0,i.last)(c))};var i=n(0),a=r(n(838)),o=r(n(252)),s=r(n(253))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.D3Linear=void 0,e.default=function(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,a=new o;return a.domain([e,n]),r&&a.nice(i),a.ticks(i)};var r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2),o=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){void 0===t&&(t=5);var e,n,r,i=this._domain.slice(),a=0,o=this._domain.length-1,l=this._domain[a],u=this._domain[o];return u0?r=s(l=Math.floor(l/r)*r,u=Math.ceil(u/r)*r,t):r<0&&(r=s(l=Math.ceil(l*r)/r,u=Math.floor(u*r)/r,t)),r>0?(i[a]=Math.floor(l/r)*r,i[o]=Math.ceil(u/r)*r,this.domain(i)):r<0&&(i[a]=Math.ceil(l*r)/r,i[o]=Math.floor(u*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var r,i,a,o,l=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0)for(t=Math.ceil(t/o),a=Array(i=Math.ceil((e=Math.floor(e/o))-t+1));++l=0?(l>=r?10:l>=i?5:l>=a?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(l>=r?10:l>=i?5:l>=a?2:1)}e.D3Linear=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.min,n=t.max,r=t.tickCount,l=t.nice,u=t.tickInterval,c=t.minLimit,f=t.maxLimit,d=(0,a.default)(e,n,r,l).ticks;return(0,i.isNil)(c)&&(0,i.isNil)(f)?u?(0,o.default)(e,n,u).ticks:d:(0,s.default)(t,(0,i.head)(d),(0,i.last)(d))};var i=n(0),a=r(n(840)),o=r(n(252)),s=r(n(253))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_Q=e.ALL_Q=void 0,e.default=function(t,e,n,s,l,u){void 0===n&&(n=5),void 0===s&&(s=!0),void 0===l&&(l=a),void 0===u&&(u=[.25,.2,.5,.05]);var c=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!c)return{min:0,max:0,ticks:[]};if(e-t<1e-15||1===c)return{min:t,max:e,ticks:[t]};if(e-t>1e148){var f=n||5,d=(e-t)/f;return{min:t,max:e,ticks:Array(f).fill(null).map(function(e,n){return(0,i.prettyNumber)(t+d*n)})}}for(var p={score:-2,lmin:0,lmax:0,lstep:0},h=1;h<1/0;){for(var g=0;g=c?2-(S-1)/(c-1):1;if(u[0]*y+u[1]+u[2]*b+u[3]r?1-Math.pow((n-r)/2,2)/Math.pow(.1*r,2):1}(t,e,_*(m-1));if(u[0]*y+u[1]*O+u[2]*b+u[3]=0&&(c=1),1-u/(l-1)-n+c}(v,l,h,w,E,_),T=1-.5*(Math.pow(e-E,2)+Math.pow(t-w,2))/Math.pow(.1*(e-t),2),I=function(t,e,n,r,i,a){var o=(t-1)/(a-i),s=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/s,s/o)}(m,c,t,e,w,E),j=u[0]*C+u[1]*T+u[2]*I+1*u[3];j>p.score&&(!s||w<=t&&E>=e)&&(p.lmin=w,p.lmax=E,p.lstep=_,p.score=j)}x+=1}m+=1}}h+=1}var F=(0,i.prettyNumber)(p.lmax),L=(0,i.prettyNumber)(p.lmin),D=(0,i.prettyNumber)(p.lstep),k=Math.floor(Math.round(1e12*((F-L)/D))/1e12)+1,R=Array(k);R[0]=(0,i.prettyNumber)(L);for(var g=1;g0)e=Math.floor((0,r.log)(n,a));else{var u=(0,r.getLogPositiveMin)(s,n,o);e=Math.floor((0,r.log)(n,u))}for(var c=Math.ceil((l-e)/i),f=[],d=e;d=0?1:-1)})};var i=n(177),a=r(n(431))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort(function(t,e){return t-e}),i=[],a=0;a1&&(a*=Math.ceil(s)),i&&ar.YEAR)for(var f,d=i(n),p=Math.ceil(l/r.YEAR),h=c;h<=d+p;h+=p)u.push((f=h,new Date(f,0,1).getTime()));else if(l>r.MONTH)for(var g,v,y,m,b=Math.ceil(l/r.MONTH),x=a(e),_=(g=i(e),v=i(n),y=a(e),(v-g)*12+(a(n)-y)%12),h=0;h<=_+b;h+=b)u.push((m=h+x,new Date(c,m,1).getTime()));else if(l>r.DAY)for(var O=new Date(e),P=O.getFullYear(),M=O.getMonth(),A=O.getDate(),S=Math.ceil(l/r.DAY),w=Math.ceil((n-e)/r.DAY),h=0;hr.HOUR)for(var O=new Date(e),P=O.getFullYear(),M=O.getMonth(),S=O.getDate(),E=O.getHours(),C=Math.ceil(l/r.HOUR),T=Math.ceil((n-e)/r.HOUR),h=0;h<=T+C;h+=C)u.push(new Date(P,M,S,E+h).getTime());else if(l>r.MINUTE)for(var I=Math.ceil((n-e)/6e4),j=Math.ceil(l/r.MINUTE),h=0;h<=I+j;h+=j)u.push(e+h*r.MINUTE);else{var F=l;F=512&&console.warn("Notice: current ticks length("+u.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+l+") is too small, increase the value to solve the problem!"),u};var r=n(175);function i(t){return new Date(t).getFullYear()}function a(t){return new Date(t).getMonth()}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return l.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return l.registerCoordinate}});var i=r(n(178)),a=r(n(849)),o=r(n(850)),s=r(n(851)),l=n(852);(0,l.registerCoordinate)("rect",a.default),(0,l.registerCoordinate)("cartesian",a.default),(0,l.registerCoordinate)("polar",s.default),(0,l.registerCoordinate)("helix",o.default)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(e){var n=t.call(this,e)||this;return n.isRect=!0,n.type="cartesian",n.initial(),n}return(0,i.__extends)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=this.start,n=this.end;this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:this.convertDim(n,"x"),y:this.convertDim(r,"y")}},e.prototype.invertPoint=function(t){var e,n=this.invertDim(t.x,"x"),r=this.invertDim(t.y,"y");return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:n,y:r}},e}(r(n(178)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(32),o=n(0),s=function(t){function e(e){var n=t.call(this,e)||this;n.isHelix=!0,n.type="helix";var r=e.startAngle,i=void 0===r?1.25*Math.PI:r,a=e.endAngle,o=void 0===a?7.25*Math.PI:a,s=e.innerRadius,l=e.radius;return n.startAngle=i,n.endAngle=o,n.innerRadius=void 0===s?0:s,n.radius=l,n.initial(),n}return(0,i.__extends)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=(this.endAngle-this.startAngle)/(2*Math.PI)+1,n=Math.min(this.width,this.height)/2;this.radius&&this.radius>=0&&this.radius<=1&&(n*=this.radius),this.d=Math.floor(n*(1-this.innerRadius)/e),this.a=this.d/(2*Math.PI),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+.99*this.d}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;this.isTransposed&&(n=(e=[r,n])[0],r=e[1]);var i=this.convertDim(n,"x"),a=this.a*i,o=this.convertDim(r,"y");return{x:this.center.x+Math.cos(i)*(a+o),y:this.center.y+Math.sin(i)*(a+o)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,r=a.vec2.subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),i=a.ext.angleTo(r,[1,0],!0),s=i*this.a;a.vec2.length(r)this.width/r?(e=this.width/r,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*e*i}):(e=this.height/i,this.circleCenter={x:this.center.x-(.5-a)*e*r,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=e*this.radius:(this.radius<=0||this.radius>e)&&(this.polarRadius=e):this.polarRadius=e,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var e,n=this.getCenter(),r=t.x,i=t.y;return this.isTransposed&&(r=(e=[i,r])[0],i=e[1]),r=this.convertDim(r,"x"),i=this.convertDim(i,"y"),{x:n.x+Math.cos(r)*i,y:n.y+Math.sin(r)*i}},e.prototype.invertPoint=function(t){var e,n=this.getCenter(),r=[t.x-n.x,t.y-n.y],i=this.startAngle,s=this.endAngle;this.isReflect("x")&&(i=(e=[s,i])[0],s=e[1]);var l=[1,0,0,0,1,0,0,0,1];a.ext.leftRotate(l,l,i);var u=[1,0,0];a.vec3.transformMat3(u,u,l);var c=[u[0],u[1]],f=a.ext.angleTo(c,r,s0?p:-p;var h=this.invertDim(d,"y"),g={x:0,y:0};return g.x=this.isTransposed?h:p,g.y=this.isTransposed?p:h,g},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);i1||r<0)&&(r=1),{x:(0,u.getValueByPercent)(t.x,e.x,r),y:(0,u.getValueByPercent)(t.y,e.y,r)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),r=this.get("end"),i=e.position,a=e.content,o=e.style,l=e.offsetX,u=e.offsetY,c=e.autoRotate,f=e.maxLength,d=e.autoEllipsis,p=e.ellipsisPosition,h=e.background,g=e.isVertical,v=this.getLabelPoint(n,r,i),y=v.x+l,m=v.y+u,b={id:this.getElementId("line-text"),name:"annotation-line-text",x:y,y:m,content:a,style:o,maxLength:f,autoEllipsis:d,ellipsisPosition:p,background:h,isVertical:void 0!==g&&g};if(c){var x=[r.x-n.x,r.y-n.y];b.rotate=Math.atan2(x[1],x[0])}(0,s.renderTag)(t,b)},e}(o.default);e.default=c},function(t,e,n){"use strict";function r(t,e){return t.charCodeAt(e)>0&&128>t.charCodeAt(e)?1:2}Object.defineProperty(e,"__esModule",{value:!0}),e.charAtLength=r,e.ellipsisString=function(t,e,n){void 0===n&&(n="tail");var i=t.length,a="";if("tail"===n){for(var o=0,s=0;oMath.PI?1:0,u=[["M",a.x,a.y]];if(i-r==2*Math.PI){var c=(0,o.getCirclePoint)(e,n,r+Math.PI);u.push(["A",n,n,0,l,1,c.x,c.y]),u.push(["A",n,n,0,l,1,s.x,s.y])}else u.push(["A",n,n,0,l,1,s.x,s.y]);return u},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:(0,i.__assign)({path:e},n)})},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=r(n(58)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:o.default.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),r=this.get("style"),a=(0,s.regionToBBox)({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:(0,i.__assign)({x:a.x,y:a.y,width:a.width,height:a.height},r)})},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=n(42),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),r=(0,o.regionToBBox)({start:t,end:e}),a=this.get("src");return(0,i.__assign)({x:r.x,y:r.y,img:a,width:r.width,height:r.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(180),l=n(90),u=r(n(58)),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:u.default.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:u.default.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:u.default.fontFamily}}}})},e.prototype.renderInner=function(t){(0,a.get)(this.get("line"),"display")&&this.renderLine(t),(0,a.get)(this.get("text"),"display")&&this.renderText(t),(0,a.get)(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,r=e.y,a=e.text,o=(0,i.__rest)(e,["x","y","text"]),l=this.get("text"),u=l.background,c=l.maxLength,f=l.autoEllipsis,d=l.isVertival,p=l.ellipsisPosition,h={x:n,y:r,id:this.getElementId("text"),name:"annotation-text",content:a,style:o,background:u,maxLength:c,autoEllipsis:f,isVertival:d,ellipsisPosition:p};(0,s.renderTag)(t,h)},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),r=this.get("y"),i=(0,a.get)(this.get("line"),"length",0),o=this.get("coordinateBBox"),s=t.getBBox(),u=s.minX,c=s.maxX,f=s.minY,d=s.maxY,p=t.findById(this.getElementId("text-group")),h=t.findById(this.getElementId("text")),g=t.findById(this.getElementId("line"));if(o){if(p){if(n+u<=o.minX){var v=o.minX-(n+u);(0,l.applyTranslate)(p,p.attr("x")+v,p.attr("y"))}if(n+c>=o.maxX){var v=n+c-o.maxX;(0,l.applyTranslate)(p,p.attr("x")-v,p.attr("y"))}}if("upward"===e&&r+f<=o.minY||"upward"!==e&&r+d>=o.maxY){var y=void 0,m=void 0;"upward"===e&&r+f<=o.minY?(y="top",m=1):(y="bottom",m=-1),h.attr("textBaseline",y),g&&g.attr("path",[["M",0,0],["L",0,i*m]]),(0,l.applyTranslate)(p,p.attr("x"),(i+2)*m)}}},e.prototype.getShapeAttrs=function(){var t=(0,a.get)(this.get("line"),"display"),e=(0,a.get)(this.get("point"),"style",{}),n=(0,a.get)(this.get("line"),"style",{}),r=(0,a.get)(this.get("text"),"style",{}),o=this.get("direction"),s=t?(0,a.get)(this.get("line"),"length",0):0,l="upward"===o?-1:1;return{point:(0,i.__assign)({x:0,y:0},e),line:(0,i.__assign)({path:[["M",0,0],["L",0,s*l]]},n),text:(0,i.__assign)({x:0,y:(s+2)*l,text:(0,a.get)(this.get("text"),"content",""),textBaseline:"upward"===o?"bottom":"top"},r)}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=r(n(58)),l=n(42),u=n(180),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:s.default.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:s.default.textColor,fontFamily:s.default.fontFamily}}}})},e.prototype.renderInner=function(t){var e=(0,a.get)(this.get("region"),"style",{});(0,a.get)(this.get("text"),"style",{});var n=this.get("lineLength")||0,r=this.get("points");if(r.length){var o=(0,l.pointsToBBox)(r),s=[];s.push(["M",r[0].x,o.minY-n]),r.forEach(function(t){s.push(["L",t.x,t.y])}),s.push(["L",r[r.length-1].x,r[r.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:(0,i.__assign)({path:s},e)});var c=(0,i.__assign)({id:this.getElementId("text"),name:"annotation-text",x:(o.minX+o.maxX)/2,y:o.minY-n},this.get("text"));(0,u.renderTag)(t,c)}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),r=this.get("end"),i=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});(0,a.each)(this.get("shapes"),function(t,n){var r=t.get("type"),o=(0,a.clone)(t.attr());e.adjustShapeAttrs(o),e.addShape(i,{id:e.getElementId("shape-"+r+"-"+n),capture:!1,type:r,attrs:o})});var o=(0,s.regionToBBox)({start:n,end:r});i.setClip({type:"rect",attrs:{x:o.minX,y:o.minY,width:o.width,height:o.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(o.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"shape",draw:a.noop})},e.prototype.renderInner=function(t){var e=this.get("render");(0,a.isFunction)(e)&&e(t)},e}(r(n(41)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(96),o=n(0),s=r(n(181)),l=n(42),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");(0,l.clearDom)(t);var n=(0,o.isFunction)(e)?e(t):e;if((0,o.isElement)(n))t.appendChild(n);else if((0,o.isString)(n)||(0,o.isNumber)(n)){var r=(0,a.createDom)(""+n);r&&t.appendChild(r)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,i=this.get("alignX"),o=this.get("alignY"),s=this.get("offsetX"),l=this.get("offsetY"),u=(0,a.getOuterWidth)(t),c=(0,a.getOuterHeight)(t),f={x:n,y:r};"middle"===i?f.x-=Math.round(u/2):"right"===i&&(f.x-=Math.round(u)),"middle"===o?f.y-=Math.round(c/2):"bottom"===o&&(f.y-=Math.round(c)),s&&(f.x+=s),l&&(f.y+=l),(0,a.modifyCSS)(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(s.default);e.default=u},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return i.default}});var i=r(n(867)),a=r(n(871)),o=r(n(255))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(32),s=n(0),l=r(n(255)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(434));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),r=t.prototype.getInnerLayoutBBox.call(this),i=Math.min(e.x,n.x,r.x),a=Math.min(e.y,n.y,r.y),o=Math.max(e.x,n.x,r.maxX),s=Math.max(e.y,n.y,r.maxY);return{x:i,y:a,minX:i,minY:a,maxX:o,maxY:s,width:o-i,height:s-a}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return(0,s.isNumberEqual)(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return(0,s.isNumberEqual)(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this.get("start"),n=this.get("end"),r=n.x-e.x,i=n.y-e.y;return{x:e.x+r*t,y:e.y+i*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=o.vec2.normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return o.vec2.scale([0,0],i,t*r)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),r=this.isHorizontal();if(n||r){var i=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),l=i.offset,u=o,c=0,f=0;a&&(c=a.style.fontSize,f=a.spacing),u&&(u=u-l-f-c);var d=this.get("overlapOrder");if((0,s.each)(d,function(n){i[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,i[n],t,u)}),a&&(0,s.isNil)(a.offset)){var p=t.getCanvasBBox(),h=n?p.width:p.height;a.offset=l+h+f+c/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,s.isNil)(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,a=this.isVertical(),o=!1,l=u[t];if(!0===e?(this.get("label"),o=l.getDefault()(a,n,r)):(0,s.isFunction)(e)?o=e(a,n,r):(0,s.isObject)(e)?l[e.type]&&(o=l[e.type](a,n,r,e.cfg)):l[e]&&(o=l[e](a,n,r)),"autoRotate"===t){if(o){var c=n.getChildren(),f=this.get("verticalFactor");(0,s.each)(c,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",f>0?"end":"start")})}}else if("autoHide"===t){var d=n.getChildren().slice(0);(0,s.each)(d,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(l.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsisHead=function(t,e,n){return a(t,e,n,"head")},e.ellipsisMiddle=function(t,e,n){return a(t,e,n,"middle")},e.ellipsisTail=o,e.getDefault=function(){return o};var r=n(0),i=n(142);function a(t,e,n,a){var o=e.getChildren(),s=!1;return(0,r.each)(o,function(e){var r=(0,i.ellipsisLabel)(t,e,n,a);s=s||r}),s}function o(t,e,n){return a(t,e,n,"tail")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.equidistance=c,e.equidistanceWithReverseBoth=function(t,e,n,r){var i=e.getChildren().slice(),a=u(t,e,r);if(i.length>2){var o=i[0],s=i[i.length-1];!o.get("visible")&&(o.show(),l(t,e,!1,r)&&(a=!0)),!s.get("visible")&&(s.show(),l(t,e,!0,r)&&(a=!0))}return a},e.getDefault=function(){return c},e.reserveBoth=function(t,e,n,r){var i=(null==r?void 0:r.minGap)||0,a=e.getChildren().slice();if(a.length<=2)return!1;for(var o=!1,l=a.length,u=a[0],c=a[l-1],f=u,d=1;de.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var c=Math.abs(Math.cos(s));i=(0,a.near)(c,0,Math.PI/180)?u.width+r>l:u.height/c+r>l}else{var c=Math.abs(Math.sin(s));i=(0,a.near)(c,0,Math.PI/180)?u.width+r>l:u.height/c+r>l}return i}function l(t,e,n,r){var i=(null==r?void 0:r.minGap)||0,a=e.getChildren().slice().filter(function(t){return t.get("visible")});if(!a.length)return!1;var o=!1;n&&a.reverse();for(var l=a.length,u=a[0],c=1;c1){g=Math.ceil(g);for(var m=0;mn?r=Math.PI/4:(r=Math.asin(e/n))>Math.PI/4&&(r=Math.PI/4),r})};var i=n(0),a=n(142),o=n(90),s=r(n(58));function l(t,e,n,r){var s=e.getChildren();if(!s.length||!t&&s.length<2)return!1;var l=(0,a.getMaxLabelWidth)(s),u=!1;if(u=t?!!n&&l>n:l>Math.abs(s[1].attr("x")-s[0].attr("x"))){var c=r(n,l);(0,i.each)(s,function(t){var e=t.attr("x"),n=t.attr("y"),r=(0,o.getMatrixByAngle)({x:e,y:n},c);t.attr("matrix",r)})}return u}function u(t,e,n,r){return l(t,e,n,function(){return(0,i.isNumber)(r)?r:t?s.default.verticalAxisRotate:s.default.horizontalAxisRotate})}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(0),s=n(32),l=r(n(255)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(434));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,r=this.get("radius"),i=this.get("startAngle"),a=this.get("endAngle"),o=[];if(Math.abs(a-i)===2*Math.PI)o=[["M",e,n-r],["A",r,r,0,1,1,e,n+r],["A",r,r,0,1,1,e,n-r],["Z"]];else{var s=this.getCirclePoint(i),l=this.getCirclePoint(a),u=Math.abs(a-i)>Math.PI?1:0,c=i>a?0:1;o=[["M",e,n],["L",s.x,s.y],["A",r,r,0,u,c,l.x,l.y],["L",e,n]]}return o},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=this.get("endAngle");return this.getCirclePoint(e+(n-e)*t)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y],i=this.get("verticalFactor"),a=s.vec2.length(r);return s.vec2.scale(r,r,i*t/a),r},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,o.isNil)(e.rotate)},e.prototype.processOverlap=function(t){var e=this,n=this.get("label"),r=this.get("title"),i=this.get("verticalLimitLength"),a=n.offset,s=i,l=0,u=0;r&&(l=r.style.fontSize,u=r.spacing),s&&(s=s-a-u-l);var c=this.get("overlapOrder");if((0,o.each)(c,function(r){n[r]&&e.canProcessOverlap(r)&&e.autoProcessOverlap(r,n[r],t,s)}),r&&(0,o.isNil)(r.offset)){var f=t.getCanvasBBox().height;r.offset=a+f+u+l/2}},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,a=!1,s=u[t];if(r>0&&(!0===e?a=s.getDefault()(!1,n,r):(0,o.isFunction)(e)?a=e(!1,n,r):(0,o.isObject)(e)?s[e.type]&&(a=s[e.type](!1,n,r,e.cfg)):s[e]&&(a=s[e](!1,n,r))),"autoRotate"===t){if(a){var l=n.getChildren(),c=this.get("verticalFactor");(0,o.each)(l,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",c>0?"end":"start")})}}else if("autoHide"===t){var f=n.getChildren().slice(0);(0,o.each)(f,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(l.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Html",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return i.default}});var i=r(n(873)),a=r(n(874)),o=r(n(256)),s=r(n(875))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(42),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text").position,i=Math.atan2(n.y-e.y,n.x-e.x);return"start"===r?i-Math.PI/2:i+Math.PI/2},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,o=r.offset;return(0,a.getTextPoint)(e,n,i,o)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(r(n(256)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(42),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle;return"start"===this.get("text").position?e+Math.PI/2:n-Math.PI/2},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,r=this.getLocation(),i=r.center,o=r.radius,s=r.startAngle,l=r.endAngle,u=this.getRotateAngle()-Math.PI,c=(0,a.getCirclePoint)(i,o,"start"===e?s:l),f=Math.cos(u)*n,d=Math.sin(u)*n;return{x:c.x+f,y:c.y+d}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,o=null;if(i-r==2*Math.PI){var s=e.x,l=e.y;o=[["M",s,l-n],["A",n,n,0,1,1,s,l+n],["A",n,n,0,1,1,s,l-n],["Z"]]}else{var u=(0,a.getCirclePoint)(e,n,r),c=(0,a.getCirclePoint)(e,n,i),f=Math.abs(i-r)>Math.PI?1:0,d=r>i?0:1;o=[["M",u.x,u.y],["A",n,n,0,f,d,c.x,c.y]]}return o},e}(r(n(256)).default);e.default=o},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(96),s=n(0),l=n(42),u=r(n(181)),c=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(435)),f=r(n(876));function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
',crosshairTpl:'
',textTpl:'{content}',domStyles:null,containerClassName:c.CONTAINER_CLASS,defaultStyles:f.default,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),e=this.get("crosshairTpl"),n=(0,o.createDom)(e);t.appendChild(n),this.applyStyle(c.CROSSHAIR_LINE,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return(0,l.getTextPoint)(e,n,i,a)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var r=this.getContainer(),i=(0,s.substitute)(this.get("textTpl"),t);e=(0,o.createDom)(i),r.appendChild(e),this.applyStyle(c.CROSSHAIR_TEXT,e),this.set("textEl",e)}e.innerHTML=n}else e&&e.remove()},e.prototype.isVertical=function(t,e){return t.x===e.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var e=this.get("start"),n=this.get("end"),r=Math.min(e.x,n.x),i=Math.min(e.y,n.y);this.isVertical(e,n)?(0,o.modifyCSS)(t,{width:"1px",height:(0,l.toPx)(Math.abs(n.y-e.y))}):(0,o.modifyCSS)(t,{height:"1px",width:(0,l.toPx)(Math.abs(n.x-e.x))}),(0,o.modifyCSS)(t,{top:(0,l.toPx)(i),left:(0,l.toPx)(r)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,r=this.getTextPoint();switch(e){case"center":r.x=r.x-n/2;break;case"right":r.x=r.x-n}(0,o.modifyCSS)(t,{top:(0,l.toPx)(r.y),left:(0,l.toPx)(r.x)})}},e.prototype.updateInner=function(e){(0,s.hasKey)(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(u.default);e.default=p},function(t,e,n){"use strict";var r,i=n(2),a=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(58)),s=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(435));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=((r={})[""+s.CONTAINER_CLASS]={position:"relative"},r[""+s.CROSSHAIR_LINE]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+s.CROSSHAIR_TEXT]={position:"absolute",color:o.default.textColor,fontFamily:o.default.fontFamily},r);e.default=u},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return o.default}});var i=r(n(257)),a=r(n(878)),o=r(n(879))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),r=this.get("closed"),i=[];if(t.length){if("circle"===n){var o,s,l,u,c,f,d=this.get("center"),p=t[0],h=(o=d.x,s=d.y,l=p.x,u=p.y,Math.sqrt((c=l-o)*c+(f=u-s)*f)),g=e?0:1;r?(i.push(["M",d.x,d.y-h]),i.push(["A",h,h,0,0,g,d.x,d.y+h]),i.push(["A",h,h,0,0,g,d.x,d.y-h]),i.push(["Z"])):(0,a.each)(t,function(t,e){0===e?i.push(["M",t.x,t.y]):i.push(["A",h,h,0,0,g,t.x,t.y])})}else(0,a.each)(t,function(t,e){0===e?i.push(["M",t.x,t.y]):i.push(["L",t.x,t.y])}),r&&i.push(["Z"])}return i},e}(r(n(257)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return(0,a.each)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e}(r(n(257)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Category",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Continuous",{enumerable:!0,get:function(){return a.default}});var i=r(n(881)),a=r(n(882)),o=r(n(258))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(142),s=n(90),l=n(433),u=r(n(58)),c=r(n(258)),f={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},d={fill:u.default.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:u.default.fontFamily,fontWeight:"normal",lineHeight:12},p="navigation-arrow-right",h="navigation-arrow-left",g={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndexg&&(g=m),"horizontal"===d?(v&&vx&&(x=e.width)}),_=x,x+=d,l&&(x=Math.min(l,x),_=Math.min(l,_)),this.pageWidth=x,this.pageHeight=u-Math.max(v.height,p+O);var A=Math.floor(this.pageHeight/(p+O));(0,a.each)(s,function(t,e){0!==e&&e%A==0&&(m+=1,y.x+=x,y.y=i),n.moveElementTo(t,y),t.getParent().setClip({type:"rect",attrs:{x:y.x,y:y.y,width:x,height:p}}),y.y+=p+O}),this.totalPagesCnt=m,this.moveElementTo(g,{x:r+_/2-v.width/2-v.minX,y:u-v.height-v.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),"horizontal"===o&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(m/this.get("maxRow")):this.totalPagesCnt=m,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(g),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,r){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=(0,a.get)(r.marker,"style",{}),u=l.size,c=void 0===u?12:u,f=(0,i.__rest)(l,["size"]),d=this.drawArrow(s,o,h,"horizontal"===e?"up":"left",c,f);d.on("click",this.onNavigationBack);var g=d.getBBox();o.x+=g.width+2;var v=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:(0,i.__assign)({x:o.x,y:o.y+c/2,text:n,textBaseline:"middle"},(0,a.get)(r.text,"style"))}).getBBox();return o.x+=v.width+2,this.drawArrow(s,o,p,"horizontal"===e?"down":"right",c,f).on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var e=(0,a.deepMix)({},f,this.get("pageNavigator")).marker.style,n=e.fill,r=e.opacity,i=e.inactiveFill,o=e.inactiveOpacity,s=this.currentPageIndex+"/"+this.totalPagesCnt,l=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),u=t?t.findById(this.getElementId(h)):this.getElementByLocalId(h),c=t?t.findById(this.getElementId(p)):this.getElementByLocalId(p);l.attr("text",s),u.attr("opacity",1===this.currentPageIndex?o:r),u.attr("fill",1===this.currentPageIndex?i:n),u.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),c.attr("opacity",this.currentPageIndex===this.totalPagesCnt?o:r),c.attr("fill",this.currentPageIndex===this.totalPagesCnt?i:n),c.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var d=u.getBBox().maxX+2;l.attr("x",d),d+=l.getBBox().width+2,this.updateArrowPath(c,{x:d,y:0})},e.prototype.drawArrow=function(t,e,n,r,a,o){var l=e.x,u=e.y,c=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:(0,i.__assign)({size:a,direction:r,path:[["M",l+a/2,u],["L",l,u+a],["L",l+a,u+a],["Z"]],cursor:"pointer"},o)});return c.attr("matrix",(0,s.getMatrixByAngle)({x:l+a/2,y:u+a/2},g[r])),c},e.prototype.updateArrowPath=function(t,e){var n=e.x,r=e.y,i=t.attr(),a=i.size,o=i.direction,l=(0,s.getMatrixByAngle)({x:n+a/2,y:r+a/2},g[o]);t.attr("path",[["M",n+a/2,r],["L",n,r+a],["L",n+a,r+a],["Z"]]),t.attr("matrix",l)},e.prototype.getCurrentNavigationMatrix=function(){var t=this.currentPageIndex,e=this.pageWidth,n=this.pageHeight,r=this.get("layout");return(0,s.getMatrixByTranslate)("horizontal"===r?{x:0,y:n*(1-t)}:{x:e*(1-t),y:0})},e.prototype.applyItemStates=function(t,e){if(this.getItemStates(t).length>0){var n=e.getChildren(),r=this.get("itemStates");(0,a.each)(n,function(e){var n=e.get("name").split("-")[2],i=(0,l.getStatesStyle)(t,n,r);i&&(e.attr(i),"marker"===n&&!(e.get("isStroke")&&e.get("isFill"))&&(e.get("isStroke")&&e.attr("fill",null),e.get("isFill")&&e.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),e=this.get("maxItemWidth");return e?t&&(e=t<=e?t:e):t&&(e=t),e},e}(c.default);e.default=v},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(58)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:o.default.textColor,textBaseline:"middle",fontFamily:o.default.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:o.default.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,e){this.update({min:t,max:e})},e.prototype.setValue=function(t){var e=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:e,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var e=this;t.on("legend-handler-min:drag",function(t){var n=e.getValueByCanvasPoint(t.x,t.y),r=e.getCurrentValue()[1];rn&&(r=n),e.setValue([r,n])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var e=this,n=null;t.on("legend-track:dragstart",function(t){n={x:t.x,y:t.y}}),t.on("legend-track:drag",function(t){if(n){var r=e.getValueByCanvasPoint(n.x,n.y),i=e.getValueByCanvasPoint(t.x,t.y),a=e.getCurrentValue(),o=a[1]-a[0],s=e.getRange(),l=i-r;l<0?a[0]+l>s.min?e.setValue([a[0]+l,a[1]+l]):e.setValue([s.min,s.min+o]):l>0&&(l>0&&a[1]+la&&(c=a),c0&&this.changeRailLength(r,i,n[i]-c)}},e.prototype.changeRailLength=function(t,e,n){var r,i=t.getBBox();r="height"===e?this.getRailPath(i.x,i.y,i.width,n):this.getRailPath(i.x,i.y,n,i.height),t.attr("path",r)},e.prototype.changeRailPosition=function(t,e,n){var r=t.getBBox(),i=this.getRailPath(e,n,r.width,r.height);t.attr("path",i)},e.prototype.fixedHorizontal=function(t,e,n,r){var i=this.get("label"),a=i.align,o=i.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox(),c=s.height;this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===a?(t.attr({x:r.x,y:r.y+c/2}),this.changeRailPosition(n,r.x+l.width+o,r.y),e.attr({x:r.x+l.width+s.width+2*o,y:r.y+c/2})):"top"===a?(t.attr({x:r.x,y:r.y}),e.attr({x:r.x+s.width,y:r.y}),this.changeRailPosition(n,r.x,r.y+l.height+o)):(this.changeRailPosition(n,r.x,r.y),t.attr({x:r.x,y:r.y+s.height+o}),e.attr({x:r.x+s.width,y:r.y+s.height+o}))},e.prototype.fixedVertail=function(t,e,n,r){var i=this.get("label"),a=i.align,o=i.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox();if(this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===a)t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x,r.y+l.height+o),e.attr({x:r.x,y:r.y+l.height+s.height+2*o});else if("right"===a)t.attr({x:r.x+s.width+o,y:r.y}),this.changeRailPosition(n,r.x,r.y),e.attr({x:r.x+s.width+o,y:r.y+s.height});else{var c=Math.max(l.width,u.width);t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x+c+o,r.y),e.attr({x:r.x,y:r.y+s.height})}},e}(r(n(258)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Html",{enumerable:!0,get:function(){return i.default}});var i=r(n(884))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=r(n(140)),s=n(96),l=n(0),u=r(n(181)),c=n(42),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(259)),d=r(n(885)),p=n(886);function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
    ',itemTpl:'
  • \n \n {name}:\n {value}\n
  • ',xCrosshairTpl:'
    ',yCrosshairTpl:'
    ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:f.CONTAINER_CLASS,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:d.default})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!0),(0,s.modifyCSS)(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),(0,s.modifyCSS)(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var e=t?"":"none",n=this.get("xCrosshairDom"),r=this.get("yCrosshairDom");n&&(0,s.modifyCSS)(n,{display:e}),r&&(0,s.modifyCSS)(r,{display:e})},e.prototype.initContainer=function(){if(t.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var e=this.getHtmlContentNode();this.get("parent").appendChild(e),this.set("container",e),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(e){if(this.get("customContent"))this.renderCustomContent();else{var n;n=!1,(0,l.each)(["title","showTitle"],function(t){if((0,l.hasKey)(e,t))return n=!0,!1}),n&&this.resetTitle(),(0,l.hasKey)(e,"items")&&this.renderItems()}t.prototype.updateInner.call(this,e)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){t.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t,e=this.get("x"),n=this.get("y"),r=this.get("offset"),i=this.getOffset(),a=i.offsetX,o=i.offsetY,l=this.get("position"),u=this.get("region"),f=this.getContainer(),d=this.getBBox(),h=d.width,g=d.height;u&&(t=(0,c.regionToBBox)(u));var v=(0,p.getAlignPoint)(e,n,r,h,g,l,t);(0,s.modifyCSS)(f,{left:(0,c.toPx)(v.x+a),top:(0,c.toPx)(v.y+o)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),e=this.get("parent"),n=this.get("container");n&&n.parentNode===e?e.replaceChild(t,n):e.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,e=this.get("customContent");if(e){var n=e(this.get("title"),this.get("items"));t=(0,l.isElement)(n)?n:(0,s.createDom)(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(f.TITLE_CLASS)[0],n=t.getElementsByClassName(f.LIST_CLASS)[0];this.set("titleDom",e),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title");this.get("showTitle")&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var e=this.get("titleDom");e&&(e.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),e=this.get("crosshairs");if(t&&e){var n=(0,c.regionToBBox)(t),r=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),i&&(i.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),r&&(r.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}else this.clearCrosshairs()},e.prototype.resetCrosshair=function(t,e){var n=this.checkCrosshair(t),r=this.get(t);"x"===t?(0,s.modifyCSS)(n,{left:(0,c.toPx)(r),top:(0,c.toPx)(e.y),height:(0,c.toPx)(e.height)}):(0,s.modifyCSS)(n,{top:(0,c.toPx)(r),left:(0,c.toPx)(e.x),width:(0,c.toPx)(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=f["CROSSHAIR_"+t.toUpperCase()],r=this.get(e),i=this.get("parent");return r||(r=(0,s.createDom)(this.get(t+"CrosshairTpl")),this.applyStyle(n,r),i.appendChild(r),this.set(e,r)),r},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),e=this.get("itemTpl"),n=this.get("listDom");n&&((0,l.each)(t,function(t){var r=o.default.toCSSGradient(t.color),i=(0,a.__assign)((0,a.__assign)({},t),{color:r}),u=(0,l.substitute)(e,i),c=(0,s.createDom)(u);n.appendChild(c)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&(0,c.clearDom)(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),e=this.get("yCrosshairDom");t&&t.remove(),e&&e.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(u.default);e.default=g},function(t,e,n){"use strict";var r,i=n(2),a=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(58)),s=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(259));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=((r={})[""+s.CONTAINER_CLASS]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:o.default.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},r[""+s.TITLE_CLASS]={marginBottom:"4px"},r[""+s.LIST_CLASS]={margin:"0px",listStyleType:"none",padding:"0px"},r[""+s.LIST_ITEM_CLASS]={listStyleType:"none",marginBottom:"4px"},r[""+s.MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},r[""+s.VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},r[""+s.CROSSHAIR_X]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+s.CROSSHAIR_Y]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r);e.default=u},function(t,e,n){"use strict";function r(t,e,n,r,i){return{left:ti.x+i.width,top:ei.y+i.height}}function i(t,e,n,r,i,a){var o=t,s=e;switch(a){case"left":o=t-r-n,s=e-i/2;break;case"right":o=t+n,s=e-i/2;break;case"top":o=t-r/2,s=e-i-n;break;case"bottom":o=t-r/2,s=e+n;break;default:o=t+n,s=e-i-n}return{x:o,y:s}}Object.defineProperty(e,"__esModule",{value:!0}),e.getAlignPoint=function(t,e,n,a,o,s,l){var u=i(t,e,n,a,o,s);if(l){var c=r(u.x,u.y,a,o,l);"auto"===s?(c.right&&(u.x=Math.max(0,t-a-n)),c.top&&(u.y=Math.max(0,e-o-n))):"top"===s||"bottom"===s?(c.left&&(u.x=l.x),c.right&&(u.x=l.x+l.width-a),"top"===s&&c.top&&(u.y=e+n),"bottom"===s&&c.bottom&&(u.y=e-o-n)):(c.top&&(u.y=l.y),c.bottom&&(u.y=l.y+l.height-o),"left"===s&&c.left&&(u.x=t+n),"right"===s&&c.right&&(u.x=t-a-n))}return u},e.getOutSides=r,e.getPointByPosition=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return r.Slider}});var r=n(888)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Slider=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(889),l=n(892),u=n(893),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){return function(n){e.currentTarget=t;var r=n.originalEvent;r.stopPropagation(),r.preventDefault(),e.prevX=(0,a.get)(r,"touches.0.pageX",r.pageX),e.prevY=(0,a.get)(r,"touches.0.pageY",r.pageY);var i=e.getContainerDOM();i.addEventListener("mousemove",e.onMouseMove),i.addEventListener("mouseup",e.onMouseUp),i.addEventListener("mouseleave",e.onMouseUp),i.addEventListener("touchmove",e.onMouseMove),i.addEventListener("touchend",e.onMouseUp),i.addEventListener("touchcancel",e.onMouseUp)}},e.onMouseMove=function(t){var n=e.cfg.width,r=[e.get("start"),e.get("end")];t.stopPropagation(),t.preventDefault();var i=(0,a.get)(t,"touches.0.pageX",t.pageX),o=(0,a.get)(t,"touches.0.pageY",t.pageY),s=i-e.prevX,l=e.adjustOffsetRange(s/n);e.updateStartEnd(l),e.updateUI(e.getElementByLocalId("foreground"),e.getElementByLocalId("minText"),e.getElementByLocalId("maxText")),e.prevX=i,e.prevY=o,e.draw(),e.emit(u.SLIDER_CHANGE,[e.get("start"),e.get("end")].sort()),e.delegateEmit("valuechanged",{originValue:r,value:[e.get("start"),e.get("end")]})},e.onMouseUp=function(){e.currentTarget&&(e.currentTarget=void 0);var t=e.getContainerDOM();t&&(t.removeEventListener("mousemove",e.onMouseMove),t.removeEventListener("mouseup",e.onMouseUp),t.removeEventListener("mouseleave",e.onMouseUp),t.removeEventListener("touchmove",e.onMouseMove),t.removeEventListener("touchend",e.onMouseUp),t.removeEventListener("touchcancel",e.onMouseUp))},e}return(0,i.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.get("start"),r=this.get("end"),i=(0,a.clamp)(n,t,e),o=(0,a.clamp)(r,t,e);this.get("isInit")||n===i&&r===o||this.setValue([i,o])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange();if((0,a.isArray)(t)&&2===t.length){var n=[this.get("start"),this.get("end")];this.update({start:(0,a.clamp)(t[0],e.min,e.max),end:(0,a.clamp)(t[1],e.min,e.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:u.BACKGROUND_STYLE,foregroundStyle:u.FOREGROUND_STYLE,handlerStyle:u.HANDLER_STYLE,textStyle:u.TEXT_STYLE}})},e.prototype.update=function(e){var n=e.start,r=e.end,o=(0,i.__assign)({},e);(0,a.isNil)(n)||(o.start=(0,a.clamp)(n,0,1)),(0,a.isNil)(r)||(o.end=(0,a.clamp)(r,0,1)),t.prototype.update.call(this,o),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",(0,a.clamp)(this.get("start"),0,1)),this.set("end",(0,a.clamp)(this.get("end"),0,1)),t.prototype.init.call(this)},e.prototype.render=function(){t.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var e=this.cfg,n=(e.start,e.end,e.width),r=e.height,o=e.trendCfg,c=void 0===o?{}:o,f=e.minText,d=e.maxText,p=e.backgroundStyle,h=void 0===p?{}:p,g=e.foregroundStyle,v=void 0===g?{}:g,y=e.textStyle,m=void 0===y?{}:y,b=(0,a.deepMix)({},l.DEFAULT_HANDLER_STYLE,this.cfg.handlerStyle);(0,a.size)((0,a.get)(c,"data"))&&(this.trend=this.addComponent(t,(0,i.__assign)({component:s.Trend,id:this.getElementId("trend"),x:0,y:0,width:n,height:r},c))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,i.__assign)({x:0,y:0,width:n,height:r},h)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:(0,i.__assign)({y:r/2,textAlign:"right",text:f,silent:!1},m)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:(0,i.__assign)({y:r/2,textAlign:"left",text:d,silent:!1},m)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:(0,i.__assign)({y:0,height:r},v)});var x=(0,a.get)(b,"width",u.DEFAULT_HANDLER_WIDTH),_=(0,a.get)(b,"height",24);this.minHandler=this.addComponent(t,{component:l.Handler,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(r-_)/2,width:x,height:_,cursor:"ew-resize",style:b}),this.maxHandler=this.addComponent(t,{component:l.Handler,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(r-_)/2,width:x,height:_,cursor:"ew-resize",style:b})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,e,n){var r=this.cfg,i=r.start,o=r.end,s=r.width,l=r.minText,c=r.maxText,f=r.handlerStyle,d=r.height,p=i*s,h=o*s;this.trend&&(this.trend.update({width:s,height:d}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",p),t.attr("width",h-p);var g=(0,a.get)(f,"width",u.DEFAULT_HANDLER_WIDTH);e.attr("text",l),n.attr("text",c);var v=this._dodgeText([p,h],e,n),y=v[0],m=v[1];this.minHandler&&(this.minHandler.update({x:p-g/2}),this.get("updateAutoRender")||this.minHandler.render()),(0,a.each)(y,function(t,n){return e.attr(n,t)}),this.maxHandler&&(this.maxHandler.update({x:h-g/2}),this.get("updateAutoRender")||this.maxHandler.render()),(0,a.each)(m,function(t,e){return n.attr(e,t)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var e=t.findById(this.getElementId("foreground"));e.on("mousedown",this.onMouseDown("foreground")),e.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":var i=0-n,a=1-n;return Math.min(a,Math.max(i,t));case"maxHandler":var i=0-r,a=1-r;return Math.min(a,Math.max(i,t));case"foreground":var i=0-n,a=1-r;return Math.min(a,Math.max(i,t))}},e.prototype.updateStartEnd=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":r+=t;break;case"foreground":n+=t,r+=t}this.set("start",n),this.set("end",r)},e.prototype._dodgeText=function(t,e,n){var r,i,o=this.cfg,s=o.handlerStyle,l=o.width,c=(0,a.get)(s,"width",u.DEFAULT_HANDLER_WIDTH),f=t[0],d=t[1],p=!1;f>d&&(f=(r=[d,f])[0],d=r[1],e=(i=[n,e])[0],n=i[1],p=!0);var h=e.getBBox(),g=n.getBBox(),v=h.width>f-2?{x:f+c/2+2,textAlign:"left"}:{x:f-c/2-2,textAlign:"right"},y=g.width>l-d-2?{x:d-c/2-2,textAlign:"right"}:{x:d+c/2+2,textAlign:"left"};return p?[y,v]:[v,y]},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e}(o.default);e.Slider=c,e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Trend=void 0;var i=n(1),a=r(n(41)),o=n(890),s=n(891),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:o.BACKGROUND_STYLE,lineStyle:o.LINE_STYLE,areaStyle:o.AREA_STYLE})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,a=e.data,o=e.smooth,l=e.isArea,u=e.backgroundStyle,c=e.lineStyle,f=e.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,i.__assign)({x:0,y:0,width:n,height:r},u)});var d=(0,s.dataToPath)(a,n,r,o);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:(0,i.__assign)({path:d},c)}),l){var p=(0,s.linePathToAreaPath)(d,n,r,a);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:(0,i.__assign)({path:p},f)})}},e.prototype.applyOffset=function(){var t=this.cfg,e=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:e,y:n})},e}(a.default);e.Trend=l,e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LINE_STYLE=e.BACKGROUND_STYLE=e.AREA_STYLE=void 0,e.BACKGROUND_STYLE={opacity:0},e.LINE_STYLE={stroke:"#C5C5C5",strokeOpacity:.85},e.AREA_STYLE={fill:"#CACED4",opacity:.85}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dataToPath=function(t,e,n,r){void 0===r&&(r=!0);var i=new a.Linear({values:t}),u=new a.Category({values:(0,o.map)(t,function(t,e){return e})}),c=(0,o.map)(t,function(t,r){return[u.scale(r)*e,n-i.scale(t)*n]});return r?l(c):s(c)},e.getAreaLineY=u,e.getLinePath=s,e.getSmoothLinePath=l,e.linePathToAreaPath=function(t,e,n,i){var a=(0,r.__spreadArrays)(t),o=u(i,n);return a.push(["L",e,o]),a.push(["L",0,o]),a.push(["Z"]),a};var r=n(1),i=n(88),a=n(66),o=n(0);function s(t){return(0,o.map)(t,function(t,e){return[0===e?"M":"L",t[0],t[1]]})}function l(t){if(t.length<=2)return s(t);var e=[];(0,o.each)(t,function(t){(0,o.isEqual)(t,e.slice(e.length-2))||e.push(t[0],t[1])});var n=(0,i.catmullRom2Bezier)(e,!1),r=(0,o.head)(t),a=r[0],l=r[1];return n.unshift(["M",a,l]),n}function u(t,e){var n=new a.Linear({values:t}),r=n.max<0?n.max:Math.max(0,n.min);return e-n.scale(r)*e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Handler=e.DEFAULT_HANDLER_STYLE=void 0;var i=n(1),a=r(n(41)),o={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"};e.DEFAULT_HANDLER_STYLE=o;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"handler",x:0,y:0,width:10,height:24,style:o})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,i=e.style,a=i.fill,o=i.stroke,s=i.radius,l=i.opacity,u=i.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:r,fill:a,stroke:o,radius:s,opacity:l,cursor:u}});var c=1/3*n,f=2/3*n,d=1/4*r,p=3/4*r;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:c,y1:d,x2:c,y2:p,stroke:o,cursor:u}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:f,y1:d,x2:f,y2:p,stroke:o,cursor:u}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var e=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",e),t.draw()}),this.get("group").on("mouseleave",function(){var e=t.get("style").fill;t.getElementByLocalId("background").attr("fill",e),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(a.default);e.Handler=s,e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEXT_STYLE=e.SLIDER_CHANGE=e.HANDLER_STYLE=e.FOREGROUND_STYLE=e.DEFAULT_HANDLER_WIDTH=e.BACKGROUND_STYLE=void 0,e.BACKGROUND_STYLE={fill:"#416180",opacity:.05},e.FOREGROUND_STYLE={fill:"#5B8FF9",opacity:.15,cursor:"move"},e.DEFAULT_HANDLER_WIDTH=10,e.HANDLER_STYLE={width:10,height:24},e.TEXT_STYLE={textBaseline:"middle",fill:"#000",opacity:.45},e.SLIDER_CHANGE="sliderchange"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(895);Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))})},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.DEFAULT_THEME=void 0;var i=n(1),a=n(96),o=n(0),s=r(n(41)),l={default:{trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},hover:{thumbColor:"rgba(0,0,0,0.2)"}};e.DEFAULT_THEME=l;var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clearEvents=o.noop,e.onStartEvent=function(t){return function(n){e.isMobile=t,n.originalEvent.preventDefault();var r=t?(0,o.get)(n.originalEvent,"touches.0.clientX"):n.clientX,i=t?(0,o.get)(n.originalEvent,"touches.0.clientY"):n.clientY;e.startPos=e.cfg.isHorizontal?r:i,e.bindLaterEvent()}},e.bindLaterEvent=function(){var t=e.getContainerDOM(),n=[];n=e.isMobile?[(0,a.addEventListener)(t,"touchmove",e.onMouseMove),(0,a.addEventListener)(t,"touchend",e.onMouseUp),(0,a.addEventListener)(t,"touchcancel",e.onMouseUp)]:[(0,a.addEventListener)(t,"mousemove",e.onMouseMove),(0,a.addEventListener)(t,"mouseup",e.onMouseUp),(0,a.addEventListener)(t,"mouseleave",e.onMouseUp)],e.clearEvents=function(){n.forEach(function(t){t.remove()})}},e.onMouseMove=function(t){var n=e.cfg,r=n.isHorizontal,i=n.thumbOffset;t.preventDefault();var a=e.isMobile?(0,o.get)(t,"touches.0.clientX"):t.clientX,s=e.isMobile?(0,o.get)(t,"touches.0.clientY"):t.clientY,l=r?a:s,u=l-e.startPos;e.startPos=l,e.updateThumbOffset(i+u)},e.onMouseUp=function(t){t.preventDefault(),e.clearEvents()},e.onTrackClick=function(t){var n=e.cfg,r=n.isHorizontal,i=n.x,a=n.y,o=n.thumbLen,s=e.getContainerDOM().getBoundingClientRect(),l=t.clientX,u=t.clientY,c=r?l-s.left-i-o/2:u-s.top-a-o/2,f=e.validateRange(c);e.updateThumbOffset(f)},e.onThumbMouseOver=function(){var t=e.cfg.theme.hover.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e.onThumbMouseOut=function(){var t=e.cfg.theme.default.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e}return(0,i.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.getValue(),r=(0,o.clamp)(n,t,e);n===r||this.get("isInit")||this.setValue(r)},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*(0,o.clamp)(t,e.min,e.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return(0,o.clamp)(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:l})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var e=this.cfg,n=e.trackLen,r=e.theme,i=(0,o.deepMix)({},l,void 0===r?{default:{}}:r).default,a=i.lineCap,s=i.trackColor,u=i.size,c=(0,o.get)(this.cfg,"size",u),f=this.get("isHorizontal")?{x1:0+c/2,y1:c/2,x2:n-c/2,y2:c/2,lineWidth:c,stroke:s,lineCap:a}:{x1:c/2,y1:0+c/2,x2:c/2,y2:n-c/2,lineWidth:c,stroke:s,lineCap:a};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:f})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,r=e.thumbLen,i=e.theme,a=(0,o.deepMix)({},l,i).default,s=a.size,u=a.lineCap,c=a.thumbColor,f=(0,o.get)(this.cfg,"size",s),d=this.get("isHorizontal")?{x1:n+f/2,y1:f/2,x2:n+r-f/2,y2:f/2,lineWidth:f,stroke:c,lineCap:u,cursor:"default"}:{x1:f/2,y1:n+f/2,x2:f/2,y2:n+r-f/2,lineWidth:f,stroke:c,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:d})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp),t.findById(this.getElementId("track")).on("click",this.onTrackClick);var e=t.findById(this.getElementId("thumb"));e.on("mouseover",this.onThumbMouseOver),e.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e.prototype.validateRange=function(t){var e=this.cfg,n=e.thumbLen,r=e.trackLen,i=t;return t+n>r?i=r-n:t+n=u-c&&f<=u+c},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a,o,s,l,u,c,f=this.attr(),d=i/2,p=f.x,h=f.y,g=f.rx,v=f.ry,y=(t-p)*(t-p),m=(e-h)*(e-h);return r&&n?1>=y/((a=g+d)*a)+m/((o=v+d)*o):r?1>=y/(g*g)+m/(v*v):!!n&&y/((s=g-d)*s)+m/((l=v-d)*l)>=1&&1>=y/((u=g+d)*u)+m/((c=v+d)*c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,a,0,0,2*Math.PI,!1);else{var o=i>a?i:a,s=i>a?1:i/a,l=i>a?a/i:1;t.save(),t.translate(n,r),t.scale(s,l),t.arc(0,0,o,0,2*Math.PI),t.restore(),t.closePath()}},e}(n(71).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(51);function o(t){return t instanceof HTMLElement&&a.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(a.isString(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):o(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,t.getAttribute("height")))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var e=this.attr(),n=e.x,r=e.y,i=e.width,s=e.height,l=e.sx,u=e.sy,c=e.swidth,f=e.sheight,d=e.img;(d instanceof Image||o(d))&&(a.isNil(l)||a.isNil(u)||a.isNil(c)||a.isNil(f)?t.drawImage(d,n,r,i,s):t.drawImage(d,l,u,c,f,n,r,i,s))},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(71),o=n(183),s=n(182),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,a=t.startArrow,o=t.endArrow;a&&s.addStartArrow(this,t,r,i,e,n),o&&s.addEndArrow(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var a=this.attr(),s=a.x1,l=a.y1,u=a.x2,c=a.y2;return o.default(s,l,u,c,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.startArrow,l=e.endArrow,u={dx:0,dy:0},c={dx:0,dy:0};o&&o.d&&(u=s.getShortenOffset(n,r,i,a,e.startArrow.d)),l&&l.d&&(c=s.getShortenOffset(n,r,i,a,e.endArrow.d)),t.beginPath(),t.moveTo(n+u.dx,r+u.dy),t.lineTo(i-c.dx,a-c.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,a=t.y2;return i.Line.length(e,n,r,a)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,a=e.x2,o=e.y2;return i.Line.pointAt(n,r,a,o,t)},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(88),o=n(71),s=n(51),l=n(144),u={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return i.isNil(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,l=r.symbol||"circle",u=this._getR(r);if(s.isFunction(l))n=(t=l)(i,o,u),n=a.path2Absolute(n);else{if(!(t=e.Symbols[l]))return console.warn(l+" marker is not supported."),null;n=t(i,o,u)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");l.drawPath(this,t,{path:e},n)},e.Symbols=u,e}(o.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(0),o=n(71),s=n(88),l=n(144),u=n(439),c=n(440),f=n(906),d=n(182);function p(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var s=o[n];if(a.isNil(s)||a.isNil(n))return null;var l=s.length,u=o[n+1];return i.Cubic.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",f.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r=0,o=0,s=[],l=this.get("curve");if(l){if(a.each(l,function(t,a){e=l[a+1],n=t.length,e&&(r+=i.Cubic.length(t[n-2],t[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0)}),this.set("totalLength",r),0===r){this.set("tCache",[]);return}a.each(l,function(a,u){e=l[u+1],n=a.length,e&&((t=[])[0]=o/r,o+=i.Cubic.length(a[n-2],a[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0,t[1]=o/r,s.push(t))}),this.set("tCache",s)}},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,a=e[n-1].endTangent;t=[],a?(t.push([i[0]-a[0],i[1]-a[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(o.default);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(38),o=n(38),s=n(32),l=n(171),u=n(51),c=n(183),f=n(441),d=s.ext.transform;e.default=r.__assign({hasArc:function(t){for(var e=!1,n=t.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var s=!1,p=e/2,h=0;hM?P:M,T=d(null,[["t",-_,-O],["r",-w],["s",1/(P>M?1:P/M),1/(P>M?M/P:1)]]);l.transformMat3(E,E,T),s=f.default(0,0,C,A,S,e,E[0],E[1])}if(s)break}}return s}},i.PathUtil)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(442),o=n(440),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var s=this.attr().points,l=!1;return n&&(l=a.default(s,i,t,e,!0)),!l&&r&&(l=o.default(s,t,e)),l},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),i.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,a=[];o.each(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=i.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,a.push(t))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(437),o=n(51),s=n(910),l=n(911),u=n(439),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),c=a.x,f=a.y,d=a.width,p=a.height,h=a.radius;if(h){var g=!1;return n&&(g=l.default(c,f,d,p,h,i,t,e)),!g&&r&&(g=u.default(this,t,e)),g}var v=i/2;return r&&n?o.inBox(c-v,f-v,d+v,p+v,t,e):r?o.inBox(c,f,d,p,t,e):n?s.default(c,f,d,p,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,r,i,o);else{var l=a.parseRadius(s),u=l[0],c=l[1],f=l[2],d=l[3];t.moveTo(n+u,r),t.lineTo(n+i-c,r),0!==c&&t.arc(n+i-c,r+c,c,-Math.PI/2,0),t.lineTo(n+i,r+o-f),0!==f&&t.arc(n+i-f,r+o-f,f,0,Math.PI/2),t.lineTo(n+d,r+o),0!==d&&t.arc(n+d,r+o-d,d,Math.PI/2,Math.PI),t.lineTo(n,r+u),0!==u&&t.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),t.closePath()}},e}(i.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51);e.default=function(t,e,n,i,a,o,s){var l=a/2;return r.inBox(t-l,e-l,n,a,o,s)||r.inBox(t+n-l,e-l,a,i,o,s)||r.inBox(t+l,e+i-l,n,a,o,s)||r.inBox(t-l,e+l,a,i,o,s)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(183),i=n(441);e.default=function(t,e,n,a,o,s,l,u){return r.default(t+o,e,t+n-o,e,s,l,u)||r.default(t+n,e+o,t+n,e+a-o,s,l,u)||r.default(t+n-o,e+a,t+o,e+a,s,l,u)||r.default(t,e+a-o,t,e+o,s,l,u)||i.default(t+n-o,e+o,o,1.5*Math.PI,2*Math.PI,s,l,u)||i.default(t+n-o,e+a-o,o,0,.5*Math.PI,s,l,u)||i.default(t+o,e+a-o,o,.5*Math.PI,Math.PI,s,l,u)||i.default(t+o,e+o,o,Math.PI,1.5*Math.PI,s,l,u)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(51),o=n(26),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=o.assembleFont(t)},e.prototype._setText=function(t){var e=null;a.isString(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,l=i.x,u=i.y,c=1*i.fontSize,f=this._getSpaceingY(),d=o.getTextHeight(i.text,i.fontSize,i.lineHeight);a.each(e,function(e,i){r=u+i*(f+c)-d+c,"middle"===s&&(r+=d-c-(d-c)/2),"top"===s&&(r+=d-c),a.isNil(e)||(n?t.fillText(e,l,r):t.strokeText(e,l,r))})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var s=n.text;a.isNil(s)||(e?t.fillText(s,r,i):t.strokeText(s,r,i))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(a.isNil(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(a.isNil(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(914),o=n(143),s=n(260),l=n(51),u=n(144),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){("attr"===t||"sort"===t||"changeSize"===t)&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return s.default},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||l.getPixelRatio();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),a=this.getPixelRatio();i.width=a*e,i.height=a*n,a>1&&r.scale(a,a)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?a.getShape(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=u.getMergedRegion(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=u.mergeView(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(l.clearAnimationFrame(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),u.applyAttrsToContext(t,this),u.drawChildren(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),u.applyAttrsToContext(t,this),u.checkRefresh(this,n,r),u.drawChildren(t,n,r),t.restore()):e.length&&u.clearChanged(e),l.each(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=l.requestAnimationFrame(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(i.AbstractCanvas);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShape=void 0;var r=n(26);function i(t,e,n){var i=t.getTotalMatrix();if(i){var a=function(t,e){if(e){var n=r.invert(e);return r.multiplyVec2(n,t)}return t}([e,n,1],i);return[a[0],a[1]]}return[e,n]}function a(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!r.isAllowCapture(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var a=i(t,e,n),o=a[0],s=a[1];if(t.isClipped(o,s))return!1}var l=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=l.minX&&e<=l.maxX&&n>=l.minY&&n<=l.maxY}e.getShape=function t(e,n,r){if(!a(e,n,r))return null;for(var o=null,s=e.getChildren(),l=s.length,u=l-1;u>=0;u--){var c=s[u];if(c.isGroup())o=t(c,n,r);else if(a(c,n,r)){var f=i(c,n,r),d=f[0],p=f[1];c.isInShape(d,p)&&(o=c)}if(o)break}return o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(i.each(e||n,function(t,e){a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)}),"function"==typeof n.html){var o=n.html.call(this,n);if(o instanceof Element||o instanceof HTMLDocument){for(var s=r.childNodes,l=s.length-1;l>=0;l--)r.removeChild(s[l]);r.appendChild(o)}else r.innerHTML=o}else r.innerHTML=n.html},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el");i.each(e||r,function(t,e){"img"===e?n._setImage(r.img):a.SVG_ATTR_MAP[e]&&o.setAttribute(a.SVG_ATTR_MAP[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(i.isString(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&i.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(0),o=n(52),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");a.each(e||n,function(e,i){if("startArrow"===i||"endArrow"===i){if(e){var s=a.isObject(e)?t.addArrow(n,o.SVG_ATTR_MAP[i]):t.getDefaultArrow(n,o.SVG_ATTR_MAP[i]);r.setAttribute(o.SVG_ATTR_MAP[i],"url(#"+s+")")}else r.removeAttribute(o.SVG_ATTR_MAP[i])}else o.SVG_ATTR_MAP[i]&&r.setAttribute(o.SVG_ATTR_MAP[i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,a=t.y2;return i.Line.length(e,n,r,a)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,a=e.x2,o=e.y2;return i.Line.pointAt(n,r,a,o,t)},e}(n(62).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(62),o=n(921),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return i.isArray(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,a=e.r||e.radius,s=e.symbol||"circle";return(t=i.isFunction(s)?s:o.default.get(s))?t(n,r,a):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=o.default,e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,-(2*n),0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}};e.default={get:function(t){return r[t]},register:function(t,e){r[t]=e},remove:function(t){delete r[t]},getAll:function(){return r}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el");i.each(e||r,function(e,s){if("path"===s&&i.isArray(e))o.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s){if(e){var l=i.isObject(e)?t.addArrow(r,a.SVG_ATTR_MAP[s]):t.getDefaultArrow(r,a.SVG_ATTR_MAP[s]);o.setAttribute(a.SVG_ATTR_MAP[s],"url(#"+l+")")}else o.removeAttribute(a.SVG_ATTR_MAP[s])}else a.SVG_ATTR_MAP[s]&&o.setAttribute(a.SVG_ATTR_MAP[s],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"points"===e&&i.isArray(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(38),o=n(0),s=n(52),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");o.each(e||n,function(t,e){"points"===e&&o.isArray(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):s.SVG_ATTR_MAP[e]&&r.setAttribute(s.SVG_ATTR_MAP[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return o.isNil(e)?(this.set("totalLength",i.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),o.each(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),a.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];o.each(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=a.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(n(62).default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(62),o=n(52),s=n(926),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el"),s=!1,l=["x","y","width","height","radius"];i.each(e||r,function(t,e){-1===l.indexOf(e)||s?-1===l.indexOf(e)&&o.SVG_ATTR_MAP[e]&&a.setAttribute(o.SVG_ATTR_MAP[e],t):(a.setAttribute("d",n._assembleRect(r)),s=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,a=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+a+" l"+-r+" 0 z";var l=s.parseRadius(o);return i.isArray(o)?1===o.length?l.r1=l.r2=l.r3=l.r4=o[0]:2===o.length?(l.r1=l.r3=o[0],l.r2=l.r4=o[1]):3===o.length?(l.r1=o[0],l.r2=l.r4=o[1],l.r3=o[2]):(l.r1=o[0],l.r2=o[1],l.r3=o[2],l.r4=o[3]):l.r1=l.r2=l.r3=l.r4=o,[["M "+(e+l.r1)+","+n],["l "+(r-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(a-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-r)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-a)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]].join(" ")},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=e.parseRadius=void 0;var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi;e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return r.isArray(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,{r1:e,r2:n,r3:i,r4:a}},e.parsePath=function(t){return(t=t||[],r.isArray(t))?t:r.isString(t)?(t=t.match(i),r.each(t,function(e,n){if((e=e.match(a))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}r.each(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(242),o=n(145),s=n(52),l=n(62),u={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},c={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},f={left:"left",start:"left",center:"middle",right:"end",end:"end"},d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el");this._setFont(),i.each(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?o.setTransform(n):s.SVG_ATTR_MAP[e]&&a.setAttribute(s.SVG_ATTR_MAP[e],t)}),a.setAttribute("paint-order","stroke"),a.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=a.detect();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",c[n]||"alphabetic"):t.setAttribute("alignment-baseline",u[n]||"baseline"),t.setAttribute("text-anchor",f[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,a=n.textBaseline,o=void 0===a?"bottom":a;if(t){if(~t.indexOf("\n")){var s=t.split("\n"),l=s.length-1,u="";i.each(s,function(t,e){0===e?"alphabetic"===o?u+=''+t+"":"top"===o?u+=''+t+"":"middle"===o?u+=''+t+"":"bottom"===o?u+=''+t+"":"hanging"===o&&(u+=''+t+""):u+=''+t+""}),e.innerHTML=u}else e.innerHTML=t}else e.innerHTML=""},e}(l.default);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(52),o=n(261),s=n(145),l=n(72),u=n(184),c=n(262),f=n(929),d=function(t){function e(e){return t.call(this,r.__assign(r.__assign({},e),{autoDraw:!0,renderer:"svg"}))||this}return r.__extends(e,t),e.prototype.getShapeBase=function(){return u},e.prototype.getGroupBase=function(){return c.default},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!a.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!a.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find(function(t){return t.get("el")===r})},e.prototype.createDom=function(){var t=l.createSVGElement("svg"),e=new f.default(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&l.sortDom(this,function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0})}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?s.setTransform(this):"clip"===t?s.setClip(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();s.setClip(this,t),e.length&&o.drawChildren(t,e)},e}(i.AbstractCanvas);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(930),a=n(931),o=n(932),s=n(933),l=n(934),u=n(72),c=function(){function t(t){var e=u.createSVGElement("defs"),n=r.uniqueId("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i'}),n}var u=function(){function t(t){this.cfg={};var e,n,s,u,c,f,d,p,h,g,v,y,m,b,x,_,O=null,P=r.uniqueId("gradient_");return"l"===t.toLowerCase()[0]?(e=O=i.createSVGElement("linearGradient"),u=a.exec(t),c=r.mod(r.toRadian(parseFloat(u[1])),2*Math.PI),f=u[2],c>=0&&c<.5*Math.PI?(n={x:0,y:0},s={x:1,y:1}):.5*Math.PI<=c&&c';e.innerHTML=n},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=function(){function t(t,e){this.cfg={};var n=i.createSVGElement("marker"),a=r.uniqueId("marker_");n.setAttribute("id",a);var o=i.createSVGElement("path");o.setAttribute("stroke",t.stroke||"none"),o.setAttribute("fill",t.fill||"none"),n.appendChild(o),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=o,this.id=a;var s=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===s?this._setDefaultPath(e,o):(this.cfg=s,this._setMarker(t.lineWidth,o)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,a=this.cfg.d;r.isArray(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),a&&n.setAttribute("refX",""+a/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=function(){function t(t){this.type="clip",this.cfg={};var e=i.createSVGElement("clipPath");this.el=e,this.id=r.uniqueId("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,o=function(){function t(t){this.cfg={};var e=i.createSVGElement("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=i.createSVGElement("image");e.appendChild(n);var o=r.uniqueId("pattern_");e.id=o,this.el=e,this.id=o,this.cfg=t;var s=a.exec(t)[2];n.setAttribute("href",s);var l=new Image;function u(){e.setAttribute("width",""+l.width),e.setAttribute("height",""+l.height)}return s.match(/^data:/i)||(l.crossOrigin="Anonymous"),l.src=s,l.complete?u():(l.onload=u,l.src=l.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(443),s=n(160),l=function(t){function e(e){var n=this,l=e.container,u=e.width,c=e.height,f=e.autoFit,d=void 0!==f&&f,p=e.padding,h=e.appendPadding,g=e.renderer,v=void 0===g?"canvas":g,y=e.pixelRatio,m=e.localRefresh,b=void 0===m||m,x=e.visible,_=e.supportCSSTransform,O=e.defaultInteractions,P=void 0===O?["tooltip","legend-filter","legend-active","continuous-filter","ellipsis-text"]:O,M=e.options,A=e.limitInPlot,S=e.theme,w=e.syncViewPadding,E=(0,i.isString)(l)?document.getElementById(l):l,C=(0,s.createDom)('
    ');E.appendChild(C);var T=(0,s.getChartSize)(E,d,u,c),I=new((0,o.getEngine)(v)).Canvas((0,r.__assign)({container:C,pixelRatio:y,localRefresh:b,supportCSSTransform:void 0!==_&&_},T));return(n=t.call(this,{parent:null,canvas:I,backgroundGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.BG}),middleGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.MID}),foregroundGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.FORE}),padding:p,appendPadding:h,visible:void 0===x||x,options:M,limitInPlot:A,theme:S,syncViewPadding:w})||this).onResize=(0,i.debounce)(function(){n.forceFit()},300),n.ele=E,n.canvas=I,n.width=T.width,n.height=T.height,n.autoFit=d,n.localRefresh=b,n.renderer=v,n.wrapperElement=C,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(P),n}return(0,r.__extends)(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;(0,i.each)(t,function(t){e.interaction(t)})},e.prototype.aria=function(t){var e="aria-label";!1===t?this.ele.removeAttribute(e):this.ele.setAttribute(e,t.label)},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e||(this.emit(a.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(a.VIEW_LIFE_CIRCLE.AFTER_CHANGE_SIZE)),this},e.prototype.clear=function(){t.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),(0,s.removeDom)(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=(0,s.getChartSize)(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){(0,s.modifyCSS)(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}((0,r.__importDefault)(n(444)).default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseAction=void 0;var r=n(1),i=n(0),a=n(203),o=(0,r.__importDefault)(n(938)),s=(0,r.__importDefault)(n(445));function l(t,e,n){var r=t.split(":"),i=r[0],o=e.getAction(i)||(0,a.createAction)(i,e);if(!o)throw Error("There is no action named "+i);return{action:o,methodName:r[1],arg:n}}function u(t){var e=t.action,n=t.methodName,r=t.arg;if(e[n])e[n](r);else throw Error("Action("+e.name+") doesn't have a method called "+n)}e.parseAction=l;var c={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},f=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return(0,r.__extends)(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;(0,i.each)(this.steps,function(e,n){(0,i.each)(e,function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)})})},e.prototype.clearEvents=function(){var t=this;(0,i.each)(this.steps,function(e,n){(0,i.each)(e,function(e){var r=t.getActionCallback(n,e);r&&t.offEvent(e.trigger,r)})})},e.prototype.initContext=function(){var t=this.view,e=new o.default(t);this.context=e;var n=this.steps;(0,i.each)(n,function(t){(0,i.each)(t,function(t){if((0,i.isFunction)(t.action))t.actionObject={action:(0,a.createCallbackAction)(t.action,e),methodName:"execute"};else if((0,i.isString)(t.action))t.actionObject=l(t.action,e,t.arg);else if((0,i.isArray)(t.action)){var n=t.action,r=(0,i.isArray)(t.arg)?t.arg:[t.arg];t.actionObject=[],(0,i.each)(n,function(n,i){t.actionObject.push(l(n,e,r[i]))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t||t===c.SHOW_ENABLE)return!0;if(t===c.PROCESSING)return e===c.START;if(t===c.START)return e!==c.PROCESSING;if(t===c.END)return e===c.PROCESSING||e===c.START;if(t===c.ROLLBACK){if(n[c.END])return e===c.END;if(e===c.START)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==c.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,r=this.context,a=this.callbackCaches,o=e.actionObject;if(e.action&&o){var s=this.getKey(t,e);if(!a[s]){var l=function(a){r.event=a,n.isAllowExecute(t,e)?((0,i.isArray)(o)?(0,i.each)(o,function(t){r.event=a,u(t)}):(r.event=a,u(o)),n.afterExecute(t,e),e.callback&&(r.event=a,e.callback(r))):r.event=null};e.debounce?a[s]=(0,i.debounce)(l,e.debounce.wait,e.debounce.immediate):e.throttle?a[s]=(0,i.throttle)(l,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):a[s]=l}return a[s]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(s.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}((0,r.__importDefault)(n(44)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(31),a=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;return t?t.target instanceof HTMLElement?this.view.getCanvas().getPointByClient(t.clientX,t.clientY):{x:t.x,y:t.y}:null},t.prototype.getCurrentShape=function(){return(0,r.get)(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=(0,i.getComponents)(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&(0,i.isInBox)(r,n):(0,i.isInBox)(r,n)})},t.prototype.destroy=function(){(0,r.each)(this.actions.slice(),function(t){t.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTheme=void 0;var r=n(1),i=n(0),a=n(106),o=n(161);e.createTheme=function(t){var e=t.styleSheet,n=(0,r.__rest)(t,["styleSheet"]),s=(0,o.createLightStyleSheet)(void 0===e?{}:e);return(0,i.deepMix)({},(0,a.createThemeByStyleSheet)(s),n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(69),o=function(){function t(t){this.option=this.wrapperOption(t)}return t.prototype.update=function(t){return this.option=this.wrapperOption(t),this},t.prototype.hasAction=function(t){var e=this.option.actions;return(0,i.some)(e,function(e){return e[0]===t})},t.prototype.create=function(t,e){var n=this.option,i=n.type,o=n.cfg,s="theta"===i,l=(0,r.__assign)({start:t,end:e},o),u=(0,a.getCoordinate)(s?"polar":i);return this.coordinate=new u(l),this.coordinate.type=i,s&&!this.hasAction("transpose")&&this.transpose(),this.execActions(),this.coordinate},t.prototype.adjust=function(t,e){return this.coordinate.update({start:t,end:e}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},t.prototype.rotate=function(t){return this.option.actions.push(["rotate",t]),this},t.prototype.reflect=function(t){return this.option.actions.push(["reflect",t]),this},t.prototype.scale=function(t,e){return this.option.actions.push(["scale",t,e]),this},t.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},t.prototype.getOption=function(){return this.option},t.prototype.getCoordinate=function(){return this.coordinate},t.prototype.wrapperOption=function(t){return(0,r.__assign)({type:"rect",actions:[],cfg:{}},t)},t.prototype.execActions=function(t){var e=this,n=this.option.actions;(0,i.each)(n,function(n){var r,a=n[0],o=n.slice(1);((0,i.isNil)(t)||t.includes(a))&&(r=e.coordinate)[a].apply(r,o)})},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getController("axis"),n=t.getController("legend"),r=t.getController("annotation");[e,t.getController("slider"),t.getController("scrollbar"),n,r].forEach(function(t){t&&t.layout()})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScalePool=void 0;var r=n(0),i=n(111),a=function(){function t(){this.scales=new Map,this.syncScales=new Map}return t.prototype.createScale=function(t,e,n,a){var o=n,s=this.getScaleMeta(a);if(0===e.length&&s){var l=s.scale,u={type:l.type};l.isCategory&&(u.values=l.values),o=(0,r.deepMix)(u,s.scaleDef,n)}var c=(0,i.createScaleByField)(t,e,o);return this.cacheScale(c,n,a),c},t.prototype.sync=function(t,e){var n=this;this.syncScales.forEach(function(a,o){var s=Number.MAX_SAFE_INTEGER,l=Number.MIN_SAFE_INTEGER,u=[];(0,r.each)(a,function(t){var e=n.getScale(t);l=(0,r.isNumber)(e.max)?Math.max(l,e.max):l,s=(0,r.isNumber)(e.min)?Math.min(s,e.min):s,(0,r.each)(e.values,function(t){u.includes(t)||u.push(t)})}),(0,r.each)(a,function(a){var o=n.getScale(a);if(o.isContinuous)o.change({min:s,max:l,values:u});else if(o.isCategory){var c=o.range,f=n.getScaleMeta(a);u&&!(0,r.get)(f,["scaleDef","range"])&&(c=(0,i.getDefaultCategoryScaleRange)((0,r.deepMix)({},o,{values:u}),t,e)),o.change({values:u,range:c})}})})},t.prototype.cacheScale=function(t,e,n){var r=this.getScaleMeta(n);r&&r.scale.type===t.type?((0,i.syncScale)(r.scale,t),r.scaleDef=e):(r={key:n,scale:t,scaleDef:e},this.scales.set(n,r));var a=this.getSyncKey(r);if(r.syncKey=a,this.removeFromSyncScales(n),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(n)}},t.prototype.getScale=function(t){var e=this.getScaleMeta(t);if(!e){var n=(0,r.last)(t.split("-")),i=this.syncScales.get(n);i&&i.length&&(e=this.getScaleMeta(i[0]))}return e&&e.scale},t.prototype.deleteScale=function(t){var e=this.getScaleMeta(t);if(e){var n=e.syncKey,r=this.syncScales.get(n);if(r&&r.length){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}}this.scales.delete(t)},t.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},t.prototype.removeFromSyncScales=function(t){var e=this;this.syncScales.forEach(function(n,r){var i=n.indexOf(t);if(-1!==i)return n.splice(i,1),0===n.length&&e.syncScales.delete(r),!1})},t.prototype.getSyncKey=function(t){var e=t.scale,n=t.scaleDef,i=e.field,a=(0,r.get)(n,["sync"]);return!0===a?i:!1===a?void 0:a},t.prototype.getScaleMeta=function(t){return this.scales.get(t)},t}();e.ScalePool=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calculatePadding=void 0;var r=n(1),i=n(0),a=n(21),o=n(80),s=n(267),l=n(448);e.calculatePadding=function(t){var e=t.padding;if(!(0,s.isAutoPadding)(e))return new(l.PaddingCal.bind.apply(l.PaddingCal,(0,r.__spreadArray)([void 0],(0,s.parsePadding)(e),!1)));var n=t.viewBBox,u=new l.PaddingCal,c=[],f=[],d=[];return(0,i.each)(t.getComponents(),function(t){var e=t.type;e===a.COMPONENT_TYPE.AXIS?c.push(t):[a.COMPONENT_TYPE.LEGEND,a.COMPONENT_TYPE.SLIDER,a.COMPONENT_TYPE.SCROLLBAR].includes(e)?f.push(t):e!==a.COMPONENT_TYPE.GRID&&e!==a.COMPONENT_TYPE.TOOLTIP&&d.push(t)}),(0,i.each)(c,function(t){var e=t.component.getLayoutBBox(),r=new o.BBox(e.x,e.y,e.width,e.height).exceed(n);u.max(r)}),(0,i.each)(f,function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=e.get("padding"),a=new o.BBox(r.x,r.y,r.width,r.height).expand(i);u.inc(a,n)}),(0,i.each)(d,function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=new o.BBox(r.x,r.y,r.width,r.height);u.inc(i,n)}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultSyncViewPadding=void 0,e.defaultSyncViewPadding=function(t,e,n){var r=n.instance();e.forEach(function(t){t.autoPadding=r.max(t.autoPadding.getPadding())})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.group=void 0;var r=n(0);e.group=function(t,e,n){if(void 0===n&&(n={}),!e)return[t];var i=(0,r.groupToMap)(t,e),a=[];if(1===e.length&&n[e[0]])for(var o=n[e[0]],s=0;s=e.getCount()&&!t.destroyed&&e.add(t)})}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(222),i=n(167),a=n(162),o=n(320),s=n(223),l=n(321),u=n(322),c=n(224),f=n(25);Object(f.registerAnimation)("fade-in",r.fadeIn),Object(f.registerAnimation)("fade-out",r.fadeOut),Object(f.registerAnimation)("grow-in-x",i.growInX),Object(f.registerAnimation)("grow-in-xy",i.growInXY),Object(f.registerAnimation)("grow-in-y",i.growInY),Object(f.registerAnimation)("scale-in-x",s.scaleInX),Object(f.registerAnimation)("scale-in-y",s.scaleInY),Object(f.registerAnimation)("wave-in",u.waveIn),Object(f.registerAnimation)("zoom-in",c.zoomIn),Object(f.registerAnimation)("zoom-out",c.zoomOut),Object(f.registerAnimation)("position-update",o.positionUpdate),Object(f.registerAnimation)("sector-path-update",l.sectorPathUpdate),Object(f.registerAnimation)("path-in",a.pathIn)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doScaleAnimate=e.transformShape=void 0;var r=n(32);function i(t,e,n){var i,a=e[0],o=e[1];return t.applyToMatrix([a,o,1]),"x"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):"y"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):"xy"===n&&(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),i}e.transformShape=i,e.doScaleAnimate=function(t,e,n,r,a){var o,s,l=n.start,u=n.end,c=n.getWidth(),f=n.getHeight();"y"===a?(o=l.x+c/2,s=r.yl.x?r.x:l.x,s=l.y+f/2):"xy"===a&&(n.isPolar?(o=n.getCenter().x,s=n.getCenter().y):(o=(l.x+u.x)/2,s=(l.y+u.y)/2));var d=i(t,[o,s],a);t.animate({matrix:d},e)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),s=a.x,l=a.y,u=a.r,c=i/2,f=(0,o.distance)(s,l,t,e);return r&&n?f<=u+c:r?f<=u:!!n&&f>=u-c&&f<=u+c},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a,o,s,l,u,c,f=this.attr(),d=i/2,p=f.x,h=f.y,g=f.rx,v=f.ry,y=(t-p)*(t-p),m=(e-h)*(e-h);return r&&n?1>=y/((a=g+d)*a)+m/((o=v+d)*o):r?1>=y/(g*g)+m/(v*v):!!n&&y/((s=g-d)*s)+m/((l=v-d)*l)>=1&&1>=y/((u=g+d)*u)+m/((c=v+d)*c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,a,0,0,2*Math.PI,!1);else{var o=i>a?i:a,s=i>a?1:i/a,l=i>a?a/i:1;t.save(),t.translate(n,r),t.scale(s,l),t.arc(0,0,o,0,2*Math.PI),t.restore(),t.closePath()}},e}(r(n(73)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53);function s(t){return t instanceof HTMLElement&&(0,o.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if((0,o.isString)(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):s(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,t.getAttribute("height")))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var e=this.attr(),n=e.x,r=e.y,i=e.width,a=e.height,l=e.sx,u=e.sy,c=e.swidth,f=e.sheight,d=e.img;(d instanceof Image||s(d))&&((0,o.isNil)(l)||(0,o.isNil)(u)||(0,o.isNil)(c)||(0,o.isNil)(f)?t.drawImage(d,n,r,i,a):t.drawImage(d,l,u,c,f,n,r,i,a))},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(38),s=r(n(73)),l=r(n(189)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,a.__assign)((0,a.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,a=t.startArrow,o=t.endArrow;a&&u.addStartArrow(this,t,r,i,e,n),o&&u.addEndArrow(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var a=this.attr(),o=a.x1,s=a.y1,u=a.x2,c=a.y2;return(0,l.default)(o,s,u,c,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.startArrow,s=e.endArrow,l={dx:0,dy:0},c={dx:0,dy:0};o&&o.d&&(l=u.getShortenOffset(n,r,i,a,e.startArrow.d)),s&&s.d&&(c=u.getShortenOffset(n,r,i,a,e.endArrow.d)),t.beginPath(),t.moveTo(n+l.dx,r+l.dy),t.lineTo(i-c.dx,a-c.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return o.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2;return o.Line.pointAt(n,r,i,a,t)},e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(88),s=r(n(73)),l=n(53),u=n(148),c={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return(0,a.isNil)(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,a=r.y,s=r.symbol||"circle",u=this._getR(r);if((0,l.isFunction)(s))n=(t=s)(i,a,u),n=(0,o.path2Absolute)(n);else{if(!(t=e.Symbols[s]))return console.warn(s+" marker is not supported."),null;n=t(i,a,u)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");(0,u.drawPath)(this,t,{path:e},n)},e.Symbols=c,e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(38),s=n(0),l=r(n(73)),u=n(88),c=n(148),f=r(n(455)),d=r(n(456)),p=r(n(958)),h=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=g(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function g(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(g=function(t){return t?n:e})(t)}function v(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var a=i[n];if((0,s.isNil)(a)||(0,s.isNil)(n))return null;var l=a.length,u=i[n+1];return o.Cubic.pointAt(a[l-2],a[l-1],u[1],u[2],u[3],u[4],u[5],u[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",p.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r=0,i=0,a=[],l=this.get("curve");if(l){if((0,s.each)(l,function(t,i){e=l[i+1],n=t.length,e&&(r+=o.Cubic.length(t[n-2],t[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0)}),this.set("totalLength",r),0===r){this.set("tCache",[]);return}(0,s.each)(l,function(s,u){e=l[u+1],n=s.length,e&&((t=[])[0]=i/r,i+=o.Cubic.length(s[n-2],s[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0,t[1]=i/r,a.push(t))}),this.set("tCache",a)}},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,a=e[n-1].endTangent;t=[],a?(t.push([i[0]-a[0],i[1]-a[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(l.default);e.default=y},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(38),l=n(32),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(171)),c=n(53),f=r(n(189)),d=r(n(457));function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}var h=l.ext.transform,g=(0,a.__assign)({hasArc:function(t){for(var e=!1,n=t.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var a=!1,o=e/2,l=0;lP?O:P,C=h(null,[["t",-x,-_],["r",-S],["s",1/(O>P?1:O/P),1/(O>P?P/O:1)]]);u.transformMat3(w,w,C),a=(0,d.default)(0,0,E,M,A,e,w[0],w[1])}if(a)break}}return a}},o.PathUtil);e.default=g},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=r(n(458)),s=r(n(456)),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr().points,l=!1;return n&&(l=(0,o.default)(a,i,t,e,!0)),!l&&r&&(l=(0,s.default)(a,t,e)),l},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),o.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];(0,s.each)(e,function(a,s){e[s+1]&&((t=[])[0]=r/n,r+=o.Line.length(a[0],a[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(l.default);e.default=d},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(453),s=n(53),l=r(n(962)),u=r(n(963)),c=r(n(455)),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),o=a.x,f=a.y,d=a.width,p=a.height,h=a.radius;if(h){var g=!1;return n&&(g=(0,u.default)(o,f,d,p,h,i,t,e)),!g&&r&&(g=(0,c.default)(this,t,e)),g}var v=i/2;return r&&n?(0,s.inBox)(o-v,f-v,d+v,p+v,t,e):r?(0,s.inBox)(o,f,d,p,t,e):n?(0,l.default)(o,f,d,p,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,a=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,r,i,a);else{var l=(0,o.parseRadius)(s),u=l[0],c=l[1],f=l[2],d=l[3];t.moveTo(n+u,r),t.lineTo(n+i-c,r),0!==c&&t.arc(n+i-c,r+c,c,-Math.PI/2,0),t.lineTo(n+i,r+a-f),0!==f&&t.arc(n+i-f,r+a-f,f,0,Math.PI/2),t.lineTo(n+d,r+a),0!==d&&t.arc(n+d,r+a-d,d,Math.PI/2,Math.PI),t.lineTo(n,r+u),0!==u&&t.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),t.closePath()}},e}(a.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i,a,o,s){var l=a/2;return(0,r.inBox)(t-l,e-l,n,a,o,s)||(0,r.inBox)(t+n-l,e-l,a,i,o,s)||(0,r.inBox)(t+l,e+i-l,n,a,o,s)||(0,r.inBox)(t-l,e+l,a,i,o,s)};var r=n(53)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o,s,l,u){return(0,i.default)(t+o,e,t+n-o,e,s,l,u)||(0,i.default)(t+n,e+o,t+n,e+r-o,s,l,u)||(0,i.default)(t+n-o,e+r,t+o,e+r,s,l,u)||(0,i.default)(t,e+r-o,t,e+o,s,l,u)||(0,a.default)(t+n-o,e+o,o,1.5*Math.PI,2*Math.PI,s,l,u)||(0,a.default)(t+n-o,e+r-o,o,0,.5*Math.PI,s,l,u)||(0,a.default)(t+o,e+r-o,o,.5*Math.PI,Math.PI,s,l,u)||(0,a.default)(t+o,e+o,o,Math.PI,1.5*Math.PI,s,l,u)};var i=r(n(189)),a=r(n(457))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53),s=n(26),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=(0,s.assembleFont)(t)},e.prototype._setText=function(t){var e=null;(0,o.isString)(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,a=i.textBaseline,l=i.x,u=i.y,c=1*i.fontSize,f=this._getSpaceingY(),d=(0,s.getTextHeight)(i.text,i.fontSize,i.lineHeight);(0,o.each)(e,function(e,i){r=u+i*(f+c)-d+c,"middle"===a&&(r+=d-c-(d-c)/2),"top"===a&&(r+=d-c),(0,o.isNil)(e)||(n?t.fillText(e,l,r):t.strokeText(e,l,r))})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,a=this.get("textArr");if(a)this._drawTextArr(t,a,e);else{var s=n.text;(0,o.isNil)(s)||(e?t.fillText(s,r,i):t.strokeText(s,r,i))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,a=e.fillOpacity;this.isStroke()&&n>0&&((0,o.isNil)(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&((0,o.isNil)(a)||1===a?this.fill(t):(t.globalAlpha=a,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(966),l=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(147)),u=r(n(273)),c=n(53),f=n(148);function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){("attr"===t||"sort"===t||"changeSize"===t)&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u.default},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||(0,c.getPixelRatio)();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),a=this.getPixelRatio();i.width=a*e,i.height=a*n,a>1&&r.scale(a,a)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?(0,s.getShape)(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=(0,f.getMergedRegion)(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=(0,f.mergeView)(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&((0,c.clearAnimationFrame)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),(0,f.applyAttrsToContext)(t,this),(0,f.drawChildren)(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),(0,f.applyAttrsToContext)(t,this),(0,f.checkRefresh)(this,n,r),(0,f.drawChildren)(t,n,r),t.restore()):e.length&&(0,f.clearChanged)(e),(0,c.each)(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=(0,c.requestAnimationFrame)(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(o.AbstractCanvas);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShape=function t(e,n,r){if(!a(e,n,r))return null;for(var o=null,s=e.getChildren(),l=s.length,u=l-1;u>=0;u--){var c=s[u];if(c.isGroup())o=t(c,n,r);else if(a(c,n,r)){var f=i(c,n,r),d=f[0],p=f[1];c.isInShape(d,p)&&(o=c)}if(o)break}return o};var r=n(26);function i(t,e,n){var i=t.getTotalMatrix();if(i){var a=function(t,e){if(e){var n=(0,r.invert)(e);return(0,r.multiplyVec2)(n,t)}return t}([e,n,1],i);return[a[0],a[1]]}return[e,n]}function a(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!(0,r.isAllowCapture)(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var a=i(t,e,n),o=a[0],s=a[1];if(t.isClipped(o,s))return!1}var l=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=l.minX&&e<=l.maxX&&n>=l.minY&&n<=l.maxY}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if((0,a.each)(e||n,function(t,e){o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)}),"function"==typeof n.html){var i=n.html.call(this,n);if(i instanceof Element||i instanceof HTMLDocument){for(var s=r.childNodes,l=s.length-1;l>=0;l--)r.removeChild(s[l]);r.appendChild(i)}else r.innerHTML=i}else r.innerHTML=n.html},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");(0,a.each)(e||r,function(t,e){"img"===e?n._setImage(r.img):o.SVG_ATTR_MAP[e]&&i.setAttribute(o.SVG_ATTR_MAP[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if((0,a.isString)(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&(0,a.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(38),o=n(0),s=n(54),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,o.each)(e||n,function(e,i){if("startArrow"===i||"endArrow"===i){if(e){var a=(0,o.isObject)(e)?t.addArrow(n,s.SVG_ATTR_MAP[i]):t.getDefaultArrow(n,s.SVG_ATTR_MAP[i]);r.setAttribute(s.SVG_ATTR_MAP[i],"url(#"+a+")")}else r.removeAttribute(s.SVG_ATTR_MAP[i])}else s.SVG_ATTR_MAP[i]&&r.setAttribute(s.SVG_ATTR_MAP[i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return a.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return a.Line.pointAt(n,r,i,o,t)},e}(r(n(63)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(63)),s=r(n(973)),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return(0,a.isArray)(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return(t=(0,a.isFunction)(o)?o:s.default.get(o))?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=s.default,e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,-(2*n),0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}};e.default={get:function(t){return r[t]},register:function(t,e){r[t]=e},remove:function(t){delete r[t]},getAll:function(){return r}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");(0,a.each)(e||r,function(e,s){if("path"===s&&(0,a.isArray)(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s){if(e){var l=(0,a.isObject)(e)?t.addArrow(r,o.SVG_ATTR_MAP[s]):t.getDefaultArrow(r,o.SVG_ATTR_MAP[s]);i.setAttribute(o.SVG_ATTR_MAP[s],"url(#"+l+")")}else i.removeAttribute(o.SVG_ATTR_MAP[s])}else o.SVG_ATTR_MAP[s]&&i.setAttribute(o.SVG_ATTR_MAP[s],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"points"===e&&(0,a.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(38),o=n(0),s=n(54),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,o.each)(e||n,function(t,e){"points"===e&&(0,o.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):s.SVG_ATTR_MAP[e]&&r.setAttribute(s.SVG_ATTR_MAP[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return(0,o.isNil)(e)?(this.set("totalLength",a.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),(0,o.each)(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),a.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];(0,o.each)(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=a.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r(n(63)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(63)),s=n(54),l=n(978),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,l=["x","y","width","height","radius"];(0,a.each)(e||r,function(t,e){-1===l.indexOf(e)||o?-1===l.indexOf(e)&&s.SVG_ATTR_MAP[e]&&i.setAttribute(s.SVG_ATTR_MAP[e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var s=(0,l.parseRadius)(o);return(0,a.isArray)(o)?1===o.length?s.r1=s.r2=s.r3=s.r4=o[0]:2===o.length?(s.r1=s.r3=o[0],s.r2=s.r4=o[1]):3===o.length?(s.r1=o[0],s.r2=s.r4=o[1],s.r3=o[2]):(s.r1=o[0],s.r2=o[1],s.r3=o[2],s.r4=o[3]):s.r1=s.r2=s.r3=s.r4=o,[["M "+(e+s.r1)+","+n],["l "+(r-s.r1-s.r2)+",0"],["a "+s.r2+","+s.r2+",0,0,1,"+s.r2+","+s.r2],["l 0,"+(i-s.r2-s.r3)],["a "+s.r3+","+s.r3+",0,0,1,"+-s.r3+","+s.r3],["l "+(s.r3+s.r4-r)+",0"],["a "+s.r4+","+s.r4+",0,0,1,"+-s.r4+","+-s.r4],["l 0,"+(s.r4+s.r1-i)],["a "+s.r1+","+s.r1+",0,0,1,"+s.r1+","+-s.r1],["z"]].join(" ")},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=function(t){return(t=t||[],(0,r.isArray)(t))?t:(0,r.isString)(t)?(t=t.match(i),(0,r.each)(t,function(e,n){if((e=e.match(a))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}(0,r.each)(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0},e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return(0,r.isArray)(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,{r1:e,r2:n,r3:i,r4:a}};var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(242),s=n(149),l=n(54),u=r(n(63)),c={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},f={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},d={left:"left",start:"left",center:"middle",right:"end",end:"end"},p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),(0,a.each)(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?(0,s.setTransform)(n):l.SVG_ATTR_MAP[e]&&i.setAttribute(l.SVG_ATTR_MAP[e],t)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=(0,o.detect)();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",f[n]||"alphabetic"):t.setAttribute("alignment-baseline",c[n]||"baseline"),t.setAttribute("text-anchor",d[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t){if(~t.indexOf("\n")){var s=t.split("\n"),l=s.length-1,u="";(0,a.each)(s,function(t,e){0===e?"alphabetic"===o?u+=''+t+"":"top"===o?u+=''+t+"":"middle"===o?u+=''+t+"":"bottom"===o?u+=''+t+"":"hanging"===o&&(u+=''+t+""):u+=''+t+""}),e.innerHTML=u}else e.innerHTML=t}else e.innerHTML=""},e}(u.default);e.default=p},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(54),l=n(274),u=n(149),c=n(74),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190)),d=r(n(275)),p=r(n(981));function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}var g=function(t){function e(e){return t.call(this,(0,a.__assign)((0,a.__assign)({},e),{autoDraw:!0,renderer:"svg"}))||this}return(0,a.__extends)(e,t),e.prototype.getShapeBase=function(){return f},e.prototype.getGroupBase=function(){return d.default},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!s.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!s.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find(function(t){return t.get("el")===r})},e.prototype.createDom=function(){var t=(0,c.createSVGElement)("svg"),e=new p.default(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&(0,c.sortDom)(this,function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0})}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?(0,u.setTransform)(this):"clip"===t?(0,u.setClip)(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();(0,u.setClip)(this,t),e.length&&(0,l.drawChildren)(t,e)},e}(o.AbstractCanvas);e.default=g},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(0),a=r(n(982)),o=r(n(983)),s=r(n(984)),l=r(n(985)),u=r(n(986)),c=n(74),f=function(){function t(t){var e=(0,c.createSVGElement)("defs"),n=(0,i.uniqueId)("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i'}),n}var u=function(){function t(t){this.cfg={};var e,n,s,u,c,f,d,p,h,g,v,y,m,b,x,_,O=null,P=(0,r.uniqueId)("gradient_");return"l"===t.toLowerCase()[0]?(e=O=(0,i.createSVGElement)("linearGradient"),u=a.exec(t),c=(0,r.mod)((0,r.toRadian)(parseFloat(u[1])),2*Math.PI),f=u[2],c>=0&&c<.5*Math.PI?(n={x:0,y:0},s={x:1,y:1}):.5*Math.PI<=c&&c';e.innerHTML=n},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=function(){function t(t,e){this.cfg={};var n=(0,i.createSVGElement)("marker"),a=(0,r.uniqueId)("marker_");n.setAttribute("id",a);var o=(0,i.createSVGElement)("path");o.setAttribute("stroke",t.stroke||"none"),o.setAttribute("fill",t.fill||"none"),n.appendChild(o),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=o,this.id=a;var s=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===s?this._setDefaultPath(e,o):(this.cfg=s,this._setMarker(t.lineWidth,o)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,a=this.cfg.d;(0,r.isArray)(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),a&&n.setAttribute("refX",""+a/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=function(){function t(t){this.type="clip",this.cfg={};var e=(0,i.createSVGElement)("clipPath");this.el=e,this.id=(0,r.uniqueId)("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,o=function(){function t(t){this.cfg={};var e=(0,i.createSVGElement)("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=(0,i.createSVGElement)("image");e.appendChild(n);var o=(0,r.uniqueId)("pattern_");e.id=o,this.el=e,this.id=o,this.cfg=t;var s=a.exec(t)[2];n.setAttribute("href",s);var l=new Image;function u(){e.setAttribute("width",""+l.width),e.setAttribute("height",""+l.height)}return s.match(/^data:/i)||(l.crossOrigin="Anonymous"),l.src=s,l.complete?u():(l.onload=u,l.src=l.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(270),o=n(33),s=n(150),l=(0,i.registerShapeFactory)("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return(0,s.getRectPoints)(t)}});(0,i.registerShape)("interval","rect",{draw:function(t,e){var n,i=(0,o.getStyle)(t,!1,!0),l=e,u=null==t?void 0:t.background;if(u){l=e.addGroup();var c=(0,o.getBackgroundRectStyle)(t),f=(0,s.getBackgroundRectPath)(t,this.parsePoints(t.points),this.coordinate);l.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},c),{path:f}),zIndex:-1,name:a.BACKGROUND_SHAPE})}n=i.radius&&this.coordinate.isRect?(0,s.getRectWithCornerRadius)(this.parsePoints(t.points),this.coordinate,i.radius):this.parsePath((0,s.getIntervalRectPath)(t.points,i.lineCap,this.coordinate));var d=l.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:n}),name:"interval"});return u?l:d},getMarker:function(t){var e=t.color;return t.isInPolar?{symbol:"circle",style:{r:4.5,fill:e}}:{symbol:"square",style:{r:4,fill:e}}}}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(146),a=n(27),o=n(277),s=n(280),l=(0,a.registerShapeFactory)("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(t){return(0,o.splitPoints)(t)}});(0,r.each)(s.SHAPES,function(t){(0,a.registerShape)("point","hollow-"+t,{draw:function(e,n){return(0,s.drawPoints)(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:i.MarkerSymbols[t]||t,style:{r:4.5,stroke:n,fill:null}}}})}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(48),s=n(279),l=(0,r.__importDefault)(n(91));n(990);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="violin",e.shapeType="violin",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),l=this.getAttribute("size");if(l){n=this.getAttributeValues(l,e)[0];var u=this.coordinate;n/=(0,o.getXDimensionLength)(u)}else this.defaultSize||(this.defaultSize=(0,s.getDefaultSize)(this)),n=this.defaultSize;return r.size=n,r._size=(0,i.get)(e[a.FIELD_ORIGIN],[this._sizeField]),r},e.prototype.initAttributes=function(){var e=this.attributeOption,n=e.size?e.size.fields[0]:this._sizeField?this._sizeField:"size";this._sizeField=n,delete e.size,t.prototype.initAttributes.call(this)},e}(l.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(115),s=n(33),l=(0,a.registerShapeFactory)("violin",{defaultShapeType:"violin",getDefaultPoints:function(t){var e=t.size/2,n=[],r=function(t){if(!(0,i.isArray)(t))return[];var e=(0,i.max)(t);return(0,i.map)(t,function(t){return t/e})}(t._size);return(0,i.each)(t.y,function(i,a){var o=r[a]*e,s=0===a,l=a===t.y.length-1;n.push({isMin:s,isMax:l,x:t.x-o,y:i}),n.unshift({isMin:s,isMax:l,x:t.x+o,y:i})}),n}});(0,a.registerShape)("violin","violin",{draw:function(t,e){var n=(0,s.getStyle)(t,!0,!0),i=this.parsePath((0,o.getViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i}),name:"violin"})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:t.color}}}}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","line",{draw:function(t,e){var n=(0,i.getShapeAttrs)(t,!0,!1,this);return e.addShape({type:"path",attrs:n,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","smooth",{draw:function(t,e){var n=this.coordinate,r=(0,i.getShapeAttrs)(t,!1,!0,this,(0,i.getConstraint)(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","smooth-line",{draw:function(t,e){var n=this.coordinate,r=(0,i.getShapeAttrs)(t,!0,!0,this,(0,i.getConstraint)(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(46),a=n(27),o=n(33),s=n(464);(0,a.registerShape)("edge","arc",{draw:function(t,e){var n,a=(0,o.getStyle)(t,!0,!1,"lineWidth"),l=t.points,u=l.length>2?"weight":"normal";if(t.isInCircle){var c,f,d,p,h,g,v,y,m={x:0,y:1};return"normal"===u?(c=l[0],f=l[1],d=(0,s.getQPath)(f,m),(p=[["M",c.x,c.y]]).push(d),n=p):(a.fill=a.stroke,h=l,g=(0,s.getQPath)(h[1],m),v=(0,s.getQPath)(h[3],m),(y=[["M",h[0].x,h[0].y]]).push(v),y.push(["L",h[3].x,h[3].y]),y.push(["L",h[2].x,h[2].y]),y.push(g),y.push(["L",h[1].x,h[1].y]),y.push(["L",h[0].x,h[0].y]),y.push(["Z"]),n=y),n=this.parsePath(n),e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})})}if("normal"===u)return l=this.parsePoints(l),n=(0,i.getArcPath)((l[1].x+l[0].x)/2,l[0].y,Math.abs(l[1].x-l[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})});var b=(0,s.getCPath)(l[1],l[3]),x=(0,s.getCPath)(l[2],l[0]);return n=[["M",l[0].x,l[0].y],["L",l[1].x,l[1].y],b,["L",l[3].x,l[3].y],["L",l[2].x,l[2].y],x,["Z"]],n=this.parsePath(n),a.fill=a.stroke,e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(33),o=n(464);(0,i.registerShape)("edge","smooth",{draw:function(t,e){var n,i,s,l,u=(0,a.getStyle)(t,!0,!1,"lineWidth"),c=t.points,f=this.parsePath((n=c[0],i=c[1],s=(0,o.getCPath)(n,i),(l=[["M",n.x,n.y]]).push(s),l));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},u),{path:f})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(33),s=1/3;(0,a.registerShape)("edge","vhv",{draw:function(t,e){var n,a,l,u,c=(0,o.getStyle)(t,!0,!1,"lineWidth"),f=t.points,d=this.parsePath((n=f[0],a=f[1],(l=[]).push({x:n.x,y:n.y*(1-s)+a.y*s}),l.push({x:a.x,y:n.y*(1-s)+a.y*s}),l.push(a),u=[["M",n.x,n.y]],(0,i.each)(l,function(t){u.push(["L",t.x,t.y])}),u));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},c),{path:d})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(115),o=n(33);(0,i.registerShape)("violin","smooth",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!0),i=this.parsePath((0,a.getSmoothViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{stroke:null,r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(115),o=n(33);(0,i.registerShape)("violin","hollow",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!1),i=this.parsePath((0,a.getViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:null,stroke:t.color}}}}),(0,i.registerShape)("violin","hollow-smooth",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!1),i=this.parsePath((0,a.getSmoothViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:null,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieOuterLabelLayout=void 0;var r=n(0),i=n(46),a=n(476);e.pieOuterLabelLayout=function(t,e,n,o){var s=(0,r.filter)(t,function(t){return!(0,r.isNil)(t)}),l=e[0]&&e[0].get("coordinate");if(l){for(var u=l.getCenter(),c=l.getRadius(),f={},d=0;dn&&(t.sort(function(t,e){return e.percent-t.percent}),(0,r.each)(t,function(t,e){e+1>n&&(f[t.id].set("visible",!1),t.invisible=!0)})),(0,a.antiCollision)(t,h,O)}),(0,r.each)(y,function(t,e){(0,r.each)(t,function(t){var n=e===v,a=f[t.id].getChildByIndex(0);if(a){var o=c+g,s=t.y-u.y,d=Math.pow(o,2),p=Math.pow(s,2),h=Math.sqrt(d-p>0?d-p:0),y=Math.abs(Math.cos(t.angle)*o);n?t.x=u.x+Math.max(h,y):t.x=u.x-Math.max(h,y)}a&&(a.attr("y",t.y),a.attr("x",t.x)),function(t,e){var n=e.getCenter(),a=e.getRadius();if(t&&t.labelLine){var o=t.angle,s=t.offset,l=(0,i.polarToCartesian)(n.x,n.y,a,o),u=t.x+(0,r.get)(t,"offsetX",0)*(Math.cos(o)>0?1:-1),c=t.y+(0,r.get)(t,"offsetY",0)*(Math.sin(o)>0?1:-1),f={x:u-4*Math.cos(o),y:c-4*Math.sin(o)},d=t.labelLine.smooth,p=[],h=f.x-n.x,g=Math.atan((f.y-n.y)/h);if(h<0&&(g+=Math.PI),!1===d){(0,r.isObject)(t.labelLine)||(t.labelLine={});var v=0;(o<0&&o>-Math.PI/2||o>1.5*Math.PI)&&f.y>l.y&&(v=1),o>=0&&ol.y&&(v=1),o>=Math.PI/2&&of.y&&(v=1),(o<-Math.PI/2||o>=Math.PI&&o<1.5*Math.PI)&&l.y>f.y&&(v=1);var y=s/2>4?4:Math.max(s/2-1,0),m=(0,i.polarToCartesian)(n.x,n.y,a+y,o),b=(0,i.polarToCartesian)(n.x,n.y,a+s/2,g);p.push("M "+l.x+" "+l.y),p.push("L "+m.x+" "+m.y),p.push("A "+n.x+" "+n.y+" 0 0 "+v+" "+b.x+" "+b.y),p.push("L "+f.x+" "+f.y)}else{var m=(0,i.polarToCartesian)(n.x,n.y,a+(s/2>4?4:Math.max(s/2-1,0)),o),x=l.x11253517471925921e-23&&p.push.apply(p,["C",f.x+4*x,f.y,2*m.x-l.x,2*m.y-l.y,l.x,l.y]),p.push("L "+l.x+" "+l.y)}t.labelLine.path=p.join(" ")}}(t,l)})})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieSpiderLabelLayout=void 0;var r=n(0),i=n(46),a=n(476),o=n(114);e.pieSpiderLabelLayout=function(t,e,n,s){var l=e[0]&&e[0].get("coordinate");if(l){for(var u=l.getCenter(),c=l.getRadius(),f={},d=0;du.x||t.x===u.x&&t.y>u.y,n=(0,r.isNil)(t.offsetX)?4:t.offsetX,a=(0,i.polarToCartesian)(u.x,u.y,c+4,t.angle);t.x=u.x+(e?1:-1)*(c+(g+n)),t.y=a.y}});var v=l.start,y=l.end,m="right",b=(0,r.groupBy)(t,function(t){return t.xx&&(x=Math.min(e,Math.abs(v.y-y.y)))});var _={minX:v.x,maxX:y.x,minY:u.y-x/2,maxY:u.y+x/2};(0,r.each)(b,function(t,e){var n=x/h;t.length>n&&(t.sort(function(t,e){return e.percent-t.percent}),(0,r.each)(t,function(t,e){e>n&&(f[t.id].set("visible",!1),t.invisible=!0)})),(0,a.antiCollision)(t,h,_)});var O=_.minY,P=_.maxY;(0,r.each)(b,function(t,e){var n=e===m;(0,r.each)(t,function(t){var e=(0,r.get)(f,t&&[t.id]);if(e){if(t.yP){e.set("visible",!1);return}var a=e.getChildByIndex(0),s=a.getCanvasBBox(),u={x:n?s.x:s.maxX,y:s.y+s.height/2};(0,o.translate)(a,t.x-u.x,t.y-u.y),t.labelLine&&function(t,e,n){var a=e.getCenter(),o=e.getRadius(),s={x:t.x-(n?4:-4),y:t.y},l=(0,i.polarToCartesian)(a.x,a.y,o+4,t.angle),u={x:s.x,y:s.y},c={x:l.x,y:l.y},f=(0,i.polarToCartesian)(a.x,a.y,o,t.angle),d="";if(s.y!==l.y){var p=n?4:-4;u.y=s.y,t.angle<0&&t.angle>=-Math.PI/2&&(u.x=Math.max(l.x,s.x-p),s.y0&&t.anglel.y?c.y=u.y:(c.y=l.y,c.x=Math.max(c.x,u.x-p))),t.angle>Math.PI/2&&(u.x=Math.min(l.x,s.x-p),s.y>l.y?c.y=u.y:(c.y=l.y,c.x=Math.min(c.x,u.x-p))),t.angle<-Math.PI/2&&(u.x=Math.min(l.x,s.x-p),s.y4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]};return[e(t[0],t[1]),e(t[1],t[2])]}function s(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var r=t.x,i=t.y;return{x:(r-n.x)*Math.cos(-e)+(i-n.y)*Math.sin(-e)+n.x,y:(n.x-r)*Math.sin(-e)+(i-n.y)*Math.cos(-e)+n.y}}function l(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[s(e[0],n,e[0]),s(e[1],n,e[0]),s(e[2],n,e[0]),s(e[3],n,e[0])]:e}function u(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(a([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function c(t){return(0,i.isNumber)(t)&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0}function f(t){return Object.values(t).every(c)}function d(t,e,n){return void 0===n&&(n=0),!(e.x>t.x+t.width+n||e.x+e.widtht.y+t.height+n||e.y+e.heighth.min)||!(p.min=l.height:u.width>=l.width}))&&n.forEach(function(t,n){var a,o,l,u=e[n];a=s.coordinate,o=r.BBox.fromObject(t.getBBox()),l=(0,i.findLabelTextShape)(u),a.isTransposed?l.attr({x:o.minX+o.width/2,textAlign:"center"}):l.attr({y:o.minY+o.height/2,textBaseline:"middle"})})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intervalHideOverlap=void 0;var r=n(0),i=n(113);e.intervalHideOverlap=function(t,e,n){if(0!==n.length){var a,o,s,l=null===(s=n[0])||void 0===s?void 0:s.get("element"),u=null==l?void 0:l.geometry;if(u&&"interval"===u.type){var c=(a=[],o=Math.max(Math.floor(e.length/500),1),(0,r.each)(e,function(t,e){e%o==0?a.push(t):t.set("visible",!1)}),a),f=u.getXYFields()[0],d=[],p=[],h=(0,r.groupBy)(c,function(t){return t.get("data")[f]}),g=(0,r.uniq)((0,r.map)(c,function(t){return t.get("data")[f]}));c.forEach(function(t){t.set("visible",!0)});var v=function(t){t&&(t.length&&p.push(t.pop()),p.push.apply(p,t))};for((0,r.size)(g)>0&&v(h[g.shift()]),(0,r.size)(g)>0&&v(h[g.pop()]),(0,r.each)(g.reverse(),function(t){v(h[t])});p.length>0;){var y=p.shift();y.get("visible")&&((0,i.checkShapeOverlap)(y,d)?y.set("visible",!1):d.push(y))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pointAdjustPosition=void 0;var r=n(0),i=n(113);function a(t,e,n){return t.some(function(t){return n(t,e)})}function o(t,e){return a(t,e,function(t,e){var n,r,a=(0,i.findLabelTextShape)(t),o=(0,i.findLabelTextShape)(e);return n=a.getCanvasBBox(),r=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,r.x+r.width+2)-Math.max(n.x-2,r.x-2))*Math.max(0,Math.min(n.y+n.height+2,r.y+r.height+2)-Math.max(n.y-2,r.y-2))>0})}e.pointAdjustPosition=function(t,e,n,s,l){if(0!==n.length){var u,c,f=null===(u=n[0])||void 0===u?void 0:u.get("element"),d=null==f?void 0:f.geometry;if(d&&"point"===d.type){var p=d.getXYFields(),h=p[0],g=p[1],v=(0,r.groupBy)(e,function(t){return t.get("data")[h]}),y=[],m=l&&l.offset||(null===(c=t[0])||void 0===c?void 0:c.offset)||12;(0,r.map)((0,r.keys)(v).reverse(),function(t){for(var e,n,r,s,l=(e=v[t],n=d.getXYFields()[1],r=[],(s=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&r.push(s.shift()),s.length>0&&r.push(s.pop()),r.push.apply(r,s),r);l.length;){var u=l.shift(),c=(0,i.findLabelTextShape)(u);if(a(y,u,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[g]===e.get("data")[g]})){c.set("visible",!1);continue}var f=o(y,u),p=!1;if(f&&(c.attr("y",c.attr("y")+2*m),p=o(y,u)),p){c.set("visible",!1);continue}y.push(u)}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pathAdjustPosition=void 0;var r=n(0),i=n(113);function a(t,e,n){return t.some(function(t){return n(t,e)})}function o(t,e){return a(t,e,function(t,e){var n,r,a=(0,i.findLabelTextShape)(t),o=(0,i.findLabelTextShape)(e);return n=a.getCanvasBBox(),r=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,r.x+r.width+2)-Math.max(n.x-2,r.x-2))*Math.max(0,Math.min(n.y+n.height+2,r.y+r.height+2)-Math.max(n.y-2,r.y-2))>0})}e.pathAdjustPosition=function(t,e,n,s,l){if(0!==n.length){var u,c,f=null===(u=n[0])||void 0===u?void 0:u.get("element"),d=null==f?void 0:f.geometry;if(!(!d||0>["path","line","area"].indexOf(d.type))){var p=d.getXYFields(),h=p[0],g=p[1],v=(0,r.groupBy)(e,function(t){return t.get("data")[h]}),y=[],m=l&&l.offset||(null===(c=t[0])||void 0===c?void 0:c.offset)||12;(0,r.map)((0,r.keys)(v).reverse(),function(t){for(var e,n,r,s,l=(e=v[t],n=d.getXYFields()[1],r=[],(s=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&r.push(s.shift()),s.length>0&&r.push(s.pop()),r.push.apply(r,s),r);l.length;){var u=l.shift(),c=(0,i.findLabelTextShape)(u);if(a(y,u,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[g]===e.get("data")[g]})){c.set("visible",!1);continue}var f=o(y,u),p=!1;if(f&&(c.attr("y",c.attr("y")+2*m),p=o(y,u)),p){c.set("visible",!1);continue}y.push(u)}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=void 0;var r=n(0),i=n(48),a=n(1010),o=n(114);e.limitInPlot=function(t,e,n,s,l){if(!(e.length<=0)){var u=(null==l?void 0:l.direction)||["top","right","bottom","left"],c=(null==l?void 0:l.action)||"translate",f=(null==l?void 0:l.margin)||0,d=e[0].get("coordinate");if(d){var p=(0,i.getCoordinateBBox)(d,f),h=p.minX,g=p.minY,v=p.maxX,y=p.maxY;(0,r.each)(e,function(t){var e=t.getCanvasBBox(),n=e.minX,i=e.minY,s=e.maxX,l=e.maxY,f=e.x,d=e.y,p=e.width,m=e.height,b=f,x=d;if(u.indexOf("left")>=0&&(n=0&&(i=0&&(n>v?b=v-p:s>v&&(b-=s-v)),u.indexOf("bottom")>=0&&(i>y?x=y-m:l>y&&(x-=l-y)),b!==f||x!==d){var _=b-f;"translate"===c?(0,o.translate)(t,_,x-d):"ellipsis"===c?t.findAll(function(t){return"text"===t.get("type")}).forEach(function(t){var e=(0,r.pick)(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),i=(0,a.getEllipsisText)(t.attr("text"),n.width-Math.abs(_),e);t.attr("text",i)}):t.hide()}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEllipsisText=e.measureTextWidth=void 0;var r=n(1),i=n(0),a=n(1011);e.measureTextWidth=(0,i.memoize)(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,o=e.fontWeight,s=e.fontStyle,l=e.fontVariant,u=(0,a.getCanvasContext)();return u.font=[s,l,o,n+"px",r].join(" "),u.measureText((0,i.isString)(t)?t:"").width},function(t,e){return void 0===e&&(e={}),(0,r.__spreadArray)([t],(0,i.values)(e),!0).join("")}),e.getEllipsisText=function(t,n,r){var a,o,s,l=(0,e.measureTextWidth)("...",r);a=(0,i.isString)(t)?t:(0,i.toString)(t);var u=n,c=[];if((0,e.measureTextWidth)(t,r)<=n)return t;for(;o=a.substr(0,16),!((s=(0,e.measureTextWidth)(o,r))+l>u)||!(s>u);)if(c.push(o),u-=s,!(a=a.substr(16)))return c.join("");for(;o=a.substr(0,1),!((s=(0,e.measureTextWidth)(o,r))+l>u);)if(c.push(o),u-=s,!(a=a.substr(1)))return c.join("");return c.join("")+"..."}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasContext=void 0,e.getCanvasContext=function(){return r||(r=document.createElement("canvas").getContext("2d")),r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showGrid=e.getCircleGridItems=e.getLineGridItems=e.getGridThemeCfg=void 0;var r=n(0);e.getGridThemeCfg=function(t,e){var n=(0,r.deepMix)({},(0,r.get)(t,["components","axis","common"]),(0,r.get)(t,["components","axis",e]));return(0,r.get)(n,["grid"],{})},e.getLineGridItems=function(t,e,n,r){var i=[],a=e.getTicks();return t.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(e,a,o){var s=a.value;if(r)i.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(o){var l=(e.value+s)/2;i.push({points:[t.convert("y"===n?{x:0,y:l}:{x:l,y:0}),t.convert("y"===n?{x:1,y:l}:{x:l,y:1})]})}return a},a[0]),i},e.getCircleGridItems=function(t,e,n,i,a){var o=e.values.length,s=[],l=n.getTicks();return l.reduce(function(e,n){var l=e?e.value:n.value,u=n.value,c=(l+u)/2;return"x"===a?s.push({points:[t.convert({x:i?u:c,y:0}),t.convert({x:i?u:c,y:1})]}):s.push({points:(0,r.map)(Array(o+1),function(e,n){return t.convert({x:n/o,y:i?u:c})})}),n},l[0]),s},e.showGrid=function(t,e){var n=(0,r.get)(e,"grid");if(null===n)return!1;var i=(0,r.get)(t,"grid");return!(void 0===n&&null===i)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(104),a=n(69),o=n(80),s=n(282),l=n(21),u=n(0),c=n(70),f=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=u.noop,n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,r=n.getValidScrollbarCfg().animate;n.ratio=(0,u.clamp)(e,0,1);var i=n.view.getOptions().animate;r||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(i)},n.container=n.view.getLayer(l.LAYER.FORE).addGroup(),n.onChangeFn=(0,u.throttle)(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),i=this.scrollbar.component.getLayoutBBox(),a=new o.BBox(i.x,i.y,Math.min(i.width,e),i.height).expand(n),u=this.getScrollbarComponentCfg(),c=void 0,f=void 0;if(u.isHorizontal){var d=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.BOTTOM),p=d[0],h=d[1],g=(0,s.directionToPosition)(this.view.coordinateBBox,a,l.DIRECTION.BOTTOM),v=g[0],y=g[1];c=v,f=h}else{var m=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.RIGHT),p=m[0],h=m[1],b=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.RIGHT),v=b[0],y=b[1];c=v,f=h}c+=n[3],f+=n[0],this.trackLen?this.scrollbar.component.update((0,r.__assign)((0,r.__assign)({},u),{x:c,y:f,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update((0,r.__assign)((0,r.__assign)({},u),{x:c,y:f})),this.view.viewBBox=this.view.viewBBox.cut(a,u.isHorizontal?l.DIRECTION.BOTTOM:l.DIRECTION.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,u.get)(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var e=(0,u.get)(this.view.getTheme(),["components","scrollbar"]),n=t||{},i=n.thumbHighlightColor,a=(0,r.__rest)(n,["thumbHighlightColor"]);return{default:(0,u.deepMix)({},(0,u.get)(e,["default","style"],{}),a),hover:(0,u.deepMix)({},(0,u.get)(e,["hover","style"],{}),{thumbColor:i})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),r=n.trackLen,i=n.thumbLen;this.trackLen=r,this.thumbLen=i,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*(0,u.clamp)(this.ratio,0,1)),e=Math.min(t+this.step-1,this.cnt-1);return[t,e]},e.prototype.changeViewData=function(t,e){var n=this,r=t[0],i=t[1],a=this.getValidScrollbarCfg().type,o=(0,u.valuesOfKey)(this.data,this.xScaleCfg.field),s="vertical"!==a?o:o.reverse();this.yScalesCfg.forEach(function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})}),this.view.filter(this.xScaleCfg.field,function(t){var e=s.indexOf(t);return!(e>-1)||(0,c.isBetween)(e,r,i)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e=new a.Scrollbar((0,r.__assign)((0,r.__assign)({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return e.init(),{component:e,layer:l.LAYER.FORE,direction:"vertical"!==t?l.DIRECTION.BOTTOM:l.DIRECTION.RIGHT,type:l.COMPONENT_TYPE.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?(0,r.__assign)((0,r.__assign)({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):(0,r.__assign)({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,r=e.categorySize;return Math.floor(("vertical"!==n?t.width:t.height)/r)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.getScrollbarData(),n=(0,u.valuesOfKey)(e,t.field);return(0,u.size)(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,i=this.getValidScrollbarCfg(),a=i.type,o=i.padding,s=i.width,l=i.height,c=i.style,f="vertical"!==a,d=o[0],p=o[1],h=o[2],g=o[3],v=f?{x:e.minX+g,y:n.maxY-l-h}:{x:n.maxX-s-p,y:e.minY+d},y=this.getStep(),m=this.getCnt(),b=f?e.width-g-p:e.height-d-h,x=Math.max(b*(0,u.clamp)(y/m,0,1),20);return(0,r.__assign)((0,r.__assign)({},this.getThemeOptions()),{x:v.x,y:v.y,size:f?l:s,isHorizontal:f,trackLen:b,thumbLen:x,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:32,width:8,height:8,padding:[0,0,0,0],animate:!0,style:{}};return(0,u.isObject)(this.option)&&(t=(0,r.__assign)((0,r.__assign)({},t),this.option)),(0,u.isObject)(this.option)&&this.option.padding||(t.padding=(t.type,[0,0,0,0])),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),e=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect("y")&&"vertical"===e.type&&(n=(0,r.__spreadArray)([],n,!0).reverse()),n},e}(i.Controller);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearList=void 0;var r=n(0),i="inactive",a="active";e.clearList=function(t){var e=t.getItems();(0,r.each)(e,function(e){t.hasState(e,a)&&t.setItemState(e,a,!1),t.hasState(e,i)&&t.setItemState(e,i,!1)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(151)),o="unchecked",s="checked",l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=s,e}return(0,r.__extends)(e,t),e.prototype.setItemState=function(t,e,n){this.setCheckedBy(t,function(t){return t===e},n)},e.prototype.setCheckedBy=function(t,e,n){var r=t.getItems();n&&(0,i.each)(r,function(n){e(n)?(t.hasState(n,o)&&t.setItemState(n,o,!1),t.setItemState(n,s,!0)):t.hasState(n,s)||t.setItemState(n,o,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item;!(0,i.some)(e.getItems(),function(t){return e.hasState(t,o)})||e.hasState(n,o)?this.setItemState(e,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();(0,i.each)(t,function(t){t.clearItemsState(s),t.clearItemsState(o)})},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(31),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return(0,r.__extends)(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=(0,i.last)(this.points),n=0,r=0,o=0;if(t.length){var s=t[0];n=(0,a.distance)(s,e)/2,r=(e.x+s.x)/2,o=(e.y+s.y)/2}return{x:r,y:o,r:n}},e}((0,r.__importDefault)(n(288)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0);function a(t){t.x=(0,i.clamp)(t.x,0,1),t.y=(0,i.clamp)(t.y,0,1)}var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return(0,r.__extends)(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,r=this.dim,o=this.context.view.getCoordinate(),s=o.invert((0,i.head)(n)),l=o.invert((0,i.last)(n));return this.inPlot&&(a(s),a(l)),"x"===r?(t=o.convert({x:s.x,y:0}),e=o.convert({x:l.x,y:1})):(t=o.convert({x:0,y:s.y}),e=o.convert({x:1,y:l.y})),{start:t,end:e}},e}((0,r.__importDefault)(n(477)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(31),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getMaskPath=function(){var t=this.points;return(0,i.getSpline)(t,!0)},e}((0,r.__importDefault)(n(478)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(479)),o=n(31),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.filterView=function(t,e,n){var r=(0,o.getSilbings)(t);(0,i.each)(r,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=(0,o.getSilbings)(t);(0,i.each)(e,function(t){t.render(!0)})},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.filter=function(){var t=(0,o.getDelegationObject)(this.context),e=this.context.view,n=(0,o.getElements)(e);if((0,o.isMask)(this.context)){var r=(0,o.getMaskedElements)(this.context,10);r&&(0,i.each)(n,function(t){r.includes(t)?t.show():t.hide()})}else if(t){var a=t.component,s=a.get("field");if((0,o.isList)(t)){if(s){var l=a.getItemsByState("unchecked"),u=(0,o.getScaleByField)(e,s),c=l.map(function(t){return t.name});(0,i.each)(n,function(t){var e=(0,o.getElementValue)(t,s),n=u.getText(e);c.indexOf(n)>=0?t.hide():t.show()})}}else if((0,o.isSlider)(t)){var f=a.getValue(),d=f[0],p=f[1];(0,i.each)(n,function(t){var e=(0,o.getElementValue)(t,s);e>=d&&e<=p?t.show():t.hide()})}}},e.prototype.clear=function(){var t=(0,o.getElements)(this.context.view);(0,i.each)(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return(0,r.__extends)(e,t),e.prototype.filter=function(){(0,o.isMask)(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=(0,o.getMaskedElements)(this.context,10);if(e){var n=t.getXScale().field,r=t.getYScales()[0].field,a=e.map(function(t){return t.getModel().data}),s=(0,o.getSilbings)(t);(0,i.each)(s,function(t){var e=(0,o.getElements)(t);(0,i.each)(e,function(t){var e=t.getModel().data;(0,o.isInRecords)(a,e,n,r)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=(0,o.getSilbings)(e);(0,i.each)(n,function(e){var n=(0,o.getSiblingMaskElements)(t.context,e,10),r=(0,o.getElements)(e);n&&(0,i.each)(r,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=(0,o.getSilbings)(this.context.view);(0,i.each)(t,function(t){var e=(0,o.getElements)(t);(0,i.each)(e,function(t){t.show()})})},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(32),a=n(0),o=n(267),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return(0,r.__extends)(e,t),e.prototype.getButtonCfg=function(){return(0,a.deepMix)(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:(0,r.__assign)({text:t.text},t.textStyle)}).getBBox(),i=(0,o.parsePadding)(t.padding),a=e.addShape({type:"rect",name:"button-rect",attrs:(0,r.__assign)({x:n.x-i[3],y:n.y-i[0],width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},t.style)});a.toBack(),e.on("mouseenter",function(){a.attr(t.activeStyle)}),e.on("mouseleave",function(){a.attr(t.style)}),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.ext.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}((0,r.__importDefault)(n(44)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(44)),a=n(31),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return(0,r.__extends)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):(0,a.distance)(t,this.startPoint)>4&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(32),a=n(185),o=n(31),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return(0,r.__extends)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint();if((0,o.distance)(t,e)>5&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var n=this.context.view,r=i.ext.transform(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);n.backgroundGroup.setMatrix(r),n.foregroundGroup.setMatrix(r),n.middleGroup.setMatrix(r)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(a.Action);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return(0,r.__extends)(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;(0,i.each)(e,function(e){var n=t.getScale(e),r=n.min,i=n.max,a=n.values;t.startCache[e]={min:r,max:i,values:a}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),r=this.context.getCurrentPoint(),a=n.invert(e),o=n.invert(r),s=o.x-a.x,l=o.y-a.y,u=this.context.view,c=this.dims;(0,i.each)(c,function(e){t.translateDim(e,{x:-1*s,y:-1*l})}),u.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var r=this.context.view,i=this.startCache[t],a=i.min,o=i.max,s=n[t]*(o-a);this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:a,max:o}),r.scale(e.field,{nice:!1,min:a+s,max:o+s})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}((0,r.__importDefault)(n(480)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return(0,r.__extends)(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;(0,i.each)(n,function(n){e.zoomDim(n,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var r=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var i=this.cacheScaleDefs[t],a=i.max-i.min,o=e.min,s=e.max,l=n*a,u=o-l,c=s+l,f=(c-u)/a;c>u&&f<100&&f>.01&&r.scale(e.field,{nice:!1,min:o-l,max:s+l})},e}((0,r.__importDefault)(n(480)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.scroll=function(t){var e=this.context,n=e.view,r=e.event;if(n.getOptions().scrollbar){var a=(null==t?void 0:t.wheelDelta)||1,o=n.getController("scrollbar"),s=n.getXScale(),l=n.getOptions().data,u=(0,i.size)((0,i.valuesOfKey)(l,s.field)),c=(0,i.size)(s.values),f=Math.floor((u-c)*o.getValue())+(r.gEvent.originalEvent.deltaY>0?a:-a),d=a/(u-c)/1e4,p=(0,i.clamp)(f/(u-c)+d,0,1);o.setValue(p)}},e}(n(185).Action);e.default=a},function(t,e,n){"use strict";(function(t){var e=n(2)(n(6));/** @license React v0.25.1 + * react-reconciler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */t.exports=function r(i){var a,o,s,l,u,c=n(1030),f=n(3),d=n(1031);function p(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;ntR||(t.current=tk[tR],tk[tR]=null,tR--)}function tB(t,e){tk[++tR]=t.current,t.current=e}var tG={},tV={current:tG},tz={current:!1},tW=tG;function tY(t,e){var n=t.type.contextTypes;if(!n)return tG;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=a),a}function tH(t){return null!=(t=t.childContextTypes)}function tX(){tN(tz),tN(tV)}function tU(t,e,n){if(tV.current!==tG)throw Error(p(168));tB(tV,e),tB(tz,n)}function tq(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(p(108,j(e)||"Unknown",i));return c({},n,{},r)}function tZ(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||tG,tW=tV.current,tB(tV,t),tB(tz,tz.current),!0}function tK(t,e,n){var r=t.stateNode;if(!r)throw Error(p(169));n?(t=tq(t,e,tW),r.__reactInternalMemoizedMergedChildContext=t,tN(tz),tN(tV),tB(tV,t)):tN(tz),tB(tz,n)}var t$=d.unstable_runWithPriority,tQ=d.unstable_scheduleCallback,tJ=d.unstable_cancelCallback,t0=d.unstable_requestPaint,t1=d.unstable_now,t2=d.unstable_getCurrentPriorityLevel,t3=d.unstable_ImmediatePriority,t5=d.unstable_UserBlockingPriority,t4=d.unstable_NormalPriority,t6=d.unstable_LowPriority,t7=d.unstable_IdlePriority,t8={},t9=d.unstable_shouldYield,et=void 0!==t0?t0:function(){},ee=null,en=null,er=!1,ei=t1(),ea=1e4>ei?t1:function(){return t1()-ei};function eo(){switch(t2()){case t3:return 99;case t5:return 98;case t4:return 97;case t6:return 96;case t7:return 95;default:throw Error(p(332))}}function es(t){switch(t){case 99:return t3;case 98:return t5;case 97:return t4;case 96:return t6;case 95:return t7;default:throw Error(p(332))}}function el(t,e){return t$(t=es(t),e)}function eu(t){return null===ee?(ee=[t],en=tQ(t3,ef)):ee.push(t),t8}function ec(){if(null!==en){var t=en;en=null,tJ(t)}ef()}function ef(){if(!er&&null!==ee){er=!0;var t=0;try{var e=ee;el(99,function(){for(;t=e&&(nz=!0),t.firstContext=null)}function eS(t,e){if(ex!==t&&!1!==e&&0!==e){if(("number"!=typeof e||1073741823===e)&&(ex=t,e=1073741823),e={context:t,observedBits:e,next:null},null===eb){if(null===em)throw Error(p(308));eb=e,em.dependencies={expirationTime:0,firstContext:e,responders:null}}else eb=eb.next=e}return Q?t._currentValue:t._currentValue2}var ew=!1;function eE(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function eC(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function eT(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function eI(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function ej(t,e){var n=t.alternate;null!==n&&eC(n,t),null===(n=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function eF(t,e,n,r){var i=t.updateQueue;ew=!1;var a=i.baseQueue,o=i.shared.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}a=o,i.shared.pending=null,null!==(s=t.alternate)&&null!==(s=s.updateQueue)&&(s.baseQueue=o)}if(null!==a){s=a.next;var l=i.baseState,u=0,f=null,d=null,p=null;if(null!==s)for(var h=s;;){if((o=h.expirationTime)u&&(u=o)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),rJ(o,h.suspenseConfig);e:{var v=t,y=h;switch(o=e,g=n,y.tag){case 1:if("function"==typeof(v=y.payload)){l=v.call(g,l,o);break e}l=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(o="function"==typeof(v=y.payload)?v.call(g,l,o):v))break e;l=c({},l,o);break e;case 2:ew=!0}}null!==h.callback&&(t.effectTag|=32,null===(o=i.effects)?i.effects=[h]:o.push(h))}if(null===(h=h.next)||h===s){if(null===(o=i.shared.pending))break;h=a.next=o.next,o.next=s,i.baseQueue=a=o,i.shared.pending=null}}null===p?f=l:p.next=d,i.baseState=f,i.baseQueue=p,r0(u),t.expirationTime=u,t.memoizedState=l}}function eL(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;ep?(v=f,f=null):v=f.sibling;var y=h(e,f,s[p],l);if(null===y){null===f&&(f=v);break}t&&f&&null===y.alternate&&n(e,f),a=o(y,a,p),null===c?u=y:c.sibling=y,c=y,f=v}if(p===s.length)return r(e,f),u;if(null===f){for(;pv?(y=f,f=null):y=f.sibling;var b=h(e,f,m.value,l);if(null===b){null===f&&(f=y);break}t&&f&&null===b.alternate&&n(e,f),a=o(b,a,v),null===c?u=b:c.sibling=b,c=b,f=y}if(m.done)return r(e,f),u;if(null===f){for(;!m.done;v++,m=s.next())null!==(m=d(e,m.value,l))&&(a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return u}for(f=i(e,f);!m.done;v++,m=s.next())null!==(m=g(f,e,v,m.value,l))&&(t&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return t&&f.forEach(function(t){return n(e,t)}),u}(l,u,c,f);if(x&&eH(l,c),void 0===c&&!b)switch(l.tag){case 1:case 0:throw Error(p(152,(l=l.type).displayName||l.name||"Component"))}return r(l,u)}}var eU=eX(!0),eq=eX(!1),eZ={},eK={current:eZ},e$={current:eZ},eQ={current:eZ};function eJ(t){if(t===eZ)throw Error(p(174));return t}function e0(t,e){tB(eQ,e),tB(e$,t),tB(eK,eZ),t=N(e),tN(eK),tB(eK,t)}function e1(){tN(eK),tN(e$),tN(eQ)}function e2(t){var e=eJ(eQ.current),n=eJ(eK.current);e=B(n,t.type,e),n!==e&&(tB(e$,t),tB(eK,e))}function e3(t){e$.current===t&&(tN(eK),tN(e$))}var e5={current:0};function e4(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||tA(n)||tS(n)))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!=(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function e6(t,e){return{responder:t,props:e}}var e7=h.ReactCurrentDispatcher,e8=h.ReactCurrentBatchConfig,e9=0,nt=null,ne=null,nn=null,nr=!1;function ni(){throw Error(p(321))}function na(t,e){if(null===e)return!1;for(var n=0;na))throw Error(p(301));a+=1,nn=ne=null,e.updateQueue=null,e7.current=nI,t=n(r,i)}while(e.expirationTime===e9)}if(e7.current=nE,e=null!==ne&&null!==ne.next,e9=0,nn=ne=nt=null,nr=!1,e)throw Error(p(300));return t}function ns(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===nn?nt.memoizedState=nn=t:nn=nn.next=t,nn}function nl(){if(null===ne){var t=nt.alternate;t=null!==t?t.memoizedState:null}else t=ne.next;var e=null===nn?nt.memoizedState:nn.next;if(null!==e)nn=e,ne=t;else{if(null===t)throw Error(p(310));t={memoizedState:(ne=t).memoizedState,baseState:ne.baseState,baseQueue:ne.baseQueue,queue:ne.queue,next:null},null===nn?nt.memoizedState=nn=t:nn=nn.next=t}return nn}function nu(t,e){return"function"==typeof e?e(t):e}function nc(t){var e=nl(),n=e.queue;if(null===n)throw Error(p(311));n.lastRenderedReducer=t;var r=ne,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=o=a=null,l=i;do{var u=l.expirationTime;if(unt.expirationTime&&(nt.expirationTime=u,r0(u))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),rJ(u,l.suspenseConfig),r=l.eagerReducer===t?l.eagerState:t(r,l.action);l=l.next}while(null!==l&&l!==i);null===s?a=r:s.next=o,ep(r,e.memoizedState)||(nz=!0),e.memoizedState=r,e.baseState=a,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function nf(t){var e=nl(),n=e.queue;if(null===n)throw Error(p(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,a=e.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do a=t(a,o.action),o=o.next;while(o!==i);ep(a,e.memoizedState)||(nz=!0),e.memoizedState=a,null===e.baseQueue&&(e.baseState=a),n.lastRenderedState=a}return[a,r]}function nd(t){var e=ns();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:nu,lastRenderedState:t}).dispatch=nw.bind(null,nt,t),[e.memoizedState,t]}function np(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=nt.updateQueue)?(e={lastEffect:null},nt.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function nh(){return nl().memoizedState}function ng(t,e,n,r){var i=ns();nt.effectTag|=t,i.memoizedState=np(1|e,n,void 0,void 0===r?null:r)}function nv(t,e,n,r){var i=nl();r=void 0===r?null:r;var a=void 0;if(null!==ne){var o=ne.memoizedState;if(a=o.destroy,null!==r&&na(r,o.deps)){np(e,n,a,r);return}}nt.effectTag|=t,i.memoizedState=np(1|e,n,a,r)}function ny(t,e){return ng(516,4,t,e)}function nm(t,e){return nv(516,4,t,e)}function nb(t,e){return nv(4,2,t,e)}function nx(t,e){return"function"==typeof e?(e(t=t()),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function n_(t,e,n){return n=null!=n?n.concat([t]):null,nv(4,2,nx.bind(null,e,t),n)}function nO(){}function nP(t,e){return ns().memoizedState=[t,void 0===e?null:e],t}function nM(t,e){var n=nl();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&na(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function nA(t,e){var n=nl();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&na(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function nS(t,e,n){var r=eo();el(98>r?98:r,function(){t(!0)}),el(97e)&&rk.set(t,e))}}function rW(t,e){t.expirationTime=(t=n>t?n:t)&&e!==t?0:t}function rH(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=eu(rU.bind(null,t));else{var e=rY(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r,i,a,o=rG();if(o=1073741823===e?99:1===e||2===e?95:0>=(o=10*(1073741821-e)-10*(1073741821-o))?99:250>=o?98:5250>=o?97:95,null!==n){var s=t.callbackPriority;if(t.callbackExpirationTime===e&&s>=o)return;n!==t8&&tJ(n)}t.callbackExpirationTime=e,t.callbackPriority=o,e=1073741823===e?eu(rU.bind(null,t)):(r=o,i=rX.bind(null,t),a={timeout:10*(1073741821-e)-ea()},tQ(r=es(r),i,a)),t.callbackNode=e}}}function rX(t,e){if(rB=0,e)return ib(t,e=rG()),rH(t),null;var n=rY(t);if(0!==n){if(e=t.callbackNode,(48&ry)!=0)throw Error(p(327));if(r6(),t===rm&&n===rx||rK(t,n),null!==rb){var r=ry;ry|=16;for(var i=rQ();;)try{(function(){for(;null!==rb&&!t9();)rb=r1(rb)})();break}catch(e){r$(t,e)}if(e_(),ry=r,rg.current=i,1===r_)throw e=rO,rK(t,n),iy(t,n),rH(t),e;if(null===rb)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,rm=null,r=r_){case 0:case 1:throw Error(p(345));case 2:ib(t,2=n){t.lastPingedTime=n,rK(t,n);break}}if(0!==(a=rY(t))&&a!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Z(r5.bind(null,t),i);break}r5(t);break;case 4:if(iy(t,n),r=t.lastSuspendedTime,n===r&&(t.nextKnownPendingLevel=r3(i)),rw&&(0===(i=t.lastPingedTime)||i>=n)){t.lastPingedTime=n,rK(t,n);break}if(0!==(i=rY(t))&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==rM?r=10*(1073741821-rM)-ea():1073741823===rP?r=0:(r=10*(1073741821-rP)-5e3,n=10*(1073741821-n)-(i=ea()),0>(r=i-r)&&(r=0),n<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*rh(r/1960))-r)&&(r=n)),10=(r=0|o.busyMinDurationMs)?r=0:(i=0|o.busyDelayMs,r=(a=ea()-(10*(1073741821-a)-(0|o.timeoutMs||5e3)))<=i?0:i+r-a),10 component higher in the tree to provide a loading indicator or placeholder to display."+tD(o))}5!==r_&&(r_=2),s=n7(s,o),d=a;do{switch(d.tag){case 3:u=s,d.effectTag|=4096,d.expirationTime=n;var x=rd(d,u,n);ej(d,x);break e;case 1:u=s;var _=d.type,O=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==O&&"function"==typeof O.componentDidCatch&&(null===rj||!rj.has(O)))){d.effectTag|=4096,d.expirationTime=n;var P=rp(d,u,n);ej(d,P);break e}}d=d.return}while(null!==d)}rb=r2(rb)}catch(t){n=t;continue}break}}function rQ(){var t=rg.current;return rg.current=nE,null===t?nE:t}function rJ(t,e){trS&&(rS=t)}function r1(t){var e=u(t.alternate,t,rx);return t.memoizedProps=t.pendingProps,null===e&&(e=r2(t)),rv.current=null,e}function r2(t){rb=t;do{var e=rb.alternate;if(t=rb.return,0==(2048&rb.effectTag)){if(e=function(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return tH(e.type)&&tX(),null;case 3:return e1(),tN(tz),tN(tV),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===t||null===t.child)&&nB(e)&&n5(e),o(e),null;case 5:e3(e);var i=eJ(eQ.current);if(n=e.type,null!==t&&null!=e.stateNode)s(t,e,n,r,i),t.ref!==e.ref&&(e.effectTag|=128);else{if(!r){if(null===e.stateNode)throw Error(p(166));return null}if(t=eJ(eK.current),nB(e)){if(!te)throw Error(p(175));t=tC(e.stateNode,e.type,e.memoizedProps,i,t,e),e.updateQueue=t,null!==t&&n5(e)}else{var u=z(n,r,i,t,e);a(u,e,!1,!1),e.stateNode=u,Y(u,n,r,i,t)&&n5(e)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)l(t,e,t.memoizedProps,r);else{if("string"!=typeof r&&null===e.stateNode)throw Error(p(166));if(t=eJ(eQ.current),i=eJ(eK.current),nB(e)){if(!te)throw Error(p(176));tT(e.stateNode,e.memoizedProps,e)&&n5(e)}else e.stateNode=q(r,t,i,e)}return null;case 13:if(tN(e5),r=e.memoizedState,0!=(64&e.effectTag))return e.expirationTime=n,e;return r=null!==r,i=!1,null===t?void 0!==e.memoizedProps.fallback&&nB(e):(i=null!==(n=t.memoizedState),r||null===n||null!==(n=t.child.sibling)&&(null!==(u=e.firstEffect)?(e.firstEffect=n,n.nextEffect=u):(e.firstEffect=e.lastEffect=n,n.nextEffect=null),n.effectTag=8)),r&&!i&&0!=(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!=(1&e5.current)?0===r_&&(r_=3):((0===r_||3===r_)&&(r_=4),0!==rS&&null!==rm&&(iy(rm,rx),im(rm,rS)))),tt&&r&&(e.effectTag|=4),J&&(r||i)&&(e.effectTag|=4),null;case 4:return e1(),o(e),null;case 10:return eP(e),null;case 19:if(tN(e5),null===(r=e.memoizedState))return null;if(i=0!=(64&e.effectTag),null===(u=r.rendering)){if(i)n6(r,!1);else if(0!==r_||null!==t&&0!=(64&t.effectTag))for(t=e.child;null!==t;){if(null!==(u=e4(t))){for(e.effectTag|=64,n6(r,!1),null!==(t=u.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,t=n,r=e.child;null!==r;)i=r,n=t,i.effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(u=i.alternate)?(i.childExpirationTime=0,i.expirationTime=n,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=u.childExpirationTime,i.expirationTime=u.expirationTime,i.child=u.child,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,n=u.dependencies,i.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),r=r.sibling;return tB(e5,1&e5.current|2),e.child}t=t.sibling}}else{if(!i){if(null!==(t=e4(u))){if(e.effectTag|=64,i=!0,null!==(t=t.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),n6(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*ea()-r.renderingStartTime>r.tailExpiration&&1n&&(n=i),u>n&&(n=u),r=r.sibling}rb.childExpirationTime=n}if(null!==e)return e;null!==t&&0==(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=rb.firstEffect),null!==rb.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=rb.firstEffect),t.lastEffect=rb.lastEffect),1(t=t.childExpirationTime)?e:t}function r5(t){return el(99,r4.bind(null,t,eo())),null}function r4(t,e){do r6();while(null!==rL);if((48&ry)!=0)throw Error(p(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(p(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=r3(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===rm&&(rb=rm=null,rx=0),1=r)return nJ(t,n,r);return tB(e5,1&e5.current),null!==(n=n3(t,n,r))?n.sibling:null}tB(e5,1&e5.current);break;case 19:if(i=n.childExpirationTime>=r,0!=(64&t.effectTag)){if(i)return n2(t,n,r);n.effectTag|=64}if(null!==(a=n.memoizedState)&&(a.rendering=null,a.tail=null),tB(e5,e5.current),!i)return null}return n3(t,n,r)}nz=!1}}else nz=!1;switch(n.expirationTime=0,n.tag){case 2:if(i=n.type,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,a=tY(n,tV.current),eA(n,r),a=no(null,n,i,t,a,r),n.effectTag|=1,"object"===(0,e.default)(a)&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,tH(i)){var o=!0;tZ(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,eE(n);var s=i.getDerivedStateFromProps;"function"==typeof s&&eR(n,i,s,t),a.updater=eN,n.stateNode=a,a._reactInternalFiber=n,ez(n,i,t,r),n=nK(null,n,i,!0,o,r)}else n.tag=0,nW(null,n,a,r),n=n.child;return n;case 16:e:{if(a=n.elementType,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}}(a),1!==a._status)throw a._result;switch(a=a._result,n.type=a,o=n.tag=function(t){if("function"==typeof t)return il(t)?1:0;if(null!=t){if((t=t.$$typeof)===M)return 11;if(t===w)return 14}return 2}(a),t=ev(a,t),o){case 0:n=nq(null,n,a,t,r);break e;case 1:n=nZ(null,n,a,t,r);break e;case 11:n=nY(null,n,a,t,r);break e;case 14:n=nH(null,n,a,ev(a.type,t),i,r);break e}throw Error(p(306,a,""))}return n;case 0:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nq(t,n,i,a,r);case 1:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nZ(t,n,i,a,r);case 3:if(n$(n),i=n.updateQueue,null===t||null===i)throw Error(p(282));if(i=n.pendingProps,a=null!==(a=n.memoizedState)?a.element:null,eC(t,n),eF(n,i,null,r),(i=n.memoizedState.element)===a)nG(),n=n3(t,n,r);else{if((a=n.stateNode.hydrate)&&(te?(nF=tE(n.stateNode.containerInfo),nj=n,a=nL=!0):a=!1),a)for(r=eq(n,null,i,r),n.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else nW(t,n,i,r),nG();n=n.child}return n;case 5:return e2(n),null===t&&nR(n),i=n.type,a=n.pendingProps,o=null!==t?t.memoizedProps:null,s=a.children,X(i,a)?s=null:null!==o&&X(i,o)&&(n.effectTag|=16),nU(t,n),4&n.mode&&1!==r&&U(i,a)?(n.expirationTime=n.childExpirationTime=1,n=null):(nW(t,n,s,r),n=n.child),n;case 6:return null===t&&nR(n),null;case 13:return nJ(t,n,r);case 4:return e0(n,n.stateNode.containerInfo),i=n.pendingProps,null===t?n.child=eU(n,null,i,r):nW(t,n,i,r),n.child;case 11:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nY(t,n,i,a,r);case 7:return nW(t,n,n.pendingProps,r),n.child;case 8:case 12:return nW(t,n,n.pendingProps.children,r),n.child;case 10:e:{if(i=n.type._context,a=n.pendingProps,s=n.memoizedProps,o=a.value,eO(n,o),null!==s){var l=s.value;if(0==(o=ep(l,o)?0:("function"==typeof i._calculateChangedBits?i._calculateChangedBits(l,o):1073741823)|0)){if(s.children===a.children&&!tz.current){n=n3(t,n,r);break e}}else for(null!==(l=n.child)&&(l.return=n);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===i&&0!=(c.observedBits&o)){1===l.tag&&((c=eT(r,null)).tag=2,eI(l,c)),l.expirationTime=e&&t<=e}function iy(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;ne||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function im(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function ib(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}var ix=null;function i_(t){var e=t._reactInternalFiber;if(void 0===e){if("function"==typeof t.render)throw Error(p(188));throw Error(p(268,Object.keys(t)))}return null===(t=k(e))?null:t.stateNode}function iO(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime=P},s=function(){},e.unstable_forceFrameRate=function(t){0>t||125>>1,i=t[r];if(void 0!==i&&0C(o,n))void 0!==l&&0>C(l,o)?(t[r]=l,t[s]=n,r=s):(t[r]=o,t[a]=n,r=a);else if(void 0!==l&&0>C(l,n))t[r]=l,t[s]=n,r=s;else break}}return e}return null}function C(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var T=[],I=[],j=1,F=null,L=3,D=!1,k=!1,R=!1;function N(t){for(var e=w(I);null!==e;){if(null===e.callback)E(I);else if(e.startTime<=t)E(I),e.sortIndex=e.expirationTime,S(T,e);else break;e=w(I)}}function B(t){if(R=!1,N(t),!k){if(null!==w(T))k=!0,r(G);else{var e=w(I);null!==e&&i(B,e.startTime-t)}}}function G(t,n){k=!1,R&&(R=!1,a()),D=!0;var r=L;try{for(N(n),F=w(T);null!==F&&(!(F.expirationTime>n)||t&&!o());){var s=F.callback;if(null!==s){F.callback=null,L=F.priorityLevel;var l=s(F.expirationTime<=n);n=e.unstable_now(),"function"==typeof l?F.callback=l:F===w(T)&&E(T),N(n)}else E(T);F=w(T)}if(null!==F)var u=!0;else{var c=w(I);null!==c&&i(B,c.startTime-n),u=!1}return u}finally{F=null,L=r,D=!1}}function V(t){switch(t){case 1:return -1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){k||D||(k=!0,r(G))},e.unstable_getCurrentPriorityLevel=function(){return L},e.unstable_getFirstCallbackNode=function(){return w(T)},e.unstable_next=function(t){switch(L){case 1:case 2:case 3:var e=3;break;default:e=L}var n=L;L=e;try{return t()}finally{L=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=z,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=L;L=t;try{return e()}finally{L=n}},e.unstable_scheduleCallback=function(t,n,o){var s=e.unstable_now();if("object"===(0,l.default)(o)&&null!==o){var u=o.delay;u="number"==typeof u&&0s?(t.sortIndex=u,S(I,t),null===w(T)&&t===w(I)&&(R?a():R=!0,i(B,u-s))):(t.sortIndex=o,S(T,t),k||D||(k=!0,r(G))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();N(t);var n=w(T);return n!==F&&null!==F&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTimel(a.observationTargets,e)&&(u&&o.resizeObservers.push(a),a.observationTargets.push(new i.ResizeObservation(e,n&&n.box)),(0,r.updateCount)(1),r.scheduler.schedule())},t.unobserve=function(t,e){var n=s.get(t),i=l(n.observationTargets,e),a=1===n.observationTargets.length;i>=0&&(a&&o.resizeObservers.splice(o.resizeObservers.indexOf(n),1),n.observationTargets.splice(i,1),(0,r.updateCount)(-1))},t.disconnect=function(t){var e=this,n=s.get(t);n.observationTargets.slice().forEach(function(n){return e.unobserve(t,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},t}();e.ResizeObserverController=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updateCount=e.scheduler=void 0;var r=n(1042),i=n(486),a=n(1049),o=0,s={attributes:!0,characterData:!0,childList:!0,subtree:!0},l=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],u=function(t){return void 0===t&&(t=0),Date.now()+t},c=!1,f=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!c){c=!0;var n=u(t);(0,a.queueResizeObserver)(function(){var i=!1;try{i=(0,r.process)()}finally{if(c=!1,t=n-u(),!o)return;i?e.run(1e3):t>0?e.run(t):e.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,s)};document.body?e():i.global.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),l.forEach(function(e){return i.global.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),l.forEach(function(e){return i.global.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}());e.scheduler=f,e.updateCount=function(t){!o&&t>0&&f.start(),(o+=t)||f.stop()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.process=void 0;var r=n(1043),i=n(1044),a=n(1045),o=n(1046),s=n(1048);e.process=function(){var t=0;for((0,s.gatherActiveObservationsAtDepth)(t);(0,r.hasActiveObservations)();)t=(0,o.broadcastActiveObservations)(),(0,s.gatherActiveObservationsAtDepth)(t);return(0,i.hasSkippedObservations)()&&(0,a.deliverResizeLoopError)(),t>0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasActiveObservations=void 0;var r=n(152);e.hasActiveObservations=function(){return r.resizeObservers.some(function(t){return t.activeTargets.length>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasSkippedObservations=void 0;var r=n(152);e.hasSkippedObservations=function(){return r.resizeObservers.some(function(t){return t.skippedTargets.length>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.deliverResizeLoopError=void 0;var r="ResizeObserver loop completed with undelivered notifications.";e.deliverResizeLoopError=function(){var t;"function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:r}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=r),window.dispatchEvent(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastActiveObservations=void 0;var r=n(152),i=n(483),a=n(487),o=n(289);e.broadcastActiveObservations=function(){var t=1/0,e=[];r.resizeObservers.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(e){var n=new i.ResizeObserverEntry(e.target),s=(0,a.calculateDepthForNode)(e.target);r.push(n),e.lastReportedSize=(0,o.calculateBoxSize)(e.target,e.observedBox),st?e.activeTargets.push(n):e.skippedTargets.push(n))})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.queueResizeObserver=void 0;var r=n(1050);e.queueResizeObserver=function(t){(0,r.queueMicroTask)(function(){requestAnimationFrame(t)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.queueMicroTask=void 0;var r,i=[];e.queueMicroTask=function(t){if(!r){var e=0,n=document.createTextNode("");new MutationObserver(function(){return i.splice(0).forEach(function(t){return t()})}).observe(n,{characterData:!0}),r=function(){n.textContent="".concat(e?e--:e++)}}i.push(t),r()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizeObservation=void 0;var r=n(484),i=n(289),a=n(192),o=function(){function t(t,e){this.target=t,this.observedBox=e||r.ResizeObserverBoxOptions.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=(0,i.calculateBoxSize)(this.target,this.observedBox,!0);return t=this.target,(0,a.isSVG)(t)||(0,a.isReplacedElement)(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}();e.ResizeObservation=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizeObserverDetail=void 0,e.ResizeObserverDetail=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(488),i=n(117);e.default=function(t){if(!r.default(t)||!i.default(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(117);e.default=function(t){return r.default(t,"Number")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=void 0,e.flow=function(){for(var t=[],e=0;e=r.get(e,["views","length"],0)?i(e):r.reduce(e.views,function(e,n){return e.concat(t(n))},i(e))},e.getAllGeometriesRecursively=function(t){return 0>=r.get(t,["views","length"],0)?t.geometries:r.reduce(t.views,function(t,e){return t.concat(e.geometries)},t.geometries)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=void 0;var r=n(1),i=n(0);e.transformLabel=function(t){if(!i.isType(t,"Object"))return t;var e=r.__assign({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSplinePath=e.catmullRom2bezier=e.smoothBezier=e.points2Path=void 0;var r=n(32);function i(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},e.DEFAULT_TOOLTIP_OPTIONS),animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(154);e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},i.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(15),i=n(34),a=n(43),o=n(296);Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return o.meta}});var s=n(118),l=n(154);function u(t){var e=t.chart,n=t.options,i=n.data,o=n.color,u=n.lineStyle,c=n.point,f=null==c?void 0:c.state,d=s.getTinyData(i);e.data(d);var p=r.deepAssign({},t,{options:{xField:l.X_FIELD,yField:l.Y_FIELD,line:{color:o,style:u},point:c}}),h=r.deepAssign({},p,{options:{tooltip:!1,state:f}});return a.line(p),a.point(h),e.axis(!1),e.legend(!1),t}e.adaptor=function(t){return r.flow(u,o.meta,i.theme,i.tooltip,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left"},isStack:!1})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(1089);r.registerAction("marker-active",i.MarkerActiveAction),r.registerInteraction("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerActiveAction=void 0;var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.active=function(){var t=this.getView(),e=this.context.event;if(e.data){var n=e.data.items,r=t.geometries.filter(function(t){return"point"===t.type});i.each(r,function(t){i.each(t.elements,function(t){var e=-1!==i.findIndex(n,function(e){return e.data===t.data});t.setState("active",e)})})}},e.prototype.reset=function(){var t=this.getView().geometries.filter(function(t){return"point"===t.type});i.each(t,function(t){i.each(t.elements,function(t){t.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(n(14).InteractionAction);e.MarkerActiveAction=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.interaction=void 0;var r=n(1),i=n(0),a=n(510),o=n(34),s=n(153),l=n(15),u=n(293),c=n(513);function f(t){var e=t.options.colorField;return l.deepAssign({options:{rawFields:["value"],tooltip:{fields:["name","value",e,"path"],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function d(t){var e=t.chart,n=t.options,r=n.color,i=n.colorField,o=n.rectStyle,s=n.hierarchyConfig,u=n.rawFields,f=c.transformData({data:n.data,colorField:n.colorField,enableDrillDown:c.enableDrillInteraction(n),hierarchyConfig:s});return e.data(f),a.polygon(l.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:i,rawFields:u,polygon:{color:r,style:o}}})),e.coordinate().reflect("y"),t}function p(t){return t.chart.axis(!1),t}function h(t){var e,n,a=t.chart,s=t.options,f=s.interactions,d=s.drilldown;o.interaction({chart:a,options:(e=s.drilldown,n=s.interactions,c.enableDrillInteraction(s)?l.deepAssign({},s,{interactions:r.__spreadArrays(void 0===n?[]:n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:c.transformData}}])}):s)});var p=c.findInteraction(f,"view-zoom");return p&&(!1!==p.enable?a.getCanvas().on("mousewheel",function(t){t.preventDefault()}):a.getCanvas().off("mousewheel")),c.enableDrillInteraction(s)&&(a.appendPadding=u.getAdjustAppendPadding(a.appendPadding,i.get(d,["breadCrumb","position"]))),t}e.interaction=h,e.adaptor=function(t){return l.flow(f,o.theme,s.pattern("rectStyle"),d,p,o.legend,o.tooltip,h,o.animation,o.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treemap=e.getTileMethod=void 0;var r=n(1).__importStar(n(193)),i=n(0),a=n(1116),o={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function s(t,e){return"treemapSquarify"===t?r[t].ratio(e):r[t]}e.getTileMethod=s,e.treemap=function(t,e){var n,l=(e=i.assign({},o,e)).as;if(!i.isArray(l)||2!==l.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}var u=s(e.tile,e.ratio),c=r.treemap().tile(u).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(r.hierarchy(t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[n]}).sort(e.sort)),f=l[0],d=l[1];return c.each(function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===l.indexOf(e)&&delete t[e]})}),a.getAllNodes(c)}},function(t,e,n){"use strict";function r(t,e){return t.parent===e.parent?1:2}function i(t,e){return t+e.x}function a(t,e){return Math.max(t,e.y)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=r,e=1,n=1,o=!1;function s(r){var s,l=0;r.eachAfter(function(e){var n=e.children;n?(e.x=n.reduce(i,0)/n.length,e.y=1+n.reduce(a,0)):(e.x=s?l+=t(e,s):0,e.y=0,s=e)});var u=function(t){for(var e;e=t.children;)t=e[0];return t}(r),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(r),f=u.x-t(u,c)/2,d=c.x+t(c,u)/2;return r.eachAfter(o?function(t){t.x=(t.x-r.x)*e,t.y=(r.y-t.y)*n}:function(t){t.x=(t.x-f)/(d-f)*e,t.y=(1-(r.y?t.y/r.y:1))*n})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(o=!1,e=+t[0],n=+t[1],s):o?null:[e,n]},s.nodeSize=function(t){return arguments.length?(o=!0,e=+t[0],n=+t[1],s):o?[e,n]:null},s}},function(t,e,n){"use strict";function r(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return this.eachAfter(r)}},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this);try{for(a.s();!(n=a.n()).done;){var o=n.value;t.call(e,o,++i,this)}}catch(t){a.e(t)}finally{a.f()}return this}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n,r,i=this,a=[i],o=-1;i=a.pop();)if(t.call(e,i,++o,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n,r,i,a=this,o=[a],s=[],l=-1;a=o.pop();)if(s.push(a),n=a.children)for(r=0,i=n.length;rt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(t.call(e,o,++i,this))return o}}catch(t){a.e(t)}finally{a.f()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return Array.from(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=r(n(1106)),a=i.default.mark(o);function o(){var t,e,n,r,o,s;return i.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:t=this,n=[t];case 1:e=n.reverse(),n=[];case 2:if(!(t=e.pop())){i.next=8;break}return i.next=5,t;case 5:if(r=t.children)for(o=0,s=r.length;o=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=null,e=1,n=1,r=o.constantZero;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(u(t)).eachAfter(c(r,.5)).eachBefore(f(1)):i.eachBefore(u(l)).eachAfter(c(o.constantZero,1)).eachAfter(c(r,i.r/Math.min(e,n))).eachBefore(f(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=(0,a.optional)(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:(0,o.default)(+t),i):r},i};var i=n(515),a=n(298),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(518));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}function l(t){return Math.sqrt(t.value)}function u(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function c(t,e){return function(n){if(r=n.children){var r,a,o,s=r.length,l=t(n)*e||0;if(l)for(a=0;a0)throw Error("cycle");return l}return n.id=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n.parentId=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n};var r=n(298),i=n(297),a={depth:-1},o={};function s(t){return t.id}function l(t){return t.parentId}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=i,e=1,n=1,r=null;function l(i){var a=function(t){for(var e,n,r,i,a,o=new s(t,0),l=[o];e=l.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)l.push(n=e.children[i]=new s(r[i],i)),n.parent=e;return(o.parent=new s(null,0)).children=[o],o}(i);if(a.eachAfter(u),a.parent.m=-a.z,a.eachBefore(c),r)i.eachBefore(f);else{var o=i,l=i,d=i;i.eachBefore(function(t){t.xl.x&&(l=t),t.depth>d.depth&&(d=t)});var p=o===l?1:t(o,l)/2,h=p-o.x,g=e/(l.x+p+h),v=n/(d.depth||1);i.eachBefore(function(t){t.x=(t.x+h)*g,t.y=t.depth*v})}return i}function u(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)e=i[a],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var s=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-s):e.z=s}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,s,l,u=e,c=e,f=n,d=u.parent.children[0],p=u.m,h=c.m,g=f.m,v=d.m;f=o(f),u=a(u),f&&u;)d=a(d),(c=o(c)).a=e,(l=f.z+g-u.z-p+t(f._,u._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=f,s=r,i.a.parent===e.parent?i.a:s),e,l),p+=l,h+=l),g+=f.m,p+=u.m,v+=d.m,h+=c.m;f&&!o(c)&&(c.t=f,c.m+=g-h),u&&!a(d)&&(d.t=u,d.m+=p-v,r=e)}return r}(e,i,e.parent.A||r[0])}function c(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=e,t.y=t.depth*n}return l.separation=function(e){return arguments.length?(t=e,l):t},l.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],l):r?null:[e,n]},l.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],l):r?[e,n]:null},l};var r=n(297);function i(t,e){return t.parent===e.parent?1:2}function a(t){var e=t.children;return e?e[0]:t.t}function o(t){var e=t.children;return e?e[e.length-1]:t.t}function s(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}s.prototype=Object.create(r.Node.prototype)},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=o.default,e=!1,n=1,r=1,i=[0],u=l.constantZero,c=l.constantZero,f=l.constantZero,d=l.constantZero,p=l.constantZero;function h(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(g),i=[0],e&&t.eachBefore(a.default),t}function g(e){var n=i[e.depth],r=e.x0+n,a=e.y0+n,o=e.x1-n,s=e.y1-n;o=n-1){var c=s[e];c.x0=i,c.y0=a,c.x1=o,c.y1=l;return}for(var f=u[e],d=r/2+f,p=e+1,h=n-1;p>>1;u[g]l-a){var m=r?(i*y+o*v)/r:o;t(e,p,v,i,a,m,l),t(p,n,y,m,a,o,l)}else{var b=r?(a*y+l*v)/r:l;t(e,p,v,i,a,o,b),t(p,n,y,i,b,o,l)}})(0,l,t.value,e,n,r,i)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o){(1&t.depth?a.default:i.default)(t,e,n,r,o)};var i=r(n(155)),a=r(n(194))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(155)),a=r(n(194)),o=n(299),s=function t(e){function n(t,n,r,s,l){if((u=t._squarify)&&u.ratio===e)for(var u,c,f,d,p,h=-1,g=u.length,v=t.value;++h1?e:1)},n}(o.phi);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAllNodes=e.getField=e.NODE_ANCESTORS_FIELD=e.CHILD_NODE_COUNT=e.NODE_INDEX_FIELD=void 0;var r=n(0);e.NODE_INDEX_FIELD="nodeIndex",e.CHILD_NODE_COUNT="childNodeCount",e.NODE_ANCESTORS_FIELD="nodeAncestor";var i="Invalid field: it must be a string!";e.getField=function(t,e){var n=t.field,a=t.fields;if(r.isString(n))return n;if(r.isArray(n))return console.warn(i),n[0];if(console.warn(i+" will try to get fields instead."),r.isString(a))return a;if(r.isArray(a)&&a.length)return a[0];if(e)return e;throw TypeError(i)},e.getAllNodes=function(t){var n,i,a=[];return t&&t.each?t.each(function(t){t.parent!==n?(n=t.parent,i=0):i+=1;var o,s,l=r.filter(((null===(o=t.ancestors)||void 0===o?void 0:o.call(t))||[]).map(function(t){return a.find(function(e){return e.name===t.name})||t}),function(e){var n=e.depth;return n>0&&n0}function s(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var r=t.event,i=r.x,a=r.y,o=e.center;return Math.sqrt(Math.pow(o.x-i,2)+Math.pow(o.y-a,2))0){var n;(function(t,e,n){var i,a=t.view,o=t.geometry,s=t.group,u=t.options,c=t.horizontal,f=u.offset,d=u.size,p=u.arrow,h=a.getCoordinate(),g=l(h,e)[c?3:0],v=l(h,n)[c?0:3],y=v.y-g.y,m=v.x-g.x;if("boolean"!=typeof p){var b=p.headSize,x=u.spacing;c?(m-b)/2_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=void 0;var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};r.registerInteraction(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),r.registerInteraction(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(15);e.BUTTON_ACTION_CONFIG={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};var s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.buttonGroup=null,n.buttonCfg=r.__assign({name:"button"},e.BUTTON_ACTION_CONFIG),n}return r.__extends(n,t),n.prototype.getButtonCfg=function(){var t=this.context.view,e=a.get(t,["interactions","filter-action","cfg","buttonConfig"]);return o.deepAssign(this.buttonCfg,e,this.cfg)},n.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},n.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:r.__assign({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},n.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=o.normalPadding(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:r.__assign({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},n.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},n.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},n.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},n.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},n}(i.Action);e.ButtonAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(15),u=n(119),c=n(512);function f(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,o=n.color,c=n.point,f=n.line,d=n.isPercent,p=n.xField,h=n.yField,g=n.tooltip,v=n.seriesField,y=n.startOnZero,m=null==c?void 0:c.state,b=u.getDataWhetherPecentage(i,h,p,h,d);e.data(b);var x=d?r.__assign({formatter:function(t){return{name:t[v]||t[p],value:(100*Number(t[h])).toFixed(2)+"%"}}},g):g,_=l.deepAssign({},t,{options:{area:{color:o,style:a},line:f&&r.__assign({color:o},f),point:c&&r.__assign({color:o},c),tooltip:x,label:void 0,args:{startOnZero:y}}}),O=l.deepAssign({options:{line:{size:2}}},_,{options:{sizeField:v,tooltip:!1}}),P=l.deepAssign({},_,{options:{tooltip:!1,state:m}});return s.area(_),s.line(O),s.point(P),t}function d(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"area");if(i){var u=i.callback,c=r.__rest(i,["callback"]);s.label({fields:[a],callback:u,cfg:r.__assign({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},l.transformLabel(c))})}else s.label(!1);return t}function p(t){var e=t.chart,n=t.options,r=n.isStack,a=n.isPercent,o=n.seriesField;return(a||r)&&o&&i.each(e.geometries,function(t){t.adjust("stack")}),t}Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return c.meta}}),e.adaptor=function(t){return l.flow(a.theme,a.pattern("areaStyle"),f,c.meta,p,c.axis,c.legend,a.tooltip,d,a.slider,a.annotation(),a.interaction,a.animation,a.limitInPlot)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.interaction=e.pieAnnotation=e.transformStatisticOptions=void 0;var r=n(1),i=n(0),a=n(34),o=n(59),s=n(43),l=n(153),u=n(131),c=n(15),f=n(525),d=n(526),p=n(527);function h(t){var e=t.chart,n=t.options,i=n.data,a=n.angleField,o=n.colorField,l=n.color,u=n.pieStyle,f=c.processIllegalData(i,a);if(d.isAllZero(f,a)){var p="$$percentage$$";f=f.map(function(t){var e;return r.__assign(r.__assign({},t),((e={})[p]=1/f.length,e))}),e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:p,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}else{e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:a,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,o=c.deepAssign({},i);return n.scale(o,((e={})[a]={type:"cat"},e)),t}function v(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function y(t){var e=t.chart,n=t.options,a=n.label,o=n.colorField,s=n.angleField,l=e.geometries[0];if(a){var u=a.callback,f=r.__rest(a,["callback"]),p=c.transformLabel(f);if(p.content){var h=p.content;p.content=function(t,n,a){var l=t[o],u=t[s],f=e.getScaleByField(s),d=null==f?void 0:f.scale(u);return i.isFunction(h)?h(r.__assign(r.__assign({},t),{percent:d}),n,a):i.isString(h)?c.template(h,{value:u,name:l,percentage:i.isNumber(d)&&!i.isNil(u)?(100*d).toFixed(2)+"%":null}):h}}var g=p.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[p.type]:"pie-outer",v=p.layout?i.isArray(p.layout)?p.layout:[p.layout]:[];p.layout=(g?[{type:g}]:[]).concat(v),l.label({fields:o?[s,o]:[s],callback:u,cfg:r.__assign(r.__assign({},p),{offset:d.adaptOffset(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,r=t.angleField,a=t.colorField,o=t.meta,s=t.locale,l=u.getLocale(s);if(e&&n){var p=c.deepAssign({},f.DEFAULT_OPTIONS.statistic,n),h=p.title,g=p.content;return!1!==h&&(h=c.deepAssign({},{formatter:function(t){return t?t[a]:i.isNil(h.content)?l.get(["statistic","total"]):h.content}},h)),!1!==g&&(g=c.deepAssign({},{formatter:function(t,e){var n=t?t[r]:d.getTotalValue(e,r),a=i.get(o,[r,"formatter"])||function(t){return t};return t?a(n):i.isNil(g.content)?a(n):g.content}},g)),c.deepAssign({},{statistic:{title:h,content:g}},t)}return t}function b(t){var e=t.chart,n=m(t.options),r=n.innerRadius,i=n.statistic;return e.getController("annotation").clear(!0),c.flow(a.annotation())(t),r&&i&&c.renderStatistic(e,{statistic:i,plotType:"pie"}),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip,a=n.colorField,s=n.angleField,l=n.data;if(!1===r)e.tooltip(r);else if(e.tooltip(c.deepAssign({},r,{shared:!1})),d.isAllZero(l,s)){var u=i.get(r,"fields"),f=i.get(r,"formatter");i.isEmpty(i.get(r,"fields"))&&(u=[a,s],f=f||function(t){return{name:t[a],value:i.toString(t[s])}}),e.geometries[0].tooltip(u.join("*"),o.getMappingFunction(u,f))}return t}function _(t){var e=t.chart,n=m(t.options),a=n.interactions,o=n.statistic,s=n.annotations;return i.each(a,function(t){var n,a;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var l=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(l=[{trigger:"element:mouseenter",action:p.PIE_STATISTIC+":change",arg:{statistic:o,annotations:s}}]),i.each(null===(a=t.cfg)||void 0===a?void 0:a.start,function(t){l.push(r.__assign(r.__assign({},t),{arg:{statistic:o,annotations:s}}))}),e.interaction(t.type,c.deepAssign({},t.cfg,{start:l}))}else e.interaction(t.type,t.cfg||{})}),t}e.transformStatisticOptions=m,e.pieAnnotation=b,e.interaction=_,e.adaptor=function(t){return c.flow(l.pattern("pieStyle"),h,g,a.theme,v,a.legend,x,y,a.state,b,_,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(528),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return a.isEqual(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix(o.transform([["t",f,d]])),a.setMatrix(o.transform([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=n(1),a=n(14),o=n(0),s=n(503),l=n(1131),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,i=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var u=o.get(i,["data","data"]);if(i.type.match("legend-item")){var c=a.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;u=n.getData().find(function(t){return t[f]===d.value})}}if(u){var p=o.get(t,"annotations",[]),h=o.get(t,"statistic",{});n.getController("annotation").clear(!0),o.each(p,function(t){"object"===(0,r.default)(t)&&n.annotation()[t.type](t)}),s.renderStatistic(n,{statistic:h,plotType:"pie"},u),n.render(!0)}var g=l.getCurrentElement(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();o.each(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(a.Action);e.StatisticAction=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=void 0,e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(0),a=n(15),o=n(15),s=n(34),l=n(59),u=n(64);function c(t){var e=t.chart,n=t.options,r=n.data,o=n.type,s=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=u.getTooltipMapping(v,[s,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),l.geometry(a.deepAssign({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,(i.get(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function f(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,l=n.yField;return o.flow(s.scale(((e={})[a]=r,e[l]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,l=n.type,u=a.findGeometry(e,"density"===l?"heatmap":"polygon");if(i){if(s){var c=i.callback,f=r.__rest(i,["callback"]);u.label({fields:[s],callback:c,cfg:o.transformLabel(f)})}}else u.label(!1);return t}function g(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}e.adaptor=function(t){return o.flow(s.theme,s.pattern("heatmapStyle"),f,g,c,d,p,s.tooltip,h,s.annotation(),s.interaction,s.animation,s.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:r.__assign(r.__assign(r.__assign({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:r.__assign(r.__assign(r.__assign({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.legend=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(529),u=n(530);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=l.transform(t);e.data(f);var d=o.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:i.isFunction(c)&&r.__spreadArrays(i.get(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return s.point(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return o.flow(a.scale({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}e.legend=d,e.adaptor=function(t){o.flow(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=e.transform=e.wordCloud=void 0;var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){r.isNil(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}e.wordCloud=function(t,e){return a(t,e=r.assign({},i,e))},e.transform=a;var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n=0)&&(p=p?i.isArray(p)?p:[p]:[],f.layout=i.filter(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:a.transformLabel(f)})}else a.log(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return a.flow(o.scale(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}e.legend=c,e.adaptor=function(t){a.flow(o.pattern("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,o.annotation(),o.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(0),i=n(34),a=n(131),o=n(15),s=n(521),l=n(531),u=n(1142),c=n(1143),f=n(1144),d=n(120);function p(t){var e,n=t.options,i=n.compareField,l=n.xField,u=n.yField,c=n.locale,f=n.funnelStyle,p=n.data,h=a.getLocale(c),g={label:i?{fields:[l,u,i,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],formatter:function(t){return""+t[u]}}:{fields:[l,u,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],offset:0,position:"middle",formatter:function(t){return t[l]+" "+t[u]}},tooltip:{title:l,formatter:function(t){return{name:t[l],value:t[u]}}},conversionTag:{formatter:function(t){return h.get(["conversionTag","label"])+": "+s.conversionTagFormatter.apply(void 0,t[d.FUNNEL_CONVERSATION])}}};return(i||f)&&(e=function(t){return o.deepAssign({},i&&{lineWidth:1,stroke:"#fff"},r.isFunction(f)?f(t):f)}),o.deepAssign({options:g},t,{options:{funnelStyle:e,data:r.clone(p)}})}function h(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?c.facetFunnel(t):n?u.compareFunnel(t):r?f.dynamicHeightFunnel(t):l.basicFunnel(t)}function g(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function v(t){return t.chart.axis(!1),t}function y(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}e.meta=g,e.adaptor=function(t){return o.flow(p,h,g,v,i.tooltip,i.interaction,y,i.animation,i.theme,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareFunnel=void 0;var r=n(0),i=n(15),a=n(64),o=n(59),s=n(120),l=n(300);function u(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function c(t){var e=t.chart,n=t.options,u=n.data,c=n.xField,f=n.yField,d=n.color,p=n.compareField,h=n.isTransposed,g=n.tooltip,v=n.maxSize,y=n.minSize,m=n.label,b=n.funnelStyle,x=n.state;return e.facet("mirror",{fields:[p],transpose:!h,padding:h?0:[32,0,0,0],eachView:function(t,e){var n=h?e.rowIndex:e.columnIndex;h||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var _=l.transformData(e.data,u,{yField:f,maxSize:v,minSize:y});t.data(_);var O=a.getTooltipMapping(g,[c,f,p]),P=O.fields,M=O.formatter;o.geometry({chart:t,options:{type:"interval",xField:c,yField:s.FUNNEL_MAPPING_VALUE,colorField:c,tooltipFields:r.isArray(P)&&P.concat([s.FUNNEL_PERCENT,s.FUNNEL_CONVERSATION]),mapping:{shape:"funnel",tooltip:M,color:d,style:b},label:!1!==m&&i.deepAssign({},h?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}},m),state:x}})}}),t}function f(t){var e=t.chart,n=t.options,r=n.conversionTag,a=n.isTransposed;return e.once("beforepaint",function(){e.views.forEach(function(t,e){l.conversionTagComponent(function(t,n,o,l){return i.deepAssign({},l,{start:[n-.5,t[s.FUNNEL_MAPPING_VALUE]],end:[n-.5,t[s.FUNNEL_MAPPING_VALUE]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:!1!==r?(0===e?-1:1)*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})})(i.deepAssign({},{chart:t,options:n}))})}),t}e.compareFunnel=function(t){return i.flow(u,c,f)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.facetFunnel=void 0;var r=n(15),i=n(531);function a(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function o(t){var e=t.chart,n=t.options,a=n.seriesField,o=n.isTransposed;return e.facet("rect",{fields:[a],padding:[o?0:32,10,0,10],eachView:function(e,n){i.basicFunnel(r.deepAssign({},t,{chart:e,options:{data:n.data}}))}}),t}e.facetFunnel=function(t){return r.flow(a,o)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicHeightFunnel=void 0;var r=n(1),i=n(0),a=n(15),o=n(120),s=n(59),l=n(64),u=n(300);function c(t){var e=t.chart,n=t.options,r=n.data,a=void 0===r?[]:r,s=n.yField,l=i.reduce(a,function(t,e){return t+(e[s]||0)},0),u=i.maxBy(a,s)[s],c=i.map(a,function(t,e){var n=[],r=[];if(t[o.FUNNEL_TOTAL_PERCENT]=(t[s]||0)/l,e){var c=a[e-1][o.PLOYGON_X],f=a[e-1][o.PLOYGON_Y];n[0]=c[3],r[0]=f[3],n[1]=c[2],r[1]=f[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t[o.FUNNEL_TOTAL_PERCENT],n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t[o.PLOYGON_X]=n,t[o.PLOYGON_Y]=r,t[o.FUNNEL_PERCENT]=(t[s]||0)/u,t[o.FUNNEL_CONVERSATION]=[i.get(a,[e-1,s]),t[s]],t});return e.data(c),t}function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,u=n.color,c=n.tooltip,f=n.label,d=n.funnelStyle,p=n.state,h=l.getTooltipMapping(c,[r,a]),g=h.fields,v=h.formatter;return s.geometry({chart:e,options:{type:"polygon",xField:o.PLOYGON_X,yField:o.PLOYGON_Y,colorField:r,tooltipFields:i.isArray(g)&&g.concat([o.FUNNEL_PERCENT,o.FUNNEL_CONVERSATION]),label:f,state:p,mapping:{tooltip:v,color:u,style:d}}}),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),t}function p(t){return u.conversionTagComponent(function(t,e,n,i){return r.__assign(r.__assign({},i),{start:[t[o.PLOYGON_X][1],t[o.PLOYGON_Y][1]],end:[t[o.PLOYGON_X][1]+.05,t[o.PLOYGON_Y][1]]})})(t),t}e.dynamicHeightFunnel=function(t){return a.flow(c,f,d,p)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(34),a=n(43),o=n(15);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=o.deepAssign({},t,{options:{line:{style:s,color:l},point:u?r.__assign({color:l},u):u,area:c?r.__assign({color:l},c):c,label:void 0}}),d=o.deepAssign({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=o.deepAssign({},f,{options:{tooltip:!1,state:p}});return a.line(f),a.point(h),a.area(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"line");if(i){var l=i.callback,u=r.__rest(i,["callback"]);s.label({fields:[a],callback:l,cfg:o.transformLabel(u)})}else s.label(!1);return t}e.adaptor=function(t){return o.flow(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(1147);r.registerAction("radar-tooltip",i.RadarTooltipAction),r.registerInteraction("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipAction=e.RadarTooltipController=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=a.isNil(s)?f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}else if(o&&e){var n=a.isNil(s)?e.name||f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,i.registerComponentController("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(532);function u(t){var e=t.chart,n=t.options,r=n.percent,i=n.liquidStyle,a=n.radius,u=n.outline,c=n.wave,f=n.shape;e.scale({percent:{min:0,max:1}}),e.data(l.getLiquidData(r));var d=n.color||e.getTheme().defaultColor,p=o.deepAssign({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:d,style:i,shape:"liquid-fill-gauge"}}}),h=s.interval(p).ext.geometry,g=e.getTheme().background;return h.customInfo({radius:a,outline:u,wave:c,shape:f,background:g}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function c(t,e){var n=t.chart,a=t.options,s=a.statistic,l=a.percent,u=a.meta;n.getController("annotation").clear(!0);var c=i.get(u,["percent","formatter"])||function(t){return(100*t).toFixed(2)+"%"},f=s.content;return f&&(f=o.deepAssign({},f,{content:i.isNil(f.content)?c(l):f.content})),o.renderStatistic(n,{statistic:r.__assign(r.__assign({},s),{content:f}),plotType:"liquid"},{percent:l}),e&&n.render(!0),t}e.statistic=c,e.adaptor=function(t){return o.flow(a.theme,a.pattern("liquidStyle"),u,c,a.scale({}),a.animation,a.interaction)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(528);function s(t,e,n,r){var i=2*n/3,a=Math.max(i,r),o=i/2,s=o+e-a/2,l=Math.asin(o/((a-o)*.85)),u=Math.sin(l)*o,c=Math.cos(l)*o,f=t-c,d=s+u,p=s+o/Math.sin(l);return"\n M "+f+" "+d+"\n A "+o+" "+o+" 0 1 1 "+(f+2*c)+" "+d+"\n Q "+t+" "+p+" "+t+" "+(e+a/2)+"\n Q "+t+" "+p+" "+f+" "+d+"\n Z \n "}function l(t,e,n,r){var i=n/2,a=r/2;return"\n M "+t+" "+(e-a)+" \n a "+i+" "+a+" 0 1 0 0 "+2*a+"\n a "+i+" "+a+" 0 1 0 0 "+-(2*a)+"\n Z\n "}function u(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+e+"\n L "+t+" "+(e+i)+"\n L "+(t-a)+" "+e+"\n Z\n "}function c(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}function f(t,e,n,r){var i=r/2,a=n/2*.618;return"\n M "+(t-a)+" "+(e-i)+"\n L "+(t+a)+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}i.registerShape("interval","liquid-fill-gauge",{draw:function(t,e){var n,i,d,p=t.customInfo,h=p.radius,g=p.shape,v=p.background,y=p.outline,m=p.wave,b=y.border,x=y.distance,_=m.count,O=m.length,P=a.reduce(t.points,function(t,e){return Math.min(t,e.x)},1/0),M=this.parsePoint({x:.5,y:.5}),A=this.parsePoint({x:P,y:.5}),S=Math.min(M.x-A.x,A.y*h),w=(n=r.__assign({opacity:1},t.style),t.color&&!n.fill&&(n.fill=t.color),n),E=(i=a.mix({},t,y),d=a.mix({},{fill:"#fff",fillOpacity:0,lineWidth:4},i.style),i.color&&!d.stroke&&(d.stroke=i.color),a.isNumber(i.opacity)&&(d.opacity=d.strokeOpacity=i.opacity),d),C=S-b/2,T={pin:s,circle:l,diamond:u,triangle:c,rect:f},I=("function"==typeof g?g:T[g]||T.circle)(M.x,M.y,2*C,2*C),j=e.addGroup({name:"waves"}),F=j.setClip({type:"path",attrs:{path:I}});return function(t,e,n,r,i,a,s,l,u){for(var c=i.fill,f=i.opacity,d=s.getBBox(),p=d.maxX-d.minX,h=d.maxY-d.minY,g=0;g0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0?g:v},b=l.deepAssign({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return o.interval(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=l.deepAssign({},{alias:f},i.get(d,f));return l.flow(a.scale(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),l.deepAssign({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=s.getLocale(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:l.deepAssign({},{r:5},i.get(a,"style"))}}),e.legend(l.deepAssign({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=l.findGeometry(e,"interval");if(i){var c=i.callback,f=r.__rest(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:l.transformLabel(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip(r.__assign({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1153),e.tooltip=y,e.adaptor=function(t){return l.flow(f,a.theme,d,p,h,g,y,v,a.state,a.interaction,a.animation,a.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(15);i.registerShape("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0,d=c>0;function p(t,e){var n=a.get(i,[t]);function r(t){return a.get(n,t)}var o={};return"x"===e?(a.isNumber(u)&&(a.isNumber(r("min"))||(o.min=f?0:2*u),a.isNumber(r("max"))||(o.max=f?2*u:0)),o):(a.isNumber(c)&&(a.isNumber(r("min"))||(o.min=d?0:2*c),a.isNumber(r("max"))||(o.max=d?2*c:0)),o)}return r.__assign(r.__assign({},i),((e={})[o]=r.__assign(r.__assign({},i[o]),p(o,"x")),e[s]=r.__assign(r.__assign({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(520)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(537);function u(t){var e=t.chart,n=t.options,a=n.bulletStyle,u=n.targetField,c=n.rangeField,f=n.measureField,d=n.xField,p=n.color,h=n.layout,g=n.size,v=n.label,y=l.transformData(n),m=y.min,b=y.max,x=y.ds;e.data(x);var _=o.deepAssign({},t,{options:{xField:d,yField:c,seriesField:"rKey",isStack:!0,label:i.get(v,"range"),interval:{color:i.get(p,"range"),style:i.get(a,"range"),size:i.get(g,"range")}}});s.interval(_),e.geometries[0].tooltip(!1);var O=o.deepAssign({},t,{options:{xField:d,yField:f,seriesField:"mKey",isStack:!0,label:i.get(v,"measure"),interval:{color:i.get(p,"measure"),style:i.get(a,"measure"),size:i.get(g,"measure")}}});s.interval(O);var P=o.deepAssign({},t,{options:{xField:d,yField:u,seriesField:"tKey",label:i.get(v,"target"),point:{color:i.get(p,"target"),style:i.get(a,"target"),size:i.isFunction(i.get(g,"target"))?function(t){return i.get(g,"target")(t)/2}:i.get(g,"target")/2,shape:"horizontal"===h?"line":"hyphen"}}});return s.point(P),"horizontal"===h&&e.coordinate().transpose(),r.__assign(r.__assign({},t),{ext:{data:{min:m,max:b}}})}function c(t){var e,n,r=t.options,i=t.ext,s=r.xAxis,l=r.yAxis,u=r.targetField,c=r.rangeField,f=r.measureField,d=r.xField,p=i.data;return o.flow(a.scale(((e={})[d]=s,e[f]=l,e),((n={})[f]={min:null==p?void 0:p.min,max:null==p?void 0:p.max,sync:!0},n[u]={sync:""+f},n[c]={sync:""+f},n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.measureField,s=n.rangeField,l=n.targetField;return e.axis(""+s,!1),e.axis(""+l,!1),!1===r?e.axis(""+a,!1):e.axis(""+a,r),!1===i?e.axis(""+o,!1):e.axis(""+o,i),t}function d(t){var e=t.chart,n=t.options.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function p(t){var e=t.chart,n=t.options,a=n.label,s=n.measureField,l=n.targetField,u=n.rangeField,c=e.geometries,f=c[0],d=c[1],p=c[2];return i.get(a,"range")?f.label(""+u,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.range))):f.label(!1),i.get(a,"measure")?d.label(""+s,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.measure))):d.label(!1),i.get(a,"target")?p.label(""+l,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.target))):p.label(!1),t}e.meta=c,e.adaptor=function(t){o.flow(u,c,f,d,a.theme,p,a.tooltip,a.interaction,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=function(){for(var t=[],e=0;e=(0,r.get)(e,["views","length"],0)?i(e):(0,r.reduce)(e.views,function(e,n){return e.concat(t(n))},i(e))},e.getAllGeometriesRecursively=function(t){return 0>=(0,r.get)(t,["views","length"],0)?t.geometries:(0,r.reduce)(t.views,function(t,e){return t.concat(e.geometries)},t.geometries)};var r=n(0);function i(t){return(0,r.reduce)(t.geometries,function(t,e){return t.concat(e.elements)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=function(t){if(!(0,i.isType)(t,"Object"))return t;var e=(0,r.__assign)({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e};var r=n(1),i=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.catmullRom2bezier=o,e.getSplinePath=function(t,e,n){var r=[],a=t[0],s=null;if(t.length<=2)return i(t,e);for(var l=0,u=t.length;l0){var n;(function(t,e,n){var i,a=t.view,o=t.geometry,s=t.group,u=t.options,c=t.horizontal,f=u.offset,d=u.size,p=u.arrow,h=a.getCoordinate(),g=l(h,e)[c?3:0],v=l(h,n)[c?0:3],y=v.y-g.y,m=v.x-g.x;if("boolean"!=typeof p){var b=p.headSize,x=u.spacing;c?(m-b)/2_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}};var r=n(1),i=n(0),a=n(14),o=n(7),s=n(551);function l(t,e){return(0,i.map)(e.getModel().points,function(e){return t.convertPoint(e)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}};var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};(0,r.registerInteraction)(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),(0,r.registerInteraction)(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getInteractionCfg=o;var r=n(14),i=n(1199);function a(t){return t.isInPlot()}function o(t,e,n){var r=e||"rect";switch(t){case"brush":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush:filter","brush:end",r+"-mask:end",r+"-mask:hide","brush-reset-button:show"]}],rollback:[{trigger:"brush-reset-button:click",action:["brush:reset","brush-reset-button:hide","cursor:crosshair"]}]};case"brush-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-x":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-x:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-x:filter","brush-x:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]};case"brush-x-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-y":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-y:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-y:filter","brush-y:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-y:reset"]}]};case"brush-y-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};default:return{}}}(0,r.registerAction)("brush-reset-button",i.ButtonAction,{name:"brush-reset-button"}),(0,r.registerInteraction)("filter-action",{}),(0,r.registerInteraction)("brush",o("brush")),(0,r.registerInteraction)("brush-highlight",o("brush-highlight")),(0,r.registerInteraction)("brush-x",o("brush-x","x-rect")),(0,r.registerInteraction)("brush-y",o("brush-y","y-rect")),(0,r.registerInteraction)("brush-x-highlight",o("brush-x-highlight","x-rect")),(0,r.registerInteraction)("brush-y-highlight",o("brush-y-highlight","y-rect"))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};e.BUTTON_ACTION_CONFIG=s;var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg=(0,r.__assign)({name:"button"},s),e}return(0,r.__extends)(e,t),e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,a.get)(t,["interactions","filter-action","cfg","buttonConfig"]);return(0,o.deepAssign)(this.buttonCfg,e,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},e.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:(0,r.__assign)({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},e.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=(0,o.normalPadding)(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:(0,r.__assign)({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(i.Action);e.ButtonAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(561),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return(0,a.isEqual)(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix((0,o.transform)([["t",f,d]])),a.setMatrix((0,o.transform)([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=r(n(6)),a=n(1),o=n(14),s=n(0),l=n(542),u=n(1204),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,r=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var a=(0,s.get)(r,["data","data"]);if(r.type.match("legend-item")){var c=o.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;a=n.getData().find(function(t){return t[f]===d.value})}}if(a){var p=(0,s.get)(t,"annotations",[]),h=(0,s.get)(t,"statistic",{});n.getController("annotation").clear(!0),(0,s.each)(p,function(t){"object"===(0,i.default)(t)&&n.annotation()[t.type](t)}),(0,l.renderStatistic)(n,{statistic:h,plotType:"pie"},a),n.render(!0)}var g=(0,u.getCurrentElement)(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();(0,s.each)(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(o.Action);e.StatisticAction=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(19),a=n(1206),o=n(1207),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,a.flow)((0,o.pattern)("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,(0,o.annotation)(),o.state)(t)},e.legend=c;var r=n(1),i=n(0),a=n(7),o=n(22),s=n(30);function l(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,o=n.color;return e.data(r),(0,a.flow)(s.interval)((0,a.deepAssign)({},t,{options:{marginRatio:1,interval:{style:i,color:o}}})),t}function u(t){var e=t.chart,n=t.options,o=n.label,s=n.xField,l=(0,a.findGeometry)(e,"interval");if(!1===o)l.label(!1);else if((0,i.isObject)(o)){var u=o.callback,c=o.fields,f=(0,r.__rest)(o,["callback","fields"]),d=f.offset,p=f.layout;(void 0===d||d>=0)&&(p=p?(0,i.isArray)(p)?p:[p]:[],f.layout=(0,i.filter)(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:(0,a.transformLabel)(f)})}else(0,a.log)(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordCloud=void 0;var r=n(1),i=n(19),a=n(1209),o=n(563),s=n(562);n(1211);var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData((0,s.transform)({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i){t.prototype.render.call(e),n();return}var a=function(i){e.options=(0,r.__assign)((0,r.__assign)({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};(0,s.processImageMask)(i).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))},e}(i.Plot);e.WordCloud=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,o.flow)(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)},e.legend=d;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(562),u=n(563);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=(0,l.transform)(t);e.data(f);var d=(0,o.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:(0,i.isFunction)(c)&&(0,r.__spreadArrays)((0,i.get)(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return(0,s.point)(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return(0,o.flow)((0,a.scale)({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=g,e.transform=a,e.wordCloud=function(t,e){return a(t,e=(0,r.assign)({},i,e))};var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){(0,r.isNil)(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n0,d=c>0;function p(t,e){var n=(0,a.get)(i,[t]);function r(t){return(0,a.get)(n,t)}var o={};return"x"===e?((0,a.isNumber)(u)&&((0,a.isNumber)(r("min"))||(o.min=f?0:2*u),(0,a.isNumber)(r("max"))||(o.max=f?2*u:0)),o):((0,a.isNumber)(c)&&((0,a.isNumber)(r("min"))||(o.min=d?0:2*c),(0,a.isNumber)(r("max"))||(o.max=d?2*c:0)),o)}return(0,r.__assign)((0,r.__assign)({},i),((e={})[o]=(0,r.__assign)((0,r.__assign)({},i[o]),p(o,"x")),e[s]=(0,r.__assign)((0,r.__assign)({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";n(566)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Radar=void 0;var r=n(1),i=n(19),a=n(7),o=n(1216);n(1217);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}return(0,r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Radar=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,(0,i.annotation)())(t)};var r=n(1),i=n(22),a=n(30),o=n(7);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=(0,o.deepAssign)({},t,{options:{line:{style:s,color:l},point:u?(0,r.__assign)({color:l},u):u,area:c?(0,r.__assign)({color:l},c):c,label:void 0}}),d=(0,o.deepAssign)({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=(0,o.deepAssign)({},f,{options:{tooltip:!1,state:p}});return(0,a.line)(f),(0,a.point)(h),(0,a.area)(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return(0,o.flow)((0,i.scale)(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"line");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,o.transformLabel)(u)})}else s.label(!1);return t}},function(t,e,n){"use strict";var r=n(14),i=n(1218);(0,r.registerAction)("radar-tooltip",i.RadarTooltipAction),(0,r.registerInteraction)("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipController=e.RadarTooltipAction=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=(0,a.isNil)(s)?f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}else if(o&&e){var n=(0,a.isNil)(s)?e.name||f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,(0,i.registerComponentController)("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DualAxes=void 0;var r=n(1),i=n(19),a=n(7),o=n(1220),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.DualAxes=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)},e.animation=A,e.annotation=P,e.axis=x,e.color=m,e.interaction=O,e.legend=w,e.limitInPlot=S,e.meta=b,e.slider=E,e.theme=M,e.tooltip=_,e.transformOptions=g;var r=n(1),i=n(0),a=n(22),o=n(123),s=n(7),l=n(540),u=n(305),c=n(1221),f=n(1222),d=n(1223),p=n(567),h=n(568);function g(t){var e,n=t.options,r=n.geometryOptions,a=void 0===r?[]:r,o=n.xField,l=n.yField,c=(0,i.every)(a,function(t){var e=t.geometry;return e===p.DualAxesGeometry.Line||void 0===e});return(0,s.deepAssign)({},{options:{geometryOptions:[],meta:((e={})[o]={type:"cat",sync:!0,range:c?[0,1]:void 0},e),tooltip:{showMarkers:c,showCrosshairs:c,shared:!0,crosshairs:{type:"x"}},interactions:c?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:(0,u.transformObjectToArray)(l,n.yAxis),geometryOptions:[(0,u.getGeometryOption)(o,l[0],a[0]),(0,u.getGeometryOption)(o,l[1],a[1])],annotations:(0,u.transformObjectToArray)(l,n.annotations)}})}function v(t){var e,n,r=t.chart,i=t.options.geometryOptions,a={line:0,column:1};return[{type:null===(e=i[0])||void 0===e?void 0:e.geometry,id:h.LEFT_AXES_VIEW},{type:null===(n=i[1])||void 0===n?void 0:n.geometry,id:h.RIGHT_AXES_VIEW}].sort(function(t,e){return-a[t.type]+a[e.type]}).forEach(function(t){return r.createView({id:t.id})}),t}function y(t){var e=t.chart,n=t.options,i=n.xField,a=n.yField,s=n.geometryOptions,c=n.data,d=n.tooltip;return[(0,r.__assign)((0,r.__assign)({},s[0]),{id:h.LEFT_AXES_VIEW,data:c[0],yField:a[0]}),(0,r.__assign)((0,r.__assign)({},s[1]),{id:h.RIGHT_AXES_VIEW,data:c[1],yField:a[1]})].forEach(function(t){var n=t.id,a=t.data,s=t.yField,c=(0,u.isColumn)(t)&&t.isPercent,p=c?(0,o.percent)(a,s,i,s):a,h=(0,l.findViewById)(e,n).data(p),g=c?(0,r.__assign)({formatter:function(e){return{name:e[t.seriesField]||s,value:(100*Number(e[s])).toFixed(2)+"%"}}},d):d;(0,f.drawSingleGeometry)({chart:h,options:{xField:i,yField:s,tooltip:g,geometryOption:t}})}),t}function m(t){var e,n=t.chart,r=t.options.geometryOptions,a=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],o=0;return n.once("beforepaint",function(){(0,i.each)(r,function(t,e){var r=(0,l.findViewById)(n,0===e?h.LEFT_AXES_VIEW:h.RIGHT_AXES_VIEW);if(!t.color){var s=r.getGroupScales(),u=(0,i.get)(s,[0,"values","length"],1),c=a.slice(o,o+u).concat(0===e?[]:a);r.geometries.forEach(function(e){t.seriesField?e.color(t.seriesField,c):e.color(c[0])}),o+=u}}),n.render(!0)}),t}function b(t){var e,n,r=t.chart,i=t.options,o=i.xAxis,u=i.yAxis,c=i.xField,f=i.yField;return(0,a.scale)(((e={})[c]=o,e[f[0]]=u[0],e))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.LEFT_AXES_VIEW)})),(0,a.scale)(((n={})[c]=o,n[f[1]]=u[1],n))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.RIGHT_AXES_VIEW)})),t}function x(t){var e=t.chart,n=t.options,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),a=n.xField,o=n.yField,s=n.xAxis,c=n.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),r.axis(a,s),r.axis(o[0],(0,u.getYAxisWithDefault)(c[0],p.AxisType.Left)),i.axis(a,!1),i.axis(o[1],(0,u.getYAxisWithDefault)(c[1],p.AxisType.Right)),t}function _(t){var e=t.chart,n=t.options.tooltip,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return e.tooltip(n),r.tooltip({shared:!0}),i.tooltip({shared:!0}),t}function O(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function P(t){var e=t.chart,n=t.options.annotations,r=(0,i.get)(n,[0]),o=(0,i.get)(n,[1]);return(0,a.annotation)(r)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{annotations:r}})),(0,a.annotation)(o)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{annotations:o}})),t}function M(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),(0,a.theme)(t),t}function A(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function S(t){var e=t.chart,n=t.options.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{yAxis:n[0]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{yAxis:n[1]}})),t}function w(t){var e=t.chart,n=t.options,r=n.legend,a=n.geometryOptions,o=n.yField,u=n.data,f=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),d=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);if(!1===r)e.legend(!1);else if((0,i.isObject)(r)&&!0===r.custom)e.legend(r);else{var p=(0,i.get)(a,[0,"legend"],r),g=(0,i.get)(a,[1,"legend"],r);e.once("beforepaint",function(){var t=u[0].length?(0,c.getViewLegendItems)({view:f,geometryOption:a[0],yField:o[0],legend:p}):[],n=u[1].length?(0,c.getViewLegendItems)({view:d,geometryOption:a[1],yField:o[1],legend:g}):[];e.legend((0,s.deepAssign)({},r,{custom:!0,items:t.concat(n)}))}),a[0].seriesField&&f.legend(a[0].seriesField,p),a[1].seriesField&&d.legend(a[1].seriesField,g),e.on("legend-item:click",function(t){var n=(0,i.get)(t,"gEvent.delegateObject",{});if(n&&n.item){var r=n.item,a=r.value,s=r.isGeometry,u=r.viewId;if(s){if((0,i.findIndex)(o,function(t){return t===a})>-1){var c=(0,i.get)((0,l.findViewById)(e,u),"geometries");(0,i.each)(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=(0,i.get)(e.getController("legend"),"option.items",[]);(0,i.each)(e.views,function(t){var n=t.getGroupScales();(0,i.each)(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!(0,i.find)(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),a=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;(0,i.isEqual)(n,r)||(0,d.doSliderFilter)(a,n)}),e.once("afterpaint",function(){if(!(0,i.isBoolean)(n)){var t=n.start,e=n.end;(t||e)&&(0,d.doSliderFilter)(a,[t,e])}})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=(0,r.get)(l,"marker"),c=(0,a.findGeometry)(e,(0,o.isLine)(n)?"line":"interval");if(!n.seriesField){var f=(0,r.get)(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,(0,r.get)(d,["values",0],p)));var h=((0,r.isFunction)(u)?u:!(0,r.isEmpty)(u)&&(0,a.deepAssign)({},{style:{stroke:p,fill:p}},u))||((0,o.isLine)(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return(0,r.reduce)(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])};var r=n(0),i=n(14),a=n(7),o=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if((0,l.isLine)(u)){(0,a.line)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),(0,a.point)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{point:u.point&&(0,r.__assign)({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&(0,i.each)(n.geometries,function(t){t.adjust(v)})}return(0,l.isColumn)(u)&&(0,s.adaptor)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{widthRatio:u.columnWidthRatio,interval:(0,r.__assign)((0,r.__assign)({},(0,o.pick)(u,["color"])),{style:u.columnStyle})})})),t};var r=n(1),i=n(0),a=n(30),o=n(7),s=n(198),l=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(7);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=(0,r.size)(o);if(s&&l){var u=(0,r.valuesOfKey)(o,s.field),c=(0,r.size)(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||(0,i.isBetween)(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_TOOLTIP_OPTIONS=e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(0),a={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+(0,i.get)(e,[0,"data","y"],0)},containerTpl:'
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o={appendPadding:2,tooltip:(0,r.__assign)({},a),animation:{}};e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(156),a={appendPadding:2,tooltip:(0,r.__assign)({},i.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}};e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(19),a=n(1228),o=n(1229);n(1230),n(1231);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(o.theme,(0,o.pattern)("heatmapStyle"),c,h,u,f,d,o.tooltip,p,(0,o.annotation)(),o.interaction,o.animation,o.state)(t)};var r=n(1),i=n(0),a=n(7),o=n(22),s=n(49),l=n(65);function u(t){var e=t.chart,n=t.options,r=n.data,o=n.type,u=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=(0,l.getTooltipMapping)(v,[u,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),(0,s.geometry)((0,a.deepAssign)({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,((0,i.get)(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function c(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function p(t){var e=t.chart,n=t.options,i=n.label,o=n.colorField,s=n.type,l=(0,a.findGeometry)(e,"density"===s?"heatmap":"polygon");if(i){if(o){var u=i.callback,c=(0,r.__rest)(i,["callback"]);l.label({fields:[o],callback:u,cfg:(0,a.transformLabel)(c)})}}else l.label(!1);return t}function h(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Box=void 0;var r=n(1),i=n(19),a=n(1233),o=n(582),s=n(308),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find(function(t){return t.id===s.OUTLIERS_VIEW_ID});n&&n.data(t),this.chart.changeData((0,o.transformData)(t,e))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Box=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(f,d,p,h,g,a.tooltip,a.interaction,a.animation,a.theme)(t)},e.legend=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(99),u=n(308),c=n(582);function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,l=n.groupField,f=n.color,d=n.tooltip,p=n.boxStyle;e.data((0,c.transformData)(n.data,a));var h=(0,i.isArray)(a)?u.BOX_RANGE:a,g=a?(0,i.isArray)(a)?a:[a]:[],v=d;!1!==v&&(v=(0,s.deepAssign)({},{fields:(0,i.isArray)(a)?a:[]},v));var y=(0,o.schema)((0,s.deepAssign)({},t,{options:{xField:r,yField:h,seriesField:l,tooltip:v,rawFields:g,label:!1,schema:{shape:"box",color:f,style:p}}})).ext;return l&&y.geometry.adjust("dodge"),t}function d(t){var e=t.chart,n=t.options,i=n.xField,a=n.data,s=n.outliersField,l=n.outliersStyle,c=n.padding,f=n.label;if(!s)return t;var d=e.createView({padding:c,id:u.OUTLIERS_VIEW_ID}),p=a.reduce(function(t,e){return e[s].forEach(function(n){var i;return t.push((0,r.__assign)((0,r.__assign)({},e),((i={})[s]=n,i)))}),t},[]);return d.data(p),(0,o.point)({chart:d,options:{xField:i,yField:s,point:{shape:"circle",style:l},label:f}}),d.axis(!1),t}function p(t){var e,n,r=t.chart,i=t.options,a=i.meta,o=i.xAxis,c=i.yAxis,f=i.xField,d=i.yField,p=i.outliersField,h=Array.isArray(d)?u.BOX_RANGE:d,g={};if(p){var v=u.BOX_SYNC_NAME;(e={})[p]={sync:v,nice:!0},e[h]={sync:v,nice:!0},g=e}var y=(0,s.deepAssign)(g,a,((n={})[f]=(0,s.pick)(o,l.AXIS_META_CONFIG_KEYS),n[h]=(0,s.pick)(c,l.AXIS_META_CONFIG_KEYS),n));return r.scale(y),t}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField,s=Array.isArray(o)?u.BOX_RANGE:o;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(u.BOX_RANGE,!1):e.axis(s,i),t}function g(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Violin=void 0;var r=n(1),i=n(19),a=n(1235),o=n(584),s=n(583),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="violin",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData((0,s.transformViolinData)(this.options))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Violin=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(s.theme,g,v,y,m,s.tooltip,b,x,s.interaction,_,O)(t)},e.animation=O;var i=r(n(6)),a=n(1),o=n(0),s=n(22),l=n(30),u=n(7),c=n(99),f=n(583),d=n(584),p=["low","high","q1","q3","median"],h=[{type:"dodge",marginRatio:1/32}];function g(t){var e=t.chart,n=t.options;return e.data((0,f.transformViolinData)(n)),t}function v(t){var e=t.chart,n=t.options,r=n.seriesField,i=n.color,o=n.shape,s=n.violinStyle,u=n.tooltip,c=n.state,f=e.createView({id:d.VIOLIN_VIEW_ID});return(0,l.violin)({chart:f,options:{xField:d.X_FIELD,yField:d.VIOLIN_Y_FIELD,seriesField:r||d.X_FIELD,sizeField:d.VIOLIN_SIZE_FIELD,tooltip:(0,a.__assign)({fields:p},u),violin:{style:s,color:i,shape:void 0===o?"violin":o},state:c}}),f.geometries[0].adjust(h),t}function y(t){var e=t.chart,n=t.options,r=n.seriesField,o=n.color,s=n.tooltip,u=n.box;if(!1===u)return t;var c=e.createView({id:d.MIN_MAX_VIEW_ID});(0,l.interval)({chart:c,options:{xField:d.X_FIELD,yField:d.MIN_MAX_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:1,style:{lineWidth:0}}}}),c.geometries[0].adjust(h);var f=e.createView({id:d.QUANTILE_VIEW_ID});(0,l.interval)({chart:f,options:{xField:d.X_FIELD,yField:d.QUANTILE_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:8,style:{fillOpacity:1}}}}),f.geometries[0].adjust(h);var g=e.createView({id:d.MEDIAN_VIEW_ID});return(0,l.point)({chart:g,options:{xField:d.X_FIELD,yField:d.MEDIAN_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},point:{color:o,size:1,style:{fill:"white",lineWidth:0}}}}),g.geometries[0].adjust(h),f.axis(!1),c.axis(!1),g.axis(!1),g.legend(!1),c.legend(!1),f.legend(!1),t}function m(t){var e,n=t.chart,r=t.options,i=r.meta,o=r.xAxis,s=r.yAxis,l=(0,u.deepAssign)({},i,((e={})[d.X_FIELD]=(0,a.__assign)((0,a.__assign)({sync:!0},(0,u.pick)(o,c.AXIS_META_CONFIG_KEYS)),{type:"cat"}),e[d.VIOLIN_Y_FIELD]=(0,a.__assign)({sync:!0},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MIN_MAX_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.QUANTILE_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MEDIAN_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e));return n.scale(l),t}function b(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return!1===r?a.axis(d.X_FIELD,!1):a.axis(d.X_FIELD,r),!1===i?a.axis(d.VIOLIN_Y_FIELD,!1):a.axis(d.VIOLIN_Y_FIELD,i),e.axis(!1),t}function x(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField,a=n.shape;if(!1===r)e.legend(!1);else{var s=i||d.X_FIELD,l=(0,o.omit)(r,["selected"]);a&&a.startsWith("hollow")||(0,o.get)(l,["marker","style","lineWidth"])||(0,o.set)(l,["marker","style","lineWidth"],0),e.legend(s,l),(0,o.get)(r,"selected")&&(0,o.each)(e.views,function(t){return t.legend(s,r)})}return t}function _(t){var e=t.chart,n=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return(0,s.annotation)()((0,a.__assign)((0,a.__assign)({},t),{chart:n})),t}function O(t){var e=t.chart,n=t.options.animation;return(0,o.each)(e.views,function(t){"boolean"==typeof n?t.animate(n):t.animate(!0),(0,o.each)(t.geometries,function(t){t.animate(n)})}),t}},function(t,e,n){"use strict";var r=Math.log(2),i=t.exports,a=n(1237);function o(t){return 1-Math.abs(t)}t.exports.getUnifiedMinMax=function(t,e){return i.getUnifiedMinMaxMulti([t],e)},t.exports.getUnifiedMinMaxMulti=function(t,e){e=e||{};var n=!1,r=!1,i=a.isNumber(e.width)?e.width:2,o=a.isNumber(e.size)?e.size:50,s=a.isNumber(e.min)?e.min:(n=!0,a.findMinMulti(t)),l=a.isNumber(e.max)?e.max:(r=!0,a.findMaxMulti(t)),u=(l-s)/(o-1);return n&&(s-=2*i*u),r&&(l+=2*i*u),{min:s,max:l}},t.exports.create=function(t,e){if(e=e||{},!t||0===t.length)return[];var n=a.isNumber(e.size)?e.size:50,r=a.isNumber(e.width)?e.width:2,s=i.getUnifiedMinMax(t,{size:n,width:r,min:e.min,max:e.max}),l=s.min,u=s.max-l,c=u/(n-1);if(0===u)return[{x:l,y:1}];for(var f=[],d=0;d=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),s=e+r-i,u=h/(h-(p[-r-1+o]||0)-(p[-r-1+s]||0));o>0&&(v+=u*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*u*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*u*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*u*g)}});var y=v,m=0,b=0;return f.forEach(function(t){m+=t.y,y+=m,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},function(t,e,n){"use strict";var r=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n1)throw Error("quantiles must be between 0 and 1");return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t,e,n,r){for(n=n||0,r=r||t.length-1;r>n;){if(r-n>600){var o=r-n+1,s=e-n+1,l=Math.log(o),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(o-u)/o);s-o/2<0&&(c*=-1);var f=Math.max(n,Math.floor(e-s*u/o+c)),d=Math.min(r,Math.floor(e+(o-s)*u/o+c));a(t,e,f,d)}var p=t[e],h=n,g=r;for(i(t,n,e),t[r]>p&&i(t,n,r);hp;)g--}t[n]===p?i(t,n,g):i(t,++g,r),g<=e&&(n=g+1),e<=g&&(r=g-1)}}function o(t,e,n,r){e%1==0?a(t,e,n,r):(a(t,e=Math.floor(e),n,r),a(t,e+1,e+1,r))}function s(t,e){return t-e}function l(t,e){var n=t*e;return 1===e?t-1:0===e?0:n%1!=0?Math.ceil(n)-1:t%2==0?n-.5:n}Object.defineProperty(e,"__esModule",{value:!0}),e.quantile=function(t,e){var n=t.slice();if(Array.isArray(e)){(function(t,e){for(var n=[0],r=0;re?e:t},lighten:function(t,e){return t>e?t:e},dodge:function(t,e){return 255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t},burn:function(t,e){return 255===e?255:0===t?0:255*(1-Math.min(1,(1-e/255)/(t/255)))}},o=function(t){if(!a[t])throw Error("unknown blend mode "+t);return a[t]};function s(t){var e,n=t.replace("/s+/g","");return"string"!=typeof n||n.startsWith("rgba")||n.startsWith("#")?(n.startsWith("rgba")&&(e=n.replace("rgba(","").replace(")","").split(",")),n.startsWith("#")&&(e=i.default.rgb2arr(n).concat([1])),e.map(function(t,e){return 3===e?Number(t):0|t})):i.default.rgb2arr(i.default.toRGB(n)).concat([1])}e.innerBlend=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bestInitialLayout=s,e.constrainedMDSLayout=l,e.disjointCluster=f,e.distanceFromIntersectArea=a,e.getDistanceMatrices=o,e.greedyLayout=u,e.lossFunction=c,e.normalizeSolution=function(t,e,n){null===e&&(e=Math.PI/2);var r,a,o=[];for(a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push({x:s.x,y:s.y,radius:s.radius,setid:a})}var l=f(o);for(r=0;r0){var r,a=t[0].x,o=t[0].y;for(r=0;r1){var s=Math.atan2(t[1].x,t[1].y)-e,l=void 0,u=void 0,c=Math.cos(s),f=Math.sin(s);for(r=0;r2){for(var d=Math.atan2(t[2].x,t[2].y)-e;d<0;)d+=2*Math.PI;for(;d>2*Math.PI;)d-=2*Math.PI;if(d>Math.PI){var p=t[1].y/(1e-10+t[1].x);for(r=0;re?1:-1}),e=0;e=Math.min(e[r].size,e[s].size)?u=1:t.size<=1e-10&&(u=-1),o[r][s]=o[s][r]=u}),{distances:i,constraints:o}}function s(t,e){var n=u(t,e),r=e.lossFunction||c;if(t.length>=8){var i=l(t,e);r(i,t)+1e-80&&h<=f||d<0&&h>=f||(a+=2*g*g,e[2*i]+=4*g*(o-u),e[2*i+1]+=4*g*(s-c),e[2*l]+=4*g*(u-o),e[2*l+1]+=4*g*(c-s))}return a}(t,e,d,p)};for(n=0;n=Math.min(o[p].size,o[h].size)&&(d=0),s[p].push({set:h,size:f.size,weight:d}),s[h].push({set:p,size:f.size,weight:d})}var g=[];for(n in s)if(s.hasOwnProperty(n)){for(var v=0,l=0;l0&&console.log("WARNING: area "+s+" not represented on screen")}return n},e.intersectionAreaPath=function(t){var e={};(0,i.intersectionArea)(t,e);var n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){var r=n[0].circle;return s(r.x,r.y,r.radius)}for(var a=["\nM",n[0].p2.x,n[0].p2.y],o=0;ou;a.push("\nA",u,u,0,c?1:0,1,l.p1.x,l.p1.y)}return a.join(" ")};var r=n(585),i=n(586);function a(t,e,n){var r,a,o=e[0].radius-(0,i.distance)(e[0],t);for(r=1;r=c&&(u=s[n],c=f)}var d=(0,r.nelderMead)(function(n){return -1*a({x:n[0],y:n[1]},t,e)},[u.x,u.y],{maxIterations:500,minErrorDelta:1e-10}).x,p={x:d[0],y:d[1]},h=!0;for(n=0;nt[n].radius){h=!1;break}for(n=0;n0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0&&t.depth>p)return null;for(var e,i,s,l,f,h,v=t.data.name,y=(0,r.__assign)({},t);y.depth>1;)v=(null===(i=y.parent.data)||void 0===i?void 0:i.name)+" / "+v,y=y.parent;var b=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(t.data,(0,r.__spreadArrays)(c||[],[d.field]))),((e={})[u.SUNBURST_PATH_FIELD]=v,e[u.SUNBURST_ANCESTOR_FIELD]=y.data.name,e)),t);g&&(b[g]=t.data[g]||(null===(l=null===(s=t.parent)||void 0===s?void 0:s.data)||void 0===l?void 0:l[g])),n&&(b[n]=t.data[n]||(null===(h=null===(f=t.parent)||void 0===f?void 0:f.data)||void 0===h?void 0:h[n])),b.ext=d,b[a.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:d,colorField:n,rawFields:c},m.push(b)}),m};var r=n(1),i=n(0),a=n(201),o=n(7),s=n(1266),l=n(593),u=n(312)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.partition=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||2!==r.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.partition().size(e.size).round(e.round).padding(e.padding)(i.hierarchy(t).sum(function(t){return(0,a.size)(t.children)?e.ignoreParentValue?0:t[n]-(0,a.reduce)(t.children,function(t,e){return t+e[n]},0):t[n]}).sort(e.sort)),u=r[0],c=r[1];return s.each(function(t){var e,n;t[u]=[t.x0,t.x1,t.x1,t.x0],t[c]=[t.y1,t.y1,t.y0,t.y0],t.name=t.name||(null===(e=t.data)||void 0===e?void 0:e.name)||(null===(n=t.data)||void 0===n?void 0:n.label),t.data.name=t.name,["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",size:[1,1],round:!1,padding:0,sort:function(t,e){return e.value-t.value},as:["x","y"],ignoreParentValue:!0}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:(0,r.__assign)({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:(0,r.__assign)({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";var r=n(14),i=n(0);(0,r.registerShape)("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=(0,i.clamp)(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_0?g:v},b=(0,l.deepAssign)({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return(0,o.interval)(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=(0,l.deepAssign)({},{alias:f},(0,i.get)(d,f));return(0,l.flow)((0,a.scale)(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),(0,l.deepAssign)({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=(0,s.getLocale)(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:(0,l.deepAssign)({},{r:5},(0,i.get)(a,"style"))}}),e.legend((0,l.deepAssign)({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=(0,l.findGeometry)(e,"interval");if(i){var c=i.callback,f=(0,r.__rest)(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:(0,l.transformLabel)(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip((0,r.__assign)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1272)},function(t,e,n){"use strict";var r=n(1),i=n(14),a=n(0),o=n(7);(0,i.registerShape)("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0?Math.max.apply(Math,r):0,a=Math.abs(t)%360;return a?360*i/a:i},e.getStackedData=function(t,e,n){var i=[];return t.forEach(function(t){var a=i.find(function(n){return n[e]===t[e]});a?a[n]+=t[n]||null:i.push((0,r.__assign)({},t))}),i};var r=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BidirectionalBar=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(1278),l=n(599),u=n(598),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return(0,o.deepAssign)({},t.getDefaultOptions.call(this),{syncViewPadding:l.syncViewPadding})},e.prototype.changeData=function(t){void 0===t&&(t=[]),this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,a=e.layout,s=(0,l.transformData)(n,r,u.SERIES_FIELD_KEY,t,(0,l.isHorizontal)(a)),c=s[0],f=s[1],d=(0,o.findViewById)(this.chart,u.FIRST_AXES_VIEW),p=(0,o.findViewById)(this.chart,u.SECOND_AXES_VIEW);d.data(c),p.data(f),this.chart.render(!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.SERIES_FIELD_KEY=u.SERIES_FIELD_KEY,e}(a.Plot);e.BidirectionalBar=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(c,f,d,h,g,y,a.tooltip,p,v)(t)},e.animation=v,e.interaction=p,e.limitInPlot=h,e.theme=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(598),u=n(599);function c(t){var e,n,r=t.chart,i=t.options,a=i.data,c=i.xField,f=i.yField,d=i.color,p=i.barStyle,h=i.widthRatio,g=i.legend,v=i.layout,y=(0,u.transformData)(c,f,l.SERIES_FIELD_KEY,a,(0,u.isHorizontal)(v));g?r.legend(l.SERIES_FIELD_KEY,g):!1===g&&r.legend(!1);var m=y[0],b=y[1];(0,u.isHorizontal)(v)?((e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:l.FIRST_AXES_VIEW})).coordinate().transpose().reflect("x"),(n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().transpose(),e.data(m),n.data(b)):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:l.FIRST_AXES_VIEW}),(n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().reflect("y"),e.data(m),n.data(b));var x=(0,s.deepAssign)({},t,{chart:e,options:{widthRatio:h,xField:c,yField:f[0],seriesField:l.SERIES_FIELD_KEY,interval:{color:d,style:p}}});(0,o.interval)(x);var _=(0,s.deepAssign)({},t,{chart:n,options:{xField:c,yField:f[1],seriesField:l.SERIES_FIELD_KEY,widthRatio:h,interval:{color:d,style:p}}});return(0,o.interval)(_),t}function f(t){var e,n,r,o=t.options,u=t.chart,c=o.xAxis,f=o.yAxis,d=o.xField,p=o.yField,h=(0,s.findViewById)(u,l.FIRST_AXES_VIEW),g=(0,s.findViewById)(u,l.SECOND_AXES_VIEW),v={};return(0,i.keys)((null==o?void 0:o.meta)||{}).map(function(t){(0,i.get)(null==o?void 0:o.meta,[t,"alias"])&&(v[t]=o.meta[t].alias)}),u.scale(((e={})[l.SERIES_FIELD_KEY]={sync:!0,formatter:function(t){return(0,i.get)(v,t,t)}},e)),(0,a.scale)(((n={})[d]=c,n[p[0]]=f[p[0]],n))((0,s.deepAssign)({},t,{chart:h})),(0,a.scale)(((r={})[d]=c,r[p[1]]=f[p[1]],r))((0,s.deepAssign)({},t,{chart:g})),t}function d(t){var e=t.chart,n=t.options,i=n.xAxis,a=n.yAxis,o=n.xField,c=n.yField,f=n.layout,d=(0,s.findViewById)(e,l.FIRST_AXES_VIEW),p=(0,s.findViewById)(e,l.SECOND_AXES_VIEW);return(null==i?void 0:i.position)==="bottom"?p.axis(o,(0,r.__assign)((0,r.__assign)({},i),{label:{formatter:function(){return""}}})):p.axis(o,!1),!1===i?d.axis(o,!1):d.axis(o,(0,r.__assign)({position:(0,u.isHorizontal)(f)?"top":"bottom"},i)),!1===a?(d.axis(c[0],!1),p.axis(c[1],!1)):(d.axis(c[0],a[c[0]]),p.axis(c[1],a[c[1]])),e.__axisPosition={position:d.getOptions().axes[o].position,layout:f},t}function p(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function h(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW),options:{yAxis:i[r[0]]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW),options:{yAxis:i[r[1]]}})),t}function g(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function v(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function y(t){var e,n,i=this,a=t.chart,o=t.options,c=o.label,f=o.yField,d=o.layout,p=(0,s.findViewById)(a,l.FIRST_AXES_VIEW),h=(0,s.findViewById)(a,l.SECOND_AXES_VIEW),g=(0,s.findGeometry)(p,"interval"),v=(0,s.findGeometry)(h,"interval");if(c){var y=c.callback,m=(0,r.__rest)(c,["callback"]);m.position||(m.position="middle"),void 0===m.offset&&(m.offset=2);var b=(0,r.__assign)({},m);if((0,u.isHorizontal)(d)){var x=(null===(e=b.style)||void 0===e?void 0:e.textAlign)||("middle"===m.position?"center":"left");m.style=(0,s.deepAssign)({},m.style,{textAlign:x}),b.style=(0,s.deepAssign)({},b.style,{textAlign:{left:"right",right:"left",center:"center"}[x]})}else{var _={top:"bottom",bottom:"top",middle:"middle"};"string"==typeof m.position?m.position=_[m.position]:"function"==typeof m.position&&(m.position=function(){for(var t=[],e=0;e "+t.target,value:t.value}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=(0,l.transformToViewsData)(this.options,this.chart.width,this.chart.height),n=e.nodes,r=e.edges,i=(0,o.findViewById)(this.chart,u.NODES_VIEW_ID),a=(0,o.findViewById)(this.chart,u.EDGES_VIEW_ID);i.changeData(n),a.changeData(r)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Sankey=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(c,f,a.interaction,p,d,a.theme)(t)},e.animation=d,e.nodeDraggable=p;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(601),u=n(316);function c(t){var e=t.options.rawFields,n=void 0===e?[]:e;return(0,o.deepAssign)({},{options:{tooltip:{fields:(0,i.uniq)((0,r.__spreadArrays)(["name","source","target","value","isNode"],n))},label:{fields:(0,i.uniq)((0,r.__spreadArrays)(["x","name"],n))}}},t)}function f(t){var e=t.chart,n=t.options,r=n.color,i=n.nodeStyle,a=n.edgeStyle,o=n.label,c=n.tooltip,f=n.nodeState,d=n.edgeState;e.legend(!1),e.tooltip(c),e.axis(!1),e.coordinate().reflect("y");var p=(0,l.transformToViewsData)(n,e.width,e.height),h=p.nodes,g=p.edges,v=e.createView({id:u.EDGES_VIEW_ID});v.data(g),(0,s.edge)({chart:v,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,edge:{color:r,style:a,shape:"arc"},tooltip:c,state:d}});var y=e.createView({id:u.NODES_VIEW_ID});return y.data(h),(0,s.polygon)({chart:y,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,polygon:{color:r,style:i},label:o,tooltip:c,state:f}}),e.interaction("element-active"),e.scale({x:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},y:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},name:{sync:"color",type:"cat"}}),t}function d(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,r.__spreadArrays)(e.views[0].geometries,e.views[1].geometries).forEach(function(t){t.animate(n)}),t}function p(t){var e=t.chart,n=t.options.nodeDraggable,r="sankey-node-draggable";return n?e.interaction(r):e.removeInteraction(r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultOptions=l,e.getNodeAlignFunction=s,e.sankeyLayout=function(t,e){var n=l(t),r=n.nodeId,a=n.nodeSort,o=n.nodeAlign,u=n.nodeWidth,c=n.nodePadding,f=n.nodeDepth,d=(0,i.sankey)().nodeSort(a).nodeWidth(u).nodePadding(c).nodeDepth(f).nodeAlign(s(o)).extent([[0,0],[1,1]]).nodeId(r)(e);return d.nodes.forEach(function(t){var e=t.x0,n=t.x1,r=t.y0,i=t.y1;t.x=[e,n,n,e],t.y=[r,r,i,i]}),d.links.forEach(function(t){var e=t.source,n=t.target,r=e.x1,i=n.x0;t.x=[r,r,i,i];var a=t.width/2;t.y=[t.y0+a,t.y0-a,t.y1+a,t.y1-a]}),d};var r=n(0),i=n(1286),a={left:i.left,right:i.right,center:i.center,justify:i.justify},o={nodeId:function(t){return t.index},nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodeSort:void 0};function s(t){return((0,r.isString)(t)?a[t]:(0,r.isFunction)(t)?t:null)||i.justify}function l(t){return(0,r.assign)({},o,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"center",{enumerable:!0,get:function(){return i.center}}),Object.defineProperty(e,"justify",{enumerable:!0,get:function(){return i.justify}}),Object.defineProperty(e,"left",{enumerable:!0,get:function(){return i.left}}),Object.defineProperty(e,"right",{enumerable:!0,get:function(){return i.right}}),Object.defineProperty(e,"sankey",{enumerable:!0,get:function(){return r.Sankey}});var r=n(1287),i=n(602)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Sankey=function(){var t,e,n,r,v=0,y=0,m=1,b=1,x=24,_=8,O=f,P=a.justify,M=d,A=p,S=6;function w(a){var f={nodes:M(a),links:A(a)};return function(t){var e=t.nodes,r=t.links;e.forEach(function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]});var a=new Map(e.map(function(t){return[O(t),t]}));if(r.forEach(function(t,e){t.index=e;var n=t.source,r=t.target;"object"!==(0,i.default)(n)&&(n=t.source=h(a,n)),"object"!==(0,i.default)(r)&&(r=t.target=h(a,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(var o=0;or)throw Error("circular link");i=a,a=new Set}if(t)for(var l=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),u=void 0,c=0;cn)throw Error("circular link");r=i,i=new Set}}(f),function(t){var i=function(t){for(var n=t.nodes,r=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),i=(m-v-x)/(r-1),a=Array(r).fill(0).map(function(){return[]}),s=0;s=0;--o){for(var s=t[o],l=0;l0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}})(i,f,d),function(t,n,i){for(var a=1,o=t.length;a0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}}(i,f,d)}}(f),g(f),f}function E(t,e){var n=t.length>>1,i=t[n];T(t,i.y0-r,n-1,e),C(t,i.y1+r,n+1,e),T(t,b,t.length-1,e),C(t,y,0,e)}function C(t,e,n,i){for(;n1e-6&&(a.y0+=o,a.y1+=o),e=a.y1+r}}function T(t,e,n,i){for(;n>=0;--n){var a=t[n],o=(a.y1-e)*i;o>1e-6&&(a.y0-=o,a.y1-=o),e=a.y0-r}}function I(t){var e=t.sourceLinks,r=t.targetLinks;if(void 0===n){for(var i=0;io.findIndex(function(r){return r===t[e]+"_"+t[n]})})},e.getMatrix=a,e.getNodes=i;var r=n(0);function i(t,e,n){var r=[];return t.forEach(function(t){var i=t[e],a=t[n];r.includes(i)||r.push(i),r.includes(a)||r.push(a)}),r}function a(t,e,n,r){var i={};return e.forEach(function(t){i[t]={},e.forEach(function(e){i[t][e]=0})}),t.forEach(function(t){i[t[n]][t[r]]=1}),i}},function(t,e,n){"use strict";n(1291)},function(t,e,n){"use strict";var r=n(14),i=n(1292);(0,r.registerAction)("sankey-node-drag",i.SankeyNodeDragAction),(0,r.registerInteraction)("sankey-node-draggable",{showEnable:[{trigger:"polygon:mouseenter",action:"cursor:pointer"},{trigger:"polygon:mouseleave",action:"cursor:default"}],start:[{trigger:"polygon:mousedown",action:"sankey-node-drag:start"}],processing:[{trigger:"plot:mousemove",action:"sankey-node-drag:translate"},{isEnable:function(t){return t.isDragging},trigger:"plot:mousemove",action:"cursor:move"}],end:[{trigger:"plot:mouseup",action:"sankey-node-drag:end"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SankeyNodeDragAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s=n(316),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isDragging=!1,e}return(0,r.__extends)(e,t),e.prototype.isNodeElement=function(){var t=(0,a.get)(this.context,"event.target");if(t){var e=t.get("element");return e&&e.getModel().data.isNode}return!1},e.prototype.getNodeView=function(){return(0,o.findViewById)(this.context.view,s.NODES_VIEW_ID)},e.prototype.getEdgeView=function(){return(0,o.findViewById)(this.context.view,s.EDGES_VIEW_ID)},e.prototype.getCurrentDatumIdx=function(t){return this.getNodeView().geometries[0].elements.indexOf(t)},e.prototype.start=function(){if(this.isNodeElement()){this.prevPoint={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")};var t=this.context.event.target.get("element"),e=this.getCurrentDatumIdx(t);-1!==e&&(this.currentElementIdx=e,this.context.isDragging=!0,this.isDragging=!0,this.prevNodeAnimateCfg=this.getNodeView().getOptions().animate,this.prevEdgeAnimateCfg=this.getEdgeView().getOptions().animate,this.getNodeView().animate(!1),this.getEdgeView().animate(!1))}},e.prototype.translate=function(){if(this.isDragging){var t=this.context.view,e={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")},n=e.x-this.prevPoint.x,i=e.y-this.prevPoint.y,o=this.getNodeView(),s=o.geometries[0].elements[this.currentElementIdx];if(s&&s.getModel()){var l=s.getModel().data,u=o.getOptions().data,c=o.getCoordinate(),f={x:n/c.getWidth(),y:i/c.getHeight()},d=(0,r.__assign)((0,r.__assign)({},l),{x:l.x.map(function(t){return t+f.x}),y:l.y.map(function(t){return t+f.y})}),p=(0,r.__spreadArrays)(u);p[this.currentElementIdx]=d,o.data(p);var h=l.name,g=this.getEdgeView(),v=g.getOptions().data;v.forEach(function(t){t.source===h&&(t.x[0]+=f.x,t.x[1]+=f.x,t.y[0]+=f.y,t.y[1]+=f.y),t.target===h&&(t.x[2]+=f.x,t.x[3]+=f.x,t.y[2]+=f.y,t.y[3]+=f.y)}),g.data(v),this.prevPoint=e,t.render(!0)}}},e.prototype.end=function(){this.isDragging=!1,this.context.isDragging=!1,this.prevPoint=null,this.currentElementIdx=null,this.getNodeView().animate(this.prevNodeAnimateCfg),this.getEdgeView().animate(this.prevEdgeAnimateCfg)},e}(i.Action);e.SankeyNodeDragAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Chord=void 0;var r=n(1),i=n(19),a=n(1294),o=n(603),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Chord=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(a.theme,c,g,f,d,p,h,y,v,a.interaction,a.state,m)(t)};var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(1295),u=n(603);function c(t){var e=t.options,n=e.data,i=e.sourceField,a=e.targetField,s=e.weightField,u=e.nodePaddingRatio,c=e.nodeWidthRatio,f=e.rawFields,d=void 0===f?[]:f,p=(0,o.transformDataToNodeLinkData)(n,i,a,s),h=(0,l.chordLayout)({weight:!0,nodePaddingRatio:u,nodeWidthRatio:c},p),g=h.nodes,v=h.links,y=g.map(function(t){return(0,r.__assign)((0,r.__assign)({},(0,o.pick)(t,(0,r.__spreadArrays)(["id","x","y","name"],d))),{isNode:!0})}),m=v.map(function(t){return(0,r.__assign)((0,r.__assign)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},(0,o.pick)(t,(0,r.__spreadArrays)(["x","y","value"],d))),{isNode:!1})});return(0,r.__assign)((0,r.__assign)({},t),{ext:(0,r.__assign)((0,r.__assign)({},t.ext),{chordData:{nodesData:y,edgesData:m}})})}function f(t){var e;return t.chart.scale(((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}})[u.NODE_COLOR_FIELD]={sync:"color"},e[u.EDGE_COLOR_FIELD]={sync:"color"},e)),t}function d(t){return t.chart.axis(!1),t}function p(t){return t.chart.legend(!1),t}function h(t){var e=t.chart,n=t.options.tooltip;return e.tooltip(n),t}function g(t){return t.chart.coordinate("polar").reflect("y"),t}function v(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,a=n.label,o=n.tooltip,l=e.createView();return l.data(r),(0,s.polygon)({chart:l,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.NODE_COLOR_FIELD,polygon:{style:i},label:a,tooltip:o}}),t}function y(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,a=n.tooltip,o=e.createView();o.data(r);var l={xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.EDGE_COLOR_FIELD,edge:{style:i,shape:"arc"},tooltip:a};return(0,s.edge)({chart:o,options:l}),t}function m(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,i.each)((0,o.getAllGeometriesRecursively)(e),function(t){t.animate(n)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.chordLayout=function(t,e){var n,i,o=a(t),s={},l=e.nodes,u=e.links;return l.forEach(function(t){s[o.id(t)]=t}),(0,r.forIn)(s,function(t,e){t.inEdges=u.filter(function(t){return""+o.target(t)==""+e}),t.outEdges=u.filter(function(t){return""+o.source(t)==""+e}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(e){t.value+=o.targetWeight(e)}),t.outEdges.forEach(function(e){t.value+=o.sourceWeight(e)})}),!(i=({weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}})[(n=o).sortBy])&&(0,r.isFunction)(n.sortBy)&&(i=n.sortBy),i&&l.sort(i),{nodes:function(t,e){var n=t.length;if(!n)throw TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.nodePaddingRatio;if(r<0||r>=1)throw TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=r/(2*n),a=e.nodeWidthRatio;if(a<=0||a>=1)throw TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;t.forEach(function(t){o+=t.value}),t.forEach(function(t){t.weight=t.value/o,t.width=t.weight*(1-r),t.height=a}),t.forEach(function(n,r){for(var o=0,s=r-1;s>=0;s--)o+=t[s].width+2*i;var l=n.minX=i+o,u=n.maxX=n.minX+n.width,c=n.minY=e.y-a/2,f=n.maxY=c+a;n.x=[l,u,u,l],n.y=[c,c,f,f]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}return t}(l,o),links:function(t,e,n){if(n.weight){var i={};(0,r.forIn)(t,function(t,e){i[e]=t.value}),e.forEach(function(e){var r=n.source(e),a=n.target(e),o=t[r],s=t[a];if(o&&s){var l=i[r],u=n.sourceWeight(e),c=o.minX+(o.value-l)/o.value*o.width,f=c+u/o.value*o.width;i[r]-=u;var d=i[a],p=n.targetWeight(e),h=s.minX+(s.value-d)/s.value*s.width,g=h+p/s.value*s.width;i[a]-=p;var v=n.y;e.x=[c,f,h,g],e.y=[v,v,v,v],e.source=o,e.target=s}})}else e.forEach(function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y],e.source=r,e.target=i)});return e}(s,u,o)}},e.getDefaultOptions=a;var r=n(0),i={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function a(t){return(0,r.assign)({},i,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CirclePacking=void 0;var r=n(1),i=n(19),a=n(1297),o=n(604);n(1300);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle-packing",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){this.chart.destroyed||(this.chart.forceFit(),this.chart.clear(),this.execAdaptor(),this.chart.render(!0))},e}(i.Plot);e.CirclePacking=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)((0,o.pattern)("pointStyle"),f,d,o.theme,h,p,v,o.legend,g,y,o.animation,(0,o.annotation)())(t)},e.meta=h;var r=n(1),i=n(0),a=n(546),o=n(22),s=n(7),l=n(121),u=n(1298),c=n(604);function f(t){var e=t.chart,n=Math.min(e.viewBBox.width,e.viewBBox.height);return(0,s.deepAssign)({options:{size:function(t){return t.r*n}}},t)}function d(t){var e=t.options,n=t.chart,r=n.viewBBox,a=e.padding,o=e.appendPadding,s=e.drilldown,c=o;if(null==s?void 0:s.enabled){var f=(0,l.getAdjustAppendPadding)(n.appendPadding,(0,i.get)(s,["breadCrumb","position"]));c=(0,l.resolveAllPadding)([f,o])}var d=(0,u.resolvePaddingForCircle)(a,c,r).finalPadding;return n.padding=d,n.appendPadding=0,t}function p(t){var e=t.chart,n=t.options,i=e.padding,o=e.appendPadding,l=n.color,f=n.colorField,d=n.pointStyle,p=n.hierarchyConfig,h=n.sizeField,g=n.rawFields,v=void 0===g?[]:g,y=n.drilldown,m=(0,u.transformData)({data:n.data,hierarchyConfig:p,enableDrillDown:null==y?void 0:y.enabled,rawFields:v});e.data(m);var b=e.viewBBox,x=(0,u.resolvePaddingForCircle)(i,o,b).finalSize,_=function(t){return t.r*x};return h&&(_=function(t){return t[h]*x}),(0,a.point)((0,s.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:f,sizeField:h,rawFields:(0,r.__spreadArrays)(c.RAW_FIELDS,v),point:{color:l,style:d,shape:"circle",size:_}}})),t}function h(t){return(0,s.flow)((0,o.scale)({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(t)}function g(t){var e=t.chart,n=t.options.tooltip;if(!1===n)e.tooltip(!1);else{var a=n;(0,i.get)(n,"fields")||(a=(0,s.deepAssign)({},{customItems:function(t){return t.map(function(t){var n=(0,i.get)(e.getOptions(),"scales"),a=(0,i.get)(n,["name","formatter"],function(t){return t}),o=(0,i.get)(n,["value","formatter"],function(t){return t});return(0,r.__assign)((0,r.__assign)({},t),{name:a(t.data.name),value:o(t.data.value)})})}},a)),e.tooltip(a)}return t}function v(t){return t.chart.axis(!1),t}function y(t){var e,n,i=t.chart,a=t.options;return(0,o.interaction)({chart:i,options:(e=a.drilldown,n=a.interactions,(null==e?void 0:e.enabled)?(0,s.deepAssign)({},a,{interactions:(0,r.__spreadArrays)(void 0===n?[]:n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:u.transformData,enableDrillDown:!0}}])}):a)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolvePaddingForCircle=function(t,e,n){var r=(0,s.resolveAllPadding)([t,e]),i=r[0],a=r[1],o=r[2],l=r[3],u=n.width,c=n.height,f=u-(l+a),d=c-(i+o),p=Math.min(f,d),h=(f-p)/2,g=(d-p)/2;return{finalPadding:[i+g,a+h,o+g,l+h],finalSize:p<0?0:p}},e.transformData=function(t){var e=t.data,n=t.hierarchyConfig,s=t.rawFields,l=void 0===s?[]:s,u=t.enableDrillDown,c=(0,i.pack)(e,(0,r.__assign)((0,r.__assign)({},n),{field:"value",as:["x","y","r"]})),f=[];return c.forEach(function(t){for(var e,i=t.data.name,s=(0,r.__assign)({},t);s.depth>1;)i=(null===(e=s.parent.data)||void 0===e?void 0:e.name)+" / "+i,s=s.parent;if(u&&t.depth>2)return null;var c=(0,a.deepAssign)({},t.data,(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,a.pick)(t.data,l)),{path:i}),t));c.ext=n,c[o.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:n,rawFields:l,enableDrillDown:u},f.push(c)}),f};var r=n(1),i=n(1299),a=n(7),o=n(201),s=n(121)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.pack=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||3!==r.length)throw TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.pack().size(e.size).padding(e.padding)(i.hierarchy(t).sum(function(t){return t[n]}).sort(e.sort)),u=r[0],c=r[1],f=r[2];return s.each(function(t){t[u]=t.x,t[c]=t.y,t[f]=t.r}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",as:["x","y","r"],sort:function(t,e){return e.value-t.value}}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.P=void 0;var r=n(1),i=n(7),a=function(t){function e(e,n,r,a){var o=t.call(this,e,(0,i.deepAssign)({},a,n))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=r,o}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e}(n(19).Plot);e.P=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(o.animation,f,d,o.interaction,o.animation,o.theme,o.tooltip)(t)};var r=n(1),i=n(0),a=n(49),o=n(22),s=n(19),l=n(99),u=n(7),c=n(606);function f(t){var e=t.chart,n=t.options,o=n.views,s=n.legend;return(0,i.each)(o,function(t){var n=t.region,o=t.data,s=t.meta,c=t.axes,f=t.coordinate,d=t.interactions,p=t.annotations,h=t.tooltip,g=t.geometries,v=e.createView({region:n});v.data(o);var y={};c&&(0,i.each)(c,function(t,e){y[e]=(0,u.pick)(t,l.AXIS_META_CONFIG_KEYS)}),y=(0,u.deepAssign)({},s,y),v.scale(y),c?(0,i.each)(c,function(t,e){v.axis(e,t)}):v.axis(!1),v.coordinate(f),(0,i.each)(g,function(t){var e=(0,a.geometry)({chart:v,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)}),(0,i.each)(d,function(t){!1===t.enable?v.removeInteraction(t.type):v.interaction(t.type,t.cfg)}),(0,i.each)(p,function(t){v.annotation()[t.type]((0,r.__assign)({},t))}),"boolean"==typeof t.animation?v.animate(!1):(v.animate(!0),(0,i.each)(v.geometries,function(e){e.animate(t.animation)})),h&&(v.interaction("tooltip"),v.tooltip(h))}),s?(0,i.each)(s,function(t,n){e.legend(n,t)}):e.legend(!1),e.tooltip(n.tooltip),t}function d(t){var e=t.chart,n=t.options.plots;return(0,i.each)(n,function(t){var n=t.type,i=t.region,a=t.options,o=void 0===a?{}:a,l=o.tooltip,f=e.createView((0,r.__assign)({region:i},(0,u.pick)(o,s.PLOT_CONTAINER_OPTIONS)));l&&f.interaction("tooltip"),(0,c.execPlotAdaptor)(n,f,o)}),t}},function(t,e,n){"use strict";n(1304)},function(t,e,n){"use strict";var r=n(1),i=n(0),a=n(14),o=n(7),s=n(1305),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getAssociationItems=function(t,e){var n,r=this.context.event,a=e||{},l=a.linkField,u=a.dim,c=[];if(null===(n=r.data)||void 0===n?void 0:n.data){var f=r.data.data;(0,i.each)(t,function(t){var e,n,r=l;if("x"===u?r=t.getXScale().field:"y"===u?r=null===(e=t.getYScales().find(function(t){return t.field===r}))||void 0===e?void 0:e.field:r||(r=null===(n=t.getGroupScales()[0])||void 0===n?void 0:n.field),r){var a=(0,i.map)((0,o.getAllElements)(t),function(e){var n=!1,a=!1,o=(0,i.isArray)(f)?(0,i.get)(f[0],r):(0,i.get)(f,r);return(0,s.getElementValue)(e,r)===o?n=!0:a=!0,{element:e,view:t,active:n,inactive:a}});c.push.apply(c,a)}})}return c},e.prototype.showTooltip=function(t){var e=(0,o.getSiblingViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){if(t.active){var e=t.element.shape.getCanvasBBox();t.view.showTooltip({x:e.minX+e.width/2,y:e.minY+e.height/2})}})},e.prototype.hideTooltip=function(){var t=(0,o.getSiblingViews)(this.context.view);(0,i.each)(t,function(t){t.hideTooltip()})},e.prototype.active=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("active",!0)})},e.prototype.selected=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("selected",!0)})},e.prototype.highlight=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.inactive,n=t.element;e&&n.setState("inactive",!0)})},e.prototype.reset=function(){var t=(0,o.getViews)(this.context.view);(0,i.each)(t,function(t){(0,s.clearHighlight)(t)})},e}(a.Action);(0,a.registerAction)("association",l),(0,a.registerInteraction)("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearHighlight=function(t){var e=(0,i.getAllElements)(t);(0,r.each)(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})},e.getElementValue=function(t,e){var n=t.getModel().data;return(0,r.isArray)(n)?n[0][e]:n[e]};var r=n(0),i=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Facet=void 0;var r=n(1),i=n(19),a=n(1307),o=n(1309),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Facet=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(a.theme,c,f)(t)};var r=n(1),i=n(0),a=n(22),o=n(99),s=n(7),l=n(606),u=n(1308);function c(t){var e=t.chart,n=t.options,a=n.type,o=n.data,s=n.fields,c=n.eachView,f=(0,i.omit)(n,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(o),e.facet(a,(0,r.__assign)((0,r.__assign)({},f),{fields:s,eachView:function(t,e){var n=c(t,e);if(n.geometries)(0,u.execViewAdaptor)(t,n);else{var r=n.options;r.tooltip&&t.interaction("tooltip"),(0,l.execPlotAdaptor)(n.type,t,r)}}})),t}function f(t){var e=t.chart,n=t.options,a=n.axes,l=n.meta,u=n.tooltip,c=n.coordinate,f=n.theme,d=n.legend,p=n.interactions,h=n.annotations,g={};return a&&(0,i.each)(a,function(t,e){g[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),g=(0,s.deepAssign)({},l,g),e.scale(g),e.coordinate(c),a?(0,i.each)(a,function(t,n){e.axis(n,t)}):e.axis(!1),u?(e.interaction("tooltip"),e.tooltip(u)):!1===u&&e.removeInteraction("tooltip"),e.legend(d),f&&e.theme(f),(0,i.each)(p,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg)}),(0,i.each)(h,function(t){e.annotation()[t.type]((0,r.__assign)({},t))}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execViewAdaptor=function(t,e){var n=e.data,l=e.coordinate,u=e.interactions,c=e.annotations,f=e.animation,d=e.tooltip,p=e.axes,h=e.meta,g=e.geometries;n&&t.data(n);var v={};p&&(0,i.each)(p,function(t,e){v[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),v=(0,s.deepAssign)({},h,v),t.scale(v),l&&t.coordinate(l),!1===p?t.axis(!1):(0,i.each)(p,function(e,n){t.axis(n,e)}),(0,i.each)(g,function(e){var n=(0,a.geometry)({chart:t,options:e}).ext,r=e.adjust;r&&n.geometry.adjust(r)}),(0,i.each)(u,function(e){!1===e.enable?t.removeInteraction(e.type):t.interaction(e.type,e.cfg)}),(0,i.each)(c,function(e){t.annotation()[e.type]((0,r.__assign)({},e))}),"boolean"==typeof f?t.animate(!1):(t.animate(!0),(0,i.each)(t.geometries,function(t){t.animate(f)})),d?(t.interaction("tooltip"),t.tooltip(d)):!1===d&&t.removeInteraction("tooltip")};var r=n(1),i=n(0),a=n(49),o=n(99),s=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Stage=e.Lab=void 0,e.notice=o;var r,i,a=n(605);function o(t,e){console.warn(t===i.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":t===i.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":t===i.STABLE?"Plot '"+e+"' is in STABLE stage, import it by \"import { "+e+" } from '@antv/g2plot'\".":"invalid Stage type.")}e.Stage=i,(r=i||(e.Stage=i={})).DEV="DEV",r.BETA="BETA",r.STABLE="STABLE";var s=function(){function t(){}return Object.defineProperty(t,"MultiView",{get:function(){return o(i.STABLE,"MultiView"),a.Mix},enumerable:!1,configurable:!0}),t}();e.Lab=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(43),s=n(509),l=n(15),u=n(317),c=n(607);function f(t){var e=t.chart,n=t.options,r=n.percent,a=n.range,f=n.radius,d=n.innerRadius,p=n.startAngle,h=n.endAngle,g=n.axis,v=n.indicator,y=n.gaugeStyle,m=n.type,b=n.meter,x=a.color,_=a.width;if(v){var O=c.getIndicatorData(r),P=e.createView({id:u.INDICATEOR_VIEW_ID});P.data(O),P.point().position(u.PERCENT+"*1").shape(v.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:v}),P.coordinate("polar",{startAngle:p,endAngle:h,radius:d*f}),P.axis(u.PERCENT,g),P.scale(u.PERCENT,l.pick(g,s.AXIS_META_CONFIG_KEYS))}var M=c.getRangeData(r,n.range),A=e.createView({id:u.RANGE_VIEW_ID});A.data(M);var S=i.isString(x)?[x,u.DEFAULT_COLOR]:x;return o.interval({chart:A,options:{xField:"1",yField:u.RANGE_VALUE,seriesField:u.RANGE_TYPE,rawFields:[u.PERCENT],isStack:!0,interval:{color:S,style:y,shape:"meter"===m?"meter-gauge":null},args:{zIndexReversed:!0},minColumnWidth:_,maxColumnWidth:_}}).ext.geometry.customInfo({meter:b}),A.coordinate("polar",{innerRadius:d,radius:f,startAngle:p,endAngle:h}).transpose(),t}function d(t){var e;return l.flow(a.scale(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[u.PERCENT]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,a=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),a){var s=a.content,u=void 0;s&&(u=l.deepAssign({},{content:(100*o).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),l.renderGaugeStatistic(n,{statistic:r.__assign(r.__assign({},a),{content:u})},{percent:o})}return e&&n.render(!0),t}function h(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}e.statistic=p,e.adaptor=function(t){return l.flow(a.theme,a.animation,f,d,p,a.interaction,a.annotation(),h)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:r.__assign({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:r.__assign({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(0);r.registerShape("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=i.clamp(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_-1){var c=i.get(l.findViewById(e,u),"geometries");i.each(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=i.get(e.getController("legend"),"option.items",[]);i.each(e.views,function(t){var n=t.getGroupScales();i.each(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!i.find(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=l.findViewById(e,h.LEFT_AXES_VIEW),a=l.findViewById(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;i.isEqual(n,r)||d.doSliderFilter(a,n)}),e.once("afterpaint",function(){if(!i.isBoolean(n)){var t=n.start,e=n.end;(t||e)&&d.doSliderFilter(a,[t,e])}})),t}e.transformOptions=g,e.color=m,e.meta=b,e.axis=x,e.tooltip=_,e.interaction=O,e.annotation=P,e.theme=M,e.animation=A,e.limitInPlot=S,e.legend=w,e.slider=E,e.adaptor=function(t){return s.flow(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=void 0;var r=n(0),i=n(14),a=n(15),o=n(318);e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=r.get(l,"marker"),c=a.findGeometry(e,o.isLine(n)?"line":"interval");if(!n.seriesField){var f=r.get(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,r.get(d,["values",0],p)));var h=(r.isFunction(u)?u:!r.isEmpty(u)&&a.deepAssign({},{style:{stroke:p,fill:p}},u))||(o.isLine(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return r.reduce(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=void 0;var r=n(1),i=n(0),a=n(43),o=n(15),s=n(195),l=n(318);e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if(l.isLine(u)){a.line(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),a.point(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{point:u.point&&r.__assign({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&i.each(n.geometries,function(t){t.adjust(v)})}return l.isColumn(u)&&s.adaptor(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{widthRatio:u.columnWidthRatio,interval:r.__assign(r.__assign({},o.pick(u,["color"])),{style:u.columnStyle})})})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(15);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=r.size(o);if(s&&l){var u=r.valuesOfKey(o,s.field),c=r.size(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||i.isBetween(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";var r=n(9),i=n.n(r),a=n(10),o=n.n(a),s=n(363),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(66),v=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function y(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function m(t){var e=t.toString(),n=e.indexOf("."),r=e.indexOf("e-"),i=r>=0?parseInt(e.substr(r+2),10):e.substr(n+1).length;return i>20&&(i=20),i}function b(t,e){return parseFloat(t.toFixed(e))}Object(g.registerTickMethod)("linear-strict-tick-method",function(t){var e=t||{},n=e.tickCount,r=e.tickInterval,i=t||{},a=i.min,o=i.max;a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=n&&n>=2?n:5,l=r||function(t){var e=t.tickCount,n=t.min,r=t.max;if(n===r)return 1*y(r);for(var i=(r-n)/(e-1),a=y(i),o=i/a,s=r/a,l=n/a,u=0,c=0;c=r}({interval:v[s],tickCount:n,max:i,min:r})){o=v[s],a=!0;break}return a?o:10*t(0,n,r/10,i/10)}(u,e,l,s),d=m(f)+m(a);return b(f*a,d)}({tickCount:s,max:o,min:a}),u=Math.floor(a/l)*l;r&&(s=Math.max(s,Math.abs(Math.ceil((o-u)/r))+1));for(var c=[],f=0,d=m(l);f{let r=new Map(t);return r.delete(e),r})},[]),i=l.useCallback(function(e,l){let i;return i="function"==typeof e?e(r.current):e,r.current.add(i),t(e=>{let t=new Map(e);return t.set(i,l),t}),{id:i,deregister:()=>n(i)}},[n]),a=l.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let r=e.get(t);return{key:t,subitem:r}});return t.sort((e,t)=>{let r=e.subitem.ref.current,l=t.subitem.ref.current;return null===r||null===l||r===l?0:r.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),o=l.useCallback(function(e){return Array.from(a.keys()).indexOf(e)},[a]),s=l.useMemo(()=>({getItemIndex:o,registerItem:i,totalSubitemCount:e.size}),[o,i,e.size]);return{contextValue:s,subitems:a}}n.displayName="CompoundComponentContext"},24339:function(e,t,r){var l=r(64836);t.Z=void 0;var n=l(r(64938)),i=r(85893),a=(0,n.default)((0,i.jsx)("path",{d:"m3.4 20.4 17.45-7.48c.81-.35.81-1.49 0-1.84L3.4 3.6c-.66-.29-1.39.2-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z"}),"SendRounded");t.Z=a},30322:function(e,t,r){r.d(t,{Z:function(){return D}});var l=r(87462),n=r(63366),i=r(67294),a=r(94780),o=r(92996),s=r(33703),u=r(73546),c=r(22644),d=r(26558),f=r(12247),h=r(30220),v=r(16079),g=r(74312),m=r(20407),p=r(78653),b=r(26821);function y(e){return(0,b.d6)("MuiOption",e)}let S=(0,b.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var x=r(40780),k=r(85893);let C=["component","children","disabled","value","label","variant","color","slots","slotProps"],V=e=>{let{disabled:t,highlighted:r,selected:l}=e;return(0,a.Z)({root:["root",t&&"disabled",r&&"highlighted",l&&"selected"]},y,{})},w=(0,g.Z)(v.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;let l=null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color];return{[`&.${S.highlighted}`]:{backgroundColor:null==l?void 0:l.backgroundColor}}}),Z=i.forwardRef(function(e,t){var r;let a=(0,m.Z)({props:e,name:"JoyOption"}),{component:v="li",children:g,disabled:b=!1,value:y,label:S,variant:Z="plain",color:D="neutral",slots:A={},slotProps:_={}}=a,F=(0,n.Z)(a,C),I=i.useContext(x.Z),R=i.useRef(null),z=(0,s.Z)(R,t),O=null!=S?S:"string"==typeof g?g:null==(r=R.current)?void 0:r.innerText,{getRootProps:M,selected:P,highlighted:E,index:L}=function(e){let{value:t,label:r,disabled:n,rootRef:a,id:h}=e,{getRootProps:v,rootRef:g,highlighted:m,selected:p}=function(e){let t;let{handlePointerOverEvents:r=!1,item:n,rootRef:a}=e,o=i.useRef(null),f=(0,s.Z)(o,a),h=i.useContext(d.Z);if(!h)throw Error("useListItem must be used within a ListProvider");let{dispatch:v,getItemState:g,registerHighlightChangeHandler:m,registerSelectionChangeHandler:p}=h,{highlighted:b,selected:y,focusable:S}=g(n),x=function(){let[,e]=i.useState({});return i.useCallback(()=>{e({})},[])}();(0,u.Z)(()=>m(function(e){e!==n||b?e!==n&&b&&x():x()})),(0,u.Z)(()=>p(function(e){y?e.includes(n)||x():e.includes(n)&&x()}),[p,x,y,n]);let k=i.useCallback(e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||v({type:c.F.itemClick,item:n,event:t})},[v,n]),C=i.useCallback(e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||v({type:c.F.itemHover,item:n,event:t})},[v,n]);return S&&(t=b?0:-1),{getRootProps:(e={})=>(0,l.Z)({},e,{onClick:k(e),onPointerOver:r?C(e):void 0,ref:f,tabIndex:t}),highlighted:b,rootRef:f,selected:y}}({item:t}),b=(0,o.Z)(h),y=i.useRef(null),S=i.useMemo(()=>({disabled:n,label:r,value:t,ref:y,id:b}),[n,r,t,b]),{index:x}=function(e,t){let r=i.useContext(f.s);if(null===r)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:l}=r,[n,a]=i.useState("function"==typeof e?void 0:e);return(0,u.Z)(()=>{let{id:r,deregister:n}=l(e,t);return a(r),n},[l,t,e]),{id:n,index:void 0!==n?r.getItemIndex(n):-1,totalItemCount:r.totalSubitemCount}}(t,S),k=(0,s.Z)(a,y,g);return{getRootProps:(e={})=>(0,l.Z)({},e,v(e),{id:b,ref:k,role:"option","aria-selected":p}),highlighted:m,index:x,selected:p,rootRef:k}}({disabled:b,label:O,value:y,rootRef:z}),{getColor:T}=(0,p.VT)(Z),N=T(e.color,P?"primary":D),H=(0,l.Z)({},a,{disabled:b,selected:P,highlighted:E,index:L,component:v,variant:Z,color:N,row:I}),j=V(H),B=(0,l.Z)({},F,{component:v,slots:A,slotProps:_}),[U,$]=(0,h.Z)("root",{ref:t,getSlotProps:M,elementType:w,externalForwardedProps:B,className:j.root,ownerState:H});return(0,k.jsx)(U,(0,l.Z)({},$,{children:g}))});var D=Z},14986:function(e,t,r){r.d(t,{Z:function(){return ey}});var l,n=r(63366),i=r(87462),a=r(67294),o=r(86010),s=r(14142),u=r(33703),c=r(60769),d=r(92996),f=r(73546),h=r(70758);let v={buttonClick:"buttonClick"};var g=r(22644);function m(e,t,r){var l;let n,i;let{items:a,isItemDisabled:o,disableListWrap:s,disabledItemsFocusable:u,itemComparer:c,focusManagement:d}=r,f=a.length-1,h=null==e?-1:a.findIndex(t=>c(t,e)),v=!s;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;n=0,i="next",v=!1;break;case"start":n=0,i="next",v=!1;break;case"end":n=f,i="previous",v=!1;break;default:{let e=h+t;e<0?!v&&-1!==h||Math.abs(t)>1?(n=0,i="next"):(n=f,i="previous"):e>f?!v||Math.abs(t)>1?(n=f,i="previous"):(n=0,i="next"):(n=e,i=t>=0?"next":"previous")}}let g=function(e,t,r,l,n,i){if(0===r.length||!l&&r.every((e,t)=>n(e,t)))return -1;let a=e;for(;;){if(!i&&"next"===t&&a===r.length||!i&&"previous"===t&&-1===a)return -1;let e=!l&&n(r[a],a);if(!e)return a;a+="next"===t?1:-1,i&&(a=(a+r.length)%r.length)}}(n,i,a,u,o,v);return -1!==g||null===e||o(e,h)?null!=(l=a[g])?l:null:e}function p(e,t,r){let{itemComparer:l,isItemDisabled:n,selectionMode:a,items:o}=r,{selectedValues:s}=t,u=o.findIndex(t=>l(e,t));if(n(e,u))return t;let c="none"===a?[]:"single"===a?l(s[0],e)?s:[e]:s.some(t=>l(t,e))?s.filter(t=>!l(t,e)):[...s,e];return(0,i.Z)({},t,{selectedValues:c,highlightedValue:e})}function b(e,t){let{type:r,context:l}=t;switch(r){case g.F.keyDown:return function(e,t,r){let l=t.highlightedValue,{orientation:n,pageSize:a}=r;switch(e){case"Home":return(0,i.Z)({},t,{highlightedValue:m(l,"start",r)});case"End":return(0,i.Z)({},t,{highlightedValue:m(l,"end",r)});case"PageUp":return(0,i.Z)({},t,{highlightedValue:m(l,-a,r)});case"PageDown":return(0,i.Z)({},t,{highlightedValue:m(l,a,r)});case"ArrowUp":if("vertical"!==n)break;return(0,i.Z)({},t,{highlightedValue:m(l,-1,r)});case"ArrowDown":if("vertical"!==n)break;return(0,i.Z)({},t,{highlightedValue:m(l,1,r)});case"ArrowLeft":if("vertical"===n)break;return(0,i.Z)({},t,{highlightedValue:m(l,"horizontal-ltr"===n?-1:1,r)});case"ArrowRight":if("vertical"===n)break;return(0,i.Z)({},t,{highlightedValue:m(l,"horizontal-ltr"===n?1:-1,r)});case"Enter":case" ":if(null===t.highlightedValue)break;return p(t.highlightedValue,t,r)}return t}(t.key,e,l);case g.F.itemClick:return p(t.item,e,l);case g.F.blur:return"DOM"===l.focusManagement?e:(0,i.Z)({},e,{highlightedValue:null});case g.F.textNavigation:return function(e,t,r){let{items:l,isItemDisabled:n,disabledItemsFocusable:a,getItemAsString:o}=r,s=t.length>1,u=s?e.highlightedValue:m(e.highlightedValue,1,r);for(let c=0;co(e,r.highlightedValue)))?a:null:"DOM"===s&&0===t.length&&(u=m(null,"reset",l));let c=null!=(n=r.selectedValues)?n:[],d=c.filter(t=>e.some(e=>o(e,t)));return(0,i.Z)({},r,{highlightedValue:u,selectedValues:d})}(t.items,t.previousItems,e,l);case g.F.resetHighlight:return(0,i.Z)({},e,{highlightedValue:m(null,"reset",l)});default:return e}}let y="select:change-selection",S="select:change-highlight";function x(e,t){return e===t}let k={},C=()=>{};function V(e,t){let r=(0,i.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(r[e]=t[e])}),r}function w(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,l)=>r(e,t[l]))}function Z(e,t){let r=a.useRef(e);return a.useEffect(()=>{r.current=e},null!=t?t:[e]),r}let D={},A=()=>{},_=(e,t)=>e===t,F=()=>!1,I=e=>"string"==typeof e?e:String(e),R=()=>({highlightedValue:null,selectedValues:[]});var z=function(e){let{controlledProps:t=D,disabledItemsFocusable:r=!1,disableListWrap:l=!1,focusManagement:n="activeDescendant",getInitialState:o=R,getItemDomElement:s,getItemId:c,isItemDisabled:d=F,rootRef:f,onStateChange:h=A,items:v,itemComparer:m=_,getItemAsString:p=I,onChange:z,onHighlightChange:O,onItemsChange:M,orientation:P="vertical",pageSize:E=5,reducerActionContext:L=D,selectionMode:T="single",stateReducer:N}=e,H=a.useRef(null),j=(0,u.Z)(f,H),B=a.useCallback((e,t,r)=>{if(null==O||O(e,t,r),"DOM"===n&&null!=t&&(r===g.F.itemClick||r===g.F.keyDown||r===g.F.textNavigation)){var l;null==s||null==(l=s(t))||l.focus()}},[s,O,n]),U=a.useMemo(()=>({highlightedValue:m,selectedValues:(e,t)=>w(e,t,m)}),[m]),$=a.useCallback((e,t,r,l,n)=>{switch(null==h||h(e,t,r,l,n),t){case"highlightedValue":B(e,r,l);break;case"selectedValues":null==z||z(e,r,l)}},[B,z,h]),W=a.useMemo(()=>({disabledItemsFocusable:r,disableListWrap:l,focusManagement:n,isItemDisabled:d,itemComparer:m,items:v,getItemAsString:p,onHighlightChange:B,orientation:P,pageSize:E,selectionMode:T,stateComparers:U}),[r,l,n,d,m,v,p,B,P,E,T,U]),J=o(),q=a.useMemo(()=>(0,i.Z)({},L,W),[L,W]),[X,G]=function(e){let t=a.useRef(null),{reducer:r,initialState:l,controlledProps:n=k,stateComparers:o=k,onStateChange:s=C,actionContext:u}=e,c=a.useCallback((e,l)=>{t.current=l;let i=V(e,n),a=r(i,l);return a},[n,r]),[d,f]=a.useReducer(c,l),h=a.useCallback(e=>{f((0,i.Z)({},e,{context:u}))},[u]);return!function(e){let{nextState:t,initialState:r,stateComparers:l,onStateChange:n,controlledProps:i,lastActionRef:o}=e,s=a.useRef(r);a.useEffect(()=>{if(null===o.current)return;let e=V(s.current,i);Object.keys(t).forEach(r=>{var i,a,s;let u=null!=(i=l[r])?i:x,c=t[r],d=e[r];(null!=d||null==c)&&(null==d||null!=c)&&(null==d||null==c||u(c,d))||null==n||n(null!=(a=o.current.event)?a:null,r,c,null!=(s=o.current.type)?s:"",t)}),s.current=t,o.current=null},[s,t,o,n,l,i])}({nextState:d,initialState:l,stateComparers:null!=o?o:k,onStateChange:null!=s?s:C,controlledProps:n,lastActionRef:t}),[V(d,n),h]}({reducer:null!=N?N:b,actionContext:q,initialState:J,controlledProps:t,stateComparers:U,onStateChange:$}),{highlightedValue:K,selectedValues:Y}=X,Q=function(e){let t=a.useRef({searchString:"",lastTime:null});return a.useCallback(r=>{if(1===r.key.length&&" "!==r.key){let l=t.current,n=r.key.toLowerCase(),i=performance.now();l.searchString.length>0&&l.lastTime&&i-l.lastTime>500?l.searchString=n:(1!==l.searchString.length||n!==l.searchString)&&(l.searchString+=n),l.lastTime=i,e(l.searchString,r)}},[e])}((e,t)=>G({type:g.F.textNavigation,event:t,searchString:e})),ee=Z(Y),et=Z(K),er=a.useRef([]);a.useEffect(()=>{w(er.current,v,m)||(G({type:g.F.itemsChange,event:null,items:v,previousItems:er.current}),er.current=v,null==M||M(v))},[v,m,G,M]);let{notifySelectionChanged:el,notifyHighlightChanged:en,registerHighlightChangeHandler:ei,registerSelectionChangeHandler:ea}=function(){let e=function(){let e=a.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,r){let l=e.get(t);return l?l.add(r):(l=new Set([r]),e.set(t,l)),()=>{l.delete(r),0===l.size&&e.delete(t)}},publish:function(t,...r){let l=e.get(t);l&&l.forEach(e=>e(...r))}}}()),e.current}(),t=a.useCallback(t=>{e.publish(y,t)},[e]),r=a.useCallback(t=>{e.publish(S,t)},[e]),l=a.useCallback(t=>e.subscribe(y,t),[e]),n=a.useCallback(t=>e.subscribe(S,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:r,registerSelectionChangeHandler:l,registerHighlightChangeHandler:n}}();a.useEffect(()=>{el(Y)},[Y,el]),a.useEffect(()=>{en(K)},[K,en]);let eo=e=>t=>{var r;if(null==(r=e.onKeyDown)||r.call(e,t),t.defaultMuiPrevented)return;let l=["Home","End","PageUp","PageDown"];"vertical"===P?l.push("ArrowUp","ArrowDown"):l.push("ArrowLeft","ArrowRight"),"activeDescendant"===n&&l.push(" ","Enter"),l.includes(t.key)&&t.preventDefault(),G({type:g.F.keyDown,key:t.key,event:t}),Q(t)},es=e=>t=>{var r,l;null==(r=e.onBlur)||r.call(e,t),t.defaultMuiPrevented||null!=(l=H.current)&&l.contains(t.relatedTarget)||G({type:g.F.blur,event:t})},eu=a.useCallback(e=>{var t;let r=v.findIndex(t=>m(t,e)),l=(null!=(t=ee.current)?t:[]).some(t=>null!=t&&m(e,t)),i=d(e,r),a=null!=et.current&&m(e,et.current),o="DOM"===n;return{disabled:i,focusable:o,highlighted:a,index:r,selected:l}},[v,d,m,ee,et,n]),ec=a.useMemo(()=>({dispatch:G,getItemState:eu,registerHighlightChangeHandler:ei,registerSelectionChangeHandler:ea}),[G,eu,ei,ea]);return a.useDebugValue({state:X}),{contextValue:ec,dispatch:G,getRootProps:(e={})=>(0,i.Z)({},e,{"aria-activedescendant":"activeDescendant"===n&&null!=K?c(K):void 0,onBlur:es(e),onKeyDown:eo(e),tabIndex:"DOM"===n?-1:0,ref:j}),rootRef:j,state:X}},O=e=>{let{label:t,value:r}=e;return"string"==typeof t?t:"string"==typeof r?r:String(e)},M=r(12247);function P(e,t){var r,l,n;let{open:a}=e,{context:{selectionMode:o}}=t;if(t.type===v.buttonClick){let l=null!=(r=e.selectedValues[0])?r:m(null,"start",t.context);return(0,i.Z)({},e,{open:!a,highlightedValue:a?null:l})}let s=b(e,t);switch(t.type){case g.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===o&&("Enter"===t.event.key||" "===t.event.key))return(0,i.Z)({},s,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,i.Z)({},e,{open:!0,highlightedValue:null!=(l=e.selectedValues[0])?l:m(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,i.Z)({},e,{open:!0,highlightedValue:null!=(n=e.selectedValues[0])?n:m(null,"end",t.context)})}break;case g.F.itemClick:if("single"===o)return(0,i.Z)({},s,{open:!1});break;case g.F.blur:return(0,i.Z)({},s,{open:!1})}return s}function E(e,t){return r=>{let l=(0,i.Z)({},r,e(r)),n=(0,i.Z)({},l,t(l));return n}}function L(e){e.preventDefault()}var T=function(e){let t;let{areOptionsEqual:r,buttonRef:l,defaultOpen:n=!1,defaultValue:o,disabled:s=!1,listboxId:c,listboxRef:g,multiple:m=!1,onChange:p,onHighlightChange:b,onOpenChange:y,open:S,options:x,getOptionAsString:k=O,value:C}=e,V=a.useRef(null),w=(0,u.Z)(l,V),Z=a.useRef(null),D=(0,d.Z)(c);void 0===C&&void 0===o?t=[]:void 0!==o&&(t=m?o:null==o?[]:[o]);let A=a.useMemo(()=>{if(void 0!==C)return m?C:null==C?[]:[C]},[C,m]),{subitems:_,contextValue:F}=(0,M.Y)(),I=a.useMemo(()=>null!=x?new Map(x.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:a.createRef(),id:`${D}_${t}`}])):_,[x,_,D]),R=(0,u.Z)(g,Z),{getRootProps:T,active:N,focusVisible:H,rootRef:j}=(0,h.Z)({disabled:s,rootRef:w}),B=a.useMemo(()=>Array.from(I.keys()),[I]),U=a.useCallback(e=>{if(void 0!==r){let t=B.find(t=>r(t,e));return I.get(t)}return I.get(e)},[I,r,B]),$=a.useCallback(e=>{var t;let r=U(e);return null!=(t=null==r?void 0:r.disabled)&&t},[U]),W=a.useCallback(e=>{let t=U(e);return t?k(t):""},[U,k]),J=a.useMemo(()=>({selectedValues:A,open:S}),[A,S]),q=a.useCallback(e=>{var t;return null==(t=I.get(e))?void 0:t.id},[I]),X=a.useCallback((e,t)=>{if(m)null==p||p(e,t);else{var r;null==p||p(e,null!=(r=t[0])?r:null)}},[m,p]),G=a.useCallback((e,t)=>{null==b||b(e,null!=t?t:null)},[b]),K=a.useCallback((e,t,r)=>{if("open"===t&&(null==y||y(r),!1===r&&(null==e?void 0:e.type)!=="blur")){var l;null==(l=V.current)||l.focus()}},[y]),Y={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:n}},getItemId:q,controlledProps:J,itemComparer:r,isItemDisabled:$,rootRef:j,onChange:X,onHighlightChange:G,onStateChange:K,reducerActionContext:a.useMemo(()=>({multiple:m}),[m]),items:B,getItemAsString:W,selectionMode:m?"multiple":"single",stateReducer:P},{dispatch:Q,getRootProps:ee,contextValue:et,state:{open:er,highlightedValue:el,selectedValues:en},rootRef:ei}=z(Y),ea=e=>t=>{var r;if(null==e||null==(r=e.onClick)||r.call(e,t),!t.defaultMuiPrevented){let e={type:v.buttonClick,event:t};Q(e)}};(0,f.Z)(()=>{if(null!=el){var e;let t=null==(e=U(el))?void 0:e.ref;if(!Z.current||!(null!=t&&t.current))return;let r=Z.current.getBoundingClientRect(),l=t.current.getBoundingClientRect();l.topr.bottom&&(Z.current.scrollTop+=l.bottom-r.bottom)}},[el,U]);let eo=a.useCallback(e=>U(e),[U]),es=(e={})=>(0,i.Z)({},e,{onClick:ea(e),ref:ei,role:"combobox","aria-expanded":er,"aria-controls":D});a.useDebugValue({selectedOptions:en,highlightedOption:el,open:er});let eu=a.useMemo(()=>(0,i.Z)({},et,F),[et,F]);return{buttonActive:N,buttonFocusVisible:H,buttonRef:j,contextValue:eu,disabled:s,dispatch:Q,getButtonProps:(e={})=>{let t=E(T,ee),r=E(t,es);return r(e)},getListboxProps:(e={})=>(0,i.Z)({},e,{id:D,role:"listbox","aria-multiselectable":m?"true":void 0,ref:R,onMouseDown:L}),getOptionMetadata:eo,listboxRef:ei,open:er,options:B,value:e.multiple?en:en.length>0?en[0]:null,highlightedOption:el}},N=r(26558),H=r(85893);function j(e){let{value:t,children:r}=e,{dispatch:l,getItemIndex:n,getItemState:i,registerHighlightChangeHandler:o,registerSelectionChangeHandler:s,registerItem:u,totalSubitemCount:c}=t,d=a.useMemo(()=>({dispatch:l,getItemState:i,getItemIndex:n,registerHighlightChangeHandler:o,registerSelectionChangeHandler:s}),[l,n,i,o,s]),f=a.useMemo(()=>({getItemIndex:n,registerItem:u,totalSubitemCount:c}),[u,n,c]);return(0,H.jsx)(M.s.Provider,{value:f,children:(0,H.jsx)(N.Z.Provider,{value:d,children:r})})}var B=r(94780),U=r(11772),$=r(51712),W=r(43614),J=r(74312),q=r(20407),X=r(30220),G=r(26821);function K(e){return(0,G.d6)("MuiSvgIcon",e)}(0,G.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","fontSizeXl5","fontSizeXl6"]);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","slots","slotProps"],Q=e=>{let{color:t,fontSize:r}=e,l={root:["root",t&&`color${(0,s.Z)(t)}`,r&&`fontSize${(0,s.Z)(r)}`]};return(0,B.Z)(l,K,{})},ee=(0,J.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;return(0,i.Z)({},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},{color:"var(--Icon-color)"},"inherit"!==t.color&&"context"!==t.color&&e.vars.palette[t.color]&&{color:e.vars.palette[t.color].plainColor},"context"===t.color&&{color:null==(r=e.variants.plain)||null==(r=r[t.color])?void 0:r.color})}),et=a.forwardRef(function(e,t){let r=(0,q.Z)({props:e,name:"JoySvgIcon"}),{children:l,className:s,color:u="inherit",component:c="svg",fontSize:d="xl",htmlColor:f,inheritViewBox:h=!1,titleAccess:v,viewBox:g="0 0 24 24",slots:m={},slotProps:p={}}=r,b=(0,n.Z)(r,Y),y=a.isValidElement(l)&&"svg"===l.type,S=(0,i.Z)({},r,{color:u,component:c,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),x=Q(S),k=(0,i.Z)({},b,{component:c,slots:m,slotProps:p}),[C,V]=(0,X.Z)("root",{ref:t,className:(0,o.Z)(x.root,s),elementType:ee,externalForwardedProps:k,ownerState:S,additionalProps:(0,i.Z)({color:f,focusable:!1},v&&{role:"img"},!v&&{"aria-hidden":!0},!h&&{viewBox:g},y&&l.props)});return(0,H.jsxs)(C,(0,i.Z)({},V,{children:[y?l.props.children:l,v?(0,H.jsx)("title",{children:v}):null]}))});var er=function(e,t){function r(r,l){return(0,H.jsx)(et,(0,i.Z)({"data-testid":`${t}Icon`,ref:l},r,{children:e}))}return r.muiName=et.muiName,a.memo(a.forwardRef(r))}((0,H.jsx)("path",{d:"m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 3.7a.9959.9959 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 5.83zm0 12.34-2.46-2.46a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L12 18.17z"}),"Unfold"),el=r(78653);function en(e){return(0,G.d6)("MuiSelect",e)}let ei=(0,G.sI)("MuiSelect",["root","button","indicator","startDecorator","endDecorator","popper","listbox","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","focusVisible","disabled","expanded"]);var ea=r(76043);let eo=["action","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","placeholder","listboxId","listboxOpen","onChange","onListboxOpenChange","onClose","renderValue","value","size","variant","color","startDecorator","endDecorator","indicator","aria-describedby","aria-label","aria-labelledby","id","name","slots","slotProps"];function es(e){var t;return null!=(t=null==e?void 0:e.label)?t:""}function eu(e){return(null==e?void 0:e.value)==null?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}let ec=[{name:"offset",options:{offset:[0,4]}},{name:"equalWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`}}],ed=e=>{let{color:t,disabled:r,focusVisible:l,size:n,variant:i,open:a}=e,o={root:["root",r&&"disabled",l&&"focusVisible",a&&"expanded",i&&`variant${(0,s.Z)(i)}`,t&&`color${(0,s.Z)(t)}`,n&&`size${(0,s.Z)(n)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",a&&"expanded"],listbox:["listbox",a&&"expanded",r&&"disabled"]};return(0,B.Z)(o,en,{})},ef=(0,J.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,l,n,a;let o=null==(r=e.variants[`${t.variant}`])?void 0:r[t.color];return[(0,i.Z)({"--Select-radius":e.vars.radius.sm,"--Select-gap":"0.5rem","--Select-placeholderOpacity":.5,"--Select-focusedThickness":e.vars.focus.thickness},"context"===t.color?{"--Select-focusedHighlight":e.vars.palette.focusVisible}:{"--Select-focusedHighlight":null==(l=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:l[500]},{"--Select-indicatorColor":null!=o&&o.backgroundColor?null==o?void 0:o.color:e.vars.palette.text.tertiary},"sm"===t.size&&{"--Select-minHeight":"2rem","--Select-paddingInline":"0.5rem","--Select-decoratorChildHeight":"min(1.5rem, var(--Select-minHeight))","--Icon-fontSize":"1.25rem"},"md"===t.size&&{"--Select-minHeight":"2.5rem","--Select-paddingInline":"0.75rem","--Select-decoratorChildHeight":"min(2rem, var(--Select-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===t.size&&{"--Select-minHeight":"3rem","--Select-paddingInline":"1rem","--Select-decoratorChildHeight":"min(2.375rem, var(--Select-minHeight))","--Icon-fontSize":"1.75rem"},{"--Select-decoratorChildOffset":"min(calc(var(--Select-paddingInline) - (var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2), var(--Select-paddingInline))","--_Select-paddingBlock":"max((var(--Select-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Select-decoratorChildHeight)) / 2, 0px)","--Select-decoratorChildRadius":"max(var(--Select-radius) - var(--variant-borderWidth, 0px) - var(--_Select-paddingBlock), min(var(--_Select-paddingBlock) + var(--variant-borderWidth, 0px), var(--Select-radius) / 2))","--Button-minHeight":"var(--Select-decoratorChildHeight)","--IconButton-size":"var(--Select-decoratorChildHeight)","--Button-radius":"var(--Select-decoratorChildRadius)","--IconButton-radius":"var(--Select-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Select-minHeight)",position:"relative",display:"flex",alignItems:"center",borderRadius:"var(--Select-radius)",cursor:"pointer"},!(null!=o&&o.backgroundColor)&&{backgroundColor:e.vars.palette.background.surface},t.size&&{paddingBlock:({sm:2,md:3,lg:4})[t.size]},{paddingInline:"var(--Select-paddingInline)",fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.md},"sm"===t.size&&{fontSize:e.vars.fontSize.sm},{"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)"},[`&.${ei.focusVisible}`]:{"--Select-indicatorColor":null==o?void 0:o.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${ei.disabled}`]:{"--Select-indicatorColor":"inherit"}}),(0,i.Z)({},o,{"&:hover":null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color],[`&.${ei.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]})]}),eh=(0,J.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,i.Z)({border:0,outline:0,background:"none",padding:0,fontSize:"inherit",color:"inherit",alignSelf:"stretch",display:"flex",alignItems:"center",flex:1,fontFamily:"inherit",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden"},(null===e.value||void 0===e.value)&&{opacity:"var(--Select-placeholderOpacity)"},{"&::before":{content:'""',display:"block",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))",right:"calc(-1 * var(--variant-borderWidth, 0px))",bottom:"calc(-1 * var(--variant-borderWidth, 0px))",borderRadius:"var(--Select-radius)"}})),ev=(0,J.Z)(U.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var r;let l="context"===t.color?void 0:null==(r=e.variants[t.variant])?void 0:r[t.color];return(0,i.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--List-radius":e.vars.radius.sm,"--ListItem-stickyBackground":(null==l?void 0:l.backgroundColor)||(null==l?void 0:l.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},$.M,{minWidth:"max-content",maxHeight:"44vh",overflow:"auto",outline:0,boxShadow:e.shadow.md,zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=l&&l.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),eg=(0,J.Z)("span",{name:"JoySelect",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({theme:e,ownerState:t})=>(0,i.Z)({"--Button-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Select-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Select-paddingInline) / -4)",display:"inherit",alignItems:"center",marginInlineEnd:"var(--Select-gap)",color:e.vars.palette.text.tertiary},t.focusVisible&&{color:"var(--Select-focusedHighlight)"})),em=(0,J.Z)("span",{name:"JoySelect",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})(({theme:e,ownerState:t})=>{var r;let l=null==(r=e.variants[t.variant])?void 0:r[t.color];return{"--Button-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Select-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Select-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",color:null==l?void 0:l.color}}),ep=(0,J.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e})=>(0,i.Z)({},"sm"===e.size&&{"--Icon-fontSize":"1.125rem"},"md"===e.size&&{"--Icon-fontSize":"1.25rem"},"lg"===e.size&&{"--Icon-fontSize":"1.5rem"},{color:"var(--Select-indicatorColor)",display:"inherit",alignItems:"center",marginInlineStart:"var(--Select-gap)",marginInlineEnd:"calc(var(--Select-paddingInline) / -4)",[`.${ei.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"}})),eb=a.forwardRef(function(e,t){var r,s,d,f,h,v,g;let m=(0,q.Z)({props:e,name:"JoySelect"}),{action:p,autoFocus:b,children:y,defaultValue:S,defaultListboxOpen:x=!1,disabled:k,getSerializedValue:C=eu,placeholder:V,listboxId:w,listboxOpen:Z,onChange:D,onListboxOpenChange:A,onClose:_,renderValue:F,value:I,size:R="md",variant:z="outlined",color:O="neutral",startDecorator:M,endDecorator:P,indicator:E=l||(l=(0,H.jsx)(er,{})),"aria-describedby":L,"aria-label":N,"aria-labelledby":B,id:U,name:J,slots:G={},slotProps:K={}}=m,Y=(0,n.Z)(m,eo),Q=a.useContext(ea.Z),ee=null!=(r=null!=(s=e.disabled)?s:null==Q?void 0:Q.disabled)?r:k,et=null!=(d=null!=(f=e.size)?f:null==Q?void 0:Q.size)?d:R,{getColor:en}=(0,el.VT)(z),eb=en(e.color,null!=Q&&Q.error?"danger":null!=(h=null==Q?void 0:Q.color)?h:O),ey=null!=F?F:es,[eS,ex]=a.useState(null),ek=a.useRef(null),eC=a.useRef(null),eV=a.useRef(null),ew=(0,u.Z)(t,ek);a.useImperativeHandle(p,()=>({focusVisible:()=>{var e;null==(e=eC.current)||e.focus()}}),[]),a.useEffect(()=>{ex(ek.current)},[]),a.useEffect(()=>{b&&eC.current.focus()},[b]);let eZ=a.useCallback(e=>{null==A||A(e),e||null==_||_()},[_,A]),{buttonActive:eD,buttonFocusVisible:eA,contextValue:e_,disabled:eF,getButtonProps:eI,getListboxProps:eR,getOptionMetadata:ez,open:eO,value:eM}=T({buttonRef:eC,defaultOpen:x,defaultValue:S,disabled:ee,listboxId:w,multiple:!1,onChange:D,onOpenChange:eZ,open:Z,value:I}),eP=(0,i.Z)({},m,{active:eD,defaultListboxOpen:x,disabled:eF,focusVisible:eA,open:eO,renderValue:ey,value:eM,size:et,variant:z,color:eb}),eE=ed(eP),eL=(0,i.Z)({},Y,{slots:G,slotProps:K}),eT=a.useMemo(()=>{var e;return null!=(e=ez(eM))?e:null},[ez,eM]),[eN,eH]=(0,X.Z)("root",{ref:ew,className:eE.root,elementType:ef,externalForwardedProps:eL,ownerState:eP}),[ej,eB]=(0,X.Z)("button",{additionalProps:{"aria-describedby":null!=L?L:null==Q?void 0:Q["aria-describedby"],"aria-label":N,"aria-labelledby":null!=B?B:null==Q?void 0:Q.labelId,id:null!=U?U:null==Q?void 0:Q.htmlFor,name:J},className:eE.button,elementType:eh,externalForwardedProps:eL,getSlotProps:eI,ownerState:eP}),[eU,e$]=(0,X.Z)("listbox",{additionalProps:{ref:eV,anchorEl:eS,open:eO,placement:"bottom",keepMounted:!0},className:eE.listbox,elementType:ev,externalForwardedProps:eL,getSlotProps:eR,ownerState:(0,i.Z)({},eP,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||et,variant:e.variant||"outlined",color:e.color||"neutral",disableColorInversion:!e.disablePortal})}),[eW,eJ]=(0,X.Z)("startDecorator",{className:eE.startDecorator,elementType:eg,externalForwardedProps:eL,ownerState:eP}),[eq,eX]=(0,X.Z)("endDecorator",{className:eE.endDecorator,elementType:em,externalForwardedProps:eL,ownerState:eP}),[eG,eK]=(0,X.Z)("indicator",{className:eE.indicator,elementType:ep,externalForwardedProps:eL,ownerState:eP}),eY=a.useMemo(()=>(0,i.Z)({},e_,{color:eb}),[eb,e_]),eQ=a.useMemo(()=>[...ec,...e$.modifiers||[]],[e$.modifiers]),e0=null;return eS&&(e0=(0,H.jsx)(eU,(0,i.Z)({},e$,{className:(0,o.Z)(e$.className,(null==(v=e$.ownerState)?void 0:v.color)==="context"&&ei.colorContext),modifiers:eQ},!(null!=(g=m.slots)&&g.listbox)&&{as:c.Z,slots:{root:e$.as||"ul"}},{children:(0,H.jsx)(j,{value:eY,children:(0,H.jsx)(W.Z.Provider,{value:"select",children:(0,H.jsx)($.Z,{nested:!0,children:y})})})})),e$.disablePortal||(e0=(0,H.jsx)(el.ZP.Provider,{value:void 0,children:e0}))),(0,H.jsxs)(a.Fragment,{children:[(0,H.jsxs)(eN,(0,i.Z)({},eH,{children:[M&&(0,H.jsx)(eW,(0,i.Z)({},eJ,{children:M})),(0,H.jsx)(ej,(0,i.Z)({},eB,{children:eT?ey(eT):V})),P&&(0,H.jsx)(eq,(0,i.Z)({},eX,{children:P})),E&&(0,H.jsx)(eG,(0,i.Z)({},eK,{children:E}))]})),e0,J&&(0,H.jsx)("input",{type:"hidden",name:J,value:C(eT)})]})});var ey=eb},87536:function(e,t,r){r.d(t,{cI:function(){return eg}});var l=r(67294),n=e=>"checkbox"===e.type,i=e=>e instanceof Date,a=e=>null==e;let o=e=>"object"==typeof e;var s=e=>!a(e)&&!Array.isArray(e)&&o(e)&&!i(e),u=e=>s(e)&&e.target?n(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),f=e=>{let t=e.constructor&&e.constructor.prototype;return s(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function v(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(h&&(e instanceof Blob||e instanceof FileList))&&(r||s(e))))return e;else if(t=r?[]:{},r||f(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=v(e[r]));else t=e;return t}var g=e=>Array.isArray(e)?e.filter(Boolean):[],m=e=>void 0===e,p=(e,t,r)=>{if(!t||!s(e))return r;let l=g(t.split(/[,[\].]+?/)).reduce((e,t)=>a(e)?e:e[t],e);return m(l)||l===e?m(e[t])?r:e[t]:l};let b={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},y={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},S={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};l.createContext(null);var x=(e,t,r,l=!0)=>{let n={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(n,i,{get:()=>(t._proxyFormState[i]!==y.all&&(t._proxyFormState[i]=!l||y.all),r&&(r[i]=!0),e[i])});return n},k=e=>s(e)&&!Object.keys(e).length,C=(e,t,r,l)=>{r(e);let{name:n,...i}=e;return k(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!l||y.all))},V=e=>Array.isArray(e)?e:[e],w=e=>"string"==typeof e,Z=(e,t,r,l,n)=>w(e)?(l&&t.watch.add(e),p(r,e,n)):Array.isArray(e)?e.map(e=>(l&&t.watch.add(e),p(r,e))):(l&&(t.watchAll=!0),r),D=e=>/^\w*$/.test(e),A=e=>g(e.replace(/["|']|\]/g,"").split(/\.|\[/));function _(e,t,r){let l=-1,n=D(t)?[t]:A(t),i=n.length,a=i-1;for(;++lt?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[l]:n||!0}}:{};let I=(e,t,r)=>{for(let l of r||Object.keys(e)){let r=p(e,l);if(r){let{_f:e,...l}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else s(l)&&I(l,t)}}};var R=e=>({isOnSubmit:!e||e===y.onSubmit,isOnBlur:e===y.onBlur,isOnChange:e===y.onChange,isOnAll:e===y.all,isOnTouch:e===y.onTouched}),z=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),O=(e,t,r)=>{let l=g(p(e,r));return _(l,"root",t[r]),_(e,r,l),e},M=e=>"boolean"==typeof e,P=e=>"file"===e.type,E=e=>"function"==typeof e,L=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},T=e=>w(e),N=e=>"radio"===e.type,H=e=>e instanceof RegExp;let j={value:!1,isValid:!1},B={value:!0,isValid:!0};var U=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?B:{value:e[0].value,isValid:!0}:B:j}return j};let $={isValid:!1,value:null};var W=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,$):$;function J(e,t,r="validate"){if(T(e)||Array.isArray(e)&&e.every(T)||M(e)&&!e)return{type:r,message:T(e)?e:"",ref:t}}var q=e=>s(e)&&!H(e)?e:{value:e,message:""},X=async(e,t,r,l,i)=>{let{ref:o,refs:u,required:c,maxLength:d,minLength:f,min:h,max:v,pattern:g,validate:b,name:y,valueAsNumber:x,mount:C,disabled:V}=e._f,Z=p(t,y);if(!C||V)return{};let D=u?u[0]:o,A=e=>{l&&D.reportValidity&&(D.setCustomValidity(M(e)?"":e||""),D.reportValidity())},_={},I=N(o),R=n(o),z=(x||P(o))&&m(o.value)&&m(Z)||L(o)&&""===o.value||""===Z||Array.isArray(Z)&&!Z.length,O=F.bind(null,y,r,_),j=(e,t,r,l=S.maxLength,n=S.minLength)=>{let i=e?t:r;_[y]={type:e?l:n,message:i,ref:o,...O(e?l:n,i)}};if(i?!Array.isArray(Z)||!Z.length:c&&(!(I||R)&&(z||a(Z))||M(Z)&&!Z||R&&!U(u).isValid||I&&!W(u).isValid)){let{value:e,message:t}=T(c)?{value:!!c,message:c}:q(c);if(e&&(_[y]={type:S.required,message:t,ref:D,...O(S.required,t)},!r))return A(t),_}if(!z&&(!a(h)||!a(v))){let e,t;let l=q(v),n=q(h);if(a(Z)||isNaN(Z)){let r=o.valueAsDate||new Date(Z),i=e=>new Date(new Date().toDateString()+" "+e),a="time"==o.type,s="week"==o.type;w(l.value)&&Z&&(e=a?i(Z)>i(l.value):s?Z>l.value:r>new Date(l.value)),w(n.value)&&Z&&(t=a?i(Z)l.value),a(n.value)||(t=r+e.value,n=!a(t.value)&&Z.length<+t.value;if((l||n)&&(j(l,e.message,t.message),!r))return A(_[y].message),_}if(g&&!z&&w(Z)){let{value:e,message:t}=q(g);if(H(e)&&!Z.match(e)&&(_[y]={type:S.pattern,message:t,ref:o,...O(S.pattern,t)},!r))return A(t),_}if(b){if(E(b)){let e=await b(Z,t),l=J(e,D);if(l&&(_[y]={...l,...O(S.validate,l.message)},!r))return A(l.message),_}else if(s(b)){let e={};for(let l in b){if(!k(e)&&!r)break;let n=J(await b[l](Z,t),D,l);n&&(e={...n,...O(l,n.message)},A(n.message),r&&(_[y]=e))}if(!k(e)&&(_[y]={ref:D,...e},!r))return _}}return A(!0),_};function G(e,t){let r=Array.isArray(t)?t:D(t)?[t]:A(t),l=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,l=0;for(;l{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var Y=e=>a(e)||!o(e);function Q(e,t){if(Y(e)||Y(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),l=Object.keys(t);if(r.length!==l.length)return!1;for(let n of r){let r=e[n];if(!l.includes(n))return!1;if("ref"!==n){let e=t[n];if(i(r)&&i(e)||s(r)&&s(e)||Array.isArray(r)&&Array.isArray(e)?!Q(r,e):r!==e)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>N(e)||n(e),er=e=>L(e)&&e.isConnected,el=e=>{for(let t in e)if(E(e[t]))return!0;return!1};function en(e,t={}){let r=Array.isArray(e);if(s(e)||r)for(let r in e)Array.isArray(e[r])||s(e[r])&&!el(e[r])?(t[r]=Array.isArray(e[r])?[]:{},en(e[r],t[r])):a(e[r])||(t[r]=!0);return t}var ei=(e,t)=>(function e(t,r,l){let n=Array.isArray(t);if(s(t)||n)for(let n in t)Array.isArray(t[n])||s(t[n])&&!el(t[n])?m(r)||Y(l[n])?l[n]=Array.isArray(t[n])?en(t[n],[]):{...en(t[n])}:e(t[n],a(r)?{}:r[n],l[n]):l[n]=!Q(t[n],r[n]);return l})(e,t,en(t)),ea=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:l})=>m(e)?e:t?""===e?NaN:e?+e:e:r&&w(e)?new Date(e):l?l(e):e;function eo(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:P(t)?t.files:N(t)?W(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):n(t)?U(e.refs).value:ea(m(t.value)?e.ref.value:t.value,e)}var es=(e,t,r,l)=>{let n={};for(let r of e){let e=p(t,r);e&&_(n,r,e._f)}return{criteriaMode:r,names:[...e],fields:n,shouldUseNativeValidation:l}},eu=e=>m(e)?e:H(e)?e.source:s(e)?H(e.value)?e.value.source:e.value:e,ec=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ed(e,t,r){let l=p(e,r);if(l||D(r))return{error:l,name:r};let n=r.split(".");for(;n.length;){let l=n.join("."),i=p(t,l),a=p(e,l);if(i&&!Array.isArray(i)&&r!==l)break;if(a&&a.type)return{name:l,error:a};n.pop()}return{name:r}}var ef=(e,t,r,l,n)=>!n.isOnAll&&(!r&&n.isOnTouch?!(t||e):(r?l.isOnBlur:n.isOnBlur)?!e:(r?!l.isOnChange:!n.isOnChange)||e),eh=(e,t)=>!g(p(e,t)).length&&G(e,t);let ev={mode:y.onSubmit,reValidateMode:y.onChange,shouldFocusError:!0};function eg(e={}){let t=l.useRef(),r=l.useRef(),[o,c]=l.useState({isDirty:!1,isValidating:!1,isLoading:E(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:E(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,l={...ev,...e},o={submitCount:0,isDirty:!1,isLoading:E(l.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},c={},f=(s(l.defaultValues)||s(l.values))&&v(l.defaultValues||l.values)||{},S=l.shouldUnregister?{}:v(f),x={action:!1,mount:!1,watch:!1},C={mount:new Set,unMount:new Set,array:new Set,watch:new Set},D=0,A={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},F={values:K(),array:K(),state:K()},T=e.resetOptions&&e.resetOptions.keepDirtyValues,N=R(l.mode),H=R(l.reValidateMode),j=l.criteriaMode===y.all,B=e=>t=>{clearTimeout(D),D=setTimeout(e,t)},U=async e=>{if(A.isValid||e){let e=l.resolver?k((await en()).errors):await em(c,!0);e!==o.isValid&&F.state.next({isValid:e})}},$=e=>A.isValidating&&F.state.next({isValidating:e}),W=(e,t)=>{_(o.errors,e,t),F.state.next({errors:o.errors})},J=(e,t,r,l)=>{let n=p(c,e);if(n){let i=p(S,e,m(r)?p(f,e):r);m(i)||l&&l.defaultChecked||t?_(S,e,t?i:eo(n._f)):ey(e,i),x.mount&&U()}},q=(e,t,r,l,n)=>{let i=!1,a=!1,s={name:e};if(!r||l){A.isDirty&&(a=o.isDirty,o.isDirty=s.isDirty=ep(),i=a!==s.isDirty);let r=Q(p(f,e),t);a=p(o.dirtyFields,e),r?G(o.dirtyFields,e):_(o.dirtyFields,e,!0),s.dirtyFields=o.dirtyFields,i=i||A.dirtyFields&&!r!==a}if(r){let t=p(o.touchedFields,e);t||(_(o.touchedFields,e,r),s.touchedFields=o.touchedFields,i=i||A.touchedFields&&t!==r)}return i&&n&&F.state.next(s),i?s:{}},el=(t,l,n,i)=>{let a=p(o.errors,t),s=A.isValid&&M(l)&&o.isValid!==l;if(e.delayError&&n?(r=B(()=>W(t,n)))(e.delayError):(clearTimeout(D),r=null,n?_(o.errors,t,n):G(o.errors,t)),(n?!Q(a,n):a)||!k(i)||s){let e={...i,...s&&M(l)?{isValid:l}:{},errors:o.errors,name:t};o={...o,...e},F.state.next(e)}$(!1)},en=async e=>l.resolver(S,l.context,es(e||C.mount,c,l.criteriaMode,l.shouldUseNativeValidation)),eg=async e=>{let{errors:t}=await en(e);if(e)for(let r of e){let e=p(t,r);e?_(o.errors,r,e):G(o.errors,r)}else o.errors=t;return t},em=async(e,t,r={valid:!0})=>{for(let n in e){let i=e[n];if(i){let{_f:e,...n}=i;if(e){let n=C.array.has(e.name),a=await X(i,S,j,l.shouldUseNativeValidation&&!t,n);if(a[e.name]&&(r.valid=!1,t))break;t||(p(a,e.name)?n?O(o.errors,a,e.name):_(o.errors,e.name,a[e.name]):G(o.errors,e.name))}n&&await em(n,t,r)}}return r.valid},ep=(e,t)=>(e&&t&&_(S,e,t),!Q(eV(),f)),eb=(e,t,r)=>Z(e,C,{...x.mount?S:m(t)?f:w(e)?{[e]:t}:t},r,t),ey=(e,t,r={})=>{let l=p(c,e),i=t;if(l){let r=l._f;r&&(r.disabled||_(S,e,ea(t,r)),i=L(r.ref)&&a(t)?"":t,ee(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?n(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):P(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||F.values.next({name:e,values:{...S}})))}(r.shouldDirty||r.shouldTouch)&&q(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eC(e)},eS=(e,t,r)=>{for(let l in t){let n=t[l],a=`${e}.${l}`,o=p(c,a);!C.array.has(e)&&Y(n)&&(!o||o._f)||i(n)?ey(a,n,r):eS(a,n,r)}},ex=(e,r,l={})=>{let n=p(c,e),i=C.array.has(e),s=v(r);_(S,e,s),i?(F.array.next({name:e,values:{...S}}),(A.isDirty||A.dirtyFields)&&l.shouldDirty&&F.state.next({name:e,dirtyFields:ei(f,S),isDirty:ep(e,s)})):!n||n._f||a(s)?ey(e,s,l):eS(e,s,l),z(e,C)&&F.state.next({...o}),F.values.next({name:e,values:{...S}}),x.mount||t()},ek=async e=>{let t=e.target,n=t.name,i=!0,a=p(c,n);if(a){let s,d;let f=t.type?eo(a._f):u(e),h=e.type===b.BLUR||e.type===b.FOCUS_OUT,v=!ec(a._f)&&!l.resolver&&!p(o.errors,n)&&!a._f.deps||ef(h,p(o.touchedFields,n),o.isSubmitted,H,N),g=z(n,C,h);_(S,n,f),h?(a._f.onBlur&&a._f.onBlur(e),r&&r(0)):a._f.onChange&&a._f.onChange(e);let m=q(n,f,h,!1),y=!k(m)||g;if(h||F.values.next({name:n,type:e.type,values:{...S}}),v)return A.isValid&&U(),y&&F.state.next({name:n,...g?{}:m});if(!h&&g&&F.state.next({...o}),$(!0),l.resolver){let{errors:e}=await en([n]),t=ed(o.errors,c,n),r=ed(e,c,t.name||n);s=r.error,n=r.name,d=k(e)}else s=(await X(a,S,j,l.shouldUseNativeValidation))[n],(i=isNaN(f)||f===p(S,n,f))&&(s?d=!1:A.isValid&&(d=await em(c,!0)));i&&(a._f.deps&&eC(a._f.deps),el(n,d,s,m))}},eC=async(e,t={})=>{let r,n;let i=V(e);if($(!0),l.resolver){let t=await eg(m(e)?e:i);r=k(t),n=e?!i.some(e=>p(t,e)):r}else e?((n=(await Promise.all(i.map(async e=>{let t=p(c,e);return await em(t&&t._f?{[e]:t}:t)}))).every(Boolean))||o.isValid)&&U():n=r=await em(c);return F.state.next({...!w(e)||A.isValid&&r!==o.isValid?{}:{name:e},...l.resolver||!e?{isValid:r}:{},errors:o.errors,isValidating:!1}),t.shouldFocus&&!n&&I(c,e=>e&&p(o.errors,e),e?i:C.mount),n},eV=e=>{let t={...f,...x.mount?S:{}};return m(e)?t:w(e)?p(t,e):e.map(e=>p(t,e))},ew=(e,t)=>({invalid:!!p((t||o).errors,e),isDirty:!!p((t||o).dirtyFields,e),isTouched:!!p((t||o).touchedFields,e),error:p((t||o).errors,e)}),eZ=(e,t,r)=>{let l=(p(c,e,{_f:{}})._f||{}).ref;_(o.errors,e,{...t,ref:l}),F.state.next({name:e,errors:o.errors,isValid:!1}),r&&r.shouldFocus&&l&&l.focus&&l.focus()},eD=(e,t={})=>{for(let r of e?V(e):C.mount)C.mount.delete(r),C.array.delete(r),t.keepValue||(G(c,r),G(S,r)),t.keepError||G(o.errors,r),t.keepDirty||G(o.dirtyFields,r),t.keepTouched||G(o.touchedFields,r),l.shouldUnregister||t.keepDefaultValue||G(f,r);F.values.next({values:{...S}}),F.state.next({...o,...t.keepDirty?{isDirty:ep()}:{}}),t.keepIsValid||U()},eA=({disabled:e,name:t,field:r,fields:l})=>{if(M(e)){let n=e?void 0:p(S,t,eo(r?r._f:p(l,t)._f));_(S,t,n),q(t,n,!1,!1,!0)}},e_=(e,t={})=>{let r=p(c,e),n=M(t.disabled);return _(c,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),C.mount.add(e),r?eA({field:r,disabled:t.disabled,name:e}):J(e,!0,t.value),{...n?{disabled:t.disabled}:{},...l.progressive?{required:!!t.required,min:eu(t.min),max:eu(t.max),minLength:eu(t.minLength),maxLength:eu(t.maxLength),pattern:eu(t.pattern)}:{},name:e,onChange:ek,onBlur:ek,ref:n=>{if(n){e_(e,t),r=p(c,e);let l=m(n.value)&&n.querySelectorAll&&n.querySelectorAll("input,select,textarea")[0]||n,i=et(l),a=r._f.refs||[];(i?a.find(e=>e===l):l===r._f.ref)||(_(c,e,{_f:{...r._f,...i?{refs:[...a.filter(er),l,...Array.isArray(p(f,e))?[{}]:[]],ref:{type:l.type,name:e}}:{ref:l}}}),J(e,!1,void 0,l))}else(r=p(c,e,{}))._f&&(r._f.mount=!1),(l.shouldUnregister||t.shouldUnregister)&&!(d(C.array,e)&&x.action)&&C.unMount.add(e)}}},eF=()=>l.shouldFocusError&&I(c,e=>e&&p(o.errors,e),C.mount),eI=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let n=v(S);if(F.state.next({isSubmitting:!0}),l.resolver){let{errors:e,values:t}=await en();o.errors=e,n=t}else await em(c);G(o.errors,"root"),k(o.errors)?(F.state.next({errors:{}}),await e(n,r)):(t&&await t({...o.errors},r),eF(),setTimeout(eF)),F.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:k(o.errors),submitCount:o.submitCount+1,errors:o.errors})},eR=(r,l={})=>{let n=r?v(r):f,i=v(n),a=r&&!k(r)?i:f;if(l.keepDefaultValues||(f=n),!l.keepValues){if(l.keepDirtyValues||T)for(let e of C.mount)p(o.dirtyFields,e)?_(a,e,p(S,e)):ex(e,p(a,e));else{if(h&&m(r))for(let e of C.mount){let t=p(c,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(L(e)){let t=e.closest("form");if(t){t.reset();break}}}}c={}}S=e.shouldUnregister?l.keepDefaultValues?v(f):{}:v(a),F.array.next({values:{...a}}),F.values.next({values:{...a}})}C={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},x.mount||t(),x.mount=!A.isValid||!!l.keepIsValid,x.watch=!!e.shouldUnregister,F.state.next({submitCount:l.keepSubmitCount?o.submitCount:0,isDirty:l.keepDirty?o.isDirty:!!(l.keepDefaultValues&&!Q(r,f)),isSubmitted:!!l.keepIsSubmitted&&o.isSubmitted,dirtyFields:l.keepDirtyValues?o.dirtyFields:l.keepDefaultValues&&r?ei(f,r):{},touchedFields:l.keepTouched?o.touchedFields:{},errors:l.keepErrors?o.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},ez=(e,t)=>eR(E(e)?e(S):e,t);return{control:{register:e_,unregister:eD,getFieldState:ew,handleSubmit:eI,setError:eZ,_executeSchema:en,_getWatch:eb,_getDirty:ep,_updateValid:U,_removeUnmounted:()=>{for(let e of C.unMount){let t=p(c,e);t&&(t._f.refs?t._f.refs.every(e=>!er(e)):!er(t._f.ref))&&eD(e)}C.unMount=new Set},_updateFieldArray:(e,t=[],r,l,n=!0,i=!0)=>{if(l&&r){if(x.action=!0,i&&Array.isArray(p(c,e))){let t=r(p(c,e),l.argA,l.argB);n&&_(c,e,t)}if(i&&Array.isArray(p(o.errors,e))){let t=r(p(o.errors,e),l.argA,l.argB);n&&_(o.errors,e,t),eh(o.errors,e)}if(A.touchedFields&&i&&Array.isArray(p(o.touchedFields,e))){let t=r(p(o.touchedFields,e),l.argA,l.argB);n&&_(o.touchedFields,e,t)}A.dirtyFields&&(o.dirtyFields=ei(f,S)),F.state.next({name:e,isDirty:ep(e,t),dirtyFields:o.dirtyFields,errors:o.errors,isValid:o.isValid})}else _(S,e,t)},_updateDisabledField:eA,_getFieldArray:t=>g(p(x.mount?S:f,t,e.shouldUnregister?p(f,t,[]):[])),_reset:eR,_resetDefaultValues:()=>E(l.defaultValues)&&l.defaultValues().then(e=>{ez(e,l.resetOptions),F.state.next({isLoading:!1})}),_updateFormState:e=>{o={...o,...e}},_subjects:F,_proxyFormState:A,get _fields(){return c},get _formValues(){return S},get _state(){return x},set _state(value){x=value},get _defaultValues(){return f},get _names(){return C},set _names(value){C=value},get _formState(){return o},set _formState(value){o=value},get _options(){return l},set _options(value){l={...l,...value}}},trigger:eC,register:e_,handleSubmit:eI,watch:(e,t)=>E(e)?F.values.subscribe({next:r=>e(eb(void 0,t),r)}):eb(e,t,!0),setValue:ex,getValues:eV,reset:ez,resetField:(e,t={})=>{p(c,e)&&(m(t.defaultValue)?ex(e,p(f,e)):(ex(e,t.defaultValue),_(f,e,t.defaultValue)),t.keepTouched||G(o.touchedFields,e),t.keepDirty||(G(o.dirtyFields,e),o.isDirty=t.defaultValue?ep(e,p(f,e)):ep()),!t.keepError&&(G(o.errors,e),A.isValid&&U()),F.state.next({...o}))},clearErrors:e=>{e&&V(e).forEach(e=>G(o.errors,e)),F.state.next({errors:e?o.errors:{}})},unregister:eD,setError:eZ,setFocus:(e,t={})=>{let r=p(c,e),l=r&&r._f;if(l){let e=l.refs?l.refs[0]:l.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:ew}}(e,()=>c(e=>({...e}))),formState:o});let f=t.current.control;return f._options=e,!function(e){let t=l.useRef(e);t.current=e,l.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:f._subjects.state,next:e=>{C(e,f._proxyFormState,f._updateFormState,!0)&&c({...f._formState})}}),l.useEffect(()=>{e.values&&!Q(e.values,r.current)?(f._reset(e.values,f._options.resetOptions),r.current=e.values):f._resetDefaultValues()},[e.values,f]),l.useEffect(()=>{f._state.mount||(f._updateValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),t.current.formState=x(o,f),t.current}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/686-7d88801a440dd051.js b/pilot/server/static/_next/static/chunks/686-7d88801a440dd051.js deleted file mode 100644 index 68bfaf51d..000000000 --- a/pilot/server/static/_next/static/chunks/686-7d88801a440dd051.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[686],{67222:function(e,t,r){r.d(t,{Z:function(){return eE}});var o,n,i,a,s,l=r(40431),c=r(46750),d=r(86006),u=r(99179),p=r(11059),f=r(47375);function m(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function v(e){var t=m(e).Element;return e instanceof t||e instanceof Element}function h(e){var t=m(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function g(e){if("undefined"==typeof ShadowRoot)return!1;var t=m(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var b=Math.max,y=Math.min,x=Math.round;function w(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function L(){return!/^((?!chrome|android).)*safari/i.test(w())}function Z(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=e.getBoundingClientRect(),n=1,i=1;t&&h(e)&&(n=e.offsetWidth>0&&x(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&x(o.height)/e.offsetHeight||1);var a=(v(e)?m(e):window).visualViewport,s=!L()&&r,l=(o.left+(s&&a?a.offsetLeft:0))/n,c=(o.top+(s&&a?a.offsetTop:0))/i,d=o.width/n,u=o.height/i;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function I(e){var t=m(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function S(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){return((v(e)?e.ownerDocument:e.document)||window.document).documentElement}function O(e){return Z(z(e)).left+I(e).scrollLeft}function T(e){return m(e).getComputedStyle(e)}function R(e){var t=T(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function B(e){var t=Z(e),r=e.offsetWidth,o=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-o)&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function P(e){return"html"===S(e)?e:e.assignedSlot||e.parentNode||(g(e)?e.host:null)||z(e)}function k(e,t){void 0===t&&(t=[]);var r,o=function e(t){return["html","body","#document"].indexOf(S(t))>=0?t.ownerDocument.body:h(t)&&R(t)?t:e(P(t))}(e),n=o===(null==(r=e.ownerDocument)?void 0:r.body),i=m(o),a=n?[i].concat(i.visualViewport||[],R(o)?o:[]):o,s=t.concat(a);return n?s:s.concat(k(P(a)))}function E(e){return h(e)&&"fixed"!==T(e).position?e.offsetParent:null}function D(e){for(var t=m(e),r=E(e);r&&["table","td","th"].indexOf(S(r))>=0&&"static"===T(r).position;)r=E(r);return r&&("html"===S(r)||"body"===S(r)&&"static"===T(r).position)?t:r||function(e){var t=/firefox/i.test(w());if(/Trident/i.test(w())&&h(e)&&"fixed"===T(e).position)return null;var r=P(e);for(g(r)&&(r=r.host);h(r)&&0>["html","body"].indexOf(S(r));){var o=T(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e)||t}var C="bottom",j="right",W="left",M="auto",A=["top",C,j,W],H="start",N="viewport",$="popper",V=A.reduce(function(e,t){return e.concat([t+"-"+H,t+"-end"])},[]),F=[].concat(A,[M]).reduce(function(e,t){return e.concat([t,t+"-"+H,t+"-end"])},[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],X={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){for(var e=arguments.length,t=Array(e),r=0;r=0?"x":"y"}function K(e){var t,r=e.reference,o=e.element,n=e.placement,i=n?J(n):null,a=n?Y(n):null,s=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2;switch(i){case"top":t={x:s,y:r.y-o.height};break;case C:t={x:s,y:r.y+r.height};break;case j:t={x:r.x+r.width,y:l};break;case W:t={x:r.x-o.width,y:l};break;default:t={x:r.x,y:r.y}}var c=i?G(i):null;if(null!=c){var d="y"===c?"height":"width";switch(a){case H:t[c]=t[c]-(r[d]/2-o[d]/2);break;case"end":t[c]=t[c]+(r[d]/2-o[d]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,r,o,n,i,a,s,l=e.popper,c=e.popperRect,d=e.placement,u=e.variation,p=e.offsets,f=e.position,v=e.gpuAcceleration,h=e.adaptive,g=e.roundOffsets,b=e.isFixed,y=p.x,w=void 0===y?0:y,L=p.y,Z=void 0===L?0:L,I="function"==typeof g?g({x:w,y:Z}):{x:w,y:Z};w=I.x,Z=I.y;var S=p.hasOwnProperty("x"),O=p.hasOwnProperty("y"),R=W,B="top",P=window;if(h){var k=D(l),E="clientHeight",M="clientWidth";k===m(l)&&"static"!==T(k=z(l)).position&&"absolute"===f&&(E="scrollHeight",M="scrollWidth"),("top"===d||(d===W||d===j)&&"end"===u)&&(B=C,Z-=(b&&k===P&&P.visualViewport?P.visualViewport.height:k[E])-c.height,Z*=v?1:-1),(d===W||("top"===d||d===C)&&"end"===u)&&(R=j,w-=(b&&k===P&&P.visualViewport?P.visualViewport.width:k[M])-c.width,w*=v?1:-1)}var A=Object.assign({position:f},h&&Q),H=!0===g?(t={x:w,y:Z},r=m(l),o=t.x,n=t.y,{x:x(o*(i=r.devicePixelRatio||1))/i||0,y:x(n*i)/i||0}):{x:w,y:Z};return(w=H.x,Z=H.y,v)?Object.assign({},A,((s={})[B]=O?"0":"",s[R]=S?"0":"",s.transform=1>=(P.devicePixelRatio||1)?"translate("+w+"px, "+Z+"px)":"translate3d("+w+"px, "+Z+"px, 0)",s)):Object.assign({},A,((a={})[B]=O?Z+"px":"",a[R]=S?w+"px":"",a.transform="",a))}var et={left:"right",right:"left",bottom:"top",top:"bottom"};function er(e){return e.replace(/left|right|bottom|top/g,function(e){return et[e]})}var eo={start:"end",end:"start"};function en(e){return e.replace(/start|end/g,function(e){return eo[e]})}function ei(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&g(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function ea(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function es(e,t,r){var o,n,i,a,s,l,c,d,u,p;return t===N?ea(function(e,t){var r=m(e),o=z(e),n=r.visualViewport,i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(n){i=n.width,a=n.height;var c=L();(c||!c&&"fixed"===t)&&(s=n.offsetLeft,l=n.offsetTop)}return{width:i,height:a,x:s+O(e),y:l}}(e,r)):v(t)?((o=Z(t,!1,"fixed"===r)).top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o):ea((n=z(e),a=z(n),s=I(n),l=null==(i=n.ownerDocument)?void 0:i.body,c=b(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=b(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),u=-s.scrollLeft+O(n),p=-s.scrollTop,"rtl"===T(l||a).direction&&(u+=b(a.clientWidth,l?l.clientWidth:0)-c),{width:c,height:d,x:u,y:p}))}function el(){return{top:0,right:0,bottom:0,left:0}}function ec(e){return Object.assign({},el(),e)}function ed(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function eu(e,t){void 0===t&&(t={});var r,o,n,i,a,s,l,c=t,d=c.placement,u=void 0===d?e.placement:d,p=c.strategy,f=void 0===p?e.strategy:p,m=c.boundary,g=c.rootBoundary,x=c.elementContext,w=void 0===x?$:x,L=c.altBoundary,I=c.padding,O=void 0===I?0:I,R=ec("number"!=typeof O?O:ed(O,A)),B=e.rects.popper,E=e.elements[void 0!==L&&L?w===$?"reference":$:w],W=(r=v(E)?E:E.contextElement||z(e.elements.popper),s=(a=[].concat("clippingParents"===(o=void 0===m?"clippingParents":m)?(n=k(P(r)),v(i=["absolute","fixed"].indexOf(T(r).position)>=0&&h(r)?D(r):r)?n.filter(function(e){return v(e)&&ei(e,i)&&"body"!==S(e)}):[]):[].concat(o),[void 0===g?N:g]))[0],(l=a.reduce(function(e,t){var o=es(r,t,f);return e.top=b(o.top,e.top),e.right=y(o.right,e.right),e.bottom=y(o.bottom,e.bottom),e.left=b(o.left,e.left),e},es(r,s,f))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),M=Z(e.elements.reference),H=K({reference:M,element:B,strategy:"absolute",placement:u}),V=ea(Object.assign({},B,H)),F=w===$?V:M,_={top:W.top-F.top+R.top,bottom:F.bottom-W.bottom+R.bottom,left:W.left-F.left+R.left,right:F.right-W.right+R.right},X=e.modifiersData.offset;if(w===$&&X){var q=X[u];Object.keys(_).forEach(function(e){var t=[j,C].indexOf(e)>=0?1:-1,r=["top",C].indexOf(e)>=0?"y":"x";_[e]+=q[r]*t})}return _}function ep(e,t,r){return b(e,y(t,r))}function ef(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function em(e){return["top",j,C,W].some(function(t){return e[t]>=0})}var ev=(i=void 0===(n=(o={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,i=void 0===n||n,a=o.resize,s=void 0===a||a,l=m(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",r.update,U)}),s&&l.addEventListener("resize",r.update,U),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",r.update,U)}),s&&l.removeEventListener("resize",r.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=r.adaptive,i=r.roundOffsets,a=void 0===i||i,s={placement:J(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===o||o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===n||n,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},o=t.attributes[e]||{},n=t.elements[e];h(n)&&S(n)&&(Object.assign(n.style,r),Object.keys(o).forEach(function(e){var t=o[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],n=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});h(o)&&S(o)&&(Object.assign(o.style,i),Object.keys(n).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,o=e.name,n=r.offset,i=void 0===n?[0,0]:n,a=F.reduce(function(e,r){var o,n,a,s,l,c;return e[r]=(o=t.rects,a=[W,"top"].indexOf(n=J(r))>=0?-1:1,l=(s="function"==typeof i?i(Object.assign({},o,{placement:r})):i)[0],c=s[1],l=l||0,c=(c||0)*a,[W,j].indexOf(n)>=0?{x:c,y:l}:{x:l,y:c}),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,i=void 0===n||n,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,c=r.padding,d=r.boundary,u=r.rootBoundary,p=r.altBoundary,f=r.flipVariations,m=void 0===f||f,v=r.allowedAutoPlacements,h=t.options.placement,g=J(h)===h,b=l||(g||!m?[er(h)]:function(e){if(J(e)===M)return[];var t=er(e);return[en(e),t,en(t)]}(h)),y=[h].concat(b).reduce(function(e,r){var o,n,i,a,s,l,p,f,h,g,b,y;return e.concat(J(r)===M?(n=(o={placement:r,boundary:d,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:v}).placement,i=o.boundary,a=o.rootBoundary,s=o.padding,l=o.flipVariations,f=void 0===(p=o.allowedAutoPlacements)?F:p,0===(b=(g=(h=Y(n))?l?V:V.filter(function(e){return Y(e)===h}):A).filter(function(e){return f.indexOf(e)>=0})).length&&(b=g),Object.keys(y=b.reduce(function(e,r){return e[r]=eu(t,{placement:r,boundary:i,rootBoundary:a,padding:s})[J(r)],e},{})).sort(function(e,t){return y[e]-y[t]})):r)},[]),x=t.rects.reference,w=t.rects.popper,L=new Map,Z=!0,I=y[0],S=0;S=0,B=R?"width":"height",P=eu(t,{placement:z,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),k=R?T?j:W:T?C:"top";x[B]>w[B]&&(k=er(k));var E=er(k),D=[];if(i&&D.push(P[O]<=0),s&&D.push(P[k]<=0,P[E]<=0),D.every(function(e){return e})){I=z,Z=!1;break}L.set(z,D)}if(Z)for(var N=m?3:1,$=function(e){var t=y.find(function(t){var r=L.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return I=t,"break"},_=N;_>0&&"break"!==$(_);_--);t.placement!==I&&(t.modifiersData[o]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,i=r.altAxis,a=r.boundary,s=r.rootBoundary,l=r.altBoundary,c=r.padding,d=r.tether,u=void 0===d||d,p=r.tetherOffset,f=void 0===p?0:p,m=eu(t,{boundary:a,rootBoundary:s,padding:c,altBoundary:l}),v=J(t.placement),h=Y(t.placement),g=!h,x=G(v),w="x"===x?"y":"x",L=t.modifiersData.popperOffsets,Z=t.rects.reference,I=t.rects.popper,S="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,z="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(L){if(void 0===n||n){var R,P="y"===x?"top":W,k="y"===x?C:j,E="y"===x?"height":"width",M=L[x],A=M+m[P],N=M-m[k],$=u?-I[E]/2:0,V=h===H?Z[E]:I[E],F=h===H?-I[E]:-Z[E],_=t.elements.arrow,X=u&&_?B(_):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:el(),U=q[P],K=q[k],Q=ep(0,Z[E],X[E]),ee=g?Z[E]/2-$-Q-U-z.mainAxis:V-Q-U-z.mainAxis,et=g?-Z[E]/2+$+Q+K+z.mainAxis:F+Q+K+z.mainAxis,er=t.elements.arrow&&D(t.elements.arrow),eo=er?"y"===x?er.clientTop||0:er.clientLeft||0:0,en=null!=(R=null==O?void 0:O[x])?R:0,ei=M+ee-en-eo,ea=M+et-en,es=ep(u?y(A,ei):A,M,u?b(N,ea):N);L[x]=es,T[x]=es-M}if(void 0!==i&&i){var ec,ed,ef="x"===x?"top":W,em="x"===x?C:j,ev=L[w],eh="y"===w?"height":"width",eg=ev+m[ef],eb=ev-m[em],ey=-1!==["top",W].indexOf(v),ex=null!=(ed=null==O?void 0:O[w])?ed:0,ew=ey?eg:ev-Z[eh]-I[eh]-ex+z.altAxis,eL=ey?ev+Z[eh]+I[eh]-ex-z.altAxis:eb,eZ=u&&ey?(ec=ep(ew,ev,eL))>eL?eL:ec:ep(u?ew:eg,ev,u?eL:eb);L[w]=eZ,T[w]=eZ-ev}t.modifiersData[o]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,o=e.state,n=e.name,i=e.options,a=o.elements.arrow,s=o.modifiersData.popperOffsets,l=J(o.placement),c=G(l),d=[W,j].indexOf(l)>=0?"height":"width";if(a&&s){var u=ec("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},o.rects,{placement:o.placement})):t)?t:ed(t,A)),p=B(a),f="y"===c?"top":W,m="y"===c?C:j,v=o.rects.reference[d]+o.rects.reference[c]-s[c]-o.rects.popper[d],h=s[c]-o.rects.reference[c],g=D(a),b=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=u[f],x=b-p[d]-u[m],w=b/2-p[d]/2+(v/2-h/2),L=ep(y,w,x);o.modifiersData[n]=((r={})[c]=L,r.centerOffset=L-w,r)}},effect:function(e){var t=e.state,r=e.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&ei(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,i=t.modifiersData.preventOverflow,a=eu(t,{elementContext:"reference"}),s=eu(t,{altBoundary:!0}),l=ef(a,o),c=ef(s,n,i),d=em(l),u=em(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]}).defaultModifiers)?[]:n,s=void 0===(a=o.defaultOptions)?X:a,function(e,t,r){void 0===r&&(r=s);var o,n={placement:"bottom",orderedModifiers:[],options:Object.assign({},X,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,c={state:n,setOptions:function(r){var o,l,u,p,f,m="function"==typeof r?r(n.options):r;d(),n.options=Object.assign({},s,n.options,m),n.scrollParents={reference:v(e)?k(e):e.contextElement?k(e.contextElement):[],popper:k(t)};var h=(l=Object.keys(o=[].concat(i,n.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return o[e]}),u=new Map,p=new Set,f=[],l.forEach(function(e){u.set(e.name,e)}),l.forEach(function(e){p.has(e.name)||function e(t){p.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!p.has(t)){var r=u.get(t);r&&e(r)}}),f.push(t)}(e)}),_.reduce(function(e,t){return e.concat(f.filter(function(e){return e.phase===t}))},[]));return n.orderedModifiers=h.filter(function(e){return e.enabled}),n.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,o=e.effect;if("function"==typeof o){var i=o({state:n,name:t,instance:c,options:void 0===r?{}:r});a.push(i||function(){})}}),c.update()},forceUpdate:function(){if(!l){var e,t,r,o,i,a,s,d,u,p,f,v,g=n.elements,b=g.reference,y=g.popper;if(q(b,y)){n.rects={reference:(t=D(y),r="fixed"===n.options.strategy,o=h(t),d=h(t)&&(a=x((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=x(i.height)/t.offsetHeight||1,1!==a||1!==s),u=z(t),p=Z(b,d,r),f={scrollLeft:0,scrollTop:0},v={x:0,y:0},(o||!o&&!r)&&(("body"!==S(t)||R(u))&&(f=(e=t)!==m(e)&&h(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:I(e)),h(t)?(v=Z(t,!0),v.x+=t.clientLeft,v.y+=t.clientTop):u&&(v.x=O(u))),{x:p.left+f.scrollLeft-v.x,y:p.top+f.scrollTop-v.y,width:p.width,height:p.height}),popper:B(y)},n.reset=!1,n.placement=n.options.placement,n.orderedModifiers.forEach(function(e){return n.modifiersData[e.name]=Object.assign({},e.data)});for(var w=0;w(0,eh.Z)({root:["root"]},function(e){let{disableDefaultClasses:t}=d.useContext(eS);return r=>t?"":e(r)}(ey)),eB={},eP=d.forwardRef(function(e,t){var r;let{anchorEl:o,children:n,direction:i,disablePortal:a,modifiers:s,open:f,placement:m,popperOptions:v,popperRef:h,slotProps:g={},slots:b={},TransitionProps:y}=e,x=(0,c.Z)(e,ez),w=d.useRef(null),L=(0,u.Z)(w,t),Z=d.useRef(null),I=(0,u.Z)(Z,h),S=d.useRef(I);(0,p.Z)(()=>{S.current=I},[I]),d.useImperativeHandle(h,()=>Z.current,[]);let z=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(m,i),[O,T]=d.useState(z),[R,B]=d.useState(eT(o));d.useEffect(()=>{Z.current&&Z.current.forceUpdate()}),d.useEffect(()=>{o&&B(eT(o))},[o]),(0,p.Z)(()=>{if(!R||!f)return;let e=e=>{T(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{e(t)}}];null!=s&&(t=t.concat(s)),v&&null!=v.modifiers&&(t=t.concat(v.modifiers));let r=ev(R,w.current,(0,l.Z)({placement:z},v,{modifiers:t}));return S.current(r),()=>{r.destroy(),S.current(null)}},[R,a,s,f,v,z]);let P={placement:O};null!==y&&(P.TransitionProps=y);let k=eR(),E=null!=(r=b.root)?r:"div",D=function(e){var t;let{elementType:r,externalSlotProps:o,ownerState:n,skipResolvingSlotProps:i=!1}=e,a=(0,c.Z)(e,eZ),s=i?{}:(0,eL.Z)(o,n),{props:d,internalRef:p}=(0,ew.Z)((0,l.Z)({},a,{externalSlotProps:s})),f=(0,u.Z)(p,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref),m=(0,ex.Z)(r,(0,l.Z)({},d,{ref:f}),n);return m}({elementType:E,externalSlotProps:g.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:L},ownerState:e,className:k.root});return(0,eI.jsx)(E,(0,l.Z)({},D,{children:"function"==typeof n?n(P):n}))}),ek=d.forwardRef(function(e,t){let r;let{anchorEl:o,children:n,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:u=!1,modifiers:p,open:m,placement:v="bottom",popperOptions:h=eB,popperRef:g,style:b,transition:y=!1,slotProps:x={},slots:w={}}=e,L=(0,c.Z)(e,eO),[Z,I]=d.useState(!0);if(!u&&!m&&(!y||Z))return null;if(i)r=i;else if(o){let e=eT(o);r=e&&void 0!==e.nodeType?(0,f.Z)(e).body:(0,f.Z)(null).body}let S=!m&&u&&(!y||Z)?"none":void 0;return(0,eI.jsx)(eg.Z,{disablePortal:s,container:r,children:(0,eI.jsx)(eP,(0,l.Z)({anchorEl:o,direction:a,disablePortal:s,modifiers:p,ref:t,open:y?!Z:m,placement:v,popperOptions:h,popperRef:g,slotProps:x,slots:w},L,{style:(0,l.Z)({position:"fixed",top:0,left:0,display:S},b),TransitionProps:y?{in:m,onEnter:()=>{I(!1)},onExited:()=>{I(!0)}}:void 0,children:n}))})});var eE=ek},53047:function(e,t,r){r.d(t,{ZP:function(){return I}});var o=r(46750),n=r(40431),i=r(86006),a=r(53832),s=r(99179),l=r(73811),c=r(47562),d=r(50645),u=r(88930),p=r(47093),f=r(326),m=r(18587);function v(e){return(0,m.d6)("MuiIconButton",e)}let h=(0,m.sI)("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]);var g=r(42858),b=r(9268);let y=["children","action","component","color","disabled","variant","size","slots","slotProps"],x=e=>{let{color:t,disabled:r,focusVisible:o,focusVisibleClassName:n,size:i,variant:s}=e,l={root:["root",r&&"disabled",o&&"focusVisible",s&&`variant${(0,a.Z)(s)}`,t&&`color${(0,a.Z)(t)}`,i&&`size${(0,a.Z)(i)}`]},d=(0,c.Z)(l,v,{});return o&&n&&(d.root+=` ${n}`),d},w=(0,d.Z)("button")(({theme:e,ownerState:t})=>{var r,o,i,a;return[(0,n.Z)({"--Icon-margin":"initial"},t.instanceSize&&{"--IconButton-size":({sm:"2rem",md:"2.5rem",lg:"3rem"})[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.5rem) / 1.667)","--CircularProgress-size":"24px",minWidth:"var(--IconButton-size, 2.5rem)",minHeight:"var(--IconButton-size, 2.5rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 3rem) / 1.714)","--CircularProgress-size":"28px",minWidth:"var(--IconButton-size, 3rem)",minHeight:"var(--IconButton-size, 3rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:e.focus.default}),null==(r=e.variants[t.variant])?void 0:r[t.color],{"&:hover":{"@media (hover: hover)":null==(o=e.variants[`${t.variant}Hover`])?void 0:o[t.color]}},{"&:active":null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color]},{[`&.${h.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]}]}),L=(0,d.Z)(w,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Z=i.forwardRef(function(e,t){var r;let a=(0,u.Z)({props:e,name:"JoyIconButton"}),{children:c,action:d,component:m="button",color:v="primary",disabled:h,variant:w="soft",size:Z="md",slots:I={},slotProps:S={}}=a,z=(0,o.Z)(a,y),O=i.useContext(g.Z),T=e.variant||O.variant||w,R=e.size||O.size||Z,{getColor:B}=(0,p.VT)(T),P=B(e.color,O.color||v),k=null!=(r=e.disabled)?r:O.disabled||h,E=i.useRef(null),D=(0,s.Z)(E,t),{focusVisible:C,setFocusVisible:j,getRootProps:W}=(0,l.Z)((0,n.Z)({},a,{disabled:k,rootRef:D}));i.useImperativeHandle(d,()=>({focusVisible:()=>{var e;j(!0),null==(e=E.current)||e.focus()}}),[j]);let M=(0,n.Z)({},a,{component:m,color:P,disabled:k,variant:T,size:R,focusVisible:C,instanceSize:e.size}),A=x(M),H=(0,n.Z)({},z,{component:m,slots:I,slotProps:S}),[N,$]=(0,f.Z)("root",{ref:t,className:A.root,elementType:L,getSlotProps:W,externalForwardedProps:H,ownerState:M});return(0,b.jsx)(N,(0,n.Z)({},$,{children:c}))});Z.muiName="IconButton";var I=Z},10504:function(e,t,r){var o=r(86006);let n=o.createContext(void 0);t.Z=n},8189:function(e,t,r){var o=r(86006);let n=o.createContext(void 0);t.Z=n},18818:function(e,t,r){r.d(t,{C:function(){return Z},Z:function(){return z}});var o=r(46750),n=r(40431),i=r(86006),a=r(89791),s=r(53832),l=r(47562),c=r(50645),d=r(88930),u=r(47093),p=r(18587);function f(e){return(0,p.d6)("MuiList",e)}(0,p.sI)("MuiList",["root","nesting","scoped","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","horizontal","vertical"]);var m=r(31242),v=r(10504),h=r(8189),g=r(27358);let b=i.createContext(void 0);var y=r(326),x=r(9268);let w=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],L=e=>{let{variant:t,color:r,size:o,nesting:n,orientation:i,instanceSize:a}=e,c={root:["root",i,t&&`variant${(0,s.Z)(t)}`,r&&`color${(0,s.Z)(r)}`,!a&&!n&&o&&`size${(0,s.Z)(o)}`,a&&`size${(0,s.Z)(a)}`,n&&"nesting"]};return(0,l.Z)(c,f,{})},Z=(0,c.Z)("ul")(({theme:e,ownerState:t})=>{var r;function o(r){return"sm"===r?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":"0.5rem","--ListItem-fontSize":e.vars.fontSize.sm,"--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":"1.125rem"}:"md"===r?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.5rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":"0.75rem","--ListItem-fontSize":e.vars.fontSize.md,"--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":"1.25rem"}:"lg"===r?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"3rem","--ListItem-paddingY":"0.5rem","--ListItem-paddingX":"1rem","--ListItem-fontSize":e.vars.fontSize.md,"--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":"1.5rem"}:{}}return[t.nesting&&(0,n.Z)({},o(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0,marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&(0,n.Z)({},o(t.size),{"--List-gap":"0px","--ListItemDecorator-color":e.vars.palette.text.tertiary,"--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)","--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},"horizontal"===t.orientation?(0,n.Z)({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"}),(0,n.Z)({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},{flexGrow:1,position:"relative"},null==(r=e.variants[t.variant])?void 0:r[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"})]}),I=(0,c.Z)(Z,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=i.forwardRef(function(e,t){var r;let s;let l=i.useContext(m.Z),c=i.useContext(h.Z),p=i.useContext(b),f=(0,d.Z)({props:e,name:"JoyList"}),{component:Z,className:S,children:z,size:O,orientation:T="vertical",wrap:R=!1,variant:B="plain",color:P="neutral",role:k,slots:E={},slotProps:D={}}=f,C=(0,o.Z)(f,w),{getColor:j}=(0,u.VT)(B),W=j(e.color,P),M=O||(null!=(r=e.size)?r:"md");c&&(s="group"),p&&(s="presentation"),k&&(s=k);let A=(0,n.Z)({},f,{instanceSize:e.size,size:M,nesting:l,orientation:T,wrap:R,variant:B,color:W,role:s}),H=L(A),N=(0,n.Z)({},C,{component:Z,slots:E,slotProps:D}),[$,V]=(0,y.Z)("root",{ref:t,className:(0,a.Z)(H.root,S),elementType:I,externalForwardedProps:N,ownerState:A,additionalProps:{as:Z,role:s,"aria-labelledby":"string"==typeof l?l:void 0}});return(0,x.jsx)($,(0,n.Z)({},V,{children:(0,x.jsx)(v.Z.Provider,{value:`${"string"==typeof Z?Z:""}:${s||""}`,children:(0,x.jsx)(g.Z,{row:"horizontal"===T,wrap:R,children:z})})}))});var z=S},27358:function(e,t,r){r.d(t,{M:function(){return c}});var o=r(40431),n=r(86006),i=r(76620),a=r(52058),s=r(31242),l=r(9268);let c={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};t.Z=function(e){let{children:t,nested:r,row:c=!1,wrap:d=!1}=e,u=(0,l.jsx)(i.Z.Provider,{value:c,children:(0,l.jsx)(a.Z.Provider,{value:d,children:n.Children.map(t,(e,t)=>n.isValidElement(e)?n.cloneElement(e,(0,o.Z)({},0===t&&{"data-first-child":""})):e)})});return void 0===r?u:(0,l.jsx)(s.Z.Provider,{value:r,children:u})}},31242:function(e,t,r){var o=r(86006);let n=o.createContext(!1);t.Z=n},76620:function(e,t,r){var o=r(86006);let n=o.createContext(!1);t.Z=n},52058:function(e,t,r){var o=r(86006);let n=o.createContext(!1);t.Z=n},70092:function(e,t,r){r.d(t,{r:function(){return Z},Z:function(){return z}});var o=r(46750),n=r(40431),i=r(86006),a=r(89791),s=r(53832),l=r(99179),c=r(47562),d=r(73811),u=r(50645),p=r(88930),f=r(47093),m=r(18587);function v(e){return(0,m.d6)("MuiListItemButton",e)}let h=(0,m.sI)("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]);var g=r(54438),b=r(76620),y=r(326),x=r(9268);let w=["children","className","action","component","orientation","role","selected","color","variant","slots","slotProps"],L=e=>{let{color:t,disabled:r,focusVisible:o,focusVisibleClassName:n,selected:i,variant:a}=e,l={root:["root",r&&"disabled",o&&"focusVisible",t&&`color${(0,s.Z)(t)}`,i&&"selected",a&&`variant${(0,s.Z)(a)}`]},d=(0,c.Z)(l,v,{});return o&&n&&(d.root+=` ${n}`),d},Z=(0,u.Z)("div")(({theme:e,ownerState:t})=>{var r,o,i,a,s;return[(0,n.Z)({},t.selected&&{"--ListItemDecorator-color":"initial"},t.disabled&&{"--ListItemDecorator-color":null==(r=e.variants)||null==(r=r[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color},{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"none",borderRadius:"var(--ListItem-radius)",flexGrow:t.row?0:1,flexBasis:t.row?"auto":"0%",flexShrink:0,minInlineSize:0,fontSize:"var(--ListItem-fontSize)",fontFamily:e.vars.fontFamily.body},t.selected&&{fontWeight:e.vars.fontWeight.md},{[e.focus.selector]:e.focus.default}),(0,n.Z)({},null==(o=e.variants[t.variant])?void 0:o[t.color],!t.selected&&{"&:hover":null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],"&:active":null==(a=e.variants[`${t.variant}Active`])?void 0:a[t.color]}),{[`&.${h.disabled}`]:null==(s=e.variants[`${t.variant}Disabled`])?void 0:s[t.color]}]}),I=(0,u.Z)(Z,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=i.forwardRef(function(e,t){let r=(0,p.Z)({props:e,name:"JoyListItemButton"}),s=i.useContext(b.Z),{children:c,className:u,action:m,component:v="div",orientation:h="horizontal",role:Z,selected:S=!1,color:z=S?"primary":"neutral",variant:O="plain",slots:T={},slotProps:R={}}=r,B=(0,o.Z)(r,w),{getColor:P}=(0,f.VT)(O),k=P(e.color,z),E=i.useRef(null),D=(0,l.Z)(E,t),{focusVisible:C,setFocusVisible:j,getRootProps:W}=(0,d.Z)((0,n.Z)({},r,{rootRef:D}));i.useImperativeHandle(m,()=>({focusVisible:()=>{var e;j(!0),null==(e=E.current)||e.focus()}}),[j]);let M=(0,n.Z)({},r,{component:v,color:k,focusVisible:C,orientation:h,row:s,selected:S,variant:O}),A=L(M),H=(0,n.Z)({},B,{component:v,slots:T,slotProps:R}),[N,$]=(0,y.Z)("root",{ref:t,className:(0,a.Z)(A.root,u),elementType:I,externalForwardedProps:H,ownerState:M,getSlotProps:W});return(0,x.jsx)(g.Z.Provider,{value:h,children:(0,x.jsx)(N,(0,n.Z)({},$,{role:null!=Z?Z:$.role,children:c}))})});var z=S},54438:function(e,t,r){var o=r(86006);let n=o.createContext("horizontal");t.Z=n},35891:function(e,t,r){r.d(t,{Z:function(){return k}});var o=r(46750),n=r(40431),i=r(86006),a=r(89791),s=r(53832),l=r(24263),c=r(49657),d=r(66519),u=r(21454),p=r(99179),f=r(47562),m=r(67222),v=r(50645),h=r(88930),g=r(326),b=r(47093),y=r(18587);function x(e){return(0,y.d6)("MuiTooltip",e)}(0,y.sI)("MuiTooltip",["root","tooltipArrow","arrow","touch","placementLeft","placementRight","placementTop","placementBottom","colorPrimary","colorDanger","colorInfo","colorNeutral","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var w=r(9268);let L=["children","className","component","arrow","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","disablePortal","direction","keepMounted","modifiers","placement","title","color","variant","size","slots","slotProps"],Z=e=>{let{arrow:t,variant:r,color:o,size:n,placement:i,touch:a}=e,l={root:["root",t&&"tooltipArrow",a&&"touch",n&&`size${(0,s.Z)(n)}`,o&&`color${(0,s.Z)(o)}`,r&&`variant${(0,s.Z)(r)}`,`tooltipPlacement${(0,s.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,f.Z)(l,x,{})},I=(0,v.Z)("div",{name:"JoyTooltip",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var r,o,i;let a=null==(r=t.variants[e.variant])?void 0:r[e.color];return(0,n.Z)({},"sm"===e.size&&{"--Icon-fontSize":"1rem","--Tooltip-arrowSize":"8px",padding:t.spacing(.5,.625),fontSize:t.vars.fontSize.xs},"md"===e.size&&{"--Icon-fontSize":"1.125rem","--Tooltip-arrowSize":"10px",padding:t.spacing(.625,.75),fontSize:t.vars.fontSize.sm},"lg"===e.size&&{"--Icon-fontSize":"1.25rem","--Tooltip-arrowSize":"12px",padding:t.spacing(.75,1),fontSize:t.vars.fontSize.md},{zIndex:t.vars.zIndex.tooltip,borderRadius:t.vars.radius.xs,boxShadow:t.shadow.sm,fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,lineHeight:t.vars.lineHeight.sm,wordWrap:"break-word",position:"relative"},e.disableInteractive&&{pointerEvents:"none"},a,!a.backgroundColor&&{backgroundColor:t.vars.palette.background.surface},{"&::before":{content:'""',display:"block",position:"absolute",width:null!=(o=e.placement)&&o.match(/(top|bottom)/)?"100%":"calc(10px + var(--variant-borderWidth, 0px))",height:null!=(i=e.placement)&&i.match(/(top|bottom)/)?"calc(10px + var(--variant-borderWidth, 0px))":"100%"},'&[data-popper-placement*="bottom"]::before':{top:0,left:0,transform:"translateY(-100%)"},'&[data-popper-placement*="left"]::before':{top:0,right:0,transform:"translateX(100%)"},'&[data-popper-placement*="right"]::before':{top:0,left:0,transform:"translateX(-100%)"},'&[data-popper-placement*="top"]::before':{bottom:0,left:0,transform:"translateY(100%)"}})}),S=(0,v.Z)("span",{name:"JoyTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e,ownerState:t})=>{var r,o,n;let i=null==(r=e.variants[t.variant])?void 0:r[t.color];return{"--unstable_Tooltip-arrowRotation":0,width:"var(--Tooltip-arrowSize)",height:"var(--Tooltip-arrowSize)",boxSizing:"border-box","&:before":{content:'""',display:"block",position:"absolute",width:0,height:0,border:"calc(var(--Tooltip-arrowSize) / 2) solid",borderLeftColor:"transparent",borderBottomColor:"transparent",borderTopColor:null!=(o=null==i?void 0:i.backgroundColor)?o:e.vars.palette.background.surface,borderRightColor:null!=(n=null==i?void 0:i.backgroundColor)?n:e.vars.palette.background.surface,borderRadius:"0px 2px 0px 0px",boxShadow:`var(--variant-borderWidth, 0px) calc(-1 * var(--variant-borderWidth, 0px)) 0px 0px ${i.borderColor}`,transformOrigin:"center center",transform:"rotate(calc(-45deg + 90deg * var(--unstable_Tooltip-arrowRotation)))"},'[data-popper-placement*="bottom"] &':{top:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="top"] &':{"--unstable_Tooltip-arrowRotation":2,bottom:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="left"] &':{"--unstable_Tooltip-arrowRotation":1,right:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="right"] &':{"--unstable_Tooltip-arrowRotation":3,left:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"}}}),z=!1,O=null,T={x:0,y:0};function R(e,t){return r=>{t&&t(r),e(r)}}function B(e,t){return r=>{t&&t(r),e(r)}}let P=i.forwardRef(function(e,t){var r;let s=(0,h.Z)({props:e,name:"JoyTooltip"}),{children:f,className:v,component:y,arrow:x=!1,describeChild:P=!1,disableFocusListener:k=!1,disableHoverListener:E=!1,disableInteractive:D=!1,disableTouchListener:C=!1,enterDelay:j=100,enterNextDelay:W=0,enterTouchDelay:M=700,followCursor:A=!1,id:H,leaveDelay:N=0,leaveTouchDelay:$=1500,onClose:V,onOpen:F,open:_,disablePortal:X,direction:q,keepMounted:U,modifiers:J,placement:Y="bottom",title:G,color:K="neutral",variant:Q="solid",size:ee="md",slots:et={},slotProps:er={}}=s,eo=(0,o.Z)(s,L),{getColor:en}=(0,b.VT)(Q),ei=X?en(e.color,K):K,[ea,es]=i.useState(),[el,ec]=i.useState(null),ed=i.useRef(!1),eu=D||A,ep=i.useRef(),ef=i.useRef(),em=i.useRef(),ev=i.useRef(),[eh,eg]=(0,l.Z)({controlled:_,default:!1,name:"Tooltip",state:"open"}),eb=eh,ey=(0,c.Z)(H),ex=i.useRef(),ew=i.useCallback(()=>{void 0!==ex.current&&(document.body.style.WebkitUserSelect=ex.current,ex.current=void 0),clearTimeout(ev.current)},[]);i.useEffect(()=>()=>{clearTimeout(ep.current),clearTimeout(ef.current),clearTimeout(em.current),ew()},[ew]);let eL=e=>{O&&clearTimeout(O),z=!0,eg(!0),F&&!eb&&F(e)},eZ=(0,d.Z)(e=>{O&&clearTimeout(O),O=setTimeout(()=>{z=!1},800+N),eg(!1),V&&eb&&V(e),clearTimeout(ep.current),ep.current=setTimeout(()=>{ed.current=!1},150)}),eI=e=>{ed.current&&"touchstart"!==e.type||(ea&&ea.removeAttribute("title"),clearTimeout(ef.current),clearTimeout(em.current),j||z&&W?ef.current=setTimeout(()=>{eL(e)},z?W:j):eL(e))},eS=e=>{clearTimeout(ef.current),clearTimeout(em.current),em.current=setTimeout(()=>{eZ(e)},N)},{isFocusVisibleRef:ez,onBlur:eO,onFocus:eT,ref:eR}=(0,u.Z)(),[,eB]=i.useState(!1),eP=e=>{eO(e),!1===ez.current&&(eB(!1),eS(e))},ek=e=>{ea||es(e.currentTarget),eT(e),!0===ez.current&&(eB(!0),eI(e))},eE=e=>{ed.current=!0;let t=f.props;t.onTouchStart&&t.onTouchStart(e)};i.useEffect(()=>{if(eb)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){("Escape"===e.key||"Esc"===e.key)&&eZ(e)}},[eZ,eb]);let eD=(0,p.Z)(es,t),eC=(0,p.Z)(eR,eD),ej=(0,p.Z)(f.ref,eC);"number"==typeof G||G||(eb=!1);let eW=i.useRef(null),eM={},eA="string"==typeof G;P?(eM.title=eb||!eA||E?null:G,eM["aria-describedby"]=eb?ey:null):(eM["aria-label"]=eA?G:null,eM["aria-labelledby"]=eb&&!eA?ey:null);let eH=(0,n.Z)({},eM,eo,{component:y},f.props,{className:(0,a.Z)(v,f.props.className),onTouchStart:eE,ref:ej},A?{onMouseMove:e=>{let t=f.props;t.onMouseMove&&t.onMouseMove(e),T={x:e.clientX,y:e.clientY},eW.current&&eW.current.update()}}:{}),eN={};C||(eH.onTouchStart=e=>{eE(e),clearTimeout(em.current),clearTimeout(ep.current),ew(),ex.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ev.current=setTimeout(()=>{document.body.style.WebkitUserSelect=ex.current,eI(e)},M)},eH.onTouchEnd=e=>{f.props.onTouchEnd&&f.props.onTouchEnd(e),ew(),clearTimeout(em.current),em.current=setTimeout(()=>{eZ(e)},$)}),E||(eH.onMouseOver=R(eI,eH.onMouseOver),eH.onMouseLeave=R(eS,eH.onMouseLeave),eu||(eN.onMouseOver=eI,eN.onMouseLeave=eS)),k||(eH.onFocus=B(ek,eH.onFocus),eH.onBlur=B(eP,eH.onBlur),eu||(eN.onFocus=ek,eN.onBlur=eP));let e$=(0,n.Z)({},s,{arrow:x,disableInteractive:eu,placement:Y,touch:ed.current,color:ei,variant:Q,size:ee}),eV=Z(e$),eF=(0,n.Z)({},eo,{component:y,slots:et,slotProps:er}),e_=i.useMemo(()=>[{name:"arrow",enabled:!!el,options:{element:el,padding:6}},{name:"offset",options:{offset:[0,10]}},...J||[]],[el,J]),[eX,eq]=(0,g.Z)("root",{additionalProps:(0,n.Z)({id:ey,popperRef:eW,placement:Y,anchorEl:A?{getBoundingClientRect:()=>({top:T.y,left:T.x,right:T.x,bottom:T.y,width:0,height:0})}:ea,open:!!ea&&eb,disablePortal:X,keepMounted:U,direction:q,modifiers:e_},eN),ref:null,className:eV.root,elementType:I,externalForwardedProps:eF,ownerState:e$}),[eU,eJ]=(0,g.Z)("arrow",{ref:ec,className:eV.arrow,elementType:S,externalForwardedProps:eF,ownerState:e$}),eY=(0,w.jsxs)(eX,(0,n.Z)({},eq,!(null!=(r=s.slots)&&r.root)&&{as:m.Z,slots:{root:y||"div"}},{children:[G,x?(0,w.jsx)(eU,(0,n.Z)({},eJ)):null]}));return(0,w.jsxs)(i.Fragment,{children:[i.isValidElement(f)&&i.cloneElement(f,eH),X?eY:(0,w.jsx)(b.ZP.Provider,{value:void 0,children:eY})]})});var k=P}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/715-50c67108307c55aa.js b/pilot/server/static/_next/static/chunks/715-50c67108307c55aa.js deleted file mode 100644 index 00d9d50ce..000000000 --- a/pilot/server/static/_next/static/chunks/715-50c67108307c55aa.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[715],{13308:function(e,o,t){t.d(o,{n:function(){return eb},Z:function(){return em}});var r=t(8683),n=t.n(r),l=t(73234),i=t(92510),a=t(86006),c=t(98498),s=t(79746),d=t(52593),u=t(40650);let b=e=>{let{componentCls:o,colorPrimary:t}=e;return{[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:`box-shadow 0.4s ${e.motionEaseOutCirc},opacity 2s ${e.motionEaseOutCirc}`,"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:`box-shadow 0.3s ${e.motionEaseInOut},opacity 0.35s ${e.motionEaseInOut}`}}}}};var p=(0,u.Z)("Wave",e=>[b(e)]),m=t(23254),g=t(66643),f=t(78641),v=t(88101);function $(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){let o=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!o||!o[1]||!o[2]||!o[3]||!(o[1]===o[2]&&o[2]===o[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}let y="ant-wave-target";function h(e){return Number.isNaN(e)?0:e}let C=e=>{let{className:o,target:t,component:r}=e,l=a.useRef(null),[i,c]=a.useState(null),[s,d]=a.useState([]),[u,b]=a.useState(0),[p,m]=a.useState(0),[C,E]=a.useState(0),[O,x]=a.useState(0),[S,j]=a.useState(!1),k={left:u,top:p,width:C,height:O,borderRadius:s.map(e=>`${e}px`).join(" ")};function w(){let e=getComputedStyle(t);c(function(e){let{borderTopColor:o,borderColor:t,backgroundColor:r}=getComputedStyle(e);return $(o)?o:$(t)?t:$(r)?r:null}(t));let o="static"===e.position,{borderLeftWidth:r,borderTopWidth:n}=e;b(o?t.offsetLeft:h(-parseFloat(r))),m(o?t.offsetTop:h(-parseFloat(n))),E(t.offsetWidth),x(t.offsetHeight);let{borderTopLeftRadius:l,borderTopRightRadius:i,borderBottomLeftRadius:a,borderBottomRightRadius:s}=e;d([l,i,s,a].map(e=>h(parseFloat(e))))}if(i&&(k["--wave-color"]=i),a.useEffect(()=>{if(t){let e;let o=(0,g.Z)(()=>{w(),j(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(w)).observe(t),()=>{g.Z.cancel(o),null==e||e.disconnect()}}},[]),!S)return null;let N=("Checkbox"===r||"Radio"===r)&&(null==t?void 0:t.classList.contains(y));return a.createElement(f.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,o)=>{var t;if(o.deadline||"opacity"===o.propertyName){let e=null===(t=l.current)||void 0===t?void 0:t.parentElement;(0,v.v)(e).then(()=>{null==e||e.remove()})}return!1}},e=>{let{className:t}=e;return a.createElement("div",{ref:l,className:n()(o,{"wave-quick":N},t),style:k})})};var E=(e,o)=>{var t;let{component:r}=o;if("Checkbox"===r&&!(null===(t=e.querySelector("input"))||void 0===t?void 0:t.checked))return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",null==e||e.insertBefore(n,null==e?void 0:e.firstChild),(0,v.s)(a.createElement(C,Object.assign({},o,{target:e})),n)},O=t(3184),x=e=>{let{children:o,disabled:t,component:r}=e,{getPrefixCls:l}=(0,a.useContext)(s.E_),u=(0,a.useRef)(null),b=l("wave"),[,f]=p(b),v=function(e,o,t){let{wave:r}=a.useContext(s.E_),[,n,l]=(0,O.Z)(),i=(0,m.Z)(i=>{let a=e.current;if((null==r?void 0:r.disabled)||!a)return;let c=a.querySelector(`.${y}`)||a,{showEffect:s}=r||{};(s||E)(c,{className:o,token:n,component:t,event:i,hashId:l})}),c=a.useRef();return e=>{g.Z.cancel(c.current),c.current=(0,g.Z)(()=>{i(e)})}}(u,n()(b,f),r);if(a.useEffect(()=>{let e=u.current;if(!e||1!==e.nodeType||t)return;let o=o=>{!(0,c.Z)(o.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||v(o)};return e.addEventListener("click",o,!0),()=>{e.removeEventListener("click",o,!0)}},[t]),!a.isValidElement(o))return null!=o?o:null;let $=(0,i.Yr)(o)?(0,i.sQ)(o.ref,u):u;return(0,d.Tm)(o,{ref:$})},S=t(20538),j=t(30069),k=t(12381);let w=(0,a.forwardRef)((e,o)=>{let{className:t,style:r,children:l,prefixCls:i}=e,c=n()(`${i}-icon`,t);return a.createElement("span",{ref:o,className:c,style:r},l)});var N=t(75710);let I=(0,a.forwardRef)((e,o)=>{let{prefixCls:t,className:r,style:l,iconClassName:i}=e,c=n()(`${t}-loading-icon`,r);return a.createElement(w,{prefixCls:t,className:c,style:l,ref:o},a.createElement(N.Z,{className:i}))}),T=()=>({width:0,opacity:0,transform:"scale(0)"}),H=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var P=e=>{let{prefixCls:o,loading:t,existIcon:r,className:n,style:l}=e;return r?a.createElement(I,{prefixCls:o,className:n,style:l}):a.createElement(f.ZP,{visible:!!t,motionName:`${o}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:T,onAppearActive:H,onEnterStart:T,onEnterActive:H,onLeaveStart:H,onLeaveActive:T},(e,t)=>{let{className:r,style:i}=e;return a.createElement(I,{prefixCls:o,className:n,style:Object.assign(Object.assign({},l),i),ref:t,iconClassName:r})})},R=function(e,o){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>o.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);no.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(t[r[n]]=e[r[n]]);return t};let A=a.createContext(void 0),z=/^[\u4e00-\u9fa5]{2}$/,B=z.test.bind(z);function L(e){return"text"===e||"link"===e}var W=t(98663),Z=t(75872),D=t(70721);let F=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}});var _=e=>{let{componentCls:o,fontSize:t,lineWidth:r,colorPrimaryHover:n,colorErrorHover:l}=e;return{[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,[`&:hover, - &:focus, - &:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},F(`${o}-primary`,n),F(`${o}-danger`,l)]}};let G=e=>{let{componentCls:o,iconCls:t,buttonFontWeight:r}=e;return{[o]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${o}-icon`]:{lineHeight:0},[`> ${t} + span, > span + ${t}`]:{marginInlineStart:e.marginXS},[`&:not(${o}-icon-only) > ${o}-icon`]:{[`&${o}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,W.Qy)(e)),[`&-icon-only${o}-compact-item`]:{flex:"none"},[`&-compact-item${o}-primary`]:{[`&:not([disabled]) + ${o}-compact-item${o}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${2*e.lineWidth}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${o}-primary`]:{[`&:not([disabled]) + ${o}-compact-vertical-item${o}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${2*e.lineWidth}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},M=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),q=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Q=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),X=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),J=(e,o,t,r,n,l,i)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:o||void 0,backgroundColor:"transparent",borderColor:t||void 0,boxShadow:"none"},M(e,Object.assign({backgroundColor:"transparent"},l),Object.assign({backgroundColor:"transparent"},i))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:n||void 0}})}),U=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},X(e))}),V=e=>Object.assign({},U(e)),Y=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),K=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),M(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),J(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},M(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),J(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),U(e))}),ee=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),M(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),J(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},M(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),J(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),U(e))}),eo=e=>Object.assign(Object.assign({},K(e)),{borderStyle:"dashed"}),et=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},M(e.componentCls,{color:e.colorLinkHover},{color:e.colorLinkActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},M(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Y(e))}),er=e=>Object.assign(Object.assign(Object.assign({},M(e.componentCls,{color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),Y(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Y(e)),M(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),en=e=>{let{componentCls:o}=e;return{[`${o}-default`]:K(e),[`${o}-primary`]:ee(e),[`${o}-dashed`]:eo(e),[`${o}-link`]:et(e),[`${o}-text`]:er(e),[`${o}-ghost`]:J(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},el=function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:t,controlHeight:r,fontSize:n,lineHeight:l,lineWidth:i,borderRadius:a,buttonPaddingHorizontal:c,iconCls:s}=e,d=`${t}-icon-only`;return[{[`${t}${o}`]:{fontSize:n,height:r,padding:`${Math.max(0,(r-n*l)/2-i)}px ${c-i}px`,borderRadius:a,[`&${d}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${t}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${t}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${t}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${t}${t}-circle${o}`]:q(e)},{[`${t}${t}-round${o}`]:Q(e)}]},ei=e=>el(e),ea=e=>{let o=(0,D.TS)(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.fontSizeLG-2});return el(o,`${e.componentCls}-sm`)},ec=e=>{let o=(0,D.TS)(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.fontSizeLG+2});return el(o,`${e.componentCls}-lg`)},es=e=>{let{componentCls:o}=e;return{[o]:{[`&${o}-block`]:{width:"100%"}}}};var ed=(0,u.Z)("Button",e=>{let{controlTmpOutline:o,paddingContentHorizontal:t}=e,r=(0,D.TS)(e,{colorOutlineDefault:o,buttonPaddingHorizontal:t,buttonIconOnlyFontSize:e.fontSizeLG,buttonFontWeight:400});return[G(r),ea(r),ei(r),ec(r),es(r),en(r),_(r),(0,Z.c)(e),function(e){var o;let t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}),(o=e.componentCls,{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(e)]}),eu=function(e,o){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>o.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);no.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(t[r[n]]=e[r[n]]);return t};function eb(e){return"danger"===e?{danger:!0}:{type:e}}let ep=(0,a.forwardRef)((e,o)=>{var t,r;let{loading:c=!1,prefixCls:u,type:b="default",danger:p,shape:m="default",size:g,styles:f,disabled:v,className:$,rootClassName:y,children:h,icon:C,ghost:E=!1,block:O=!1,htmlType:N="button",classNames:I,style:T={}}=e,H=eu(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:R,autoInsertSpaceInButton:z,direction:W,button:Z}=(0,a.useContext)(s.E_),D=R("btn",u),[F,_]=ed(D),G=(0,a.useContext)(S.Z),M=null!=v?v:G,q=(0,a.useContext)(A),Q=(0,a.useMemo)(()=>(function(e){if("object"==typeof e&&e){let o=null==e?void 0:e.delay,t=!Number.isNaN(o)&&"number"==typeof o;return{loading:!1,delay:t?o:0}}return{loading:!!e,delay:0}})(c),[c]),[X,J]=(0,a.useState)(Q.loading),[U,V]=(0,a.useState)(!1),Y=(0,a.createRef)(),K=(0,i.sQ)(o,Y),ee=1===a.Children.count(h)&&!C&&!L(b);(0,a.useEffect)(()=>{let e=null;return Q.delay>0?e=setTimeout(()=>{e=null,J(!0)},Q.delay):J(Q.loading),function(){e&&(clearTimeout(e),e=null)}},[Q]),(0,a.useEffect)(()=>{if(!K||!K.current||!1===z)return;let e=K.current.textContent;ee&&B(e)?U||V(!0):U&&V(!1)},[K]);let eo=o=>{let{onClick:t}=e;if(X||M){o.preventDefault();return}null==t||t(o)},et=!1!==z,{compactSize:er,compactItemClassnames:en}=(0,k.ri)(D,W),el=(0,j.Z)(e=>{var o,t;return null!==(t=null!==(o=null!=g?g:er)&&void 0!==o?o:q)&&void 0!==t?t:e}),ei=el&&({large:"lg",small:"sm",middle:void 0})[el]||"",ea=X?"loading":C,ec=(0,l.Z)(H,["navigate"]),es=n()(D,_,{[`${D}-${m}`]:"default"!==m&&m,[`${D}-${b}`]:b,[`${D}-${ei}`]:ei,[`${D}-icon-only`]:!h&&0!==h&&!!ea,[`${D}-background-ghost`]:E&&!L(b),[`${D}-loading`]:X,[`${D}-two-chinese-chars`]:U&&et&&!X,[`${D}-block`]:O,[`${D}-dangerous`]:!!p,[`${D}-rtl`]:"rtl"===W},en,$,y,null==Z?void 0:Z.className),eb=Object.assign(Object.assign({},null==Z?void 0:Z.style),T),ep=n()(null==I?void 0:I.icon,null===(t=null==Z?void 0:Z.classNames)||void 0===t?void 0:t.icon),em=Object.assign(Object.assign({},(null==f?void 0:f.icon)||{}),(null===(r=null==Z?void 0:Z.styles)||void 0===r?void 0:r.icon)||{}),eg=C&&!X?a.createElement(w,{prefixCls:D,className:ep,style:em},C):a.createElement(P,{existIcon:!!C,prefixCls:D,loading:!!X}),ef=h||0===h?function(e,o){let t=!1,r=[];return a.Children.forEach(e,e=>{let o=typeof e,n="string"===o||"number"===o;if(t&&n){let o=r.length-1,t=r[o];r[o]=`${t}${e}`}else r.push(e);t=n}),a.Children.map(r,e=>(function(e,o){if(null==e)return;let t=o?" ":"";return"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&B(e.props.children)?(0,d.Tm)(e,{children:e.props.children.split("").join(t)}):"string"==typeof e?B(e)?a.createElement("span",null,e.split("").join(t)):a.createElement("span",null,e):(0,d.M2)(e)?a.createElement("span",null,e):e})(e,o))}(h,ee&&et):null;if(void 0!==ec.href)return F(a.createElement("a",Object.assign({},ec,{className:n()(es,{[`${D}-disabled`]:M}),style:eb,onClick:eo,ref:K}),eg,ef));let ev=a.createElement("button",Object.assign({},H,{type:N,className:es,style:eb,onClick:eo,disabled:M,ref:K}),eg,ef);return L(b)||(ev=a.createElement(x,{component:"Button",disabled:!!X},ev)),F(ev)});ep.Group=e=>{let{getPrefixCls:o,direction:t}=a.useContext(s.E_),{prefixCls:r,size:l,className:i}=e,c=R(e,["prefixCls","size","className"]),d=o("btn-group",r),[,,u]=(0,O.Z)(),b="";switch(l){case"large":b="lg";break;case"small":b="sm"}let p=n()(d,{[`${d}-${b}`]:b,[`${d}-rtl`]:"rtl"===t},i,u);return a.createElement(A.Provider,{value:l},a.createElement("div",Object.assign({},c,{className:p})))},ep.__ANT_BUTTON=!0;var em=ep},50946:function(e,o,t){var r=t(13308);o.ZP=r.Z},96390:function(e,o,t){t.d(o,{J$:function(){return a}});var r=t(84596),n=t(29138);let l=new r.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),i=new r.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),a=function(e){let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:t}=e,r=`${t}-fade`,a=o?"&":"";return[(0,n.R)(r,l,i,e.motionDurationMid,o),{[` - ${a}${r}-enter, - ${a}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/718-ae767ae95bca674e.js b/pilot/server/static/_next/static/chunks/718-ae767ae95bca674e.js new file mode 100644 index 000000000..ec2c79d3f --- /dev/null +++ b/pilot/server/static/_next/static/chunks/718-ae767ae95bca674e.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{99611:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=r(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},13245:function(e,t,r){r.d(t,{Z:function(){return D}});var n=r(63366),o=r(87462),i=r(67294),a=r(33703),l=r(82690),s=r(59948),c=r(94780),u=r(78385),d=r(85893);function p(e){let t=[],r=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,n)=>{let o=function(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1===o||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e)||(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function f(){return!0}var m=function(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:s=p,isEnabled:c=f,open:u}=e,m=i.useRef(!1),g=i.useRef(null),h=i.useRef(null),v=i.useRef(null),b=i.useRef(null),y=i.useRef(!1),$=i.useRef(null),w=(0,a.Z)(t.ref,$),E=i.useRef(null);i.useEffect(()=>{u&&$.current&&(y.current=!r)},[r,u]),i.useEffect(()=>{if(!u||!$.current)return;let e=(0,l.Z)($.current);return!$.current.contains(e.activeElement)&&($.current.hasAttribute("tabIndex")||$.current.setAttribute("tabIndex","-1"),y.current&&$.current.focus()),()=>{o||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}},[u]),i.useEffect(()=>{if(!u||!$.current)return;let e=(0,l.Z)($.current),t=t=>{let{current:r}=$;if(null!==r){if(!e.hasFocus()||n||!c()||m.current){m.current=!1;return}if(!r.contains(e.activeElement)){if(t&&b.current!==t.target||e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!y.current)return;let n=[];if((e.activeElement===g.current||e.activeElement===h.current)&&(n=s($.current)),n.length>0){var o,i;let e=!!((null==(o=E.current)?void 0:o.shiftKey)&&(null==(i=E.current)?void 0:i.key)==="Tab"),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else r.focus()}}},r=t=>{E.current=t,!n&&c()&&"Tab"===t.key&&e.activeElement===$.current&&t.shiftKey&&(m.current=!0,h.current&&h.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",r,!0);let o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)},50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",r,!0)}},[r,n,o,c,u,s]);let k=e=>{null===v.current&&(v.current=e.relatedTarget),y.current=!0};return(0,d.jsxs)(i.Fragment,{children:[(0,d.jsx)("div",{tabIndex:u?0:-1,onFocus:k,ref:g,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:w,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),y.current=!0,b.current=e.target;let r=t.props.onFocus;r&&r(e)}}),(0,d.jsx)("div",{tabIndex:u?0:-1,onFocus:k,ref:h,"data-testid":"sentinelEnd"})]})},g=r(74161);function h(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function v(e){return parseInt((0,g.Z)(e).getComputedStyle(e).paddingRight,10)||0}function b(e,t,r,n,o){let i=[t,r,...n];[].forEach.call(e.children,e=>{let t=-1===i.indexOf(e),r=!function(e){let t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&h(e,o)})}function y(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}var $=r(74312),w=r(20407),E=r(30220),k=r(26821);function x(e){return(0,k.d6)("MuiModal",e)}(0,k.sI)("MuiModal",["root","backdrop"]);let C=i.createContext(void 0),S=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],O=e=>{let{open:t}=e;return(0,c.Z)({root:["root",!t&&"hidden"],backdrop:["backdrop"]},x,{})},Z=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&h(e.modalRef,!1);let n=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);b(t,e.mount,e.modalRef,n,!0);let o=y(this.containers,e=>e.container===t);return -1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){let r=y(this.containers,t=>-1!==t.modals.indexOf(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){let r=[],n=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,l.Z)(e);return t.body===e?(0,g.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){let e=function(e){let t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}((0,l.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${v(n)+e}px`;let t=(0,l.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${v(t)+e}px`})}if(n.parentNode instanceof DocumentFragment)e=(0,l.Z)(n).body;else{let t=n.parentElement,r=(0,g.Z)(n);e=(null==t?void 0:t.nodeName)==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){let r=this.modals.indexOf(e);if(-1===r)return r;let n=y(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&h(e.modalRef,t),b(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=o.modals[o.modals.length-1];e.modalRef&&h(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},I=(0,$.Z)("div",{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,o.Z)({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"})),R=(0,$.Z)("div",{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})(({theme:e,ownerState:t})=>(0,o.Z)({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent"},t.open&&{backdropFilter:"blur(8px)"})),j=i.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"JoyModal"}),{children:c,container:p,disableAutoFocus:f=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:h=!1,disablePortal:v=!1,disableRestoreFocus:b=!1,disableScrollLock:y=!1,hideBackdrop:$=!1,keepMounted:k=!1,onClose:x,onKeyDown:j,open:D,component:N,slots:P={},slotProps:M={}}=r,A=(0,n.Z)(r,S),F=i.useRef({}),z=i.useRef(null),L=i.useRef(null),T=(0,a.Z)(L,t),U=!0;"false"!==r["aria-hidden"]&&("boolean"!=typeof r["aria-hidden"]||r["aria-hidden"])||(U=!1);let W=()=>(0,l.Z)(z.current),H=()=>(F.current.modalRef=L.current,F.current.mount=z.current,F.current),X=()=>{Z.mount(H(),{disableScrollLock:y}),L.current&&(L.current.scrollTop=0)},_=(0,s.Z)(()=>{let e=("function"==typeof p?p():p)||W().body;Z.add(H(),e),L.current&&X()}),B=()=>Z.isTopModal(H()),V=(0,s.Z)(e=>{if(z.current=e,e){if(D&&B())X();else if(L.current){var t;t=L.current,U?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}}}),q=i.useCallback(()=>{Z.remove(H(),U)},[U]);i.useEffect(()=>()=>{q()},[q]),i.useEffect(()=>{D?_():q()},[D,q,_]);let K=(0,o.Z)({},r,{disableAutoFocus:f,disableEnforceFocus:g,disableEscapeKeyDown:h,disablePortal:v,disableRestoreFocus:b,disableScrollLock:y,hideBackdrop:$,keepMounted:k}),G=O(K),J=(0,o.Z)({},A,{component:N,slots:P,slotProps:M}),[Y,Q]=(0,E.Z)("root",{additionalProps:{role:"presentation",onKeyDown:e=>{j&&j(e),"Escape"===e.key&&B()&&!h&&(e.stopPropagation(),x&&x(e,"escapeKeyDown"))}},ref:T,className:G.root,elementType:I,externalForwardedProps:J,ownerState:K}),[ee,et]=(0,E.Z)("backdrop",{additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&x&&x(e,"backdropClick")},open:D},className:G.backdrop,elementType:R,externalForwardedProps:J,ownerState:K});return k||D?(0,d.jsx)(C.Provider,{value:x,children:(0,d.jsx)(u.Z,{ref:V,container:p,disablePortal:v,children:(0,d.jsxs)(Y,(0,o.Z)({},Q,{children:[$?null:(0,d.jsx)(ee,(0,o.Z)({},et)),(0,d.jsx)(m,{disableEnforceFocus:g,disableAutoFocus:f,disableRestoreFocus:b,isEnabled:B,open:D,children:i.Children.only(c)&&i.cloneElement(c,(0,o.Z)({},void 0===c.props.tabIndex&&{tabIndex:-1}))})]}))})}):null});var D=j},3414:function(e,t,r){r.d(t,{U:function(){return $},Z:function(){return E}});var n=r(63366),o=r(87462),i=r(67294),a=r(86010),l=r(94780),s=r(14142),c=r(54844),u=r(20407),d=r(74312),p=r(58859),f=r(26821);function m(e){return(0,f.d6)("MuiSheet",e)}(0,f.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var g=r(78653),h=r(30220),v=r(85893);let b=["className","color","component","variant","invertedColors","slots","slotProps"],y=e=>{let{variant:t,color:r}=e,n={root:["root",t&&`variant${(0,s.Z)(t)}`,r&&`color${(0,s.Z)(r)}`]};return(0,l.Z)(n,m,{})},$=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let i=null==(r=e.variants[t.variant])?void 0:r[t.color],a=(0,p.V)({theme:e,ownerState:t},"borderRadius"),l=(0,p.V)({theme:e,ownerState:t},"bgcolor"),s=(0,p.V)({theme:e,ownerState:t},"backgroundColor"),u=(0,p.V)({theme:e,ownerState:t},"background"),d=(0,c.DW)(e,`palette.${l}`)||l||(0,c.DW)(e,`palette.${s}`)||s||u||(null==i?void 0:i.backgroundColor)||(null==i?void 0:i.background)||e.vars.palette.background.surface;return[(0,o.Z)({"--ListItem-stickyBackground":d,"--Sheet-background":d},void 0!==a&&{"--List-radius":`calc(${a} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${a} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),i,"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),w=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"JoySheet"}),{className:i,color:l="neutral",component:s="div",variant:c="plain",invertedColors:d=!1,slots:p={},slotProps:f={}}=r,m=(0,n.Z)(r,b),{getColor:w}=(0,g.VT)(c),E=w(e.color,l),k=(0,o.Z)({},r,{color:E,component:s,invertedColors:d,variant:c}),x=y(k),C=(0,o.Z)({},m,{component:s,slots:p,slotProps:f}),[S,O]=(0,h.Z)("root",{ref:t,className:(0,a.Z)(x.root,i),elementType:$,externalForwardedProps:C,ownerState:k}),Z=(0,v.jsx)(S,(0,o.Z)({},O));return d?(0,v.jsx)(g.do,{variant:c,children:Z}):Z});var E=w},58859:function(e,t,r){r.d(t,{V:function(){return o}});var n=r(87462);let o=({theme:e,ownerState:t},r,o)=>{let i;let a={};if(t.sx){!function t(r){if("function"==typeof r){let n=r(e);t(n)}else Array.isArray(r)?r.forEach(e=>{"boolean"!=typeof e&&t(e)}):"object"==typeof r&&(a=(0,n.Z)({},a,r))}(t.sx);let o=a[r];if("string"==typeof o||"number"==typeof o){if("borderRadius"===r){var l;if("number"==typeof o)return`${o}px`;i=(null==(l=e.vars)?void 0:l.radius[o])||o}else i=o}"function"==typeof o&&(i=o(e))}return i||o}},13264:function(e,t,r){var n=r(70182);let o=(0,n.ZP)();t.Z=o},57838:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(67294);function o(){let[,e]=n.useReducer(e=>e+1,0);return e}},69814:function(e,t,r){r.d(t,{Z:function(){return et}});var n=r(89739),o=r(63606),i=r(4340),a=r(97937),l=r(94184),s=r.n(l),c=r(98423),u=r(67294),d=r(53124),p=r(87462),f=r(1413),m=r(45987),g={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var e=(0,u.useRef)([]),t=(0,u.useRef)(null);return(0,u.useEffect)(function(){var r=Date.now(),n=!1;e.current.forEach(function(e){if(e){n=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(o.transitionDuration="0s, 0s")}}),n&&(t.current=Date.now())}),e.current},v=r(71002),b=r(97685),y=r(98924),$=0,w=(0,y.Z)(),E=function(e){var t=u.useState(),r=(0,b.Z)(t,2),n=r[0],o=r[1];return u.useEffect(function(){var e;o("rc_progress_".concat((w?(e=$,$+=1):e="TEST_OR_SSR",e)))},[]),e||n},k=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function x(e){return+e.replace("%","")}function C(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var S=function(e,t,r,n,o,i,a,l,s,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-n)/100*t;return"round"===s&&100!==n&&(d+=c/2)>=t&&(d=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(o+r/100*360*((360-i)/360)+(0===i?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},O=function(e){var t,r,n,o,i=(0,f.Z)((0,f.Z)({},g),e),a=i.id,l=i.prefixCls,c=i.steps,d=i.strokeWidth,b=i.trailWidth,y=i.gapDegree,$=void 0===y?0:y,w=i.gapPosition,O=i.trailColor,Z=i.strokeLinecap,I=i.style,R=i.className,j=i.strokeColor,D=i.percent,N=(0,m.Z)(i,k),P=E(a),M="".concat(P,"-gradient"),A=50-d/2,F=2*Math.PI*A,z=$>0?90+$/2:-90,L=F*((360-$)/360),T="object"===(0,v.Z)(c)?c:{count:c,space:2},U=T.count,W=T.space,H=S(F,L,0,100,z,$,w,O,Z,d),X=C(D),_=C(j),B=_.find(function(e){return e&&"object"===(0,v.Z)(e)}),V=h();return u.createElement("svg",(0,p.Z)({className:s()("".concat(l,"-circle"),R),viewBox:"".concat(-50," ").concat(-50," ").concat(100," ").concat(100),style:I,id:a,role:"presentation"},N),B&&u.createElement("defs",null,u.createElement("linearGradient",{id:M,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(B).sort(function(e,t){return x(e)-x(t)}).map(function(e,t){return u.createElement("stop",{key:t,offset:e,stopColor:B[e]})}))),!U&&u.createElement("circle",{className:"".concat(l,"-circle-trail"),r:A,cx:0,cy:0,stroke:O,strokeLinecap:Z,strokeWidth:b||d,style:H}),U?(t=Math.round(U*(X[0]/100)),r=100/U,n=0,Array(U).fill(null).map(function(e,o){var i=o<=t-1?_[0]:O,a=i&&"object"===(0,v.Z)(i)?"url(#".concat(M,")"):void 0,s=S(F,L,n,r,z,$,w,i,"butt",d,W);return n+=(L-s.strokeDashoffset+W)*100/L,u.createElement("circle",{key:o,className:"".concat(l,"-circle-path"),r:A,cx:0,cy:0,stroke:a,strokeWidth:d,opacity:1,style:s,ref:function(e){V[o]=e}})})):(o=0,X.map(function(e,t){var r=_[t]||_[_.length-1],n=r&&"object"===(0,v.Z)(r)?"url(#".concat(M,")"):void 0,i=S(F,L,o,e,z,$,w,r,Z,d);return o+=e,u.createElement("circle",{key:t,className:"".concat(l,"-circle-path"),r:A,cx:0,cy:0,stroke:n,strokeLinecap:Z,strokeWidth:d,opacity:0===e?0:1,style:i,ref:function(e){V[t]=e}})}).reverse()))},Z=r(94139),I=r(16397);function R(e){return!e||e<0?0:e>100?100:e}function j(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}let D=e=>{let{percent:t,success:r,successPercent:n}=e,o=R(j({success:r,successPercent:n}));return[o,R(R(t)-o)]},N=e=>{let{success:t={},strokeColor:r}=e,{strokeColor:n}=t;return[n||I.ez.green,r||null]},P=(e,t,r)=>{var n,o,i,a;let l=-1,s=-1;if("step"===t){let t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,s=null!=n?n:8):"number"==typeof e?[l,s]=[e,e]:[l=14,s=8]=e,l*=t}else if("line"===t){let t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?s=t||("small"===e?6:8):"number"==typeof e?[l,s]=[e,e]:[l=-1,s=8]=e}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,s]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,s]=[e,e]:(l=null!==(o=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==o?o:120,s=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[l,s]},M=e=>3/e*100;var A=e=>{let{prefixCls:t,trailColor:r=null,strokeLinecap:n="round",gapPosition:o,gapDegree:i,width:a=120,type:l,children:c,success:d,size:p=a}=e,[f,m]=P(p,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(M(f),6));let h=u.useMemo(()=>i||0===i?i:"dashboard"===l?75:void 0,[i,l]),v=o||"dashboard"===l&&"bottom"||void 0,b="[object Object]"===Object.prototype.toString.call(e.strokeColor),y=N({success:d,strokeColor:e.strokeColor}),$=s()(`${t}-inner`,{[`${t}-circle-gradient`]:b}),w=u.createElement(O,{percent:D(e),strokeWidth:g,trailWidth:g,strokeColor:y,strokeLinecap:n,trailColor:r,prefixCls:t,gapDegree:h,gapPosition:v});return u.createElement("div",{className:$,style:{width:f,height:m,fontSize:.15*f+6}},f<=20?u.createElement(Z.Z,{title:c},u.createElement("span",null,w)):u.createElement(u.Fragment,null,w,c))},F=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let z=e=>{let t=[];return Object.keys(e).forEach(r=>{let n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:r}=e;return`${r} ${t}%`}).join(", ")},L=(e,t)=>{let{from:r=I.ez.blue,to:n=I.ez.blue,direction:o="rtl"===t?"to left":"to right"}=e,i=F(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=z(i);return{backgroundImage:`linear-gradient(${o}, ${e})`}}return{backgroundImage:`linear-gradient(${o}, ${r}, ${n})`}};var T=e=>{let{prefixCls:t,direction:r,percent:n,size:o,strokeWidth:i,strokeColor:a,strokeLinecap:l="round",children:s,trailColor:c=null,success:d}=e,p=a&&"string"!=typeof a?L(a,r):{backgroundColor:a},f="square"===l||"butt"===l?0:void 0,m=null!=o?o:[-1,i||("small"===o?6:8)],[g,h]=P(m,"line",{strokeWidth:i}),v=Object.assign({width:`${R(n)}%`,height:h,borderRadius:f},p),b=j(e),y={width:`${R(b)}%`,height:h,borderRadius:f,backgroundColor:null==d?void 0:d.strokeColor};return u.createElement(u.Fragment,null,u.createElement("div",{className:`${t}-outer`,style:{width:g<0?"100%":g,height:h}},u.createElement("div",{className:`${t}-inner`,style:{backgroundColor:c||void 0,borderRadius:f}},u.createElement("div",{className:`${t}-bg`,style:v}),void 0!==b?u.createElement("div",{className:`${t}-success-bg`,style:y}):null)),s)},U=e=>{let{size:t,steps:r,percent:n=0,strokeWidth:o=8,strokeColor:i,trailColor:a=null,prefixCls:l,children:c}=e,d=Math.round(r*(n/100)),p=null!=t?t:["small"===t?2:14,o],[f,m]=P(p,"step",{steps:r,strokeWidth:o}),g=f/r,h=Array(r);for(let e=0;e{let t=e?"100%":"-100%";return new W.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,H.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:B(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:B(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},q=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},K=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},G=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var J=(0,X.Z)("Progress",e=>{let t=e.marginXXS/2,r=(0,_.TS)(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[V(r),q(r),K(r),G(r)]}),Y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Q=["normal","exception","active","success"],ee=u.forwardRef((e,t)=>{let r;let{prefixCls:l,className:p,rootClassName:f,steps:m,strokeColor:g,percent:h=0,size:v="default",showInfo:b=!0,type:y="line",status:$,format:w,style:E}=e,k=Y(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),x=u.useMemo(()=>{var t,r;let n=j(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=h?h:0)||void 0===r?void 0:r.toString(),10)},[h,e.success,e.successPercent]),C=u.useMemo(()=>!Q.includes($)&&x>=100?"success":$||"normal",[$,x]),{getPrefixCls:S,direction:O,progress:Z}=u.useContext(d.E_),I=S("progress",l),[D,N]=J(I),M=u.useMemo(()=>{let t;if(!b)return null;let r=j(e),l=w||(e=>`${e}%`),s="line"===y;return w||"exception"!==C&&"success"!==C?t=l(R(h),R(r)):"exception"===C?t=s?u.createElement(i.Z,null):u.createElement(a.Z,null):"success"===C&&(t=s?u.createElement(n.Z,null):u.createElement(o.Z,null)),u.createElement("span",{className:`${I}-text`,title:"string"==typeof t?t:void 0},t)},[b,h,x,C,y,I,w]),F=Array.isArray(g)?g[0]:g,z="string"==typeof g||Array.isArray(g)?g:void 0;"line"===y?r=m?u.createElement(U,Object.assign({},e,{strokeColor:z,prefixCls:I,steps:m}),M):u.createElement(T,Object.assign({},e,{strokeColor:F,prefixCls:I,direction:O}),M):("circle"===y||"dashboard"===y)&&(r=u.createElement(A,Object.assign({},e,{strokeColor:F,prefixCls:I,progressStatus:C}),M));let L=s()(I,`${I}-status-${C}`,`${I}-${"dashboard"===y&&"circle"||m&&"steps"||y}`,{[`${I}-inline-circle`]:"circle"===y&&P(v,"circle")[0]<=20,[`${I}-show-info`]:b,[`${I}-${v}`]:"string"==typeof v,[`${I}-rtl`]:"rtl"===O},null==Z?void 0:Z.className,p,f,N);return D(u.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),E),className:L,role:"progressbar","aria-valuenow":x},(0,c.Z)(k,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),r))});var et=ee},33507:function(e,t){t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},65170:function(e,t,r){r.d(t,{default:function(){return eN}});var n=r(67294),o=r(74902),i=r(94184),a=r.n(i),l=r(87462),s=r(15671),c=r(43144),u=r(32531),d=r(73568),p=r(4942),f=r(45987),m=r(74165),g=r(71002),h=r(15861),v=r(64217);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function y(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){r.append("".concat(t,"[]"),e)});return}r.append(t,n)}),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var r;return e.onError(((r=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,r.method=e.method,r.url=e.action,r),b(t))}return e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach(function(e){null!==n[e]&&t.setRequestHeader(e,n[e])}),t.send(r),{abort:function(){t.abort()}}}var $=+new Date,w=0;function E(){return"rc-upload-".concat($,"-").concat(++w)}var k=r(80334),x=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),a=t.toLowerCase(),l=[a];return(".jpg"===a||".jpeg"===a)&&(l=[".jpg",".jpeg"]),l.some(function(e){return r.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,k.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},C=function(e,t,r){var n=function e(n,o){if(n.path=o||"",n.isFile)n.file(function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(n.isDirectory){var i,a,l;i=function(t){t.forEach(function(t){e(t,"".concat(o).concat(n.name,"/"))})},a=n.createReader(),l=[],function e(){a.readEntries(function(t){var r=Array.prototype.slice.apply(t);l=l.concat(r),r.length?e():i(l)})}()}};e.forEach(function(e){n(e.webkitGetAsEntry())})},S=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],O=function(e){(0,u.Z)(r,e);var t=(0,d.Z)(r);function r(){(0,s.Z)(this,r);for(var e,n,i=arguments.length,a=Array(i),l=0;l{let{uid:r}=t;return r===e.uid});return -1===n?r.push(e):r[n]=e,r}function J(e,t){let r=void 0!==e.uid?"uid":"name";return t.filter(t=>t[r]===e[r])[0]}let Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),r=t[t.length-1],n=r.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},Q=e=>0===e.indexOf("image/"),ee=e=>{if(e.type&&!e.thumbUrl)return Q(e.type);let t=e.thumbUrl||e.url||"",r=Y(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r};function et(e){return new Promise(t=>{if(!e.type||!Q(e.type)){t("");return}let r=document.createElement("canvas");r.width=200,r.height=200,r.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(r);let n=r.getContext("2d"),o=new Image;if(o.onload=()=>{let{width:e,height:i}=o,a=200,l=200,s=0,c=0;e>i?c=-((l=i*(200/e))-a)/2:s=-((a=e*(200/i))-l)/2,n.drawImage(o,s,c,a,l);let u=r.toDataURL();document.body.removeChild(r),window.URL.revokeObjectURL(o.src),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.onload=()=>{t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){let r=new FileReader;r.onload=()=>{r.result&&t(r.result)},r.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)})}var er={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},en=n.forwardRef(function(e,t){return n.createElement(F.Z,(0,l.Z)({},e,{ref:t,icon:er}))}),eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ei=n.forwardRef(function(e,t){return n.createElement(F.Z,(0,l.Z)({},e,{ref:t,icon:eo}))}),ea=r(99611),el=r(69814),es=r(94139);let ec=n.forwardRef((e,t)=>{var r,o;let{prefixCls:i,className:l,style:s,locale:c,listType:u,file:d,items:p,progress:f,iconRender:m,actionIconRender:g,itemRender:h,isImgUrl:v,showPreviewIcon:b,showRemoveIcon:y,showDownloadIcon:$,previewIcon:w,removeIcon:E,downloadIcon:k,onPreview:x,onDownload:C,onClose:S}=e,{status:O}=d,[Z,I]=n.useState(O);n.useEffect(()=>{"removed"!==O&&I(O)},[O]);let[R,j]=n.useState(!1);n.useEffect(()=>{let e=setTimeout(()=>{j(!0)},300);return()=>{clearTimeout(e)}},[]);let N=m(d),P=n.createElement("div",{className:`${i}-icon`},N);if("picture"===u||"picture-card"===u||"picture-circle"===u){if("uploading"!==Z&&(d.thumbUrl||d.url)){let e=(null==v?void 0:v(d))?n.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:`${i}-list-item-image`,crossOrigin:d.crossOrigin}):N,t=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:v&&!v(d)});P=n.createElement("a",{className:t,onClick:e=>x(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:"uploading"!==Z});P=n.createElement("div",{className:e},N)}}let M=a()(`${i}-list-item`,`${i}-list-item-${Z}`),A="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,F=y?g(("function"==typeof E?E(d):E)||n.createElement(en,null),()=>S(d),i,c.removeFile):null,z=$&&"done"===Z?g(("function"==typeof k?k(d):k)||n.createElement(ei,null),()=>C(d),i,c.downloadFile):null,L="picture-card"!==u&&"picture-circle"!==u&&n.createElement("span",{key:"download-delete",className:a()(`${i}-list-item-actions`,{picture:"picture"===u})},z,F),T=a()(`${i}-list-item-name`),U=d.url?[n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:T,title:d.name},A,{href:d.url,onClick:e=>x(d,e)}),d.name),L]:[n.createElement("span",{key:"view",className:T,onClick:e=>x(d,e),title:d.name},d.name),L],W=b?n.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:d.url||d.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:e=>x(d,e),title:c.previewFile},"function"==typeof w?w(d):w||n.createElement(ea.Z,null)):null,H=("picture-card"===u||"picture-circle"===u)&&"uploading"!==Z&&n.createElement("span",{className:`${i}-list-item-actions`},W,"done"===Z&&z,F),{getPrefixCls:_}=n.useContext(D.E_),B=_(),V=n.createElement("div",{className:M},P,U,H,R&&n.createElement(X.ZP,{motionName:`${B}-fade`,visible:"uploading"===Z,motionDeadline:2e3},e=>{let{className:t}=e,r="percent"in d?n.createElement(el.Z,Object.assign({},f,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"]})):null;return n.createElement("div",{className:a()(`${i}-list-item-progress`,t)},r)})),q=d.response&&"string"==typeof d.response?d.response:(null===(r=d.error)||void 0===r?void 0:r.statusText)||(null===(o=d.error)||void 0===o?void 0:o.message)||c.uploadError,K="error"===Z?n.createElement(es.Z,{title:q,getPopupContainer:e=>e.parentNode},V):V;return n.createElement("div",{className:a()(`${i}-list-item-container`,l),style:s,ref:t},h?h(K,d,p,{download:C.bind(null,d),preview:x.bind(null,d),remove:S.bind(null,d)}):K)}),eu=n.forwardRef((e,t)=>{let{listType:r="text",previewFile:i=et,onPreview:l,onDownload:s,onRemove:c,locale:u,iconRender:d,isImageUrl:p=ee,prefixCls:f,items:m=[],showPreviewIcon:g=!0,showRemoveIcon:h=!0,showDownloadIcon:v=!1,removeIcon:b,previewIcon:y,downloadIcon:$,progress:w={size:[-1,2],showInfo:!1},appendAction:E,appendActionVisible:k=!0,itemRender:x,disabled:C}=e,S=(0,_.Z)(),[O,Z]=n.useState(!1);n.useEffect(()=>{("picture"===r||"picture-card"===r||"picture-circle"===r)&&(m||[]).forEach(e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then(t=>{e.thumbUrl=t||"",S()}))})},[r,m,i]),n.useEffect(()=>{Z(!0)},[]);let I=(e,t)=>{if(l)return null==t||t.preventDefault(),l(e)},R=e=>{"function"==typeof s?s(e):e.url&&window.open(e.url)},j=e=>{null==c||c(e)},N=e=>{if(d)return d(e,r);let t="uploading"===e.status,o=p&&p(e)?n.createElement(H,null):n.createElement(z,null),i=t?n.createElement(L.Z,null):n.createElement(U,null);return"picture"===r?i=t?n.createElement(L.Z,null):o:("picture-card"===r||"picture-circle"===r)&&(i=t?u.uploading:o),i},P=(e,t,r,o)=>{let i={type:"text",size:"small",title:o,onClick:r=>{t(),(0,V.l$)(e)&&e.props.onClick&&e.props.onClick(r)},className:`${r}-list-item-action`,disabled:C};if((0,V.l$)(e)){let t=(0,V.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return n.createElement(q.ZP,Object.assign({},i,{icon:t}))}return n.createElement(q.ZP,Object.assign({},i),n.createElement("span",null,e))};n.useImperativeHandle(t,()=>({handlePreview:I,handleDownload:R}));let{getPrefixCls:M}=n.useContext(D.E_),A=M("upload",f),F=M(),T=a()(`${A}-list`,`${A}-list-${r}`),W=(0,o.Z)(m.map(e=>({key:e.uid,file:e}))),K="picture-card"===r||"picture-circle"===r?"animate-inline":"animate",G={motionDeadline:2e3,motionName:`${A}-${K}`,keys:W,motionAppear:O},J=n.useMemo(()=>{let e=Object.assign({},(0,B.Z)(F));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e},[F]);return"picture-card"!==r&&"picture-circle"!==r&&(G=Object.assign(Object.assign({},J),G)),n.createElement("div",{className:T},n.createElement(X.V4,Object.assign({},G,{component:!1}),e=>{let{key:t,file:o,className:i,style:a}=e;return n.createElement(ec,{key:t,locale:u,prefixCls:A,className:i,style:a,file:o,items:m,progress:w,listType:r,isImgUrl:p,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:v,removeIcon:b,previewIcon:y,downloadIcon:$,iconRender:N,actionIconRender:P,itemRender:x,onPreview:I,onDownload:R,onClose:j})}),E&&n.createElement(X.ZP,Object.assign({},G,{visible:k,forceRender:!0}),e=>{let{className:t,style:r}=e;return(0,V.Tm)(E,e=>({className:a()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)}))}))});var ed=r(14747),ep=r(33507),ef=r(67968),em=r(45503),eg=e=>{let{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${r}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},eh=e=>{let{componentCls:t,antCls:r,iconCls:n,fontSize:o,lineHeight:i}=e,a=`${t}-list-item`,l=`${a}-actions`,s=`${a}-action`,c=Math.round(o*i);return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,ed.dF)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:e.lineHeight*o,marginTop:e.marginXS,fontSize:o,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},ed.vS),{padding:`0 ${e.paddingXS}px`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{[s]:{opacity:0},[`${s}${r}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${s}:focus, + &.picture ${s} + `]:{opacity:1},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`&:hover ${n}`]:{color:e.colorText}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:o},[`${a}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:o+e.paddingXS,fontSize:o,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${n}`]:{color:e.colorError},[l]:{[`${n}, ${n}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},ev=r(23183),eb=r(16932);let ey=new ev.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),e$=new ev.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var ew=e=>{let{componentCls:t}=e,r=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${r}-appear, ${r}-enter, ${r}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${r}-appear, ${r}-enter`]:{animationName:ey},[`${r}-leave`]:{animationName:e$}}},{[`${t}-wrapper`]:(0,eb.J$)(e)},ey,e$]},eE=r(16397),ek=r(10274);let ex=e=>{let{componentCls:t,iconCls:r,uploadThumbnailSize:n,uploadProgressOffset:o}=e,i=`${t}-list`,a=`${i}-item`;return{[`${t}-wrapper`]:{[` + ${i}${i}-picture, + ${i}${i}-picture-card, + ${i}${i}-picture-circle + `]:{[a]:{position:"relative",height:n+2*e.lineWidth+2*e.paddingXS,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:Object.assign(Object.assign({},ed.vS),{width:n,height:n,lineHeight:`${n+e.paddingSM}px`,textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:o,width:`calc(100% - ${2*e.paddingSM}px)`,marginTop:0,paddingInlineStart:n+e.paddingXS}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${r}`]:{[`svg path[fill='${eE.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${eE.iN.primary}']`]:{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:o}}},[`${i}${i}-picture-circle ${a}`]:{[`&, &::before, ${a}-thumbnail`]:{borderRadius:"50%"}}}}},eC=e=>{let{componentCls:t,iconCls:r,fontSizeLG:n,colorTextLightSolid:o}=e,i=`${t}-list`,a=`${i}-item`,l=e.uploadPicCardSize;return{[` + ${t}-wrapper${t}-picture-card-wrapper, + ${t}-wrapper${t}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,ed.dF)()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:l,height:l,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card, ${i}${i}-picture-circle`]:{[`${i}-item-container`]:{display:"inline-block",width:l,height:l,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${2*e.paddingXS}px)`,height:`calc(100% - ${2*e.paddingXS}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${r}-eye, ${r}-download, ${r}-delete`]:{zIndex:10,width:n,margin:`0 ${e.marginXXS}px`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${a}-actions, ${a}-actions:hover`]:{[`${r}-eye, ${r}-download, ${r}-delete`]:{color:new ek.C(o).setAlpha(.65).toRgbString(),"&:hover":{color:o}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${2*e.paddingXS}px)`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${2*e.paddingXS}px)`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var eS=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};let eO=e=>{let{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,ed.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}};var eZ=(0,ef.Z)("Upload",e=>{let{fontSizeHeading3:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightLG:i}=e,a=(0,em.TS)(e,{uploadThumbnailSize:2*t,uploadProgressOffset:Math.round(r*n)/2+o,uploadPicCardSize:2.55*i});return[eO(a),eg(a),ex(a),eC(a),eh(a),ew(a),eS(a),(0,ep.Z)(a)]},e=>({actionsColor:e.colorTextDescription}));let eI=`__LIST_IGNORE_${Date.now()}__`,eR=n.forwardRef((e,t)=>{var r;let{fileList:i,defaultFileList:l,onRemove:s,showUploadList:c=!0,listType:u="text",onPreview:d,onDownload:p,onChange:f,onDrop:m,previewFile:g,disabled:h,locale:v,iconRender:b,isImageUrl:y,progress:$,prefixCls:w,className:E,type:k="select",children:x,style:C,itemRender:S,maxCount:O,data:Z={},multiple:A=!1,action:F="",accept:z="",supportServerRender:L=!0}=e,T=n.useContext(N.Z),U=null!=h?h:T,[W,H]=(0,R.Z)(l||[],{value:i,postState:e=>null!=e?e:[]}),[X,_]=n.useState("drop"),B=n.useRef(null);n.useMemo(()=>{let e=Date.now();(i||[]).forEach((t,r)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${r}__`)})},[i]);let V=(e,t,r)=>{let n=(0,o.Z)(t),i=!1;1===O?n=n.slice(-1):O&&(i=n.length>O,n=n.slice(0,O)),(0,j.flushSync)(()=>{H(n)});let a={file:e,fileList:n};r&&(a.event=r),(!i||n.some(t=>t.uid===e.uid))&&(0,j.flushSync)(()=>{null==f||f(a)})},q=e=>{let t=e.filter(e=>!e.file[eI]);if(!t.length)return;let r=t.map(e=>K(e.file)),n=(0,o.Z)(W);r.forEach(e=>{n=G(e,n)}),r.forEach((e,r)=>{let o=e;if(t[r].parsedFile)e.status="uploading";else{let t;let{originFileObj:r}=e;try{t=new File([r],r.name,{type:r.type})}catch(e){(t=new Blob([r],{type:r.type})).name=r.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,o=t}V(o,n)})},Y=(e,t,r)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!J(t,W))return;let n=K(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;let o=G(n,W);V(n,o)},Q=(e,t)=>{if(!J(t,W))return;let r=K(t);r.status="uploading",r.percent=e.percent;let n=G(r,W);V(r,n,e)},ee=(e,t,r)=>{if(!J(r,W))return;let n=K(r);n.error=e,n.response=t,n.status="error";let o=G(n,W);V(n,o)},et=e=>{let t;Promise.resolve("function"==typeof s?s(e):s).then(r=>{var n;if(!1===r)return;let o=function(e,t){let r=void 0!==e.uid?"uid":"name",n=t.filter(t=>t[r]!==e[r]);return n.length===t.length?null:n}(e,W);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==W||W.forEach(e=>{let r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")}),null===(n=B.current)||void 0===n||n.abort(t),V(t,o))})},er=e=>{_(e.type),"drop"===e.type&&(null==m||m(e))};n.useImperativeHandle(t,()=>({onBatchStart:q,onSuccess:Y,onProgress:Q,onError:ee,fileList:W,upload:B.current}));let{getPrefixCls:en,direction:eo,upload:ei}=n.useContext(D.E_),ea=en("upload",w),el=Object.assign(Object.assign({onBatchStart:q,onError:ee,onProgress:Q,onSuccess:Y},e),{data:Z,multiple:A,action:F,accept:z,supportServerRender:L,prefixCls:ea,disabled:U,beforeUpload:(t,r)=>{var n,o,i,a;return n=void 0,o=void 0,i=void 0,a=function*(){let{beforeUpload:n,transformFile:o}=e,i=t;if(n){let e=yield n(t,r);if(!1===e)return!1;if(delete t[eI],e===eI)return Object.defineProperty(t,eI,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i},new(i||(i=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(e){t(e)}}function l(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,l)}s((a=a.apply(n,o||[])).next())})},onChange:void 0});delete el.className,delete el.style,(!x||U)&&delete el.id;let[es,ec]=eZ(ea),[ed]=(0,P.Z)("Upload",M.Z.Upload),{showRemoveIcon:ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev}="boolean"==typeof c?{}:c,eb=(e,t)=>c?n.createElement(eu,{prefixCls:ea,listType:u,items:W,previewFile:g,onPreview:d,onDownload:p,onRemove:et,showRemoveIcon:!U&&ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev,iconRender:b,locale:Object.assign(Object.assign({},ed),v),isImageUrl:y,progress:$,appendAction:e,appendActionVisible:t,itemRender:S,disabled:U}):e,ey=a()(`${ea}-wrapper`,E,ec,null==ei?void 0:ei.className,{[`${ea}-rtl`]:"rtl"===eo,[`${ea}-picture-card-wrapper`]:"picture-card"===u,[`${ea}-picture-circle-wrapper`]:"picture-circle"===u}),e$=Object.assign(Object.assign({},null==ei?void 0:ei.style),C);if("drag"===k){let e=a()(ec,ea,`${ea}-drag`,{[`${ea}-drag-uploading`]:W.some(e=>"uploading"===e.status),[`${ea}-drag-hover`]:"dragover"===X,[`${ea}-disabled`]:U,[`${ea}-rtl`]:"rtl"===eo});return es(n.createElement("span",{className:ey},n.createElement("div",{className:e,style:e$,onDrop:er,onDragOver:er,onDragLeave:er},n.createElement(I,Object.assign({},el,{ref:B,className:`${ea}-btn`}),n.createElement("div",{className:`${ea}-drag-container`},x))),eb()))}let ew=a()(ea,`${ea}-select`,{[`${ea}-disabled`]:U}),eE=(r=x?void 0:{display:"none"},n.createElement("div",{className:ew,style:r},n.createElement(I,Object.assign({},el,{ref:B}))));return es("picture-card"===u||"picture-circle"===u?n.createElement("span",{className:ey},eb(eE,!!x)):n.createElement("span",{className:ey},eE,eb()))});var ej=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let eD=n.forwardRef((e,t)=>{var{style:r,height:o}=e,i=ej(e,["style","height"]);return n.createElement(eR,Object.assign({ref:t},i,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))});eR.Dragger=eD,eR.LIST_IGNORE=eI;var eN=eR}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/741-9654a56afdea9ccd.js b/pilot/server/static/_next/static/chunks/741-9654a56afdea9ccd.js deleted file mode 100644 index 5714d8353..000000000 --- a/pilot/server/static/_next/static/chunks/741-9654a56afdea9ccd.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[741],{35978:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(31533),r=n(86006);function l(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.createElement(o.Z,null),a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i="boolean"==typeof e?e:void 0===t?!!a:!1!==t&&null!==t;if(!i)return[!1,null];let c="boolean"==typeof t||null==t?l:t;return[!0,n?n(c):c]}},61911:function(e,t,n){let o;n.d(t,{fk:function(){return a},jD:function(){return l}});var r=n(71693);let l=()=>(0,r.Z)()&&window.document.documentElement,a=()=>{if(!l())return!1;if(void 0!==o)return o;let e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div"));let t=document.createElement("div");return t.style.position="absolute",t.style.zIndex="-9999",t.appendChild(e),document.body.appendChild(t),o=1===e.scrollHeight,document.body.removeChild(t),o}},30741:function(e,t,n){let o;n.d(t,{Z:function(){return eO}});var r=n(90151),l=n(88101),a=n(86006),i=n(46134),c=n(34777),s=n(56222),d=n(27977),u=n(49132),m=n(8683),f=n.n(m),p=n(39112),g=n(50946),b=n(13308),v=e=>{let{type:t,children:n,prefixCls:o,buttonProps:r,close:l,autoFocus:i,emitEvent:c,isSilent:s,quitOnNullishReturnValue:d,actionFn:u}=e,m=a.useRef(!1),f=a.useRef(null),[v,y]=(0,p.Z)(!1),C=function(){null==l||l.apply(void 0,arguments)};a.useEffect(()=>{let e=null;return i&&(e=setTimeout(()=>{var e;null===(e=f.current)||void 0===e||e.focus()})),()=>{e&&clearTimeout(e)}},[]);let x=e=>{e&&e.then&&(y(!0),e.then(function(){y(!1,!0),C.apply(void 0,arguments),m.current=!1},e=>{if(y(!1,!0),m.current=!1,null==s||!s())return Promise.reject(e)}))};return a.createElement(g.ZP,Object.assign({},(0,b.n)(t),{onClick:e=>{let t;if(!m.current){if(m.current=!0,!u){C();return}if(c){var n;if(t=u(e),d&&!((n=t)&&n.then)){m.current=!1,C(e);return}}else if(u.length)t=u(l),m.current=!1;else if(!(t=u())){C();return}x(t)}},loading:v,prefixCls:o},r,{ref:f}),n)},y=n(80716),C=n(6783),x=n(31533),h=n(40431),$=n(60456),E=n(61085),S=n(88684),O=n(14071),w=n(53457),k=n(48580),j=n(42442);function N(e,t,n){var o=t;return!o&&n&&(o="".concat(e,"-").concat(n)),o}function Z(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}var I=n(78641),P=a.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate}),T={width:0,height:0,overflow:"hidden",outline:"none"},B=a.forwardRef(function(e,t){var n,o,r,l=e.prefixCls,i=e.className,c=e.style,s=e.title,d=e.ariaId,u=e.footer,m=e.closable,p=e.closeIcon,g=e.onClose,b=e.children,v=e.bodyStyle,y=e.bodyProps,C=e.modalRender,x=e.onMouseDown,$=e.onMouseUp,E=e.holderRef,O=e.visible,w=e.forceRender,k=e.width,j=e.height,N=(0,a.useRef)(),Z=(0,a.useRef)();a.useImperativeHandle(t,function(){return{focus:function(){var e;null===(e=N.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===Z.current?N.current.focus():e||t!==N.current||Z.current.focus()}}});var I={};void 0!==k&&(I.width=k),void 0!==j&&(I.height=j),u&&(n=a.createElement("div",{className:"".concat(l,"-footer")},u)),s&&(o=a.createElement("div",{className:"".concat(l,"-header")},a.createElement("div",{className:"".concat(l,"-title"),id:d},s))),m&&(r=a.createElement("button",{type:"button",onClick:g,"aria-label":"Close",className:"".concat(l,"-close")},p||a.createElement("span",{className:"".concat(l,"-close-x")})));var B=a.createElement("div",{className:"".concat(l,"-content")},r,o,a.createElement("div",(0,h.Z)({className:"".concat(l,"-body"),style:v},y),b),n);return a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":s?d:null,"aria-modal":"true",ref:E,style:(0,S.Z)((0,S.Z)({},c),I),className:f()(l,i),onMouseDown:x,onMouseUp:$},a.createElement("div",{tabIndex:0,ref:N,style:T,"aria-hidden":"true"}),a.createElement(P,{shouldUpdate:O||w},C?C(B):B),a.createElement("div",{tabIndex:0,ref:Z,style:T,"aria-hidden":"true"}))}),z=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.title,r=e.style,l=e.className,i=e.visible,c=e.forceRender,s=e.destroyOnClose,d=e.motionName,u=e.ariaId,m=e.onVisibleChanged,p=e.mousePosition,g=(0,a.useRef)(),b=a.useState(),v=(0,$.Z)(b,2),y=v[0],C=v[1],x={};function E(){var e,t,n,o,r,l=(n={left:(t=(e=g.current).getBoundingClientRect()).left,top:t.top},r=(o=e.ownerDocument).defaultView||o.parentWindow,n.left+=Z(r),n.top+=Z(r,!0),n);C(p?"".concat(p.x-l.left,"px ").concat(p.y-l.top,"px"):"")}return y&&(x.transformOrigin=y),a.createElement(I.ZP,{visible:i,onVisibleChanged:m,onAppearPrepare:E,onEnterPrepare:E,forceRender:c,motionName:d,removeOnLeave:s,ref:g},function(i,c){var s=i.className,d=i.style;return a.createElement(B,(0,h.Z)({},e,{ref:t,title:o,ariaId:u,prefixCls:n,holderRef:c,style:(0,S.Z)((0,S.Z)((0,S.Z)({},d),r),x),className:f()(l,s)}))})});function H(e){var t=e.prefixCls,n=e.style,o=e.visible,r=e.maskProps,l=e.motionName;return a.createElement(I.ZP,{key:"mask",visible:o,motionName:l,leavedClassName:"".concat(t,"-mask-hidden")},function(e,o){var l=e.className,i=e.style;return a.createElement("div",(0,h.Z)({ref:o,style:(0,S.Z)((0,S.Z)({},i),n),className:f()("".concat(t,"-mask"),l)},r))})}function R(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,o=e.zIndex,r=e.visible,l=void 0!==r&&r,i=e.keyboard,c=void 0===i||i,s=e.focusTriggerAfterClose,d=void 0===s||s,u=e.wrapStyle,m=e.wrapClassName,p=e.wrapProps,g=e.onClose,b=e.afterOpenChange,v=e.afterClose,y=e.transitionName,C=e.animation,x=e.closable,E=e.mask,Z=void 0===E||E,I=e.maskTransitionName,P=e.maskAnimation,T=e.maskClosable,B=e.maskStyle,R=e.maskProps,F=e.rootClassName,M=(0,a.useRef)(),W=(0,a.useRef)(),A=(0,a.useRef)(),D=a.useState(l),L=(0,$.Z)(D,2),G=L[0],_=L[1],X=(0,w.Z)();function U(e){null==g||g(e)}var V=(0,a.useRef)(!1),Y=(0,a.useRef)(),K=null;return(void 0===T||T)&&(K=function(e){V.current?V.current=!1:W.current===e.target&&U(e)}),(0,a.useEffect)(function(){l&&(_(!0),(0,O.Z)(W.current,document.activeElement)||(M.current=document.activeElement))},[l]),(0,a.useEffect)(function(){return function(){clearTimeout(Y.current)}},[]),a.createElement("div",(0,h.Z)({className:f()("".concat(n,"-root"),F)},(0,j.Z)(e,{data:!0})),a.createElement(H,{prefixCls:n,visible:Z&&l,motionName:N(n,I,P),style:(0,S.Z)({zIndex:o},B),maskProps:R}),a.createElement("div",(0,h.Z)({tabIndex:-1,onKeyDown:function(e){if(c&&e.keyCode===k.Z.ESC){e.stopPropagation(),U(e);return}l&&e.keyCode===k.Z.TAB&&A.current.changeActive(!e.shiftKey)},className:f()("".concat(n,"-wrap"),m),ref:W,onClick:K,style:(0,S.Z)((0,S.Z)({zIndex:o},u),{},{display:G?null:"none"})},p),a.createElement(z,(0,h.Z)({},e,{onMouseDown:function(){clearTimeout(Y.current),V.current=!0},onMouseUp:function(){Y.current=setTimeout(function(){V.current=!1})},ref:A,closable:void 0===x||x,ariaId:X,prefixCls:n,visible:l&&G,onClose:U,onVisibleChanged:function(e){if(e)!function(){if(!(0,O.Z)(W.current,document.activeElement)){var e;null===(e=A.current)||void 0===e||e.focus()}}();else{if(_(!1),Z&&M.current&&d){try{M.current.focus({preventScroll:!0})}catch(e){}M.current=null}G&&(null==v||v())}null==b||b(e)},motionName:N(n,y,C)}))))}z.displayName="Content";var F=function(e){var t=e.visible,n=e.getContainer,o=e.forceRender,r=e.destroyOnClose,l=void 0!==r&&r,i=e.afterClose,c=a.useState(t),s=(0,$.Z)(c,2),d=s[0],u=s[1];return(a.useEffect(function(){t&&u(!0)},[t]),o||!l||d)?a.createElement(E.Z,{open:t||o||d,autoDestroy:!1,getContainer:n,autoLock:t||d},a.createElement(R,(0,h.Z)({},e,{destroyOnClose:l,afterClose:function(){null==i||i(),u(!1)}}))):null};F.displayName="Dialog";var M=n(35978),W=n(61911),A=n(79746),D=n(61191),L=n(12381),G=n(66255);function _(e,t){return a.createElement("span",{className:`${e}-close-x`},t||a.createElement(x.Z,{className:`${e}-close-icon`}))}let X=e=>{let{okText:t,okType:n="primary",cancelText:o,confirmLoading:r,onOk:l,onCancel:i,okButtonProps:c,cancelButtonProps:s}=e,[d]=(0,C.Z)("Modal",(0,G.A)());return a.createElement(a.Fragment,null,a.createElement(g.ZP,Object.assign({onClick:i},s),o||(null==d?void 0:d.cancelText)),a.createElement(g.ZP,Object.assign({},(0,b.n)(n),{loading:r,onClick:l},c),t||(null==d?void 0:d.okText)))};var U=n(98663),V=n(96390),Y=n(87270),K=n(40650),J=n(70721);function Q(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}let q=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Q("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Q("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:(0,V.J$)(e)}]},ee=e=>{let{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,U.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${2*e.margin}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},(0,U.Qy)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, - ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},et=e=>{let{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:Object.assign({},(0,U.dF)()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls}, - ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},en=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},eo=e=>{let{componentCls:t,antCls:n}=e,o=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[o]:{[`${n}-modal-body`]:{padding:`${2*e.padding}px ${2*e.padding}px ${e.paddingLG}px`},[`${o}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${o}-title + ${o}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${o}-btns`]:{marginTop:e.marginLG}}}};var er=(0,K.Z)("Modal",e=>{let t=e.padding,n=e.fontSizeHeading5,o=e.lineHeightHeading5,r=(0,J.TS)(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:o*n+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight});return[ee(r),et(r),en(r),q(r),e.wireframe&&eo(r),(0,Y._y)(r,"zoom")]},e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading})),el=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};(0,W.jD)()&&document.documentElement.addEventListener("click",e=>{o={x:e.pageX,y:e.pageY},setTimeout(()=>{o=null},100)},!0);var ea=e=>{var t;let{getPopupContainer:n,getPrefixCls:r,direction:l,modal:i}=a.useContext(A.E_),c=t=>{let{onCancel:n}=e;null==n||n(t)},{prefixCls:s,className:d,rootClassName:u,open:m,wrapClassName:p,centered:g,getContainer:b,closeIcon:v,closable:C,focusTriggerAfterClose:h=!0,style:$,visible:E,width:S=520,footer:O}=e,w=el(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),k=r("modal",s),j=r(),[N,Z]=er(k),I=f()(p,{[`${k}-centered`]:!!g,[`${k}-wrap-rtl`]:"rtl"===l}),P=void 0===O?a.createElement(X,Object.assign({},e,{onOk:t=>{let{onOk:n}=e;null==n||n(t)},onCancel:c})):O,[T,B]=(0,M.Z)(C,v,e=>_(k,e),a.createElement(x.Z,{className:`${k}-close-icon`}),!0);return N(a.createElement(L.BR,null,a.createElement(D.Ux,{status:!0,override:!0},a.createElement(F,Object.assign({width:S},w,{getContainer:void 0===b?n:b,prefixCls:k,rootClassName:f()(Z,u),wrapClassName:I,footer:P,visible:null!=m?m:E,mousePosition:null!==(t=w.mousePosition)&&void 0!==t?t:o,onClose:c,closable:T,closeIcon:B,focusTriggerAfterClose:h,transitionName:(0,y.m)(j,"zoom",e.transitionName),maskTransitionName:(0,y.m)(j,"fade",e.maskTransitionName),className:f()(Z,d,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),$)})))))};function ei(e){let{icon:t,onCancel:n,onOk:o,close:r,onConfirm:l,isSilent:i,okText:m,okButtonProps:f,cancelText:p,cancelButtonProps:g,confirmPrefixCls:b,rootPrefixCls:y,type:x,okCancel:h,footer:$,locale:E}=e,S=t;if(!t&&null!==t)switch(x){case"info":S=a.createElement(u.Z,null);break;case"success":S=a.createElement(c.Z,null);break;case"error":S=a.createElement(s.Z,null);break;default:S=a.createElement(d.Z,null)}let O=e.okType||"primary",w=null!=h?h:"confirm"===x,k=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[j]=(0,C.Z)("Modal"),N=E||j,Z=w&&a.createElement(v,{isSilent:i,actionFn:n,close:function(){null==r||r.apply(void 0,arguments),null==l||l(!1)},autoFocus:"cancel"===k,buttonProps:g,prefixCls:`${y}-btn`},p||(null==N?void 0:N.cancelText));return a.createElement("div",{className:`${b}-body-wrapper`},a.createElement("div",{className:`${b}-body`},S,void 0===e.title?null:a.createElement("span",{className:`${b}-title`},e.title),a.createElement("div",{className:`${b}-content`},e.content)),void 0===$?a.createElement("div",{className:`${b}-btns`},Z,a.createElement(v,{isSilent:i,type:O,actionFn:o,close:function(){null==r||r.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===k,buttonProps:f,prefixCls:`${y}-btn`},m||(w?null==N?void 0:N.okText:null==N?void 0:N.justOkText))):$)}var ec=e=>{let{close:t,zIndex:n,afterClose:o,visible:r,open:l,keyboard:c,centered:s,getContainer:d,maskStyle:u,direction:m,prefixCls:p,wrapClassName:g,rootPrefixCls:b,iconPrefixCls:v,theme:C,bodyStyle:x,closable:h=!1,closeIcon:$,modalRender:E,focusTriggerAfterClose:S}=e,O=`${p}-confirm`,w=e.width||416,k=e.style||{},j=void 0===e.mask||e.mask,N=void 0!==e.maskClosable&&e.maskClosable,Z=f()(O,`${O}-${e.type}`,{[`${O}-rtl`]:"rtl"===m},e.className);return a.createElement(i.ZP,{prefixCls:b,iconPrefixCls:v,direction:m,theme:C},a.createElement(ea,{prefixCls:p,className:Z,wrapClassName:f()({[`${O}-centered`]:!!e.centered},g),onCancel:()=>null==t?void 0:t({triggerCancel:!0}),open:l,title:"",footer:null,transitionName:(0,y.m)(b,"zoom",e.transitionName),maskTransitionName:(0,y.m)(b,"fade",e.maskTransitionName),mask:j,maskClosable:N,maskStyle:u,style:k,bodyStyle:x,width:w,zIndex:n,afterClose:o,keyboard:c,centered:s,getContainer:d,closable:h,closeIcon:$,modalRender:E,focusTriggerAfterClose:S},a.createElement(ei,Object.assign({},e,{confirmPrefixCls:O}))))},es=[],ed=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let eu="";function em(e){let t;let n=document.createDocumentFragment(),o=Object.assign(Object.assign({},e),{close:d,open:!0});function c(){for(var t=arguments.length,o=Array(t),a=0;ae&&e.triggerCancel);e.onCancel&&i&&e.onCancel.apply(e,[()=>{}].concat((0,r.Z)(o.slice(1))));for(let e=0;e{let e=(0,G.A)(),{getPrefixCls:t,getIconPrefixCls:u,getTheme:m}=(0,i.w6)(),f=t(void 0,eu),p=c||`${f}-modal`,g=u(),b=m(),v=s;!1===v&&(v=void 0),(0,l.s)(a.createElement(ec,Object.assign({},d,{getContainer:v,prefixCls:p,rootPrefixCls:f,iconPrefixCls:g,okText:o,locale:e,theme:b,cancelText:r||e.cancelText})),n)})}function d(){for(var t=arguments.length,n=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),c.apply(this,n)}})).visible&&delete o.visible,s(o)}return s(o),es.push(d),{destroy:d,update:function(e){s(o="function"==typeof e?e(o):Object.assign(Object.assign({},o),e))}}}function ef(e){return Object.assign(Object.assign({},e),{type:"warning"})}function ep(e){return Object.assign(Object.assign({},e),{type:"info"})}function eg(e){return Object.assign(Object.assign({},e),{type:"success"})}function eb(e){return Object.assign(Object.assign({},e),{type:"error"})}function ev(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var ey=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},eC=n(91295),ex=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},eh=a.forwardRef((e,t)=>{var n,{afterClose:o,config:l}=e,i=ex(e,["afterClose","config"]);let[c,s]=a.useState(!0),[d,u]=a.useState(l),{direction:m,getPrefixCls:f}=a.useContext(A.E_),p=f("modal"),g=f(),b=function(){s(!1);for(var e=arguments.length,t=Array(e),n=0;ne&&e.triggerCancel);d.onCancel&&o&&d.onCancel.apply(d,[()=>{}].concat((0,r.Z)(t.slice(1))))};a.useImperativeHandle(t,()=>({destroy:b,update:e=>{u(t=>Object.assign(Object.assign({},t),e))}}));let v=null!==(n=d.okCancel)&&void 0!==n?n:"confirm"===d.type,[y]=(0,C.Z)("Modal",eC.Z.Modal);return a.createElement(ec,Object.assign({prefixCls:p,rootPrefixCls:g},d,{close:b,open:c,afterClose:()=>{var e;o(),null===(e=d.afterClose)||void 0===e||e.call(d)},okText:d.okText||(v?null==y?void 0:y.okText:null==y?void 0:y.justOkText),direction:d.direction||m,cancelText:d.cancelText||(null==y?void 0:y.cancelText)},i))});let e$=0,eE=a.memo(a.forwardRef((e,t)=>{let[n,o]=function(){let[e,t]=a.useState([]),n=a.useCallback(e=>(t(t=>[].concat((0,r.Z)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[]);return[e,n]}();return a.useImperativeHandle(t,()=>({patchElement:o}),[]),a.createElement(a.Fragment,null,n)}));function eS(e){return em(ef(e))}ea.useModal=function(){let e=a.useRef(null),[t,n]=a.useState([]);a.useEffect(()=>{if(t.length){let e=(0,r.Z)(t);e.forEach(e=>{e()}),n([])}},[t]);let o=a.useCallback(t=>function(o){var l;let i,c;e$+=1;let s=a.createRef(),d=new Promise(e=>{i=e}),u=!1,m=a.createElement(eh,{key:`modal-${e$}`,config:t(o),ref:s,afterClose:()=>{null==c||c()},isSilent:()=>u,onConfirm:e=>{i(e)}});return(c=null===(l=e.current)||void 0===l?void 0:l.patchElement(m))&&es.push(c),{destroy:()=>{function e(){var e;null===(e=s.current)||void 0===e||e.destroy()}s.current?e():n(t=>[].concat((0,r.Z)(t),[e]))},update:e=>{function t(){var t;null===(t=s.current)||void 0===t||t.update(e)}s.current?t():n(e=>[].concat((0,r.Z)(e),[t]))},then:e=>(u=!0,d.then(e))}},[]),l=a.useMemo(()=>({info:o(ep),success:o(eg),error:o(eb),warning:o(ef),confirm:o(ev)}),[]);return[l,a.createElement(eE,{key:"modal-holder",ref:e})]},ea.info=function(e){return em(ep(e))},ea.success=function(e){return em(eg(e))},ea.error=function(e){return em(eb(e))},ea.warning=eS,ea.warn=eS,ea.confirm=function(e){return em(ev(e))},ea.destroyAll=function(){for(;es.length;){let e=es.pop();e&&e()}},ea.config=function(e){let{rootPrefixCls:t}=e;eu=t},ea._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,className:n,closeIcon:o,closable:r,type:l,title:i,children:c}=e,s=ey(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:d}=a.useContext(A.E_),u=d(),m=t||d("modal"),[,p]=er(m),g=`${m}-confirm`,b={};return b=l?{closable:null!=r&&r,title:"",footer:"",children:a.createElement(ei,Object.assign({},e,{confirmPrefixCls:g,rootPrefixCls:u,content:c}))}:{closable:null==r||r,title:i,footer:void 0===e.footer?a.createElement(X,Object.assign({},e)):e.footer,children:c},a.createElement(B,Object.assign({prefixCls:m,className:f()(p,`${m}-pure-panel`,l&&g,l&&`${g}-${l}`,n)},s,{closeIcon:_(m,o),closable:r},b))};var eO=ea}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/743-f1de3e59aea4b7c6.js b/pilot/server/static/_next/static/chunks/743-f1de3e59aea4b7c6.js deleted file mode 100644 index cb2061939..000000000 --- a/pilot/server/static/_next/static/chunks/743-f1de3e59aea4b7c6.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[743],{588:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(40431),r=t(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=t(1240),l=r.forwardRef(function(e,n){return r.createElement(a.Z,(0,o.Z)({},e,{ref:n,icon:i}))})},16997:function(e,n,t){t.d(n,{Z:function(){return c},c:function(){return i}});var o=t(86006),r=t(3184);let i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),l=e=>{let n=[].concat(i).reverse();return n.forEach((t,o)=>{let r=t.toUpperCase(),i=`screen${r}Min`,a=`screen${r}`;if(!(e[i]<=e[a]))throw Error(`${i}<=${a} fails : !(${e[i]}<=${e[a]})`);if(o{let e=new Map,t=-1,o={};return{matchHandlers:{},dispatch:n=>(o=n,e.forEach(e=>e(o)),e.size>=1),subscribe(n){return e.size||this.register(),t+=1,e.set(t,n),n(o),t},unsubscribe(n){e.delete(n),e.size||this.unregister()},unregister(){Object.keys(n).forEach(e=>{let t=n[e],o=this.matchHandlers[t];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),e.clear()},register(){Object.keys(n).forEach(e=>{let t=n[e],r=n=>{let{matches:t}=n;this.dispatch(Object.assign(Object.assign({},o),{[e]:t}))},i=window.matchMedia(t);i.addListener(r),this.matchHandlers[t]={mql:i,listener:r},r(i)})},responsiveMap:n}},[e])}},86401:function(e,n,t){t.d(n,{Z:function(){return ne}});var o,r,i=t(8683),a=t.n(i),l=t(40431),c=t(90151),u=t(65877),s=t(88684),d=t(60456),p=t(89301),f=t(965),m=t(63940),v=t(5004),g=t(86006),h=t(38358),b=t(98861),w=t(48580),S=t(92510),y=g.createContext(null);function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=g.useRef(null),t=g.useRef(null);return g.useEffect(function(){return function(){window.clearTimeout(t.current)}},[]),[function(){return n.current},function(o){(o||null===n.current)&&(n.current=o),window.clearTimeout(t.current),t.current=window.setTimeout(function(){n.current=null},e)}]}var x=t(42442),$=t(35960),C=function(e){var n,t=e.className,o=e.customizeIcon,r=e.customizeIconProps,i=e.onMouseDown,l=e.onClick,c=e.children;return n="function"==typeof o?o(r):o,g.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),i&&i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==n?n:g.createElement("span",{className:a()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},c))},Z=g.forwardRef(function(e,n){var t,o,r=e.prefixCls,i=e.id,l=e.inputElement,c=e.disabled,u=e.tabIndex,d=e.autoFocus,p=e.autoComplete,f=e.editable,m=e.activeDescendantId,h=e.value,b=e.maxLength,w=e.onKeyDown,y=e.onMouseDown,E=e.onChange,x=e.onPaste,$=e.onCompositionStart,C=e.onCompositionEnd,Z=e.open,I=e.attrs,O=l||g.createElement("input",null),M=O,R=M.ref,D=M.props,N=D.onKeyDown,P=D.onChange,T=D.onMouseDown,k=D.onCompositionStart,z=D.onCompositionEnd,H=D.style;return(0,v.Kp)(!("maxLength"in O.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),O=g.cloneElement(O,(0,s.Z)((0,s.Z)((0,s.Z)({type:"search"},D),{},{id:i,ref:(0,S.sQ)(n,R),disabled:c,tabIndex:u,autoComplete:p||"off",autoFocus:d,className:a()("".concat(r,"-selection-search-input"),null===(t=O)||void 0===t?void 0:null===(o=t.props)||void 0===o?void 0:o.className),role:"combobox","aria-label":"Search","aria-expanded":Z,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":Z?m:void 0},I),{},{value:f?h:"",maxLength:b,readOnly:!f,unselectable:f?null:"on",style:(0,s.Z)((0,s.Z)({},H),{},{opacity:f?null:0}),onKeyDown:function(e){w(e),N&&N(e)},onMouseDown:function(e){y(e),T&&T(e)},onChange:function(e){E(e),P&&P(e)},onCompositionStart:function(e){$(e),k&&k(e)},onCompositionEnd:function(e){C(e),z&&z(e)},onPaste:x}))});function I(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}Z.displayName="Input";var O="undefined"!=typeof window&&window.document&&window.document.documentElement;function M(e){return["string","number"].includes((0,f.Z)(e))}function R(e){var n=void 0;return e&&(M(e.title)?n=e.title.toString():M(e.label)&&(n=e.label.toString())),n}function D(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var N=function(e){e.preventDefault(),e.stopPropagation()},P=function(e){var n,t,o=e.id,r=e.prefixCls,i=e.values,l=e.open,c=e.searchValue,s=e.autoClearSearchValue,p=e.inputRef,f=e.placeholder,m=e.disabled,v=e.mode,h=e.showSearch,b=e.autoFocus,w=e.autoComplete,S=e.activeDescendantId,y=e.tabIndex,E=e.removeIcon,I=e.maxTagCount,M=e.maxTagTextLength,P=e.maxTagPlaceholder,T=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,k=e.tagRender,z=e.onToggleOpen,H=e.onRemove,j=e.onInputChange,L=e.onInputPaste,V=e.onInputKeyDown,W=e.onInputMouseDown,A=e.onInputCompositionStart,F=e.onInputCompositionEnd,_=g.useRef(null),K=(0,g.useState)(0),B=(0,d.Z)(K,2),U=B[0],X=B[1],G=(0,g.useState)(!1),Y=(0,d.Z)(G,2),Q=Y[0],q=Y[1],J="".concat(r,"-selection"),ee=l||"multiple"===v&&!1===s||"tags"===v?c:"",en="tags"===v||"multiple"===v&&!1===s||h&&(l||Q);function et(e,n,t,o,r){return g.createElement("span",{className:a()("".concat(J,"-item"),(0,u.Z)({},"".concat(J,"-item-disabled"),t)),title:R(e)},g.createElement("span",{className:"".concat(J,"-item-content")},n),o&&g.createElement(C,{className:"".concat(J,"-item-remove"),onMouseDown:N,onClick:r,customizeIcon:E},"\xd7"))}n=function(){X(_.current.scrollWidth)},t=[ee],O?g.useLayoutEffect(n,t):g.useEffect(n,t);var eo=g.createElement("div",{className:"".concat(J,"-search"),style:{width:U},onFocus:function(){q(!0)},onBlur:function(){q(!1)}},g.createElement(Z,{ref:p,open:l,prefixCls:r,id:o,inputElement:null,disabled:m,autoFocus:b,autoComplete:w,editable:en,activeDescendantId:S,value:ee,onKeyDown:V,onMouseDown:W,onChange:j,onPaste:L,onCompositionStart:A,onCompositionEnd:F,tabIndex:y,attrs:(0,x.Z)(e,!0)}),g.createElement("span",{ref:_,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),er=g.createElement($.Z,{prefixCls:"".concat(J,"-overflow"),data:i,renderItem:function(e){var n,t=e.disabled,o=e.label,r=e.value,i=!m&&!t,a=o;if("number"==typeof M&&("string"==typeof o||"number"==typeof o)){var c=String(a);c.length>M&&(a="".concat(c.slice(0,M),"..."))}var u=function(n){n&&n.stopPropagation(),H(e)};return"function"==typeof k?(n=a,g.createElement("span",{onMouseDown:function(e){N(e),z(!l)}},k({label:n,value:r,disabled:t,closable:i,onClose:u}))):et(e,a,t,i,u)},renderRest:function(e){var n="function"==typeof T?T(e):T;return et({title:n},n,!1)},suffix:eo,itemKey:D,maxCount:I});return g.createElement(g.Fragment,null,er,!i.length&&!ee&&g.createElement("span",{className:"".concat(J,"-placeholder")},f))},T=function(e){var n=e.inputElement,t=e.prefixCls,o=e.id,r=e.inputRef,i=e.disabled,a=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,u=e.mode,s=e.open,p=e.values,f=e.placeholder,m=e.tabIndex,v=e.showSearch,h=e.searchValue,b=e.activeValue,w=e.maxLength,S=e.onInputKeyDown,y=e.onInputMouseDown,E=e.onInputChange,$=e.onInputPaste,C=e.onInputCompositionStart,I=e.onInputCompositionEnd,O=e.title,M=g.useState(!1),D=(0,d.Z)(M,2),N=D[0],P=D[1],T="combobox"===u,k=T||v,z=p[0],H=h||"";T&&b&&!N&&(H=b),g.useEffect(function(){T&&P(!1)},[T,b]);var j=("combobox"===u||!!s||!!v)&&!!H,L=void 0===O?R(z):O;return g.createElement(g.Fragment,null,g.createElement("span",{className:"".concat(t,"-selection-search")},g.createElement(Z,{ref:r,prefixCls:t,id:o,open:s,inputElement:n,disabled:i,autoFocus:a,autoComplete:l,editable:k,activeDescendantId:c,value:H,onKeyDown:S,onMouseDown:y,onChange:function(e){P(!0),E(e)},onPaste:$,onCompositionStart:C,onCompositionEnd:I,tabIndex:m,attrs:(0,x.Z)(e,!0),maxLength:T?w:void 0})),!T&&z?g.createElement("span",{className:"".concat(t,"-selection-item"),title:L,style:j?{visibility:"hidden"}:void 0},z.label):null,z?null:g.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:j?{visibility:"hidden"}:void 0},f))},k=g.forwardRef(function(e,n){var t=(0,g.useRef)(null),o=(0,g.useRef)(!1),r=e.prefixCls,i=e.open,a=e.mode,c=e.showSearch,u=e.tokenWithEnter,s=e.autoClearSearchValue,p=e.onSearch,f=e.onSearchSubmit,m=e.onToggleOpen,v=e.onInputKeyDown,h=e.domRef;g.useImperativeHandle(n,function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}});var b=E(0),S=(0,d.Z)(b,2),y=S[0],x=S[1],$=(0,g.useRef)(null),C=function(e){!1!==p(e,!0,o.current)&&m(!0)},Z={inputRef:t,onInputKeyDown:function(e){var n=e.which;(n===w.Z.UP||n===w.Z.DOWN)&&e.preventDefault(),v&&v(e),n!==w.Z.ENTER||"tags"!==a||o.current||i||null==f||f(e.target.value),[w.Z.ESC,w.Z.SHIFT,w.Z.BACKSPACE,w.Z.TAB,w.Z.WIN_KEY,w.Z.ALT,w.Z.META,w.Z.WIN_KEY_RIGHT,w.Z.CTRL,w.Z.SEMICOLON,w.Z.EQUALS,w.Z.CAPS_LOCK,w.Z.CONTEXT_MENU,w.Z.F1,w.Z.F2,w.Z.F3,w.Z.F4,w.Z.F5,w.Z.F6,w.Z.F7,w.Z.F8,w.Z.F9,w.Z.F10,w.Z.F11,w.Z.F12].includes(n)||m(!0)},onInputMouseDown:function(){x(!0)},onInputChange:function(e){var n=e.target.value;if(u&&$.current&&/[\r\n]/.test($.current)){var t=$.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,$.current)}$.current=null,C(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");$.current=n},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==a&&C(e.target.value)}},I="multiple"===a||"tags"===a?g.createElement(P,(0,l.Z)({},e,Z)):g.createElement(T,(0,l.Z)({},e,Z));return g.createElement("div",{ref:h,className:"".concat(r,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){t.current.focus()}):t.current.focus())},onMouseDown:function(e){var n=y();e.target===t.current||n||"combobox"===a||e.preventDefault(),("combobox"===a||c&&n)&&i||(i&&!1!==s&&p("",!0,!1),m())}},I)});k.displayName="Selector";var z=t(90214),H=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],j=function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},L=g.forwardRef(function(e,n){var t=e.prefixCls,o=(e.disabled,e.visible),r=e.children,i=e.popupElement,c=e.containerWidth,d=e.animation,f=e.transitionName,m=e.dropdownStyle,v=e.dropdownClassName,h=e.direction,b=e.placement,w=e.builtinPlacements,S=e.dropdownMatchSelectWidth,y=e.dropdownRender,E=e.dropdownAlign,x=e.getPopupContainer,$=e.empty,C=e.getTriggerDOMNode,Z=e.onPopupVisibleChange,I=e.onPopupMouseEnter,O=(0,p.Z)(e,H),M="".concat(t,"-dropdown"),R=i;y&&(R=y(i));var D=g.useMemo(function(){return w||j(S)},[w,S]),N=d?"".concat(M,"-").concat(d):f,P=g.useRef(null);g.useImperativeHandle(n,function(){return{getPopupElement:function(){return P.current}}});var T=(0,s.Z)({minWidth:c},m);return"number"==typeof S?T.width=S:S&&(T.width=c),g.createElement(z.Z,(0,l.Z)({},O,{showAction:Z?["click"]:[],hideAction:Z?["click"]:[],popupPlacement:b||("rtl"===(void 0===h?"ltr":h)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:M,popupTransitionName:N,popup:g.createElement("div",{ref:P,onMouseEnter:I},R),popupAlign:E,popupVisible:o,getPopupContainer:x,popupClassName:a()(v,(0,u.Z)({},"".concat(M,"-empty"),$)),popupStyle:T,getTriggerDOMNode:C,onPopupVisibleChange:Z}),r)});L.displayName="SelectTrigger";var V=t(29221);function W(e,n){var t,o=e.key;return("value"in e&&(t=e.value),null!=o)?o:void 0!==t?t:"rc-index-key-".concat(n)}function A(e,n){var t=e||{},o=t.label,r=t.value,i=t.options,a=t.groupLabel,l=o||(n?"children":"label");return{label:l,value:r||"value",options:i||"options",groupLabel:a||l}}function F(e){var n=(0,s.Z)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,v.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}var _=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],K=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function B(e){return"tags"===e||"multiple"===e}var U=g.forwardRef(function(e,n){var t,o,r,i,v,x,$,Z,I=e.id,O=e.prefixCls,M=e.className,R=e.showSearch,D=e.tagRender,N=e.direction,P=e.omitDomProps,T=e.displayValues,z=e.onDisplayValuesChange,H=e.emptyOptions,j=e.notFoundContent,W=void 0===j?"Not Found":j,A=e.onClear,F=e.mode,U=e.disabled,X=e.loading,G=e.getInputElement,Y=e.getRawInputElement,Q=e.open,q=e.defaultOpen,J=e.onDropdownVisibleChange,ee=e.activeValue,en=e.onActiveValueChange,et=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ei=e.onSearch,ea=e.onSearchSplit,el=e.tokenSeparators,ec=e.allowClear,eu=e.suffixIcon,es=e.clearIcon,ed=e.OptionList,ep=e.animation,ef=e.transitionName,em=e.dropdownStyle,ev=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eh=e.dropdownRender,eb=e.dropdownAlign,ew=e.placement,eS=e.builtinPlacements,ey=e.getPopupContainer,eE=e.showAction,ex=void 0===eE?[]:eE,e$=e.onFocus,eC=e.onBlur,eZ=e.onKeyUp,eI=e.onKeyDown,eO=e.onMouseDown,eM=(0,p.Z)(e,_),eR=B(F),eD=(void 0!==R?R:eR)||"combobox"===F,eN=(0,s.Z)({},eM);K.forEach(function(e){delete eN[e]}),null==P||P.forEach(function(e){delete eN[e]});var eP=g.useState(!1),eT=(0,d.Z)(eP,2),ek=eT[0],ez=eT[1];g.useEffect(function(){ez((0,b.Z)())},[]);var eH=g.useRef(null),ej=g.useRef(null),eL=g.useRef(null),eV=g.useRef(null),eW=g.useRef(null),eA=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=g.useState(!1),t=(0,d.Z)(n,2),o=t[0],r=t[1],i=g.useRef(null),a=function(){window.clearTimeout(i.current)};return g.useEffect(function(){return a},[]),[o,function(n,t){a(),i.current=window.setTimeout(function(){r(n),t&&t()},e)},a]}(),eF=(0,d.Z)(eA,3),e_=eF[0],eK=eF[1],eB=eF[2];g.useImperativeHandle(n,function(){var e,n;return{focus:null===(e=eV.current)||void 0===e?void 0:e.focus,blur:null===(n=eV.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=eW.current)||void 0===n?void 0:n.scrollTo(e)}}});var eU=g.useMemo(function(){if("combobox"!==F)return eo;var e,n=null===(e=T[0])||void 0===e?void 0:e.value;return"string"==typeof n||"number"==typeof n?String(n):""},[eo,F,T]),eX="combobox"===F&&"function"==typeof G&&G()||null,eG="function"==typeof Y&&Y(),eY=(0,S.x1)(ej,null==eG?void 0:null===(i=eG.props)||void 0===i?void 0:i.ref),eQ=g.useState(!1),eq=(0,d.Z)(eQ,2),eJ=eq[0],e0=eq[1];(0,h.Z)(function(){e0(!0)},[]);var e1=(0,m.Z)(!1,{defaultValue:q,value:Q}),e2=(0,d.Z)(e1,2),e6=e2[0],e4=e2[1],e3=!!eJ&&e6,e5=!W&&H;(U||e5&&e3&&"combobox"===F)&&(e3=!1);var e8=!e5&&e3,e9=g.useCallback(function(e){var n=void 0!==e?e:!e3;U||(e4(n),e3!==n&&(null==J||J(n)))},[U,e3,e4,J]),e7=g.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),ne=function(e,n,t){var o=!0,r=e;null==en||en(null);var i=t?null:function(e,n){if(!n||!n.length)return null;var t=!1,o=function e(n,o){var r=(0,V.Z)(o),i=r[0],a=r.slice(1);if(!i)return[n];var l=n.split(i);return t=t||l.length>1,l.reduce(function(n,t){return[].concat((0,c.Z)(n),(0,c.Z)(e(t,a)))},[]).filter(function(e){return e})}(e,n);return t?o:null}(e,el);return"combobox"!==F&&i&&(r="",null==ea||ea(i),e9(!1),o=!1),ei&&eU!==r&&ei(r,{source:n?"typing":"effect"}),o};g.useEffect(function(){e3||eR||"combobox"===F||ne("",!1,!1)},[e3]),g.useEffect(function(){e6&&U&&e4(!1),U&&eK(!1)},[U]);var nn=E(),nt=(0,d.Z)(nn,2),no=nt[0],nr=nt[1],ni=g.useRef(!1),na=[];g.useEffect(function(){return function(){na.forEach(function(e){return clearTimeout(e)}),na.splice(0,na.length)}},[]);var nl=g.useState(null),nc=(0,d.Z)(nl,2),nu=nc[0],ns=nc[1],nd=g.useState({}),np=(0,d.Z)(nd,2)[1];(0,h.Z)(function(){if(e8){var e,n=Math.ceil(null===(e=eH.current)||void 0===e?void 0:e.getBoundingClientRect().width);nu===n||Number.isNaN(n)||ns(n)}},[e8]),eG&&(x=function(e){e9(e)}),t=function(){var e;return[eH.current,null===(e=eL.current)||void 0===e?void 0:e.getPopupElement()]},o=!!eG,(r=g.useRef(null)).current={open:e8,triggerOpen:e9,customizedTrigger:o},g.useEffect(function(){function e(e){if(null===(n=r.current)||void 0===n||!n.customizedTrigger){var n,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),r.current.open&&t().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&r.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var nf=g.useMemo(function(){return(0,s.Z)((0,s.Z)({},e),{},{notFoundContent:W,open:e3,triggerOpen:e8,id:I,showSearch:eD,multiple:eR,toggleOpen:e9})},[e,W,e8,e3,I,eD,eR,e9]),nm=!!eu||X;nm&&($=g.createElement(C,{className:a()("".concat(O,"-arrow"),(0,u.Z)({},"".concat(O,"-arrow-loading"),X)),customizeIcon:eu,customizeIconProps:{loading:X,searchValue:eU,open:e3,focused:e_,showSearch:eD}}));var nv=function(e,n,t,o,r){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=g.useMemo(function(){return"object"===(0,f.Z)(o)?o.clearIcon:r||void 0},[o,r]);return{allowClear:g.useMemo(function(){return!i&&!!o&&(!!t.length||!!a)&&!("combobox"===l&&""===a)},[o,i,t.length,a,l]),clearIcon:g.createElement(C,{className:"".concat(e,"-clear"),onMouseDown:n,customizeIcon:c},"\xd7")}}(O,function(){var e;null==A||A(),null===(e=eV.current)||void 0===e||e.focus(),z([],{type:"clear",values:T}),ne("",!1,!1)},T,ec,es,U,eU,F),ng=nv.allowClear,nh=nv.clearIcon,nb=g.createElement(ed,{ref:eW}),nw=a()(O,M,(v={},(0,u.Z)(v,"".concat(O,"-focused"),e_),(0,u.Z)(v,"".concat(O,"-multiple"),eR),(0,u.Z)(v,"".concat(O,"-single"),!eR),(0,u.Z)(v,"".concat(O,"-allow-clear"),ec),(0,u.Z)(v,"".concat(O,"-show-arrow"),nm),(0,u.Z)(v,"".concat(O,"-disabled"),U),(0,u.Z)(v,"".concat(O,"-loading"),X),(0,u.Z)(v,"".concat(O,"-open"),e3),(0,u.Z)(v,"".concat(O,"-customize-input"),eX),(0,u.Z)(v,"".concat(O,"-show-search"),eD),v)),nS=g.createElement(L,{ref:eL,disabled:U,prefixCls:O,visible:e8,popupElement:nb,containerWidth:nu,animation:ep,transitionName:ef,dropdownStyle:em,dropdownClassName:ev,direction:N,dropdownMatchSelectWidth:eg,dropdownRender:eh,dropdownAlign:eb,placement:ew,builtinPlacements:eS,getPopupContainer:ey,empty:H,getTriggerDOMNode:function(){return ej.current},onPopupVisibleChange:x,onPopupMouseEnter:function(){np({})}},eG?g.cloneElement(eG,{ref:eY}):g.createElement(k,(0,l.Z)({},e,{domRef:ej,prefixCls:O,inputElement:eX,ref:eV,id:I,showSearch:eD,autoClearSearchValue:er,mode:F,activeDescendantId:et,tagRender:D,values:T,open:e3,onToggleOpen:e9,activeValue:ee,searchValue:eU,onSearch:ne,onSearchSubmit:function(e){e&&e.trim()&&ei(e,{source:"submit"})},onRemove:function(e){z(T.filter(function(n){return n!==e}),{type:"remove",values:[e]})},tokenWithEnter:e7})));return Z=eG?nS:g.createElement("div",(0,l.Z)({className:nw},eN,{ref:eH,onMouseDown:function(e){var n,t=e.target,o=null===(n=eL.current)||void 0===n?void 0:n.getPopupElement();if(o&&o.contains(t)){var r=setTimeout(function(){var e,n=na.indexOf(r);-1!==n&&na.splice(n,1),eB(),ek||o.contains(document.activeElement)||null===(e=eV.current)||void 0===e||e.focus()});na.push(r)}for(var i=arguments.length,a=Array(i>1?i-1:0),l=1;l=0;a-=1){var l=r[a];if(!l.disabled){r.splice(a,1),i=l;break}}i&&z(r,{type:"remove",values:[i]})}for(var u=arguments.length,s=Array(u>1?u-1:0),d=1;d1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,t=z.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];_(e);var t={source:n?"keyboard":"mouse"},o=z[e];if(!o){$(null,-1,t);return}$(o.value,e,t)};(0,g.useEffect)(function(){K(!1!==Z?V(0):-1)},[z.length,m]);var B=g.useCallback(function(e){return M.has(e)&&"combobox"!==f},[f,(0,c.Z)(M).toString(),M.size]);(0,g.useEffect)(function(){var e,n=setTimeout(function(){if(!s&&i&&1===M.size){var e=Array.from(M)[0],n=z.findIndex(function(n){return n.data.value===e});-1!==n&&(K(n),L(n))}});return i&&(null===(e=H.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(n)}},[i,m,E.length]);var U=function(e){void 0!==e&&I(e,{selected:!M.has(e)}),s||v(!1)};if(g.useImperativeHandle(n,function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case w.Z.N:case w.Z.P:case w.Z.UP:case w.Z.DOWN:var o=0;if(n===w.Z.UP?o=-1:n===w.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===w.Z.N?o=1:n===w.Z.P&&(o=-1)),0!==o){var r=V(F+o,o);L(r),K(r,!0)}break;case w.Z.ENTER:var a=z[F];a&&!a.data.disabled?U(a.value):U(void 0),i&&e.preventDefault();break;case w.Z.ESC:v(!1),i&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){L(e)}}}),0===z.length)return g.createElement("div",{role:"listbox",id:"".concat(r,"_list"),className:"".concat(k,"-empty"),onMouseDown:j},h);var X=Object.keys(R).map(function(e){return R[e]}),G=function(e){return e.label};function Y(e,n){return{role:e.group?"presentation":"option",id:"".concat(r,"_list_").concat(n)}}var Q=function(e){var n=z[e];if(!n)return null;var t=n.data||{},o=t.value,r=n.group,i=(0,x.Z)(t,!0),a=G(n);return n?g.createElement("div",(0,l.Z)({"aria-label":"string"!=typeof a||r?null:a},i,{key:e},Y(n,e),{"aria-selected":B(o)}),o):null},q={role:"listbox",id:"".concat(r,"_list")};return g.createElement(g.Fragment,null,D&&g.createElement("div",(0,l.Z)({},q,{style:{height:0,width:0,overflow:"hidden"}}),Q(F-1),Q(F),Q(F+1)),g.createElement(el.Z,{itemKey:"key",ref:H,data:z,height:P,itemHeight:T,fullHeight:!1,onMouseDown:j,onScroll:b,virtual:D,direction:N,innerProps:D?null:q},function(e,n){var t=e.group,o=e.groupOption,r=e.data,i=e.label,c=e.value,s=r.key;if(t){var d,f,m=null!==(f=r.title)&&void 0!==f?f:es(i)?i.toString():void 0;return g.createElement("div",{className:a()(k,"".concat(k,"-group")),title:m},void 0!==i?i:s)}var v=r.disabled,h=r.title,b=(r.children,r.style),w=r.className,S=(0,p.Z)(r,eu),y=(0,ea.Z)(S,X),E=B(c),$="".concat(k,"-option"),Z=a()(k,$,w,(d={},(0,u.Z)(d,"".concat($,"-grouped"),o),(0,u.Z)(d,"".concat($,"-active"),F===n&&!v),(0,u.Z)(d,"".concat($,"-disabled"),v),(0,u.Z)(d,"".concat($,"-selected"),E),d)),I=G(e),M=!O||"function"==typeof O||E,R="number"==typeof I?I:I||c,N=es(R)?R.toString():void 0;return void 0!==h&&(N=h),g.createElement("div",(0,l.Z)({},(0,x.Z)(y),D?{}:Y(e,n),{"aria-selected":E,className:Z,title:N,onMouseMove:function(){F===n||v||K(n)},onClick:function(){v||U(c)},style:b}),g.createElement("div",{className:"".concat($,"-content")},R),g.isValidElement(O)||E,M&&g.createElement(C,{className:"".concat(k,"-option-state"),customizeIcon:O,customizeIconProps:{isSelected:E}},E?"✓":null))}))});ed.displayName="OptionList";var ep=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ef=["inputValue"],em=g.forwardRef(function(e,n){var t,o,r,i,a,v=e.id,h=e.mode,b=e.prefixCls,w=e.backfill,S=e.fieldNames,y=e.inputValue,E=e.searchValue,x=e.onSearch,$=e.autoClearSearchValue,C=void 0===$||$,Z=e.onSelect,O=e.onDeselect,M=e.dropdownMatchSelectWidth,R=void 0===M||M,D=e.filterOption,N=e.filterSort,P=e.optionFilterProp,T=e.optionLabelProp,k=e.options,z=e.children,H=e.defaultActiveFirstOption,j=e.menuItemSelectedIcon,L=e.virtual,V=e.direction,_=e.listHeight,K=void 0===_?200:_,Y=e.listItemHeight,eo=void 0===Y?20:Y,er=e.value,ei=e.defaultValue,ea=e.labelInValue,el=e.onChange,eu=(0,p.Z)(e,ep),es=(t=g.useState(),r=(o=(0,d.Z)(t,2))[0],i=o[1],g.useEffect(function(){var e;i("rc_select_".concat((q?(e=Q,Q+=1):e="TEST_OR_SSR",e)))},[]),v||r),em=B(h),ev=!!(!k&&z),eg=g.useMemo(function(){return(void 0!==D||"combobox"!==h)&&D},[D,h]),eh=g.useMemo(function(){return A(S,ev)},[JSON.stringify(S),ev]),eb=(0,m.Z)("",{value:void 0!==E?E:y,postState:function(e){return e||""}}),ew=(0,d.Z)(eb,2),eS=ew[0],ey=ew[1],eE=g.useMemo(function(){var e=k;k||(e=function e(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,J.Z)(n).map(function(n,o){if(!g.isValidElement(n)||!n.type)return null;var r,i,a,l,c,u=n.type.isSelectOptGroup,d=n.key,f=n.props,m=f.children,v=(0,p.Z)(f,en);return t||!u?(r=n.key,a=(i=n.props).children,l=i.value,c=(0,p.Z)(i,ee),(0,s.Z)({key:r,value:void 0!==l?l:r,children:a},c)):(0,s.Z)((0,s.Z)({key:"__RC_SELECT_GRP__".concat(null===d?o:d,"__"),label:d},v),{},{options:e(m)})}).filter(function(e){return e})}(z));var n=new Map,t=new Map,o=function(e,n,t){t&&"string"==typeof t&&e.set(n[t],n)};return function e(r){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=0;a1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,o=n.childrenAsData,r=[],i=A(t,!1),a=i.label,l=i.value,c=i.options,u=i.groupLabel;return!function e(n,t){n.forEach(function(n){if(!t&&c in n){var i=n[u];void 0===i&&o&&(i=n.label),r.push({key:W(n,r.length),group:!0,data:n,label:i}),e(n[c],!0)}else{var s=n[l];r.push({key:W(n,r.length),groupOption:t,data:n,label:n[a],value:s})}})}(e,!1),r}(eV,{fieldNames:eh,childrenAsData:ev})},[eV,eh,ev]),eA=function(e){var n=eZ(e);if(eR(n),el&&(n.length!==eP.length||n.some(function(e,n){var t;return(null===(t=eP[n])||void 0===t?void 0:t.value)!==(null==e?void 0:e.value)}))){var t=ea?n:n.map(function(e){return e.value}),o=n.map(function(e){return F(eT(e.value))});el(em?t:t[0],em?o:o[0])}},eF=g.useState(null),e_=(0,d.Z)(eF,2),eK=e_[0],eB=e_[1],eU=g.useState(0),eX=(0,d.Z)(eU,2),eG=eX[0],eY=eX[1],eQ=void 0!==H?H:"combobox"!==h,eq=g.useCallback(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.source;eY(n),w&&"combobox"===h&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eB(String(e))},[w,h]),eJ=function(e,n,t){var o=function(){var n,t=eT(e);return[ea?{label:null==t?void 0:t[eh.label],value:e,key:null!==(n=null==t?void 0:t.key)&&void 0!==n?n:e}:e,F(t)]};if(n&&Z){var r=o(),i=(0,d.Z)(r,2);Z(i[0],i[1])}else if(!n&&O&&"clear"!==t){var a=o(),l=(0,d.Z)(a,2);O(l[0],l[1])}},e0=et(function(e,n){var t=!em||n.selected;eA(t?em?[].concat((0,c.Z)(eP),[e]):[e]:eP.filter(function(n){return n.value!==e})),eJ(e,t),"combobox"===h?eB(""):(!B||C)&&(ey(""),eB(""))}),e1=g.useMemo(function(){var e=!1!==L&&!1!==R;return(0,s.Z)((0,s.Z)({},eE),{},{flattenOptions:eW,onActiveValue:eq,defaultActiveFirstOption:eQ,onSelect:e0,menuItemSelectedIcon:j,rawValues:ez,fieldNames:eh,virtual:e,direction:V,listHeight:K,listItemHeight:eo,childrenAsData:ev})},[eE,eW,eq,eQ,e0,j,ez,eh,L,R,K,eo,ev]);return g.createElement(ec.Provider,{value:e1},g.createElement(U,(0,l.Z)({},eu,{id:es,prefixCls:void 0===b?"rc-select":b,ref:n,omitDomProps:ef,mode:h,displayValues:ek,onDisplayValuesChange:function(e,n){eA(e);var t=n.type,o=n.values;("remove"===t||"clear"===t)&&o.forEach(function(e){eJ(e.value,!1,t)})},direction:V,searchValue:eS,onSearch:function(e,n){if(ey(e),eB(null),"submit"===n.source){var t=(e||"").trim();t&&(eA(Array.from(new Set([].concat((0,c.Z)(ez),[t])))),eJ(t,!0),ey(""));return}"blur"!==n.source&&("combobox"===h&&eA(e),null==x||x(e))},autoClearSearchValue:C,onSearchSplit:function(e){var n=e;"tags"!==h&&(n=e.map(function(e){var n=e$.get(e);return null==n?void 0:n.value}).filter(function(e){return void 0!==e}));var t=Array.from(new Set([].concat((0,c.Z)(ez),(0,c.Z)(n))));eA(t),t.forEach(function(e){eJ(e,!0)})},dropdownMatchSelectWidth:R,OptionList:ed,emptyOptions:!eW.length,activeValue:eK,activeDescendantId:"".concat(es,"_list_").concat(eG)})))});em.Option=er,em.OptGroup=eo;var ev=t(79746),eg=t(46134),eh=t(80716),eb=t(24338),ew=t(20538),eS=t(76447),ey=e=>{let{componentName:n}=e,{getPrefixCls:t}=(0,g.useContext)(ev.E_),o=t("empty");switch(n){case"Table":case"List":return g.createElement(eS.Z,{image:eS.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return g.createElement(eS.Z,{image:eS.Z.PRESENTED_IMAGE_SIMPLE,className:`${o}-small`});default:return g.createElement(eS.Z,null)}},eE=t(30069),ex=t(61191),e$=t(12381),eC=t(98663),eZ=t(75872),eI=t(70721),eO=t(40650),eM=t(53279),eR=t(84596),eD=t(29138);let eN=new eR.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eP=new eR.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),eT=new eR.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ek=new eR.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ez=new eR.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eH=new eR.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ej=new eR.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eL=new eR.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),eV={"move-up":{inKeyframes:ej,outKeyframes:eL},"move-down":{inKeyframes:eN,outKeyframes:eP},"move-left":{inKeyframes:eT,outKeyframes:ek},"move-right":{inKeyframes:ez,outKeyframes:eH}},eW=(e,n)=>{let{antCls:t}=e,o=`${t}-${n}`,{inKeyframes:r,outKeyframes:i}=eV[n];return[(0,eD.R)(o,r,i,e.motionDurationMid),{[` - ${o}-enter, - ${o}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},eA=e=>{let{controlPaddingHorizontal:n,controlHeight:t,fontSize:o,lineHeight:r}=e;return{position:"relative",display:"block",minHeight:t,padding:`${(t-o*r)/2}px ${n}px`,color:e.colorText,fontWeight:"normal",fontSize:o,lineHeight:r,boxSizing:"border-box"}};var eF=e=>{let{antCls:n,componentCls:t}=e,o=`${t}-item`,r=`&${n}-slide-up-enter${n}-slide-up-enter-active`,i=`&${n}-slide-up-appear${n}-slide-up-appear-active`,a=`&${n}-slide-up-leave${n}-slide-up-leave-active`,l=`${t}-dropdown-placement-`;return[{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,eC.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - ${r}${l}bottomLeft, - ${i}${l}bottomLeft - `]:{animationName:eM.fJ},[` - ${r}${l}topLeft, - ${i}${l}topLeft, - ${r}${l}topRight, - ${i}${l}topRight - `]:{animationName:eM.Qt},[`${a}${l}bottomLeft`]:{animationName:eM.Uw},[` - ${a}${l}topLeft, - ${a}${l}topRight - `]:{animationName:eM.ly},"&-hidden":{display:"none"},[`${o}`]:Object.assign(Object.assign({},eA(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},eC.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${o}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},(0,eM.oN)(e,"slide-up"),(0,eM.oN)(e,"slide-down"),eW(e,"move-up"),eW(e,"move-down")]};let e_=e=>{let{controlHeightSM:n,controlHeight:t,lineWidth:o}=e,r=(t-n)/2-o;return[r,Math.ceil(r/2)]};function eK(e,n){let{componentCls:t,iconCls:o}=e,r=`${t}-selection-overflow`,i=e.controlHeightSM,[a]=e_(e),l=n?`${t}-${n}`:"";return{[`${t}-multiple${l}`]:{fontSize:e.fontSize,[r]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${t}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${a-2}px 4px`,borderRadius:e.borderRadius,[`${t}-show-search&`]:{cursor:"text"},[`${t}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[` - &${t}-show-arrow ${t}-selector, - &${t}-allow-clear ${t}-selector - `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${t}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:`${i-2*e.lineWidth}px`,background:e.colorFillSecondary,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${t}-disabled&`]:{color:e.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,eC.Ro)()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${r}-item + ${r}-item`]:{[`${t}-selection-search`]:{marginInlineStart:0}},[`${t}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,[` - &-input, - &-mirror - `]:{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${t}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}var eB=e=>{let{componentCls:n}=e,t=(0,eI.TS)(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,eI.TS)(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,r]=e_(e);return[eK(e),eK(t,"sm"),{[`${n}-multiple${n}-sm`]:{[`${n}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${n}-selection-search`]:{marginInlineStart:r}}},eK(o,"lg")]};function eU(e,n){let{componentCls:t,inputPaddingHorizontalBase:o,borderRadius:r}=e,i=e.controlHeight-2*e.lineWidth,a=Math.ceil(1.25*e.fontSize),l=n?`${t}-${n}`:"";return{[`${t}-single${l}`]:{fontSize:e.fontSize,[`${t}-selector`]:Object.assign(Object.assign({},(0,eC.Wf)(e)),{display:"flex",borderRadius:r,[`${t}-selection-search`]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%"}},[` - ${t}-selection-item, - ${t}-selection-placeholder - `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${t}-selection-item`]:{position:"relative",userSelect:"none"},[`${t}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[`&:after,${t}-selection-item:after,${t}-selection-placeholder:after`]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:a},[`&${t}-open ${t}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${o}px`,[`${t}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${t}-customize-input`]:{[`${t}-selector`]:{"&:after":{display:"none"},[`${t}-selection-search`]:{position:"static",width:"100%"},[`${t}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${o}px`,"&:after":{display:"none"}}}}}}}let eX=e=>{let{componentCls:n}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${n}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${n}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${n}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},eG=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{componentCls:o,borderHoverColor:r,outlineColor:i,antCls:a}=n,l=t?{[`${o}-selector`]:{borderColor:r}}:{};return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${a}-pagination-size-changer)`]:Object.assign(Object.assign({},l),{[`${o}-focused& ${o}-selector`]:{borderColor:r,boxShadow:`0 0 0 ${n.controlOutlineWidth}px ${i}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:r}})}}},eY=e=>{let{componentCls:n}=e;return{[`${n}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},eQ=e=>{let{componentCls:n,inputPaddingHorizontalBase:t,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},(0,eC.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},eX(e)),eY(e)),[`${n}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},eC.vS),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},eC.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,eC.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:t+e.fontSize+e.paddingXS}}}},eq=e=>{let{componentCls:n}=e;return[{[n]:{[`&-borderless ${n}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${n}-in-form-item`]:{width:"100%"}}},eQ(e),function(e){let{componentCls:n}=e,t=e.controlPaddingHorizontalSM-e.lineWidth;return[eU(e),eU((0,eI.TS)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${n}-single${n}-sm`]:{[`&:not(${n}-customize-input)`]:{[`${n}-selection-search`]:{insetInlineStart:t,insetInlineEnd:t},[`${n}-selector`]:{padding:`0 ${t}px`},[`&${n}-show-arrow ${n}-selection-search`]:{insetInlineEnd:t+1.5*e.fontSize},[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:1.5*e.fontSize}}}},eU((0,eI.TS)(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),eB(e),eF(e),{[`${n}-rtl`]:{direction:"rtl"}},eG(n,(0,eI.TS)(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),eG(`${n}-status-error`,(0,eI.TS)(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),eG(`${n}-status-warning`,(0,eI.TS)(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),(0,eZ.c)(e,{borderElCls:`${n}-selector`,focusElCls:`${n}-focused`})]};var eJ=(0,eO.Z)("Select",(e,n)=>{let{rootPrefixCls:t}=n,o=(0,eI.TS)(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.paddingSM-1});return[eq(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let e0=e=>{let n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};var e1=t(95131),e2=t(56222),e6=t(31533),e4=t(588),e3=t(75710),e5=t(63362),e8=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rn.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);return t};let e9="SECRET_COMBOBOX_MODE_DO_NOT_USE",e7=g.forwardRef((e,n)=>{let t;var o,r,i,{prefixCls:l,bordered:c=!0,className:u,rootClassName:s,getPopupContainer:d,popupClassName:p,dropdownClassName:f,listHeight:m=256,placement:v,listItemHeight:h=24,size:b,disabled:w,notFoundContent:S,status:y,builtinPlacements:E,dropdownMatchSelectWidth:x,popupMatchSelectWidth:$,direction:C,style:Z,allowClear:I}=e,O=e8(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);let{getPopupContainer:M,getPrefixCls:R,renderEmpty:D,direction:N,virtual:P,popupMatchSelectWidth:T,popupOverflow:k,select:z}=g.useContext(ev.E_),H=R("select",l),j=R(),L=null!=C?C:N,{compactSize:V,compactItemClassnames:W}=(0,e$.ri)(H,L),[A,F]=eJ(H),_=g.useMemo(()=>{let{mode:e}=O;return"combobox"===e?void 0:e===e9?"combobox":e},[O.mode]),K=(o=O.suffixIcon,void 0!==(r=O.showArrow)?r:null!==o),B=null!==(i=null!=$?$:x)&&void 0!==i?i:T,{status:U,hasFeedback:X,isFormItemInput:G,feedbackIcon:Y}=g.useContext(ex.aM),Q=(0,eb.F)(U,y);t=void 0!==S?S:"combobox"===_?null:(null==D?void 0:D("Select"))||g.createElement(ey,{componentName:"Select"});let{suffixIcon:q,itemIcon:J,removeIcon:ee,clearIcon:en}=function(e){let{suffixIcon:n,clearIcon:t,menuItemSelectedIcon:o,removeIcon:r,loading:i,multiple:a,hasFeedback:l,prefixCls:c,showSuffixIcon:u,feedbackIcon:s,showArrow:d,componentName:p}=e,f=null!=t?t:g.createElement(e2.Z,null),m=e=>null!==n||l||d?g.createElement(g.Fragment,null,!1!==u&&e,l&&s):null,v=null;if(void 0!==n)v=m(n);else if(i)v=m(g.createElement(e3.Z,{spin:!0}));else{let e=`${c}-suffix`;v=n=>{let{open:t,showSearch:o}=n;return t&&o?m(g.createElement(e5.Z,{className:e})):m(g.createElement(e4.Z,{className:e}))}}let h=null;return h=void 0!==o?o:a?g.createElement(e1.Z,null):null,{clearIcon:f,suffixIcon:v,itemIcon:h,removeIcon:void 0!==r?r:g.createElement(e6.Z,null)}}(Object.assign(Object.assign({},O),{multiple:"multiple"===_||"tags"===_,hasFeedback:X,feedbackIcon:Y,showSuffixIcon:K,prefixCls:H,showArrow:O.showArrow,componentName:"Select"})),et=(0,ea.Z)(O,["suffixIcon","itemIcon"]),eo=a()(p||f,{[`${H}-dropdown-${L}`]:"rtl"===L},s,F),er=(0,eE.Z)(e=>{var n;return null!==(n=null!=b?b:V)&&void 0!==n?n:e}),ei=g.useContext(ew.Z),el=a()({[`${H}-lg`]:"large"===er,[`${H}-sm`]:"small"===er,[`${H}-rtl`]:"rtl"===L,[`${H}-borderless`]:!c,[`${H}-in-form-item`]:G},(0,eb.Z)(H,Q,X),W,null==z?void 0:z.className,u,s,F),ec=g.useMemo(()=>void 0!==v?v:"rtl"===L?"bottomRight":"bottomLeft",[v,L]),eu=E||e0(k);return A(g.createElement(em,Object.assign({ref:n,virtual:P,showSearch:null==z?void 0:z.showSearch},et,{style:Object.assign(Object.assign({},null==z?void 0:z.style),Z),dropdownMatchSelectWidth:B,builtinPlacements:eu,transitionName:(0,eh.m)(j,"slide-up",O.transitionName),listHeight:m,listItemHeight:h,mode:_,prefixCls:H,placement:ec,direction:L,suffixIcon:q,menuItemSelectedIcon:J,removeIcon:ee,allowClear:!0===I?{clearIcon:en}:I,notFoundContent:t,className:el,getPopupContainer:d||M,dropdownClassName:eo,disabled:null!=w?w:ei})))});e7.SECRET_COMBOBOX_MODE_DO_NOT_USE=e9,e7.Option=er,e7.OptGroup=eo,e7._InternalPanelDoNotUseOrYouWillBeFired=function(e){let{prefixCls:n,style:t}=e,i=g.useRef(null),[a,l]=g.useState(0),[c,u]=g.useState(0),[s,d]=(0,m.Z)(!1,{value:e.open}),{getPrefixCls:p}=g.useContext(ev.E_),f=p("select",n);g.useEffect(()=>{if(d(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let n=e[0].target;l(n.offsetHeight+8),u(n.offsetWidth)}),n=setInterval(()=>{var t;let r=o?`.${o(f)}`:`.${f}-dropdown`,a=null===(t=i.current)||void 0===t?void 0:t.querySelector(r);a&&(clearInterval(n),e.observe(a))},10);return()=>{clearInterval(n),e.disconnect()}}},[]);let v=Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},t),{margin:0}),open:s,visible:s,getPopupContainer:()=>i.current});return r&&(v=r(v)),g.createElement(eg.ZP,{theme:{token:{motion:!1}}},g.createElement("div",{ref:i,style:{paddingBottom:a,position:"relative",minWidth:c}},g.createElement(e7,Object.assign({},v))))};var ne=e7}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/749-f876c99e30a851b8.js b/pilot/server/static/_next/static/chunks/749-f876c99e30a851b8.js new file mode 100644 index 000000000..f3be9572d --- /dev/null +++ b/pilot/server/static/_next/static/chunks/749-f876c99e30a851b8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[749],{53707:function(i,a,e){var r=e(64836);a.Z=void 0;var o=r(e(64938)),n=e(85893),t=(0,o.default)((0,n.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");a.Z=t},7078:function(i,a,e){var r=e(64836);a.Z=void 0;var o=r(e(64938)),n=e(85893),t=(0,o.default)((0,n.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"}),"Chat");a.Z=t},32141:function(i,a,e){var r=e(64836);a.Z=void 0;var o=r(e(64938)),n=e(85893),t=(0,o.default)((0,n.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");a.Z=t},4387:function(i,a,e){var r=e(64836);a.Z=void 0;var o=r(e(64938)),n=e(85893),t=(0,o.default)((0,n.jsx)("path",{d:"M7 9H2V7h5v2zm0 3H2v2h5v-2zm13.59 7-3.83-3.83c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59 20.59 19zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3 1.35 3 3 3 3-1.35 3-3zM2 19h10v-2H2v2z"}),"ManageSearch");a.Z=t},21400:function(i,a,e){var r=e(64836);a.Z=void 0;var o=r(e(64938)),n=e(85893),t=(0,o.default)((0,n.jsx)("path",{d:"m14.17 13.71 1.4-2.42c.09-.15.05-.34-.08-.45l-1.48-1.16c.03-.22.05-.45.05-.68s-.02-.46-.05-.69l1.48-1.16c.13-.11.17-.3.08-.45l-1.4-2.42c-.09-.15-.27-.21-.43-.15l-1.74.7c-.36-.28-.75-.51-1.18-.69l-.26-1.85c-.03-.16-.18-.29-.35-.29h-2.8c-.17 0-.32.13-.35.3L6.8 4.15c-.42.18-.82.41-1.18.69l-1.74-.7c-.16-.06-.34 0-.43.15l-1.4 2.42c-.09.15-.05.34.08.45l1.48 1.16c-.03.22-.05.45-.05.68s.02.46.05.69l-1.48 1.16c-.13.11-.17.3-.08.45l1.4 2.42c.09.15.27.21.43.15l1.74-.7c.36.28.75.51 1.18.69l.26 1.85c.03.16.18.29.35.29h2.8c.17 0 .32-.13.35-.3l.26-1.85c.42-.18.82-.41 1.18-.69l1.74.7c.16.06.34 0 .43-.15zM8.81 11c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm13.11 7.67-.96-.74c.02-.14.04-.29.04-.44 0-.15-.01-.3-.04-.44l.95-.74c.08-.07.11-.19.05-.29l-.9-1.55c-.05-.1-.17-.13-.28-.1l-1.11.45c-.23-.18-.48-.33-.76-.44l-.17-1.18c-.01-.12-.11-.2-.21-.2h-1.79c-.11 0-.21.08-.22.19l-.17 1.18c-.27.12-.53.26-.76.44l-1.11-.45c-.1-.04-.22 0-.28.1l-.9 1.55c-.05.1-.04.22.05.29l.95.74c-.02.14-.03.29-.03.44 0 .15.01.3.03.44l-.95.74c-.08.07-.11.19-.05.29l.9 1.55c.05.1.17.13.28.1l1.11-.45c.23.18.48.33.76.44l.17 1.18c.02.11.11.19.22.19h1.79c.11 0 .21-.08.22-.19l.17-1.18c.27-.12.53-.26.75-.44l1.12.45c.1.04.22 0 .28-.1l.9-1.55c.06-.09.03-.21-.05-.28zm-4.29.16c-.74 0-1.35-.6-1.35-1.35s.6-1.35 1.35-1.35 1.35.6 1.35 1.35-.61 1.35-1.35 1.35z"}),"MiscellaneousServices");a.Z=t},39217:function(i,a,e){var r=e(64836);a.Z=void 0;var o=r(e(64938)),n=e(85893),t=(0,o.default)((0,n.jsx)("path",{d:"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2zm-2-1h8v-2H5v2zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5zm4.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6l-.63 1.37zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94L19 6z"}),"TipsAndUpdates");a.Z=t},77738:function(i,a,e){e.d(a,{Z:function(){return D}});var r=e(63366),o=e(87462),n=e(67294),t=e(86010),l=e(94780),c=e(70758),d=e(14142),s=e(92996),h=e(20407),v=e(74312),p=e(78653),m=e(26821);function C(i){return(0,m.d6)("MuiChip",i)}let u=(0,m.sI)("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),g=n.createContext({disabled:void 0,variant:void 0,color:void 0});var f=e(30220),b=e(85893);let z=["children","className","color","onClick","disabled","size","variant","startDecorator","endDecorator","component","slots","slotProps"],Z=i=>{let{disabled:a,size:e,color:r,clickable:o,variant:n,focusVisible:t}=i,c={root:["root",a&&"disabled",r&&`color${(0,d.Z)(r)}`,e&&`size${(0,d.Z)(e)}`,n&&`variant${(0,d.Z)(n)}`,o&&"clickable"],action:["action",a&&"disabled",t&&"focusVisible"],label:["label",e&&`label${(0,d.Z)(e)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(c,C,{})},x=(0,v.Z)("div",{name:"JoyChip",slot:"Root",overridesResolver:(i,a)=>a.root})(({theme:i,ownerState:a})=>{var e,r,n,t;return[(0,o.Z)({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===a.size&&{"--Chip-gap":"0.25rem","--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(min(1.125rem, var(--_Chip-minHeight)) - 2 * var(--variant-borderWidth, 0px))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.714)","--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",fontSize:i.vars.fontSize.xs},"md"===a.size&&{"--Chip-gap":"0.375rem","--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"min(1.375rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.778)","--_Chip-minHeight":"var(--Chip-minHeight, 2rem)",fontSize:i.vars.fontSize.sm},"lg"===a.size&&{"--Chip-gap":"0.5rem","--Chip-paddingInline":"1rem","--Chip-decoratorChildHeight":"min(1.75rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 2)","--_Chip-minHeight":"var(--Chip-minHeight, 2.5rem)",fontSize:i.vars.fontSize.md},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",maxWidth:"max-content",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",fontWeight:i.vars.fontWeight.md,fontFamily:i.vars.fontFamily.body,display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box",[`&.${u.disabled}`]:{color:null==(e=i.variants[`${a.variant}Disabled`])||null==(e=e[a.color])?void 0:e.color}}),...a.clickable?[{"--variant-borderWidth":"0px",color:null==(t=i.variants[a.variant])||null==(t=t[a.color])?void 0:t.color}]:[null==(r=i.variants[a.variant])?void 0:r[a.color],{[`&.${u.disabled}`]:null==(n=i.variants[`${a.variant}Disabled`])?void 0:n[a.color]}]]}),H=(0,v.Z)("span",{name:"JoyChip",slot:"Label",overridesResolver:(i,a)=>a.label})(({ownerState:i})=>(0,o.Z)({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},i.clickable&&{zIndex:1,pointerEvents:"none"})),I=(0,v.Z)("button",{name:"JoyChip",slot:"Action",overridesResolver:(i,a)=>a.action})(({theme:i,ownerState:a})=>{var e,r,o,n;return[{position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,width:"100%",border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[i.focus.selector]:i.focus.default},null==(e=i.variants[a.variant])?void 0:e[a.color],{"&:hover":null==(r=i.variants[`${a.variant}Hover`])?void 0:r[a.color]},{"&:active":null==(o=i.variants[`${a.variant}Active`])?void 0:o[a.color]},{[`&.${u.disabled}`]:null==(n=i.variants[`${a.variant}Disabled`])?void 0:n[a.color]}]}),S=(0,v.Z)("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(i,a)=>a.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--Chip-deleteMargin":"0 0 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",marginInlineEnd:"var(--Chip-gap)",order:0,zIndex:1,pointerEvents:"none"}),_=(0,v.Z)("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(i,a)=>a.endDecorator})({"--Chip-deleteMargin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",marginInlineStart:"var(--Chip-gap)",order:2,zIndex:1,pointerEvents:"none"}),y=n.forwardRef(function(i,a){let e=(0,h.Z)({props:i,name:"JoyChip"}),{children:l,className:d,color:v="primary",onClick:m,disabled:C=!1,size:u="md",variant:y="solid",startDecorator:D,endDecorator:M,component:R,slots:k={},slotProps:L={}}=e,j=(0,r.Z)(e,z),{getColor:$}=(0,p.VT)(y),W=$(i.color,v),w=!!m||!!L.action,N=(0,o.Z)({},e,{disabled:C,size:u,color:W,variant:y,clickable:w,focusVisible:!1}),V="function"==typeof L.action?L.action(N):L.action,E=n.useRef(null),{focusVisible:A,getRootProps:O}=(0,c.Z)((0,o.Z)({},V,{disabled:C,rootRef:E}));N.focusVisible=A;let T=Z(N),J=(0,o.Z)({},j,{component:R,slots:k,slotProps:L}),[P,B]=(0,f.Z)("root",{ref:a,className:(0,t.Z)(T.root,d),elementType:x,externalForwardedProps:J,ownerState:N}),[F,G]=(0,f.Z)("label",{className:T.label,elementType:H,externalForwardedProps:J,ownerState:N}),U=(0,s.Z)(G.id),[q,K]=(0,f.Z)("action",{className:T.action,elementType:I,externalForwardedProps:J,ownerState:N,getSlotProps:O,additionalProps:{"aria-labelledby":U,as:null==V?void 0:V.component,onClick:m}}),[Q,X]=(0,f.Z)("startDecorator",{className:T.startDecorator,elementType:S,externalForwardedProps:J,ownerState:N}),[Y,ii]=(0,f.Z)("endDecorator",{className:T.endDecorator,elementType:_,externalForwardedProps:J,ownerState:N}),ia=n.useMemo(()=>({disabled:C,variant:y,color:"context"===W?void 0:W}),[W,C,y]);return(0,b.jsx)(g.Provider,{value:ia,children:(0,b.jsxs)(P,(0,o.Z)({},B,{children:[w&&(0,b.jsx)(q,(0,o.Z)({},K)),(0,b.jsx)(F,(0,o.Z)({},G,{id:U,children:l})),D&&(0,b.jsx)(Q,(0,o.Z)({},X,{children:D})),M&&(0,b.jsx)(Y,(0,o.Z)({},ii,{children:M}))]}))})});var D=y}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/925f3d25-1af7259455ef26bd.js b/pilot/server/static/_next/static/chunks/75fc9c18-a784766a129ec5fb.js similarity index 99% rename from pilot/server/static/_next/static/chunks/925f3d25-1af7259455ef26bd.js rename to pilot/server/static/_next/static/chunks/75fc9c18-a784766a129ec5fb.js index 1f3bb7dc5..2f9ce4a74 100644 --- a/pilot/server/static/_next/static/chunks/925f3d25-1af7259455ef26bd.js +++ b/pilot/server/static/_next/static/chunks/75fc9c18-a784766a129ec5fb.js @@ -1,2 +1,2 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[550],{65326:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";function t(){return q.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(i(e,t))return!1;return!0}function a(e){return void 0===e}function o(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,s=[],i=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,J=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n};var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},W={};function C(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(W[e]=i),t&&(W[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(R[t=H(t,e.localeData())]=R[t]||function(e){var t,n,s,i=e.match(N);for(n=0,s=i.length;n=0&&P.test(e);)e=e.replace(P,s),P.lastIndex=0,n-=1;return e}var F={};function L(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function V(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function E(e){var t,n,s={};for(n in e)i(e,n)&&(t=V(n))&&(s[t]=e[n]);return s}var G={};function A(e){return e%4==0&&e%100!=0||e%400==0}function I(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=I(t)),n}function Z(e,n){return function(s){return null!=s?($(this,e,s),t.updateOffset(this,n),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function $(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&A(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ew(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var q,B,J,Q,X=/\d/,K=/\d\d/,ee=/\d{3}/,et=/\d{4}/,en=/[+-]?\d{6}/,es=/\d\d?/,ei=/\d\d\d\d?/,er=/\d\d\d\d\d\d?/,ea=/\d{1,3}/,eo=/\d{1,4}/,eu=/[+-]?\d{1,6}/,el=/\d+/,eh=/[+-]?\d+/,ed=/Z|[+-]\d\d:?\d\d/gi,ec=/Z|[+-]\d\d(?::?\d\d)?/gi,ef=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function em(e,t,n){Q[e]=O(t)?t:function(e,s){return e&&n?n:t}}function e_(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var ey={};function eg(e,t){var n,s,i=t;for("string"==typeof e&&(e=[e]),o(t)&&(i=function(e,n){n[t]=j(e)}),s=e.length,n=0;n68?1900:2e3)};var eb=Z("FullYear",!0);function ex(e,t,n,s,i,r,a){var o;return e<100&&e>=0?isFinite((o=new Date(e+400,t,n,s,i,r,a)).getFullYear())&&o.setFullYear(e):o=new Date(e,t,n,s,i,r,a),o}function eT(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,n))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eN(e,t,n){var s=7+t-n;return-((7+eT(e,0,s).getUTCDay()-t)%7)+s-1}function eP(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+eN(e,s,i);return o<=0?a=eO(r=e-1)+o:o>eO(e)?(r=e+1,a=o-eO(e)):(r=e,a=o),{year:r,dayOfYear:a}}function eR(e,t,n){var s,i,r=eN(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+eW(i=e.year()-1,t,n):a>eW(e.year(),t,n)?(s=a-eW(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function eW(e,t,n){var s=eN(e,t,n),i=eN(e+1,t,n);return(eO(e)-s+i)/7}function eC(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),G.week=5,G.isoWeek=5,em("w",es),em("ww",es,K),em("W",es),em("WW",es,K),ep(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=j(e)}),C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),G.day=11,G.weekday=11,G.isoWeekday=11,em("d",es),em("e",es),em("E",es),em("dd",function(e,t){return t.weekdaysMinRegex(e)}),em("ddd",function(e,t){return t.weekdaysShortRegex(e)}),em("dddd",function(e,t){return t.weekdaysRegex(e)}),ep(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:c(n).invalidWeekday=e}),ep(["d","e","E"],function(e,t,n,s){t[s]=j(e)});var eU="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eH(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(s=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];s<7;++s)r=d([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=eG.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=eG.call(this._weekdaysParse,a))||-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=eG.call(this._shortWeekdaysParse,a))||-1!==(i=eG.call(this._weekdaysParse,a))?i:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:-1!==(i=eG.call(this._minWeekdaysParse,a))||-1!==(i=eG.call(this._weekdaysParse,a))?i:-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:null}function eF(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),s=e_(this.weekdaysMin(n,"")),i=e_(this.weekdaysShort(n,"")),r=e_(this.weekdays(n,"")),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);a.sort(e),o.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+a.join("|")+")","i")}function eL(){return this.hours()%12||12}function eV(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eE(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,eL),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+eL.apply(this)+T(this.minutes(),2)}),C("hmmss",0,0,function(){return""+eL.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),eV("a",!0),eV("A",!1),L("hour","h"),G.hour=13,em("a",eE),em("A",eE),em("H",es),em("h",es),em("k",es),em("HH",es,K),em("hh",es,K),em("kk",es,K),em("hmm",ei),em("hmmss",er),em("Hmm",ei),em("Hmmss",er),eg(["H","HH"],3),eg(["k","kk"],function(e,t,n){var s=j(e);t[3]=24===s?0:s}),eg(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),eg(["h","hh"],function(e,t,n){t[3]=j(e),c(n).bigHour=!0}),eg("hmm",function(e,t,n){var s=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s)),c(n).bigHour=!0}),eg("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s,2)),t[5]=j(e.substr(i)),c(n).bigHour=!0}),eg("Hmm",function(e,t,n){var s=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s))}),eg("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s,2)),t[5]=j(e.substr(i))});var eG,eA,eI=Z("Hours",!0),ej={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:ev,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:eU,meridiemParse:/[ap]\.?m?\.?/i},eZ={},ez={};function e$(e){return e?e.toLowerCase().replace("_","-"):e}function eq(t){var n=null;if(void 0===eZ[t]&&e&&e.exports&&null!=t.match("^[^/\\\\]*$"))try{n=eA._abbr,function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),eB(n)}catch(e){eZ[t]=null}return eZ[t]}function eB(e,t){var n;return e&&((n=a(t)?eQ(e):eJ(e,t))?eA=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eA._abbr}function eJ(e,t){if(null===t)return delete eZ[e],null;var n,s=ej;if(t.abbr=e,null!=eZ[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=eZ[e]._config;else if(null!=t.parentLocale){if(null!=eZ[t.parentLocale])s=eZ[t.parentLocale]._config;else{if(null==(n=eq(t.parentLocale)))return ez[t.parentLocale]||(ez[t.parentLocale]=[]),ez[t.parentLocale].push({name:e,config:t}),null;s=n._config}}return eZ[e]=new x(b(s,t)),ez[e]&&ez[e].forEach(function(e){eJ(e.name,e.config)}),eB(e),eZ[e]}function eQ(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eA;if(!n(e)){if(t=eq(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r0;){if(s=eq(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n=t-1)break;t--}r++}return eA}(e)}function eX(e){var t,n=e._a;return n&&-2===c(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ew(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,c(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),c(e)._overflowWeeks&&-1===t&&(t=7),c(e)._overflowWeekday&&-1===t&&(t=8),c(e).overflow=t),e}var eK=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e0=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e1=/Z|[+-]\d\d(?::?\d\d)?/,e2=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e4=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e6=/^\/?Date\((-?\d+)/i,e3=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e5={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e7(e){var t,n,s,i,r,a,o=e._i,u=eK.exec(o)||e0.exec(o),l=e2.length,h=e4.length;if(u){for(t=0,c(e).iso=!0,n=l;t7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,h=eR(ti(),a,o),s=e8(n.gg,e._a[0],h.year),i=e8(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(l=!0):null!=n.e?(r=n.e+a,(n.e<0||n.e>6)&&(l=!0)):r=a),i<1||i>eW(s,a,o)?c(e)._overflowWeeks=!0:null!=l?c(e)._overflowWeekday=!0:(u=eP(s,i,r,a,o),e._a[0]=u.year,e._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(g=e8(e._a[0],_[0]),(e._dayOfYear>eO(g)||0===e._dayOfYear)&&(c(e)._overflowDayOfYear=!0),m=eT(g,0,e._dayOfYear),e._a[1]=m.getUTCMonth(),e._a[2]=m.getUTCDate()),f=0;f<3&&null==e._a[f];++f)e._a[f]=p[f]=_[f];for(;f<7;f++)e._a[f]=p[f]=null==e._a[f]?2===f?1:0:e._a[f];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?eT:ex).apply(null,p),y=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==y&&(c(e).weekdayMismatch=!0)}}function tt(e){if(e._f===t.ISO_8601){e7(e);return}if(e._f===t.RFC_2822){e9(e);return}e._a=[],c(e).empty=!0;var n,s,r,a,o,u,l,h,d,f,m,_=""+e._i,y=_.length,g=0;for(o=0,m=(l=H(e._f,e._locale).match(N)||[]).length;o0&&c(e).unusedInput.push(d),_=_.slice(_.indexOf(u)+u.length),g+=u.length),W[h])?(u?c(e).empty=!1:c(e).unusedTokens.push(h),null!=u&&i(ey,h)&&ey[h](u,e._a,e,h)):e._strict&&!u&&c(e).unusedTokens.push(h);c(e).charsLeftOver=y-g,_.length>0&&c(e).unusedInput.push(_),e._a[3]<=12&&!0===c(e).bigHour&&e._a[3]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[3]=(n=e._locale,s=e._a[3],null==(r=e._meridiem)?s:null!=n.meridiemHour?n.meridiemHour(s,r):(null!=n.isPM&&((a=n.isPM(r))&&s<12&&(s+=12),a||12!==s||(s=0)),s)),null!==(f=c(e).era)&&(e._a[0]=e._locale.erasConvertYear(f,e._a[0])),te(e),eX(e)}function tn(e){var i,r=e._i,d=e._f;return(e._locale=e._locale||eQ(e._l),null===r||void 0===d&&""===r)?m({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),k(r))?new v(eX(r)):(u(r)?e._d=r:n(d)?function(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(0===u){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:m()});function to(e,t){var s,i;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return ti();for(i=1,s=t[0];i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function tW(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tC(e,t){return t.erasAbbrRegex(e)}function tU(){var e,t,n=[],s=[],i=[],r=[],a=this.eras();for(e=0,t=a.length;e(r=eW(e,s,i))&&(t=r),tL.call(this,e,t,n,s,i))}function tL(e,t,n,s,i){var r=eP(e,t,n,s,i),a=eT(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),em("N",tC),em("NN",tC),em("NNN",tC),em("NNNN",function(e,t){return t.erasNameRegex(e)}),em("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),eg(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?c(n).era=i:c(n).invalidEra=e}),em("y",el),em("yy",el),em("yyy",el),em("yyyy",el),em("yo",function(e,t){return t._eraYearOrdinalRegex||el}),eg(["y","yy","yyy","yyyy"],0),eg(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tH("gggg","weekYear"),tH("ggggg","weekYear"),tH("GGGG","isoWeekYear"),tH("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),G.weekYear=1,G.isoWeekYear=1,em("G",eh),em("g",eh),em("GG",es,K),em("gg",es,K),em("GGGG",eo,et),em("gggg",eo,et),em("GGGGG",eu,en),em("ggggg",eu,en),ep(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=j(e)}),ep(["gg","GG"],function(e,n,s,i){n[i]=t.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),L("quarter","Q"),G.quarter=7,em("Q",X),eg("Q",function(e,t){t[1]=(j(e)-1)*3}),C("D",["DD",2],"Do","date"),L("date","D"),G.date=9,em("D",es),em("DD",es,K),em("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),eg(["D","DD"],2),eg("Do",function(e,t){t[2]=j(e.match(es)[0])});var tV=Z("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),G.dayOfYear=4,em("DDD",ea),em("DDDD",ee),eg(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),C("m",["mm",2],0,"minute"),L("minute","m"),G.minute=14,em("m",es),em("mm",es,K),eg(["m","mm"],4);var tE=Z("Minutes",!1);C("s",["ss",2],0,"second"),L("second","s"),G.second=15,em("s",es),em("ss",es,K),eg(["s","ss"],5);var tG=Z("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),G.millisecond=16,em("S",ea,X),em("SS",ea,K),em("SSS",ea,ee),_="SSSS";_.length<=9;_+="S")em(_,el);function tA(e,t){t[6]=j(("0."+e)*1e3)}for(_="S";_.length<=9;_+="S")eg(_,tA);y=Z("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var tI=v.prototype;function tj(e){return e}tI.add=tY,tI.calendar=function(e,a){if(1==arguments.length){if(arguments[0]){var l,h,d;(l=arguments[0],k(l)||u(l)||tb(l)||o(l)||(h=n(l),d=!1,h&&(d=0===l.filter(function(e){return!o(e)&&tb(l)}).length),h&&d)||function(e){var t,n,a=s(e)&&!r(e),o=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=u.length;for(t=0;tn.valueOf():n.valueOf()n.year()||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+6e4*this.utcOffset()).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},tI.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(tI[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tI.toJSON=function(){return this.isValid()?this.toISOString():null},tI.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tI.unix=function(){return Math.floor(this.valueOf()/1e3)},tI.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},tI.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tI.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;eMath.abs(e)&&!s&&(e*=60);return!this._isUTC&&n&&(i=ty(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r===e||(!n||this._changeInProgress?tS(this,tv(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},tI.utc=function(e){return this.utcOffset(0,e)},tI.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ty(this),"m")),this},tI.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tm(ed,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},tI.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ti(e).utcOffset():0,(this.utcOffset()-e)%60==0)},tI.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tI.isLocal=function(){return!!this.isValid()&&!this._isUTC},tI.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},tI.isUtc=tg,tI.isUTC=tg,tI.zoneAbbr=function(){return this._isUTC?"UTC":""},tI.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},tI.dates=D("dates accessor is deprecated. Use date instead.",tV),tI.months=D("months accessor is deprecated. Use month instead",eS),tI.years=D("years accessor is deprecated. Use year instead",eb),tI.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),tI.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=tn(t))._a?(e=t._isUTC?d(t._a):ti(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s0):this._isDSTShifted=!1,this._isDSTShifted});var tZ=x.prototype;function tz(e,t,n,s){var i=eQ(),r=d().set(s,t);return i[n](r,e)}function t$(e,t,n){if(o(e)&&(t=e,e=void 0),e=e||"",null!=t)return tz(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=tz(e,s,n,"month");return i}function tq(e,t,n,s){"boolean"==typeof e?(o(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,o(t)&&(n=t,t=void 0),t=t||"");var i,r=eQ(),a=e?r._week.dow:0,u=[];if(null!=n)return tz(t,(n+a)%7,s,"day");for(i=0;i<7;i++)u[i]=tz(t,(i+a)%7,s,"day");return u}tZ.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return O(s)?s.call(t,n):s},tZ.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tZ.invalidDate=function(){return this._invalidDate},tZ.ordinal=function(e){return this._ordinal.replace("%d",e)},tZ.preparse=tj,tZ.postformat=tj,tZ.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return O(i)?i(e,t,n,s):i.replace(/%d/i,e)},tZ.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},tZ.set=function(e){var t,n;for(n in e)i(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tZ.eras=function(e,n){var s,i,r,a=this._eras||eQ("en")._eras;for(s=0,i=a.length;s=0)return u[s]},tZ.erasConvertYear=function(e,n){var s=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*s},tZ.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||tU.call(this),e?this._erasAbbrRegex:this._erasRegex},tZ.erasNameRegex=function(e){return i(this,"_erasNameRegex")||tU.call(this),e?this._erasNameRegex:this._erasRegex},tZ.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||tU.call(this),e?this._erasNarrowRegex:this._erasRegex},tZ.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ek).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},tZ.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ek.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tZ.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return eM.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(i=d([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e)||n&&"MMM"===t&&this._shortMonthsParse[s].test(e)||!n&&this._monthsParse[s].test(e))return s},tZ.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eY.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(i(this,"_monthsRegex")||(this._monthsRegex=ef),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tZ.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eY.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(i(this,"_monthsShortRegex")||(this._monthsShortRegex=ef),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tZ.week=function(e){return eR(e,this._week.dow,this._week.doy).week},tZ.firstDayOfYear=function(){return this._week.doy},tZ.firstDayOfWeek=function(){return this._week.dow},tZ.weekdays=function(e,t){var s=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?eC(s,this._week.dow):e?s[e.day()]:s},tZ.weekdaysMin=function(e){return!0===e?eC(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tZ.weekdaysShort=function(e){return!0===e?eC(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tZ.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return eH.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=d([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e)||n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},tZ.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(i(this,"_weekdaysRegex")||(this._weekdaysRegex=ef),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tZ.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ef),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tZ.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ef),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tZ.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tZ.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},eB("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===j(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=D("moment.lang is deprecated. Use moment.locale instead.",eB),t.langData=D("moment.langData is deprecated. Use moment.localeData instead.",eQ);var tB=Math.abs;function tJ(e,t,n,s){var i=tv(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function tQ(e){return e<0?Math.floor(e):Math.ceil(e)}function tX(e){return 4800*e/146097}function tK(e){return 146097*e/4800}function t0(e){return function(){return this.as(e)}}var t1=t0("ms"),t2=t0("s"),t4=t0("m"),t6=t0("h"),t3=t0("d"),t5=t0("w"),t7=t0("M"),t9=t0("Q"),t8=t0("y");function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var nt=ne("milliseconds"),nn=ne("seconds"),ns=ne("minutes"),ni=ne("hours"),nr=ne("days"),na=ne("months"),no=ne("years"),nu=Math.round,nl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nh(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}var nd=Math.abs;function nc(e){return(e>0)-(e<0)||+e}function nf(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=nd(this._milliseconds)/1e3,l=nd(this._days),h=nd(this._months),d=this.asSeconds();return d?(e=I(u/60),t=I(e/60),u%=60,e%=60,n=I(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=nc(this._months)!==nc(d)?"-":"",a=nc(this._days)!==nc(d)?"-":"",o=nc(this._milliseconds)!==nc(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(h?r+h+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var nm=tl.prototype;return nm.isValid=function(){return this._isValid},nm.abs=function(){var e=this._data;return this._milliseconds=tB(this._milliseconds),this._days=tB(this._days),this._months=tB(this._months),e.milliseconds=tB(e.milliseconds),e.seconds=tB(e.seconds),e.minutes=tB(e.minutes),e.hours=tB(e.hours),e.months=tB(e.months),e.years=tB(e.years),this},nm.add=function(e,t){return tJ(this,e,t,1)},nm.subtract=function(e,t){return tJ(this,e,t,-1)},nm.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+tX(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(tK(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw Error("Unknown unit "+e)}},nm.asMilliseconds=t1,nm.asSeconds=t2,nm.asMinutes=t4,nm.asHours=t6,nm.asDays=t3,nm.asWeeks=t5,nm.asMonths=t7,nm.asQuarters=t9,nm.asYears=t8,nm.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},nm._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*tQ(tK(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=I(r/1e3),u.seconds=e%60,t=I(e/60),u.minutes=t%60,n=I(t/60),u.hours=n%24,a+=I(n/24),o+=i=I(tX(a)),a-=tQ(tK(i)),s=I(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},nm.clone=function(){return tv(this)},nm.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},nm.milliseconds=nt,nm.seconds=nn,nm.minutes=ns,nm.hours=ni,nm.days=nr,nm.weeks=function(){return I(this.days()/7)},nm.months=na,nm.years=no,nm.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i,r,a,o,u,l,h,d,c,f,m,_=!1,y=nl;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(_=e),"object"==typeof t&&(y=Object.assign({},nl,t),null!=t.s&&null==t.ss&&(y.ss=t.s-1)),f=this.localeData(),n=!_,s=y,r=nu((i=tv(this).abs()).as("s")),a=nu(i.as("m")),o=nu(i.as("h")),u=nu(i.as("d")),l=nu(i.as("M")),h=nu(i.as("w")),d=nu(i.as("y")),c=r<=s.ss&&["s",r]||r0,c[4]=f,m=nh.apply(null,c),_&&(m=f.pastFuture(+this,m)),f.postformat(m)},nm.toISOString=nf,nm.toString=nf,nm.toJSON=nf,nm.locale=tT,nm.localeData=tP,nm.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nf),nm.lang=tN,C("X",0,0,"unix"),C("x",0,0,"valueOf"),em("x",eh),em("X",/[+-]?\d+(\.\d{1,3})?/),eg("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),eg("x",function(e,t,n){n._d=new Date(j(e))}),//! moment.js +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[885],{30381:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";function t(){return q.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(i(e,t))return!1;return!0}function a(e){return void 0===e}function o(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,s=[],i=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,J=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n};var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},W={};function C(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(W[e]=i),t&&(W[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(R[t=H(t,e.localeData())]=R[t]||function(e){var t,n,s,i=e.match(N);for(n=0,s=i.length;n=0&&P.test(e);)e=e.replace(P,s),P.lastIndex=0,n-=1;return e}var F={};function L(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function V(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function E(e){var t,n,s={};for(n in e)i(e,n)&&(t=V(n))&&(s[t]=e[n]);return s}var G={};function A(e){return e%4==0&&e%100!=0||e%400==0}function I(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=I(t)),n}function Z(e,n){return function(s){return null!=s?($(this,e,s),t.updateOffset(this,n),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function $(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&A(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ew(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var q,B,J,Q,X=/\d/,K=/\d\d/,ee=/\d{3}/,et=/\d{4}/,en=/[+-]?\d{6}/,es=/\d\d?/,ei=/\d\d\d\d?/,er=/\d\d\d\d\d\d?/,ea=/\d{1,3}/,eo=/\d{1,4}/,eu=/[+-]?\d{1,6}/,el=/\d+/,eh=/[+-]?\d+/,ed=/Z|[+-]\d\d:?\d\d/gi,ec=/Z|[+-]\d\d(?::?\d\d)?/gi,ef=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function em(e,t,n){Q[e]=O(t)?t:function(e,s){return e&&n?n:t}}function e_(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var ey={};function eg(e,t){var n,s,i=t;for("string"==typeof e&&(e=[e]),o(t)&&(i=function(e,n){n[t]=j(e)}),s=e.length,n=0;n68?1900:2e3)};var eb=Z("FullYear",!0);function ex(e,t,n,s,i,r,a){var o;return e<100&&e>=0?isFinite((o=new Date(e+400,t,n,s,i,r,a)).getFullYear())&&o.setFullYear(e):o=new Date(e,t,n,s,i,r,a),o}function eT(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,n))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eN(e,t,n){var s=7+t-n;return-((7+eT(e,0,s).getUTCDay()-t)%7)+s-1}function eP(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+eN(e,s,i);return o<=0?a=eO(r=e-1)+o:o>eO(e)?(r=e+1,a=o-eO(e)):(r=e,a=o),{year:r,dayOfYear:a}}function eR(e,t,n){var s,i,r=eN(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+eW(i=e.year()-1,t,n):a>eW(e.year(),t,n)?(s=a-eW(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function eW(e,t,n){var s=eN(e,t,n),i=eN(e+1,t,n);return(eO(e)-s+i)/7}function eC(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),G.week=5,G.isoWeek=5,em("w",es),em("ww",es,K),em("W",es),em("WW",es,K),ep(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=j(e)}),C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),G.day=11,G.weekday=11,G.isoWeekday=11,em("d",es),em("e",es),em("E",es),em("dd",function(e,t){return t.weekdaysMinRegex(e)}),em("ddd",function(e,t){return t.weekdaysShortRegex(e)}),em("dddd",function(e,t){return t.weekdaysRegex(e)}),ep(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:c(n).invalidWeekday=e}),ep(["d","e","E"],function(e,t,n,s){t[s]=j(e)});var eU="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eH(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(s=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];s<7;++s)r=d([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=eG.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=eG.call(this._weekdaysParse,a))||-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=eG.call(this._shortWeekdaysParse,a))||-1!==(i=eG.call(this._weekdaysParse,a))?i:-1!==(i=eG.call(this._minWeekdaysParse,a))?i:null:-1!==(i=eG.call(this._minWeekdaysParse,a))||-1!==(i=eG.call(this._weekdaysParse,a))?i:-1!==(i=eG.call(this._shortWeekdaysParse,a))?i:null}function eF(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),s=e_(this.weekdaysMin(n,"")),i=e_(this.weekdaysShort(n,"")),r=e_(this.weekdays(n,"")),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);a.sort(e),o.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+a.join("|")+")","i")}function eL(){return this.hours()%12||12}function eV(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eE(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,eL),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+eL.apply(this)+T(this.minutes(),2)}),C("hmmss",0,0,function(){return""+eL.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),eV("a",!0),eV("A",!1),L("hour","h"),G.hour=13,em("a",eE),em("A",eE),em("H",es),em("h",es),em("k",es),em("HH",es,K),em("hh",es,K),em("kk",es,K),em("hmm",ei),em("hmmss",er),em("Hmm",ei),em("Hmmss",er),eg(["H","HH"],3),eg(["k","kk"],function(e,t,n){var s=j(e);t[3]=24===s?0:s}),eg(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),eg(["h","hh"],function(e,t,n){t[3]=j(e),c(n).bigHour=!0}),eg("hmm",function(e,t,n){var s=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s)),c(n).bigHour=!0}),eg("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s,2)),t[5]=j(e.substr(i)),c(n).bigHour=!0}),eg("Hmm",function(e,t,n){var s=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s))}),eg("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=j(e.substr(0,s)),t[4]=j(e.substr(s,2)),t[5]=j(e.substr(i))});var eG,eA,eI=Z("Hours",!0),ej={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:ev,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:eU,meridiemParse:/[ap]\.?m?\.?/i},eZ={},ez={};function e$(e){return e?e.toLowerCase().replace("_","-"):e}function eq(t){var n=null;if(void 0===eZ[t]&&e&&e.exports&&null!=t.match("^[^/\\\\]*$"))try{n=eA._abbr,function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),eB(n)}catch(e){eZ[t]=null}return eZ[t]}function eB(e,t){var n;return e&&((n=a(t)?eQ(e):eJ(e,t))?eA=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eA._abbr}function eJ(e,t){if(null===t)return delete eZ[e],null;var n,s=ej;if(t.abbr=e,null!=eZ[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=eZ[e]._config;else if(null!=t.parentLocale){if(null!=eZ[t.parentLocale])s=eZ[t.parentLocale]._config;else{if(null==(n=eq(t.parentLocale)))return ez[t.parentLocale]||(ez[t.parentLocale]=[]),ez[t.parentLocale].push({name:e,config:t}),null;s=n._config}}return eZ[e]=new x(b(s,t)),ez[e]&&ez[e].forEach(function(e){eJ(e.name,e.config)}),eB(e),eZ[e]}function eQ(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eA;if(!n(e)){if(t=eq(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r0;){if(s=eq(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n=t-1)break;t--}r++}return eA}(e)}function eX(e){var t,n=e._a;return n&&-2===c(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ew(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,c(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),c(e)._overflowWeeks&&-1===t&&(t=7),c(e)._overflowWeekday&&-1===t&&(t=8),c(e).overflow=t),e}var eK=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e0=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e1=/Z|[+-]\d\d(?::?\d\d)?/,e2=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e4=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e6=/^\/?Date\((-?\d+)/i,e3=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e5={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e7(e){var t,n,s,i,r,a,o=e._i,u=eK.exec(o)||e0.exec(o),l=e2.length,h=e4.length;if(u){for(t=0,c(e).iso=!0,n=l;t7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,h=eR(ti(),a,o),s=e8(n.gg,e._a[0],h.year),i=e8(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(l=!0):null!=n.e?(r=n.e+a,(n.e<0||n.e>6)&&(l=!0)):r=a),i<1||i>eW(s,a,o)?c(e)._overflowWeeks=!0:null!=l?c(e)._overflowWeekday=!0:(u=eP(s,i,r,a,o),e._a[0]=u.year,e._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(g=e8(e._a[0],_[0]),(e._dayOfYear>eO(g)||0===e._dayOfYear)&&(c(e)._overflowDayOfYear=!0),m=eT(g,0,e._dayOfYear),e._a[1]=m.getUTCMonth(),e._a[2]=m.getUTCDate()),f=0;f<3&&null==e._a[f];++f)e._a[f]=p[f]=_[f];for(;f<7;f++)e._a[f]=p[f]=null==e._a[f]?2===f?1:0:e._a[f];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?eT:ex).apply(null,p),y=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==y&&(c(e).weekdayMismatch=!0)}}function tt(e){if(e._f===t.ISO_8601){e7(e);return}if(e._f===t.RFC_2822){e9(e);return}e._a=[],c(e).empty=!0;var n,s,r,a,o,u,l,h,d,f,m,_=""+e._i,y=_.length,g=0;for(o=0,m=(l=H(e._f,e._locale).match(N)||[]).length;o0&&c(e).unusedInput.push(d),_=_.slice(_.indexOf(u)+u.length),g+=u.length),W[h])?(u?c(e).empty=!1:c(e).unusedTokens.push(h),null!=u&&i(ey,h)&&ey[h](u,e._a,e,h)):e._strict&&!u&&c(e).unusedTokens.push(h);c(e).charsLeftOver=y-g,_.length>0&&c(e).unusedInput.push(_),e._a[3]<=12&&!0===c(e).bigHour&&e._a[3]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[3]=(n=e._locale,s=e._a[3],null==(r=e._meridiem)?s:null!=n.meridiemHour?n.meridiemHour(s,r):(null!=n.isPM&&((a=n.isPM(r))&&s<12&&(s+=12),a||12!==s||(s=0)),s)),null!==(f=c(e).era)&&(e._a[0]=e._locale.erasConvertYear(f,e._a[0])),te(e),eX(e)}function tn(e){var i,r=e._i,d=e._f;return(e._locale=e._locale||eQ(e._l),null===r||void 0===d&&""===r)?m({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),k(r))?new v(eX(r)):(u(r)?e._d=r:n(d)?function(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(0===u){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:m()});function to(e,t){var s,i;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return ti();for(i=1,s=t[0];i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function tW(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function tC(e,t){return t.erasAbbrRegex(e)}function tU(){var e,t,n=[],s=[],i=[],r=[],a=this.eras();for(e=0,t=a.length;e(r=eW(e,s,i))&&(t=r),tL.call(this,e,t,n,s,i))}function tL(e,t,n,s,i){var r=eP(e,t,n,s,i),a=eT(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),em("N",tC),em("NN",tC),em("NNN",tC),em("NNNN",function(e,t){return t.erasNameRegex(e)}),em("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),eg(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?c(n).era=i:c(n).invalidEra=e}),em("y",el),em("yy",el),em("yyy",el),em("yyyy",el),em("yo",function(e,t){return t._eraYearOrdinalRegex||el}),eg(["y","yy","yyy","yyyy"],0),eg(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tH("gggg","weekYear"),tH("ggggg","weekYear"),tH("GGGG","isoWeekYear"),tH("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),G.weekYear=1,G.isoWeekYear=1,em("G",eh),em("g",eh),em("GG",es,K),em("gg",es,K),em("GGGG",eo,et),em("gggg",eo,et),em("GGGGG",eu,en),em("ggggg",eu,en),ep(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=j(e)}),ep(["gg","GG"],function(e,n,s,i){n[i]=t.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),L("quarter","Q"),G.quarter=7,em("Q",X),eg("Q",function(e,t){t[1]=(j(e)-1)*3}),C("D",["DD",2],"Do","date"),L("date","D"),G.date=9,em("D",es),em("DD",es,K),em("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),eg(["D","DD"],2),eg("Do",function(e,t){t[2]=j(e.match(es)[0])});var tV=Z("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),G.dayOfYear=4,em("DDD",ea),em("DDDD",ee),eg(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),C("m",["mm",2],0,"minute"),L("minute","m"),G.minute=14,em("m",es),em("mm",es,K),eg(["m","mm"],4);var tE=Z("Minutes",!1);C("s",["ss",2],0,"second"),L("second","s"),G.second=15,em("s",es),em("ss",es,K),eg(["s","ss"],5);var tG=Z("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),G.millisecond=16,em("S",ea,X),em("SS",ea,K),em("SSS",ea,ee),_="SSSS";_.length<=9;_+="S")em(_,el);function tA(e,t){t[6]=j(("0."+e)*1e3)}for(_="S";_.length<=9;_+="S")eg(_,tA);y=Z("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var tI=v.prototype;function tj(e){return e}tI.add=tY,tI.calendar=function(e,a){if(1==arguments.length){if(arguments[0]){var l,h,d;(l=arguments[0],k(l)||u(l)||tb(l)||o(l)||(h=n(l),d=!1,h&&(d=0===l.filter(function(e){return!o(e)&&tb(l)}).length),h&&d)||function(e){var t,n,a=s(e)&&!r(e),o=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=u.length;for(t=0;tn.valueOf():n.valueOf()n.year()||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+6e4*this.utcOffset()).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},tI.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(tI[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tI.toJSON=function(){return this.isValid()?this.toISOString():null},tI.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tI.unix=function(){return Math.floor(this.valueOf()/1e3)},tI.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},tI.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tI.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;eMath.abs(e)&&!s&&(e*=60);return!this._isUTC&&n&&(i=ty(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r===e||(!n||this._changeInProgress?tS(this,tv(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},tI.utc=function(e){return this.utcOffset(0,e)},tI.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ty(this),"m")),this},tI.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tm(ed,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},tI.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ti(e).utcOffset():0,(this.utcOffset()-e)%60==0)},tI.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tI.isLocal=function(){return!!this.isValid()&&!this._isUTC},tI.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},tI.isUtc=tg,tI.isUTC=tg,tI.zoneAbbr=function(){return this._isUTC?"UTC":""},tI.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},tI.dates=D("dates accessor is deprecated. Use date instead.",tV),tI.months=D("months accessor is deprecated. Use month instead",eS),tI.years=D("years accessor is deprecated. Use year instead",eb),tI.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),tI.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=tn(t))._a?(e=t._isUTC?d(t._a):ti(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s0):this._isDSTShifted=!1,this._isDSTShifted});var tZ=x.prototype;function tz(e,t,n,s){var i=eQ(),r=d().set(s,t);return i[n](r,e)}function t$(e,t,n){if(o(e)&&(t=e,e=void 0),e=e||"",null!=t)return tz(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=tz(e,s,n,"month");return i}function tq(e,t,n,s){"boolean"==typeof e?(o(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,o(t)&&(n=t,t=void 0),t=t||"");var i,r=eQ(),a=e?r._week.dow:0,u=[];if(null!=n)return tz(t,(n+a)%7,s,"day");for(i=0;i<7;i++)u[i]=tz(t,(i+a)%7,s,"day");return u}tZ.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return O(s)?s.call(t,n):s},tZ.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tZ.invalidDate=function(){return this._invalidDate},tZ.ordinal=function(e){return this._ordinal.replace("%d",e)},tZ.preparse=tj,tZ.postformat=tj,tZ.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return O(i)?i(e,t,n,s):i.replace(/%d/i,e)},tZ.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},tZ.set=function(e){var t,n;for(n in e)i(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tZ.eras=function(e,n){var s,i,r,a=this._eras||eQ("en")._eras;for(s=0,i=a.length;s=0)return u[s]},tZ.erasConvertYear=function(e,n){var s=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*s},tZ.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||tU.call(this),e?this._erasAbbrRegex:this._erasRegex},tZ.erasNameRegex=function(e){return i(this,"_erasNameRegex")||tU.call(this),e?this._erasNameRegex:this._erasRegex},tZ.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||tU.call(this),e?this._erasNarrowRegex:this._erasRegex},tZ.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ek).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},tZ.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ek.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tZ.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return eM.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(i=d([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e)||n&&"MMM"===t&&this._shortMonthsParse[s].test(e)||!n&&this._monthsParse[s].test(e))return s},tZ.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eY.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(i(this,"_monthsRegex")||(this._monthsRegex=ef),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tZ.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eY.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(i(this,"_monthsShortRegex")||(this._monthsShortRegex=ef),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tZ.week=function(e){return eR(e,this._week.dow,this._week.doy).week},tZ.firstDayOfYear=function(){return this._week.doy},tZ.firstDayOfWeek=function(){return this._week.dow},tZ.weekdays=function(e,t){var s=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?eC(s,this._week.dow):e?s[e.day()]:s},tZ.weekdaysMin=function(e){return!0===e?eC(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tZ.weekdaysShort=function(e){return!0===e?eC(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tZ.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return eH.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=d([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e)||n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},tZ.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(i(this,"_weekdaysRegex")||(this._weekdaysRegex=ef),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tZ.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ef),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tZ.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ef),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tZ.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tZ.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},eB("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===j(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=D("moment.lang is deprecated. Use moment.locale instead.",eB),t.langData=D("moment.langData is deprecated. Use moment.localeData instead.",eQ);var tB=Math.abs;function tJ(e,t,n,s){var i=tv(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function tQ(e){return e<0?Math.floor(e):Math.ceil(e)}function tX(e){return 4800*e/146097}function tK(e){return 146097*e/4800}function t0(e){return function(){return this.as(e)}}var t1=t0("ms"),t2=t0("s"),t4=t0("m"),t6=t0("h"),t3=t0("d"),t5=t0("w"),t7=t0("M"),t9=t0("Q"),t8=t0("y");function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var nt=ne("milliseconds"),nn=ne("seconds"),ns=ne("minutes"),ni=ne("hours"),nr=ne("days"),na=ne("months"),no=ne("years"),nu=Math.round,nl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nh(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}var nd=Math.abs;function nc(e){return(e>0)-(e<0)||+e}function nf(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=nd(this._milliseconds)/1e3,l=nd(this._days),h=nd(this._months),d=this.asSeconds();return d?(e=I(u/60),t=I(e/60),u%=60,e%=60,n=I(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=nc(this._months)!==nc(d)?"-":"",a=nc(this._days)!==nc(d)?"-":"",o=nc(this._milliseconds)!==nc(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(h?r+h+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var nm=tl.prototype;return nm.isValid=function(){return this._isValid},nm.abs=function(){var e=this._data;return this._milliseconds=tB(this._milliseconds),this._days=tB(this._days),this._months=tB(this._months),e.milliseconds=tB(e.milliseconds),e.seconds=tB(e.seconds),e.minutes=tB(e.minutes),e.hours=tB(e.hours),e.months=tB(e.months),e.years=tB(e.years),this},nm.add=function(e,t){return tJ(this,e,t,1)},nm.subtract=function(e,t){return tJ(this,e,t,-1)},nm.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+tX(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(tK(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw Error("Unknown unit "+e)}},nm.asMilliseconds=t1,nm.asSeconds=t2,nm.asMinutes=t4,nm.asHours=t6,nm.asDays=t3,nm.asWeeks=t5,nm.asMonths=t7,nm.asQuarters=t9,nm.asYears=t8,nm.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},nm._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*tQ(tK(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=I(r/1e3),u.seconds=e%60,t=I(e/60),u.minutes=t%60,n=I(t/60),u.hours=n%24,a+=I(n/24),o+=i=I(tX(a)),a-=tQ(tK(i)),s=I(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},nm.clone=function(){return tv(this)},nm.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},nm.milliseconds=nt,nm.seconds=nn,nm.minutes=ns,nm.hours=ni,nm.days=nr,nm.weeks=function(){return I(this.days()/7)},nm.months=na,nm.years=no,nm.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i,r,a,o,u,l,h,d,c,f,m,_=!1,y=nl;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(_=e),"object"==typeof t&&(y=Object.assign({},nl,t),null!=t.s&&null==t.ss&&(y.ss=t.s-1)),f=this.localeData(),n=!_,s=y,r=nu((i=tv(this).abs()).as("s")),a=nu(i.as("m")),o=nu(i.as("h")),u=nu(i.as("d")),l=nu(i.as("M")),h=nu(i.as("w")),d=nu(i.as("y")),c=r<=s.ss&&["s",r]||r0,c[4]=f,m=nh.apply(null,c),_&&(m=f.pastFuture(+this,m)),f.postformat(m)},nm.toISOString=nf,nm.toString=nf,nm.toJSON=nf,nm.locale=tT,nm.localeData=tP,nm.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nf),nm.lang=tN,C("X",0,0,"unix"),C("x",0,0,"valueOf"),em("x",eh),em("X",/[+-]?\d+(\.\d{1,3})?/),eg("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),eg("x",function(e,t,n){n._d=new Date(j(e))}),//! moment.js t.version="2.29.4",q=ti,t.fn=tI,t.min=function(){var e=[].slice.call(arguments,0);return to("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return to("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=d,t.unix=function(e){return ti(1e3*e)},t.months=function(e,t){return t$(e,t,"months")},t.isDate=u,t.locale=eB,t.invalid=m,t.duration=tv,t.isMoment=k,t.weekdays=function(e,t,n){return tq(e,t,n,"weekdays")},t.parseZone=function(){return ti.apply(null,arguments).parseZone()},t.localeData=eQ,t.isDuration=th,t.monthsShort=function(e,t){return t$(e,t,"monthsShort")},t.weekdaysMin=function(e,t,n){return tq(e,t,n,"weekdaysMin")},t.defineLocale=eJ,t.updateLocale=function(e,t){if(null!=t){var n,s,i=ej;null!=eZ[e]&&null!=eZ[e].parentLocale?eZ[e].set(b(eZ[e]._config,t)):(null!=(s=eq(e))&&(i=s._config),t=b(i,t),null==s&&(t.abbr=e),(n=new x(t)).parentLocale=eZ[e],eZ[e]=n),eB(e)}else null!=eZ[e]&&(null!=eZ[e].parentLocale?(eZ[e]=eZ[e].parentLocale,e===eB()&&eB(e)):null!=eZ[e]&&delete eZ[e]);return eZ[e]},t.locales=function(){return J(eZ)},t.weekdaysShort=function(e,t,n){return tq(e,t,n,"weekdaysShort")},t.normalizeUnits=V,t.relativeTimeRounding=function(e){return void 0===e?nu:"function"==typeof e&&(nu=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==nl[e]&&(void 0===t?nl[e]:(nl[e]=t,"s"===e&&(nl.ss=t-1),!0))},t.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},t.prototype=tI,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}()}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/767-b93280f4b5b5e975.js b/pilot/server/static/_next/static/chunks/767-b93280f4b5b5e975.js deleted file mode 100644 index 1c71e7417..000000000 --- a/pilot/server/static/_next/static/chunks/767-b93280f4b5b5e975.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[767],{311:function(e,t,o){o.d(t,{Z:function(){return S}});var r=o(46750),l=o(40431),a=o(86006),n=o(47562),i=o(53832),d=o(21454),s=o(99179),c=o(44542),b=o(86601),v=o(50645),p=o(88930),u=o(47093),h=o(326),g=o(18587);function f(e){return(0,g.d6)("MuiLink",e)}let y=(0,g.sI)("MuiLink",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","focusVisible","variantPlain","variantOutlined","variantSoft","variantSolid","underlineNone","underlineHover","underlineAlways","h1","h2","h3","h4","h5","h6","body1","body2","body3","startDecorator","endDecorator"]);var m=o(22046),C=o(9268);let x=["color","textColor","variant"],T=["children","disabled","onBlur","onFocus","level","overlay","underline","endDecorator","startDecorator","component","slots","slotProps"],R=e=>{let{level:t,color:o,variant:r,underline:l,focusVisible:a,disabled:d}=e,s={root:["root",o&&`color${(0,i.Z)(o)}`,d&&"disabled",a&&"focusVisible",t,l&&`underline${(0,i.Z)(l)}`,r&&`variant${(0,i.Z)(r)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,n.Z)(s,f,{})},k=(0,v.Z)("span",{name:"JoyLink",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({ownerState:e})=>{var t;return(0,l.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Link-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),Z=(0,v.Z)("span",{name:"JoyLink",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})(({ownerState:e})=>{var t;return(0,l.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Link-gap, 0.25em), 0.5rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),w=(0,v.Z)("a",{name:"JoyLink",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var o,r,a,n,i,d,s;return[(0,l.Z)({"--Icon-fontSize":"1.25em"},t.level&&"inherit"!==t.level&&e.typography[t.level],"inherit"===t.level&&{fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecorationLine:"underline"}},"always"===t.underline&&{textDecoration:"underline"},t.startDecorator&&{verticalAlign:"bottom"},{display:"inline-flex",alignItems:"center",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:e.vars.radius.xs,padding:0,cursor:"pointer"},"context"!==t.color&&{textDecorationColor:`rgba(${null==(o=e.vars.palette[t.color])?void 0:o.mainChannel} / var(--Link-underlineOpacity, 0.72))`},t.variant?(0,l.Z)({paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!t.nesting&&{marginInline:"-0.375em"}):(0,l.Z)({},"context"!==t.color&&{color:`rgba(${null==(r=e.vars.palette[t.color])?void 0:r.mainChannel} / 1)`},{[`&.${y.disabled}`]:(0,l.Z)({pointerEvents:"none"},"context"!==t.color&&{color:`rgba(${null==(a=e.vars.palette[t.color])?void 0:a.mainChannel} / 0.6)`})}),{userSelect:"none",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},t.overlay?{position:"initial","&::after":{content:'""',display:"block",position:"absolute",top:0,left:0,bottom:0,right:0,borderRadius:"var(--unstable_actionRadius, inherit)",margin:"var(--unstable_actionMargin)"},[`${e.focus.selector}`]:{"&::after":e.focus.default}}:{position:"relative",[e.focus.selector]:e.focus.default}),t.variant&&(0,l.Z)({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],"&:active":null==(d=e.variants[`${t.variant}Active`])?void 0:d[t.color],[`&.${y.disabled}`]:null==(s=e.variants[`${t.variant}Disabled`])?void 0:s[t.color]})]}),B=a.forwardRef(function(e,t){let o=(0,p.Z)({props:e,name:"JoyLink"}),{color:n="primary",textColor:i,variant:v}=o,g=(0,r.Z)(o,x),{getColor:f}=(0,u.VT)(v),y=f(e.color,n),B=a.useContext(m.FR),S=a.useContext(m.eu),D=(0,b.Z)((0,l.Z)({},g,{color:i})),{children:$,disabled:W=!1,onBlur:A,onFocus:z,level:F="body1",overlay:L=!1,underline:H="hover",endDecorator:I,startDecorator:_,component:N,slots:E={},slotProps:O={}}=D,M=(0,r.Z)(D,T),P=B||S?e.level||"inherit":F,{isFocusVisibleRef:X,onBlur:Y,onFocus:j,ref:J}=(0,d.Z)(),[V,U]=a.useState(!1),q=(0,s.Z)(t,J),G=(0,l.Z)({},D,{color:y,disabled:W,focusVisible:V,underline:H,variant:v,level:P,overlay:L,nesting:B}),K=R(G),Q=(0,l.Z)({},M,{component:N,slots:E,slotProps:O}),[ee,et]=(0,h.Z)("root",{additionalProps:{onBlur:e=>{Y(e),!1===X.current&&U(!1),A&&A(e)},onFocus:e=>{j(e),!0===X.current&&U(!0),z&&z(e)}},ref:q,className:K.root,elementType:w,externalForwardedProps:Q,ownerState:G}),[eo,er]=(0,h.Z)("startDecorator",{className:K.startDecorator,elementType:k,externalForwardedProps:Q,ownerState:G}),[el,ea]=(0,h.Z)("endDecorator",{className:K.endDecorator,elementType:Z,externalForwardedProps:Q,ownerState:G});return(0,C.jsx)(m.FR.Provider,{value:!0,children:(0,C.jsxs)(ee,(0,l.Z)({},et,{children:[_&&(0,C.jsx)(eo,(0,l.Z)({},er,{children:_})),(0,c.Z)($,["Skeleton"])?a.cloneElement($,{variant:$.props.variant||"inline"}):$,I&&(0,C.jsx)(el,(0,l.Z)({},ea,{children:I}))]}))})});var S=B},83192:function(e,t,o){o.d(t,{Z:function(){return T}});var r=o(46750),l=o(40431),a=o(86006),n=o(89791),i=o(53832),d=o(47562),s=o(88930),c=o(47093),b=o(50645),v=o(18587);function p(e){return(0,v.d6)("MuiTable",e)}(0,v.sI)("MuiTable",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","stickyHeader","stickyFooter","noWrap","hoverRow","borderAxisNone","borderAxisX","borderAxisXBetween","borderAxisY","borderAxisYBetween","borderAxisBoth","borderAxisBothBetween"]);var u=o(22046),h=o(326),g=o(9268);let f=["className","component","children","borderAxis","hoverRow","noWrap","size","variant","color","stripe","stickyHeader","stickyFooter","slots","slotProps"],y=e=>{let{size:t,variant:o,color:r,borderAxis:l,stickyHeader:a,stickyFooter:n,noWrap:s,hoverRow:c}=e,b={root:["root",a&&"stickyHeader",n&&"stickyFooter",s&&"noWrap",c&&"hoverRow",l&&`borderAxis${(0,i.Z)(l)}`,o&&`variant${(0,i.Z)(o)}`,r&&`color${(0,i.Z)(r)}`,t&&`size${(0,i.Z)(t)}`]};return(0,d.Z)(b,p,{})},m={getColumnExceptFirst:()=>"& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th",getCell:()=>"& th, & td",getHeadCell:()=>"& th",getHeaderCell:()=>"& thead th",getHeaderCellOfRow:e=>`& thead tr:nth-of-type(${e}) th`,getBottomHeaderCell:()=>"& thead th:not([colspan])",getHeaderNestedFirstColumn:()=>"& thead tr:not(:first-of-type) th:not([colspan]):first-of-type",getDataCell:()=>"& td",getDataCellExceptLastRow:()=>"& tr:not(:last-of-type) > td",getBodyCellExceptLastRow(){return`${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`},getBodyCellOfRow:e=>"number"==typeof e&&e<0?`& tbody tr:nth-last-of-type(${Math.abs(e)}) td, & tbody tr:nth-last-of-type(${Math.abs(e)}) th[scope="row"]`:`& tbody tr:nth-of-type(${e}) td, & tbody tr:nth-of-type(${e}) th[scope="row"]`,getBodyRow:e=>void 0===e?"& tbody tr":`& tbody tr:nth-of-type(${e})`,getFooterCell:()=>"& tfoot th, & tfoot td",getFooterFirstRowCell:()=>"& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td"},C=(0,b.Z)("table",{name:"JoyTable",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var o,r,a,n,i,d,s;let c=null==(o=e.variants[t.variant])?void 0:o[t.color];return[(0,l.Z)({"--Table-headerUnderlineThickness":"2px","--TableCell-borderColor":null!=(r=null==c?void 0:c.borderColor)?r:e.vars.palette.divider,"--TableCell-headBackground":`var(--Sheet-background, ${e.vars.palette.background.surface})`},"sm"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 32px)","--TableCell-paddingX":"0.25rem","--TableCell-paddingY":"0.25rem",fontSize:e.vars.fontSize.xs},"md"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 40px)","--TableCell-paddingX":"0.5rem","--TableCell-paddingY":"0.375rem",fontSize:e.vars.fontSize.sm},"lg"===t.size&&{"--unstable_TableCell-height":"var(--TableCell-height, 48px)","--TableCell-paddingX":"0.75rem","--TableCell-paddingY":"0.5rem",fontSize:e.vars.fontSize.md},{tableLayout:"fixed",width:"100%",borderSpacing:"0px",borderCollapse:"separate",borderRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))",color:e.vars.palette.text.primary},null==(a=e.variants[t.variant])?void 0:a[t.color],{"& caption":{color:e.vars.palette.text.tertiary,padding:"calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"},[m.getDataCell()]:(0,l.Z)({padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",height:"var(--unstable_TableCell-height)",borderColor:"var(--TableCell-borderColor)",backgroundColor:"var(--TableCell-dataBackground)"},t.noWrap&&{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}),[m.getHeadCell()]:{textAlign:"left",padding:"var(--TableCell-paddingY) var(--TableCell-paddingX)",backgroundColor:"var(--TableCell-headBackground)",height:"var(--unstable_TableCell-height)",fontWeight:e.vars.fontWeight.lg,borderColor:"var(--TableCell-borderColor)",color:e.vars.palette.text.secondary,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},[m.getHeaderCell()]:{verticalAlign:"bottom","&:first-of-type":{borderTopLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderTopRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}},"& tfoot tr > *":{backgroundColor:`var(--TableCell-footBackground, ${e.vars.palette.background.level1})`,"&:first-of-type":{borderBottomLeftRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"},"&:last-of-type":{borderBottomRightRadius:"var(--TableCell-cornerRadius, var(--unstable_actionRadius))"}}}),((null==(n=t.borderAxis)?void 0:n.startsWith("x"))||(null==(i=t.borderAxis)?void 0:i.startsWith("both")))&&{[m.getHeaderCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getBottomHeaderCell()]:{borderBottomWidth:"var(--Table-headerUnderlineThickness)",borderBottomStyle:"solid"},[m.getBodyCellExceptLastRow()]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getFooterCell()]:{borderTopWidth:1,borderTopStyle:"solid"}},((null==(d=t.borderAxis)?void 0:d.startsWith("y"))||(null==(s=t.borderAxis)?void 0:s.startsWith("both")))&&{[`${m.getColumnExceptFirst()}, ${m.getHeaderNestedFirstColumn()}`]:{borderLeftWidth:1,borderLeftStyle:"solid"}},("x"===t.borderAxis||"both"===t.borderAxis)&&{[m.getHeaderCellOfRow(1)]:{borderTopWidth:1,borderTopStyle:"solid"},[m.getBodyCellOfRow(-1)]:{borderBottomWidth:1,borderBottomStyle:"solid"},[m.getFooterCell()]:{borderBottomWidth:1,borderBottomStyle:"solid"}},("y"===t.borderAxis||"both"===t.borderAxis)&&{"& tr > *:first-of-type":{borderLeftWidth:1,borderLeftStyle:"solid"},"& tr > *:last-of-type:not(:first-of-type)":{borderRightWidth:1,borderRightStyle:"solid"}},t.stripe&&{[m.getBodyRow(t.stripe)]:{background:`var(--TableRow-stripeBackground, ${e.vars.palette.background.level1})`,color:e.vars.palette.text.primary}},t.hoverRow&&{[m.getBodyRow()]:{"&:hover":{background:`var(--TableRow-hoverBackground, ${e.vars.palette.background.level2})`}}},t.stickyHeader&&{[m.getHeaderCell()]:{position:"sticky",top:0,zIndex:e.vars.zIndex.table},[m.getHeaderCellOfRow(2)]:{top:"var(--unstable_TableCell-height)"}},t.stickyFooter&&{[m.getFooterCell()]:{position:"sticky",bottom:0,zIndex:e.vars.zIndex.table,color:e.vars.palette.text.secondary,fontWeight:e.vars.fontWeight.lg},[m.getFooterFirstRowCell()]:{bottom:"var(--unstable_TableCell-height)"}}]}),x=a.forwardRef(function(e,t){let o=(0,s.Z)({props:e,name:"JoyTable"}),{className:a,component:i,children:d,borderAxis:b="xBetween",hoverRow:v=!1,noWrap:p=!1,size:m="md",variant:x="plain",color:T="neutral",stripe:R,stickyHeader:k=!1,stickyFooter:Z=!1,slots:w={},slotProps:B={}}=o,S=(0,r.Z)(o,f),{getColor:D}=(0,c.VT)(x),$=D(e.color,T),W=(0,l.Z)({},o,{borderAxis:b,hoverRow:v,noWrap:p,component:i,size:m,color:$,variant:x,stripe:R,stickyHeader:k,stickyFooter:Z}),A=y(W),z=(0,l.Z)({},S,{component:i,slots:w,slotProps:B}),[F,L]=(0,h.Z)("root",{ref:t,className:(0,n.Z)(A.root,a),elementType:C,externalForwardedProps:z,ownerState:W});return(0,g.jsx)(u.eu.Provider,{value:!0,children:(0,g.jsx)(F,(0,l.Z)({},L,{children:d}))})});var T=x}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/769-76f7aafd375fdd6b.js b/pilot/server/static/_next/static/chunks/769-76f7aafd375fdd6b.js deleted file mode 100644 index 58c5e1e1d..000000000 --- a/pilot/server/static/_next/static/chunks/769-76f7aafd375fdd6b.js +++ /dev/null @@ -1,25 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[769],{93644:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})})},32781:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});let n=r(16620),u=r(65231);function o(e,t){return(0,u.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25236:function(e,t){"use strict";function r(e){var t,r;t=self.__next_s,r=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[r,n]=t;return e.then(()=>new Promise((e,t)=>{let u=document.createElement("script");if(n)for(let e in n)"children"!==e&&u.setAttribute(e,n[e]);r?(u.src=r,u.onload=()=>e(),u.onerror=t):n&&(u.innerHTML=n.children,setTimeout(e)),document.head.appendChild(u)}))},Promise.resolve()).then(()=>{r()}).catch(e=>{console.error(e),r()}):r()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return r}}),window.next={version:"13.4.7",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return u}});let n=r(68802);async function u(e,t){let r=(0,n.getServerActionDispatcher)();if(!r)throw Error("Invariant: missing action dispatcher.");return new Promise((n,u)=>{r({actionId:e,actionArgs:t,resolve:n,reject:u})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78828:function(e,t,r){"use strict";let n,u;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return I}});let o=r(26927),a=r(25909);r(93644);let l=o._(r(93194)),i=a._(r(86006)),c=r(35456),s=r(46436);r(56858);let f=o._(r(8589)),d=r(61491),p=r(12417),h=r(74740),_=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),r=0;r{if((0,p.isNextRouterError)(e.error)){e.preventDefault();return}});let y=e=>t=>e(t)+"",b=r.u,v={};r.u=y(e=>encodeURI(v[e]||b(e)));let m=r.k;r.k=y(m);let g=r.miniCssF;r.miniCssF=y(g),self.__next_require__=r,self.__next_chunk_load__=e=>{if(!e)return Promise.resolve();let[t,n]=e.split(":");return v[t]=n,r.e(t)};let O=document,P=()=>{let{pathname:e,search:t}=location;return e+t},E=new TextEncoder,R=!1,j=!1;function S(e){if(0===e[0])n=[];else{if(!n)throw Error("Unexpected server data: missing bootstrap script.");u?u.enqueue(E.encode(e[1])):n.push(e[1])}}let T=function(){u&&!j&&(u.close(),j=!0,n=void 0),R=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",T,!1):T();let M=self.__next_f=self.__next_f||[];M.forEach(S),M.push=S;let w=new Map;function C(e){let{cacheKey:t}=e;i.default.useEffect(()=>{w.delete(t)});let r=function(e){let t=w.get(e);if(t)return t;let r=new ReadableStream({start(e){n&&(n.forEach(t=>{e.enqueue(E.encode(t))}),R&&!j&&(e.close(),j=!0,n=void 0)),u=e}}),o=(0,c.createFromReadableStream)(r,{callServer:d.callServer});return w.set(e,o),o}(t),o=(0,i.use)(r);return o}let x=i.default.Fragment;function A(e){let{children:t}=e;return i.default.useEffect(()=>{},[]),t}function N(e){let t=P();return i.default.createElement(C,{...e,cacheKey:t})}function I(){let e=i.default.createElement(x,null,i.default.createElement(s.HeadManagerContext.Provider,{value:{appDir:!0}},i.default.createElement(A,null,i.default.createElement(N,null)))),t={onRecoverableError:f.default},r="__next_error__"===document.documentElement.id,n=r?l.default.createRoot(O,t):i.default.startTransition(()=>l.default.hydrateRoot(O,e,t));r&&n.render(e),(0,h.linkGc)()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74740:function(e,t){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"linkGc",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29070:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(25236);(0,n.appBootstrap)(()=>{r(68802),r(13211);let{hydrate:e}=r(78828);e()}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36321:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppRouterAnnouncer",{enumerable:!0,get:function(){return a}});let n=r(86006),u=r(8431),o="next-route-announcer";function a(e){let{tree:t}=e,[r,a]=(0,n.useState)(null);(0,n.useEffect)(()=>{let e=function(){var e;let t=document.getElementsByName(o)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(o);e.style.cssText="position:absolute";let t=document.createElement("div");t.setAttribute("aria-live","assertive"),t.setAttribute("id","__next-route-announcer__"),t.setAttribute("role","alert"),t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal";let r=e.attachShadow({mode:"open"});return r.appendChild(t),document.body.appendChild(e),t}}();return a(e),()=>{let e=document.getElementsByTagName(o)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}},[]);let[l,i]=(0,n.useState)(""),c=(0,n.useRef)();return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&i(e),c.current=e},[t]),r?(0,u.createPortal)(l,r):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84767:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RSC:function(){return r},ACTION:function(){return n},NEXT_ROUTER_STATE_TREE:function(){return u},NEXT_ROUTER_PREFETCH:function(){return o},NEXT_URL:function(){return a},FETCH_CACHE_HEADER:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return i},RSC_VARY_HEADER:function(){return c},FLIGHT_PARAMETERS:function(){return s},NEXT_RSC_UNION_QUERY:function(){return f}});let r="RSC",n="Next-Action",u="Next-Router-State-Tree",o="Next-Router-Prefetch",a="Next-Url",l="x-vercel-sc-headers",i="text/x-component",c=r+", "+u+", "+o,s=[[r],[u],[o]],f="_rsc";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68802:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getServerActionDispatcher:function(){return E},urlToUrlWithoutFlightMarker:function(){return R},default:function(){return M}});let n=r(25909),u=n._(r(86006)),o=r(56858),a=r(41732),l=r(39748),i=r(56312),c=r(70510),s=r(27214),f=r(14299),d=r(22457),p=r(75247),h=r(32781),_=r(36321),y=r(51323),b=r(77776),v=r(36822),m=r(98068),g=r(84767),O=new Map,P=null;function E(){return P}function R(e){let t=new URL(e,location.origin);return t.searchParams.delete(g.NEXT_RSC_UNION_QUERY),t.pathname.endsWith("/index.txt")?t.pathname=t.pathname.slice(0,-10):t.pathname=t.pathname.slice(0,-4),t}function j(e){return e.origin!==window.location.origin}function S(e){let{tree:t,pushRef:r,canonicalUrl:n,sync:o}=e;return u.default.useInsertionEffect(()=>{let e={__NA:!0,tree:t};r.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==n?(r.pendingPush=!1,window.history.pushState(e,"",n)):window.history.replaceState(e,"",n),o()},[t,r,n,o]),null}function T(e){let{buildId:t,initialHead:r,initialTree:n,initialCanonicalUrl:i,children:f,assetPrefix:g,notFound:E,notFoundStyles:R,asNotFound:T}=e,M=(0,u.useMemo)(()=>(0,d.createInitialRouterState)({buildId:t,children:f,initialCanonicalUrl:i,initialTree:n,initialParallelRoutes:O,isServer:!1,location:window.location,initialHead:r}),[t,f,i,n,r]),[{tree:w,cache:C,prefetchCache:x,pushRef:A,focusAndScrollRef:N,canonicalUrl:I,nextUrl:D},F,k]=(0,s.useReducerWithReduxDevtools)(a.reducer,M);(0,u.useEffect)(()=>{O=null},[]);let{searchParams:L,pathname:U}=(0,u.useMemo)(()=>{let e=new URL(I,window.location.href);return{searchParams:e.searchParams,pathname:e.pathname}},[I]),H=(0,u.useCallback)((e,t,r)=>{u.default.startTransition(()=>{F({type:l.ACTION_SERVER_PATCH,flightData:t,previousTree:e,overrideCanonicalUrl:r,cache:{status:o.CacheStates.LAZY_INITIALIZED,data:null,subTreeData:null,parallelRoutes:new Map},mutable:{}})})},[F]),$=(0,u.useCallback)((e,t,r)=>{let n=new URL((0,h.addBasePath)(e),location.href);return F({type:l.ACTION_NAVIGATE,url:n,isExternalUrl:j(n),locationSearch:location.search,forceOptimisticNavigation:r,navigateType:t,cache:{status:o.CacheStates.LAZY_INITIALIZED,data:null,subTreeData:null,parallelRoutes:new Map},mutable:{}})},[F]),W=(0,u.useCallback)(e=>{u.default.startTransition(()=>{F({...e,type:l.ACTION_SERVER_ACTION,mutable:{},navigate:$,changeByServerResponse:H})})},[H,F,$]);P=W;let B=(0,u.useMemo)(()=>{let e={back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{if((0,p.isBot)(window.navigator.userAgent))return;let r=new URL((0,h.addBasePath)(e),location.href);j(r)||u.default.startTransition(()=>{var e;F({type:l.ACTION_PREFETCH,url:r,kind:null!=(e=null==t?void 0:t.kind)?e:l.PrefetchKind.FULL})})},replace:(e,t)=>{void 0===t&&(t={}),u.default.startTransition(()=>{$(e,"replace",!!t.forceOptimisticNavigation)})},push:(e,t)=>{void 0===t&&(t={}),u.default.startTransition(()=>{$(e,"push",!!t.forceOptimisticNavigation)})},refresh:()=>{u.default.startTransition(()=>{F({type:l.ACTION_REFRESH,cache:{status:o.CacheStates.LAZY_INITIALIZED,data:null,subTreeData:null,parallelRoutes:new Map},mutable:{},origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}};return e},[F,$]);if((0,u.useEffect)(()=>{window.next&&(window.next.router=B)},[B]),(0,u.useEffect)(()=>{window.nd={router:B,cache:C,prefetchCache:x,tree:w}},[B,C,x,w]),A.mpaNavigation){let e=window.location;A.pendingPush?e.assign(I):e.replace(I),(0,u.use)((0,m.createInfinitePromise)())}let Y=(0,u.useCallback)(e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}u.default.startTransition(()=>{F({type:l.ACTION_RESTORE,url:new URL(window.location.href),tree:t.tree})})}},[F]);(0,u.useEffect)(()=>(window.addEventListener("popstate",Y),()=>{window.removeEventListener("popstate",Y)}),[Y]);let V=(0,u.useMemo)(()=>(0,v.findHeadInCache)(C,w[1]),[C,w]),G=u.default.createElement(b.NotFoundBoundary,{notFound:E,notFoundStyles:R,asNotFound:T},u.default.createElement(y.RedirectBoundary,null,V,C.subTreeData,u.default.createElement(_.AppRouterAnnouncer,{tree:w})));return u.default.createElement(u.default.Fragment,null,u.default.createElement(S,{tree:w,pushRef:A,canonicalUrl:I,sync:k}),u.default.createElement(c.PathnameContext.Provider,{value:U},u.default.createElement(c.SearchParamsContext.Provider,{value:L},u.default.createElement(o.GlobalLayoutRouterContext.Provider,{value:{buildId:t,changeByServerResponse:H,tree:w,focusAndScrollRef:N,nextUrl:D}},u.default.createElement(o.AppRouterContext.Provider,{value:B},u.default.createElement(o.LayoutRouterContext.Provider,{value:{childNodes:C.parallelRoutes,tree:w,url:I}},G))))))}function M(e){let{globalErrorComponent:t,...r}=e;return u.default.createElement(f.ErrorBoundary,{errorComponent:t},u.default.createElement(T,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30955:function(e,t,r){"use strict";function n(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return n}}),r(26927),r(86006),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14299:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundaryHandler:function(){return l},default:function(){return i},ErrorBoundary:function(){return c}});let n=r(26927),u=n._(r(86006)),o=r(30794),a={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};class l extends u.default.Component{static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?u.default.createElement(u.default.Fragment,null,this.props.errorStyles,u.default.createElement(this.props.errorComponent,{error:this.state.error,reset:this.reset})):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function i(e){let{error:t}=e;return u.default.createElement("html",null,u.default.createElement("head",null),u.default.createElement("body",null,u.default.createElement("div",{style:a.error},u.default.createElement("div",null,u.default.createElement("h2",{style:a.text},"Application error: a client-side exception has occurred (see the browser console for more information)."),(null==t?void 0:t.digest)&&u.default.createElement("p",{style:a.text},"Digest: "+t.digest)))))}function c(e){let{errorComponent:t,errorStyles:r,children:n}=e,a=(0,o.usePathname)();return t?u.default.createElement(l,{pathname:a,errorComponent:t,errorStyles:r},n):u.default.createElement(u.default.Fragment,null,n)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45085:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DYNAMIC_ERROR_CODE:function(){return r},DynamicServerError:function(){return n}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.digest=r}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98068:function(e,t){"use strict";let r;function n(){return r||(r=new Promise(()=>{})),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInfinitePromise",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12417:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return o}});let n=r(6090),u=r(89510);function o(e){return e&&e.digest&&((0,u.isRedirectError)(e)||(0,n.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13211:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});let n=r(26927),u=r(25909),o=u._(r(86006)),a=n._(r(8431)),l=r(56858),i=r(67630),c=r(98068),s=r(14299),f=r(7686),d=r(33811),p=r(51323),h=r(77776),_=r(90020),y=r(55114),b=["bottom","height","left","right","top","width","x","y"];function v(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class m extends o.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){var r;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,f.matchSegment)(t,e[r]))))return;let n=null,u=e.hashFragment;if(u&&(n="top"===u?document.body:null!=(r=document.getElementById(u))?r:document.getElementsByName(u)[0]),n||(n=a.default.findDOMNode(this)),!(n instanceof Element))return;for(;!(n instanceof HTMLElement)||function(e){let t=e.getBoundingClientRect();return b.every(e=>0===t[e])}(n);){if(null===n.nextElementSibling)return;n=n.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,d.handleSmoothScroll)(()=>{if(u){n.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!v(n,t)&&(e.scrollTop=0,v(n,t)||n.scrollIntoView())},{dontForceLayout:!0}),n.focus()}}}}function g(e){let{segmentPath:t,children:r}=e,n=(0,o.useContext)(l.GlobalLayoutRouterContext);if(!n)throw Error("invariant global layout router not mounted");return o.default.createElement(m,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef},r)}function O(e){let{parallelRouterKey:t,url:r,childNodes:n,childProp:u,segmentPath:a,tree:s,cacheKey:d}=e,p=(0,o.useContext)(l.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:_,tree:y}=p,b=n.get(d);if(u&&null!==u.current&&(b?b.status===l.CacheStates.LAZY_INITIALIZED&&(b.status=l.CacheStates.READY,b.subTreeData=u.current):(n.set(d,{status:l.CacheStates.READY,data:null,subTreeData:u.current,parallelRoutes:new Map}),b=n.get(d))),!b||b.status===l.CacheStates.LAZY_INITIALIZED){let e=function e(t,r){if(t){let[n,u]=t,o=2===t.length;if((0,f.matchSegment)(r[0],n)&&r[1].hasOwnProperty(u)){if(o){let t=e(void 0,r[1][u]);return[r[0],{...r[1],[u]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[u]:e(t.slice(2),r[1][u])}]}}return r}(["",...a],y);n.set(d,{status:l.CacheStates.DATA_FETCH,data:(0,i.fetchServerResponse)(new URL(r,location.origin),e,p.nextUrl,h),subTreeData:null,head:b&&b.status===l.CacheStates.LAZY_INITIALIZED?b.head:void 0,parallelRoutes:b&&b.status===l.CacheStates.LAZY_INITIALIZED?b.parallelRoutes:new Map}),b=n.get(d)}if(!b)throw Error("Child node should always exist");if(b.subTreeData&&b.data)throw Error("Child node should not have both subTreeData and data");if(b.data){let[e,t]=(0,o.use)(b.data);if("string"==typeof e)return window.location.href=r,null;b.data=null,setTimeout(()=>{o.default.startTransition(()=>{_(y,e,t)})}),(0,o.use)((0,c.createInfinitePromise)())}b.subTreeData||(0,o.use)((0,c.createInfinitePromise)());let v=o.default.createElement(l.LayoutRouterContext.Provider,{value:{tree:s[1][t],childNodes:b.parallelRoutes,url:r}},b.subTreeData);return v}function P(e){let{children:t,loading:r,loadingStyles:n,hasLoading:u}=e;return u?o.default.createElement(o.default.Suspense,{fallback:o.default.createElement(o.default.Fragment,null,n,r)},t):o.default.createElement(o.default.Fragment,null,t)}function E(e){let{parallelRouterKey:t,segmentPath:r,childProp:n,error:u,errorStyles:a,templateStyles:i,loading:c,loadingStyles:d,hasLoading:b,template:v,notFound:m,notFoundStyles:E,asNotFound:R,styles:j}=e,S=(0,o.useContext)(l.LayoutRouterContext);if(!S)throw Error("invariant expected layout router to be mounted");let{childNodes:T,tree:M,url:w}=S,C=T.get(t);C||(T.set(t,new Map),C=T.get(t));let x=M[1][t][0],A=n.segment,N=(0,_.getSegmentValue)(x),I=[x];return o.default.createElement(o.default.Fragment,null,j,I.map(e=>{let j=(0,f.matchSegment)(e,A),S=(0,_.getSegmentValue)(e),T=(0,y.createRouterCacheKey)(e);return o.default.createElement(l.TemplateContext.Provider,{key:(0,y.createRouterCacheKey)(e,!0),value:o.default.createElement(g,{segmentPath:r},o.default.createElement(s.ErrorBoundary,{errorComponent:u,errorStyles:a},o.default.createElement(P,{hasLoading:b,loading:c,loadingStyles:d},o.default.createElement(h.NotFoundBoundary,{notFound:m,notFoundStyles:E,asNotFound:R},o.default.createElement(p.RedirectBoundary,null,o.default.createElement(O,{parallelRouterKey:t,url:w,tree:M,childNodes:C,childProp:j?n:null,segmentPath:r,cacheKey:T,isActive:N===S}))))))},o.default.createElement(o.default.Fragment,null,i,v))}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7686:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{matchSegment:function(){return u},canSegmentBeOverridden:function(){return o}});let n=r(24778),u=(e,t)=>"string"==typeof e&&"string"==typeof t?e===t:!!(Array.isArray(e)&&Array.isArray(t))&&e[0]===t[0]&&e[1]===t[1],o=(e,t)=>{var r;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(r=(0,n.getSegmentParam)(e))?void 0:r.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30794:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return p},useSearchParams:function(){return h},usePathname:function(){return _},ServerInsertedHTMLContext:function(){return i.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return i.useServerInsertedHTML},useRouter:function(){return y},useParams:function(){return b},useSelectedLayoutSegments:function(){return v},useSelectedLayoutSegment:function(){return m},redirect:function(){return c.redirect},notFound:function(){return s.notFound}});let n=r(86006),u=r(56858),o=r(70510),a=r(30955),l=r(90020),i=r(16540),c=r(89510),s=r(6090),f=Symbol("internal for urlsearchparams readonly");function d(){return Error("ReadonlyURLSearchParams cannot be modified")}class p{[Symbol.iterator](){return this[f][Symbol.iterator]()}append(){throw d()}delete(){throw d()}set(){throw d()}sort(){throw d()}constructor(e){this[f]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e)}}function h(){(0,a.clientHookInServerComponentError)("useSearchParams");let e=(0,n.useContext)(o.SearchParamsContext),t=(0,n.useMemo)(()=>e?new p(e):null,[e]);return t}function _(){return(0,a.clientHookInServerComponentError)("usePathname"),(0,n.useContext)(o.PathnameContext)}function y(){(0,a.clientHookInServerComponentError)("useRouter");let e=(0,n.useContext)(u.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function b(){(0,a.clientHookInServerComponentError)("useParams");let e=(0,n.useContext)(u.GlobalLayoutRouterContext);return e?function e(t,r){void 0===r&&(r={});let n=t[1];for(let t of Object.values(n)){let n=t[0],u=Array.isArray(n),o=u?n[1]:n;!o||o.startsWith("__PAGE__")||(u&&(r[n[0]]=n[1]),r=e(t,r))}return r}(e.tree):null}function v(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,n.useContext)(u.LayoutRouterContext);return function e(t,r,n,u){let o;if(void 0===n&&(n=!0),void 0===u&&(u=[]),n)o=t[1][r];else{var a;let e=t[1];o=null!=(a=e.children)?a:Object.values(e)[0]}if(!o)return u;let i=o[0],c=(0,l.getSegmentValue)(i);return!c||c.startsWith("__PAGE__")?u:(u.push(c),e(o,r,!1,u))}(t,e)}function m(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=v(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77776:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return l}});let n=r(26927),u=n._(r(86006)),o=r(30794);class a extends u.default.Component{static getDerivedStateFromError(e){if((null==e?void 0:e.digest)==="NEXT_NOT_FOUND")return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?u.default.createElement(u.default.Fragment,null,u.default.createElement("meta",{name:"robots",content:"noindex"}),this.props.notFoundStyles,this.props.notFound):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function l(e){let{notFound:t,notFoundStyles:r,asNotFound:n,children:l}=e,i=(0,o.usePathname)();return t?u.default.createElement(a,{pathname:i,notFound:t,notFoundStyles:r,asNotFound:n},l):u.default.createElement(u.default.Fragment,null,l)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6090:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{notFound:function(){return n},isNotFoundError:function(){return u}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function u(e){return(null==e?void 0:e.digest)===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51323:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectErrorBoundary:function(){return i},RedirectBoundary:function(){return c}});let n=r(25909),u=n._(r(86006)),o=r(30794),a=r(89510);function l(e){let{redirect:t,reset:r,redirectType:n}=e,l=(0,o.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{n===a.RedirectType.push?l.push(t,{}):l.replace(t,{}),r()})},[t,n,r,l]),null}class i extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isRedirectError)(e)){let t=(0,a.getURLFromRedirectError)(e),r=(0,a.getRedirectTypeFromError)(e);return{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?u.default.createElement(l,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function c(e){let{children:t}=e,r=(0,o.useRouter)();return u.default.createElement(i,{router:r},t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},89510:function(e,t,r){"use strict";var n,u;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return l},redirect:function(){return i},isRedirectError:function(){return c},getURLFromRedirectError:function(){return s},getRedirectTypeFromError:function(){return f}});let o=r(68214),a="NEXT_REDIRECT";function l(e,t){let r=Error(a);r.digest=a+";"+t+";"+e;let n=o.requestAsyncStorage.getStore();return n&&(r.mutableCookies=n.mutableCookies),r}function i(e,t){throw void 0===t&&(t="replace"),l(e,t)}function c(e){if("string"!=typeof(null==e?void 0:e.digest))return!1;let[t,r,n]=e.digest.split(";",3);return t===a&&("replace"===r||"push"===r)&&"string"==typeof n}function s(e){return c(e)?e.digest.split(";",3)[2]:null}function f(e){if(!c(e))throw Error("Not a redirect error");return e.digest.split(";",3)[1]}(u=n||(n={})).push="push",u.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5767:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(25909),u=n._(r(86006)),o=r(56858);function a(){let e=(0,u.useContext)(o.TemplateContext);return u.default.createElement(u.default.Fragment,null,e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81440:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return a}});let n=r(56858),u=r(87839),o=r(57570);function a(e,t,r,a){void 0===a&&(a=!1);let[l,i,c]=r.slice(-3);return null!==i&&(3===r.length?(t.status=n.CacheStates.READY,t.subTreeData=i,(0,u.fillLazyItemsTillLeafWithHead)(t,e,l,c,a)):(t.status=n.CacheStates.READY,t.subTreeData=e.subTreeData,t.parallelRoutes=new Map(e.parallelRoutes),(0,o.fillCacheWithNewSubTreeData)(t,e,r,a)),!0)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94427:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,r,o){let a;let[l,i,,,c]=r;if(1===t.length){let e=u(r,o);return e}let[s,f]=t;if(!(0,n.matchSegment)(s,l))return null;let d=2===t.length;if(d)a=u(i[f],o);else if(null===(a=e(t.slice(2),i[f],o)))return null;let p=[t[0],{...i,[f]:a}];return c&&(p[4]=!0),p}}});let n=r(7686);function u(e,t){let[r,o]=e,[a,l]=t;if("__DEFAULT__"===a&&"__DEFAULT__"!==r)return e;if((0,n.matchSegment)(r,a)){let t={};for(let e in o){let r=void 0!==l[e];r?t[e]=u(o[e],l[e]):t[e]=o[e]}for(let e in l)t[e]||(t[e]=l[e]);let n=[r,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27338:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{extractPathFromFlightRouterState:function(){return l},computeChangedPath:function(){return i}});let n=r(47399),u=r(7686),o=e=>"string"==typeof e?e:e[1];function a(e){return e.split("/").reduce((e,t)=>""===t||t.startsWith("(")&&t.endsWith(")")?e:e+"/"+t,"")||"/"}function l(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if("__DEFAULT__"===r||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith("__PAGE__"))return"";let u=[r],o=null!=(t=e[1])?t:{},i=o.children?l(o.children):void 0;if(void 0!==i)u.push(i);else for(let[e,t]of Object.entries(o)){if("children"===e)continue;let r=l(t);void 0!==r&&u.push(r)}return a(u.join("/"))}function i(e,t){let r=function e(t,r){let[a,i]=t,[c,s]=r,f=o(a),d=o(c);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(a,c)){var p;return null!=(p=l(r))?p:""}for(let t in i)if(s[t]){let r=e(i[t],s[t]);if(null!==r)return o(c)+"/"+r}return null}(e,t);return null==r||"/"===r?r:a(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56312:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22457:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return l}});let n=r(56858),u=r(56312),o=r(87839),a=r(27338);function l(e){var t;let{buildId:r,initialTree:l,children:i,initialCanonicalUrl:c,initialParallelRoutes:s,isServer:f,location:d,initialHead:p}=e,h={status:n.CacheStates.READY,data:null,subTreeData:i,parallelRoutes:f?new Map:s};return(null===s||0===s.size)&&(0,o.fillLazyItemsTillLeafWithHead)(h,void 0,l,p),{buildId:r,tree:l,cache:h,prefetchCache:new Map,pushRef:{pendingPush:!1,mpaNavigation:!1},focusAndScrollRef:{apply:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:d?(0,u.createHrefFromUrl)(d):c,nextUrl:null!=(t=(0,a.extractPathFromFlightRouterState)(l)||(null==d?void 0:d.pathname))?t:null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35434:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createOptimisticTree",{enumerable:!0,get:function(){return function e(t,r,u){let o;let[a,l,i,c,s]=r||[null,{}],f=t[0],d=1===t.length,p=null!==a&&(0,n.matchSegment)(a,f),h=Object.keys(l).length>1,_=!r||!p||h,y={};if(null!==a&&p&&(y=l),!d&&!h){let r=e(t.slice(1),y?y.children:null,u||_);o=r}let b=[f,{...y,...o?{children:o}:{}}];return i&&(b[2]=i),!u&&_?b[3]="refetch":p&&c&&(b[3]=c),p&&s&&(b[4]=s),b}}});let n=r(7686);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55199:function(e,t){"use strict";function r(e){return e.status="pending",e.then(t=>{"pending"===e.status&&(e.status="fulfilled",e.value=t)},t=>{"pending"===e.status&&(e.status="rejected",e.value=t)}),e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRecordFromThenable",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55114:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=!1),Array.isArray(e)?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith("__PAGE__")?"__PAGE__":e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67630:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return s}});let n=r(35456),u=r(84767),o=r(68802),a=r(61491),l=r(39748),i=r(4877);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0]}async function s(e,t,r,s,f){let d={[u.RSC]:"1",[u.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};f===l.PrefetchKind.AUTO&&(d[u.NEXT_ROUTER_PREFETCH]="1"),r&&(d[u.NEXT_URL]=r);let p=(0,i.hexHash)([d[u.NEXT_ROUTER_PREFETCH]||"0",d[u.NEXT_ROUTER_STATE_TREE]].join(","));try{let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(u.NEXT_RSC_UNION_QUERY,p);let r=await fetch(t,{credentials:"same-origin",headers:d}),l=(0,o.urlToUrlWithoutFlightMarker)(r.url),i=r.redirected?l:void 0,f=r.headers.get("content-type")||"",h=f===u.RSC_CONTENT_TYPE_HEADER;if(h||(h=f.startsWith("text/plain")),!h||!r.ok)return c(l.toString());let[_,y]=await (0,n.createFromFetch)(Promise.resolve(r),{callServer:a.callServer});if(s!==_)return c(r.url);return[y,i]}catch(t){return console.error("Failed to fetch RSC payload. Falling back to browser navigation.",t),[e.toString(),void 0]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithDataProperty",{enumerable:!0,get:function(){return function e(t,r,o,a,l){void 0===l&&(l=!1);let i=o.length<=2,[c,s]=o,f=(0,u.createRouterCacheKey)(s),d=r.parallelRoutes.get(c);if(!d||l&&r.parallelRoutes.size>1)return{bailOptimistic:!0};let p=t.parallelRoutes.get(c);p&&p!==d||(p=new Map(d),t.parallelRoutes.set(c,p));let h=d.get(f),_=p.get(f);if(i){_&&_.data&&_!==h||p.set(f,{status:n.CacheStates.DATA_FETCH,data:a(),subTreeData:null,parallelRoutes:new Map});return}if(!_||!h){_||p.set(f,{status:n.CacheStates.DATA_FETCH,data:a(),subTreeData:null,parallelRoutes:new Map});return}return _===h&&(_={status:_.status,data:_.data,subTreeData:_.subTreeData,parallelRoutes:new Map(_.parallelRoutes)},p.set(f,_)),e(_,h,o.slice(2),a)}}});let n=r(56858),u=r(55114);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57570:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,r,l,i){let c=l.length<=5,[s,f]=l,d=(0,a.createRouterCacheKey)(f),p=r.parallelRoutes.get(s);if(!p)return;let h=t.parallelRoutes.get(s);h&&h!==p||(h=new Map(p),t.parallelRoutes.set(s,h));let _=p.get(d),y=h.get(d);if(c){y&&y.data&&y!==_||(y={status:n.CacheStates.READY,data:null,subTreeData:l[3],parallelRoutes:_?new Map(_.parallelRoutes):new Map},_&&(0,u.invalidateCacheByRouterState)(y,_,l[2]),(0,o.fillLazyItemsTillLeafWithHead)(y,_,l[2],l[4],i),h.set(d,y));return}y&&_&&(y===_&&(y={status:y.status,data:y.data,subTreeData:y.subTreeData,parallelRoutes:new Map(y.parallelRoutes)},h.set(d,y)),e(y,_,l.slice(2),i))}}});let n=r(56858),u=r(72883),o=r(87839),a=r(55114);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87839:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,o,a,l){let i=0===Object.keys(o[1]).length;if(i){t.head=a;return}for(let i in o[1]){let c=o[1][i],s=c[0],f=(0,u.createRouterCacheKey)(s);if(r){let u=r.parallelRoutes.get(i);if(u){let r=new Map(u),o=r.get(f),s=l&&o?{status:o.status,data:o.data,subTreeData:o.subTreeData,parallelRoutes:new Map(o.parallelRoutes)}:{status:n.CacheStates.LAZY_INITIALIZED,data:null,subTreeData:null,parallelRoutes:new Map(null==o?void 0:o.parallelRoutes)};r.set(f,s),e(s,o,c,a,l),t.parallelRoutes.set(i,r);continue}}let d={status:n.CacheStates.LAZY_INITIALIZED,data:null,subTreeData:null,parallelRoutes:new Map},p=t.parallelRoutes.get(i);p?p.set(f,d):t.parallelRoutes.set(i,new Map([[f,d]])),e(d,void 0,c,a,l)}}}});let n=r(56858),u=r(55114);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29368:function(e,t){"use strict";var r,n;function u(e){let{kind:t,prefetchTime:r,lastUsedTime:n}=e;return Date.now()<(null!=n?n:r)+3e4?n?"reusable":"fresh":"auto"===t&&Date.now()["children",e]).flat(),p=(0,c.fillCacheWithDataProperty)(f,e.cache,d,()=>(t||(t=(0,o.createRecordFromThenable)((0,u.fetchServerResponse)(r,i,e.nextUrl,e.buildId))),t),!0);if(!(null==p?void 0:p.bailOptimistic))return R.previousTree=e.tree,R.patchedTree=i,R.pendingPush=w,R.hashFragment=T,R.scrollableSegments=[],R.cache=f,R.canonicalUrl=M,e.prefetchCache.set((0,l.createHrefFromUrl)(r,!1),{data:Promise.resolve(t),kind:h.PrefetchKind.TEMPORARY,prefetchTime:Date.now(),treeAtTimeOfPrefetch:e.tree,lastUsedTime:Date.now()}),(0,_.handleMutable)(e,R)}if(!x){let t=(0,o.createRecordFromThenable)((0,u.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId)),n={data:Promise.resolve(t),kind:h.PrefetchKind.TEMPORARY,prefetchTime:Date.now(),treeAtTimeOfPrefetch:e.tree,lastUsedTime:null};e.prefetchCache.set((0,l.createHrefFromUrl)(r,!1),n),x=n}let A=(0,b.getPrefetchEntryCacheStatus)(x),{treeAtTimeOfPrefetch:N,data:I}=x,[D,F]=(0,a.readRecordValue)(I);if(x.lastUsedTime=Date.now(),"string"==typeof D)return m(e,R,D,w);let k=e.tree,L=e.cache,U=[];for(let t of D){let o=t.slice(0,-4),[a]=t.slice(-3),l=(0,f.applyRouterStatePatchToTree)(["",...o],k,a);if(null===l&&(l=(0,f.applyRouterStatePatchToTree)(["",...o],N,a)),null!==l){if((0,p.isNavigatingToNewRootLayout)(k,l))return m(e,R,M,w);let s=(0,y.applyFlightData)(L,E,t,"auto"===x.kind&&A===b.PrefetchCacheEntryStatus.reusable);s||A!==b.PrefetchCacheEntryStatus.stale||(s=function(e,t,r,u,o){let a=!1;e.status=n.CacheStates.READY,e.subTreeData=t.subTreeData,e.parallelRoutes=new Map(t.parallelRoutes);let l=g(u).map(e=>[...r,...e]);for(let r of l){let n=(0,c.fillCacheWithDataProperty)(e,t,r,o);(null==n?void 0:n.bailOptimistic)||(a=!0)}return a}(E,L,o,a,()=>(0,u.fetchServerResponse)(r,k,e.nextUrl,e.buildId)));let f=(0,d.shouldHardNavigate)(["",...o],k);for(let e of(f?(E.status=n.CacheStates.READY,E.subTreeData=L.subTreeData,(0,i.invalidateCacheBelowFlightSegmentPath)(E,L,o),R.cache=E):s&&(R.cache=E),L=E,k=l,g(a))){let t=[...o,...e];"__DEFAULT__"!==t[t.length-1]&&U.push(t)}}}return R.previousTree=e.tree,R.patchedTree=k,R.scrollableSegments=U,R.canonicalUrl=F?(0,l.createHrefFromUrl)(F):M,R.pendingPush=w,R.hashFragment=T,(0,_.handleMutable)(e,R)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"prefetchReducer",{enumerable:!0,get:function(){return c}});let n=r(56312),u=r(67630),o=r(39748),a=r(55199),l=r(18908),i=r(84767);function c(e,t){(0,l.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;r.searchParams.delete(i.NEXT_RSC_UNION_QUERY);let c=(0,n.createHrefFromUrl)(r,!1),s=e.prefetchCache.get(c);if(s&&(s.kind===o.PrefetchKind.TEMPORARY&&e.prefetchCache.set(c,{...s,kind:t.kind}),!(s.kind===o.PrefetchKind.AUTO&&t.kind===o.PrefetchKind.FULL)))return e;let f=(0,a.createRecordFromThenable)((0,u.fetchServerResponse)(r,e.tree,e.nextUrl,e.buildId,t.kind));return e.prefetchCache.set(c,{treeAtTimeOfPrefetch:e.tree,data:f,kind:t.kind,prefetchTime:Date.now(),lastUsedTime:null}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18908:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"prunePrefetchCache",{enumerable:!0,get:function(){return u}});let n=r(29368);function u(e){for(let[t,r]of e)(0,n.getPrefetchEntryCacheStatus)(r)===n.PrefetchCacheEntryStatus.expired&&e.delete(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45905:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return p}});let n=r(67630),u=r(55199),o=r(69736),a=r(56312),l=r(94427),i=r(36711),c=r(57577),s=r(65780),f=r(56858),d=r(87839);function p(e,t){let{cache:r,mutable:p,origin:h}=t,_=e.canonicalUrl,y=JSON.stringify(p.previousTree)===JSON.stringify(e.tree);if(y)return(0,s.handleMutable)(e,p);r.data||(r.data=(0,u.createRecordFromThenable)((0,n.fetchServerResponse)(new URL(_,h),[e.tree[0],e.tree[1],e.tree[2],"refetch"],e.nextUrl,e.buildId)));let[b,v]=(0,o.readRecordValue)(r.data);if("string"==typeof b)return(0,c.handleExternalUrl)(e,p,b,e.pushRef.pendingPush);r.data=null;let m=e.tree;for(let t of b){if(3!==t.length)return console.log("REFRESH FAILED"),e;let[n]=t,u=(0,l.applyRouterStatePatchToTree)([""],m,n);if(null===u)throw Error("SEGMENT MISMATCH");if((0,i.isNavigatingToNewRootLayout)(m,u))return(0,c.handleExternalUrl)(e,p,_,e.pushRef.pendingPush);let o=v?(0,a.createHrefFromUrl)(v):void 0;v&&(p.canonicalUrl=o);let[s,h]=t.slice(-2);null!==s&&(r.status=f.CacheStates.READY,r.subTreeData=s,(0,d.fillLazyItemsTillLeafWithHead)(r,void 0,n,h),p.cache=r,p.prefetchCache=new Map),p.previousTree=m,p.patchedTree=u,p.canonicalUrl=_,m=u}return(0,s.handleMutable)(e,p)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92056:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let n=r(56312);function u(e,t){let{url:r,tree:u}=t,o=(0,n.createHrefFromUrl)(r);return{buildId:e.buildId,canonicalUrl:o,pushRef:e.pushRef,focusAndScrollRef:e.focusAndScrollRef,cache:e.cache,prefetchCache:e.prefetchCache,tree:u,nextUrl:r.pathname}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6110:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return p}});let n=r(61491),u=r(84767),o=r(55199),a=r(69736),l=r(35456),i=r(39748),c=r(32781),s=r(56312),f=r(89510);async function d(e,t){let r,{actionId:o,actionArgs:a}=t,i=await (0,l.encodeReply)(a),s=await fetch("",{method:"POST",headers:{Accept:u.RSC_CONTENT_TYPE_HEADER,"Next-Action":o,[u.NEXT_ROUTER_STATE_TREE]:JSON.stringify(e.tree),...e.nextUrl?{[u.NEXT_URL]:e.nextUrl}:{}},body:i}),f=s.headers.get("x-action-redirect");try{let e=JSON.parse(s.headers.get("x-action-revalidated")||"[[],0,0]");r={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){r={paths:[],tag:!1,cookie:!1}}let d=f?new URL((0,c.addBasePath)(f),window.location.origin):void 0;if(s.headers.get("content-type")===u.RSC_CONTENT_TYPE_HEADER){let e=await (0,l.createFromFetch)(Promise.resolve(s),{callServer:n.callServer});if(f){let[,t]=e;return{actionFlightData:null==t?void 0:t[1],redirectLocation:d,revalidatedParts:r}}{let[t,[,n]]=null!=e?e:[];return{actionResult:t,actionFlightData:n,redirectLocation:d,revalidatedParts:r}}}return{redirectLocation:d,revalidatedParts:r}}function p(e,t){if(t.mutable.serverActionApplied)return e;t.mutable.inFlightServerAction||(t.mutable.previousTree=e.tree,t.mutable.previousUrl=e.canonicalUrl,t.mutable.inFlightServerAction=(0,o.createRecordFromThenable)(d(e,t)));try{var r,n;let{actionResult:u,actionFlightData:l,redirectLocation:c,revalidatedParts:d}=(0,a.readRecordValue)(t.mutable.inFlightServerAction);if(d.tag||d.cookie?e.prefetchCache.clear():d.paths.length>0&&e.prefetchCache.clear(),c){if(l){let n=(0,s.createHrefFromUrl)(c,!1),u=e.prefetchCache.get(n);e.prefetchCache.set(n,{data:(0,o.createRecordFromThenable)(Promise.resolve([l,void 0])),kind:null!=(r=null==u?void 0:u.kind)?r:i.PrefetchKind.TEMPORARY,prefetchTime:Date.now(),treeAtTimeOfPrefetch:t.mutable.previousTree,lastUsedTime:null})}t.reject((0,f.getRedirectError)(c.toString(),f.RedirectType.push))}else{if(l){let r=(0,s.createHrefFromUrl)(new URL(t.mutable.previousUrl,window.location.origin),!1),u=e.prefetchCache.get(r);e.prefetchCache.set((0,s.createHrefFromUrl)(new URL(t.mutable.previousUrl,window.location.origin),!1),{data:(0,o.createRecordFromThenable)(Promise.resolve([l,void 0])),kind:null!=(n=null==u?void 0:u.kind)?n:i.PrefetchKind.TEMPORARY,prefetchTime:Date.now(),treeAtTimeOfPrefetch:t.mutable.previousTree,lastUsedTime:null}),setTimeout(()=>{t.changeByServerResponse(t.mutable.previousTree,l,void 0)})}t.resolve(u)}}catch(e){if("rejected"===e.status)t.reject(e.value);else throw e}return t.mutable.serverActionApplied=!0,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65140:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return c}});let n=r(56312),u=r(94427),o=r(36711),a=r(57577),l=r(81440),i=r(65780);function c(e,t){let{flightData:r,previousTree:c,overrideCanonicalUrl:s,cache:f,mutable:d}=t,p=JSON.stringify(c)===JSON.stringify(e.tree);if(!p)return console.log("TREE MISMATCH"),e;if(d.previousTree)return(0,i.handleMutable)(e,d);if("string"==typeof r)return(0,a.handleExternalUrl)(e,d,r,e.pushRef.pendingPush);let h=e.tree,_=e.cache;for(let t of r){let r=t.slice(0,-4),[i]=t.slice(-3,-2),c=(0,u.applyRouterStatePatchToTree)(["",...r],h,i);if(null===c)throw Error("SEGMENT MISMATCH");if((0,o.isNavigatingToNewRootLayout)(h,c))return(0,a.handleExternalUrl)(e,d,e.canonicalUrl,e.pushRef.pendingPush);let p=s?(0,n.createHrefFromUrl)(s):void 0;p&&(d.canonicalUrl=p),(0,l.applyFlightData)(_,f,t),d.previousTree=h,d.patchedTree=c,d.cache=f,_=f,h=c}return(0,i.handleMutable)(e,d)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39748:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return u},ACTION_NAVIGATE:function(){return o},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return l},ACTION_PREFETCH:function(){return i},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return s}});let u="refresh",o="navigate",a="restore",l="server-patch",i="prefetch",c="fast-refresh",s="server-action";(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41732:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let n=r(39748),u=r(57577),o=r(65140),a=r(92056),l=r(45905),i=r(21418),c=r(3482),s=r(6110),f=function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,u.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,o.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,a.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,l.refreshReducer)(e,t);case n.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(e,t);case n.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case n.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52569:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[u,o]=r,[a,l]=t;if(!(0,n.matchSegment)(a,u))return!!Array.isArray(a);let i=t.length<=2;return!i&&e(t.slice(2),o[l])}}});let n=r(7686);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43889:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createSearchParamsBailoutProxy",{enumerable:!0,get:function(){return u}});let n=r(94406);function u(){return new Proxy({},{get(e,t){"string"==typeof t&&(0,n.staticGenerationBailout)("searchParams."+t)}})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94406:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationBailout",{enumerable:!0,get:function(){return a}});let n=r(45085),u=r(1839);class o extends Error{constructor(...e){super(...e),this.code="NEXT_STATIC_GEN_BAILOUT"}}let a=(e,t)=>{let r=u.staticGenerationAsyncStorage.getStore();if(null==r?void 0:r.forceStatic)return!0;if(null==r?void 0:r.dynamicShouldError){let{dynamic:r="error",link:n}=t||{};throw new o('Page with `dynamic = "'+r+"\"` couldn't be rendered statically because it used `"+e+"`."+(n?" See more info here: "+n:""))}if(r&&(r.revalidate=0),null==r?void 0:r.isStaticGeneration){let t=new n.DynamicServerError(e);throw r.dynamicUsageDescription=e,r.dynamicUsageStack=t.stack,t}return!1};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37396:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(26927),u=n._(r(86006)),o=r(43889);function a(e){let{Component:t,propsForComponent:r}=e,n=(0,o.createSearchParamsBailoutProxy)();return u.default.createElement(t,{searchParams:n,...r})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27214:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useReducerWithReduxDevtools",{enumerable:!0,get:function(){return o}});let n=r(86006);function u(e){if(e instanceof Map){let t={};for(let[r,n]of e.entries()){if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n._bundlerConfig){t[r]="FlightData";continue}}t[r]=u(n)}return t}if("object"==typeof e&&null!==e){let t={};for(let r in e){let n=e[r];if("function"==typeof n){t[r]="fn()";continue}if("object"==typeof n&&null!==n){if(n.$$typeof){t[r]=n.$$typeof.toString();continue}if(n.hasOwnProperty("_bundlerConfig")){t[r]="FlightData";continue}}t[r]=u(n)}return t}return Array.isArray(e)?e.map(u):e}let o=function(e,t){let r=(0,n.useRef)(),o=(0,n.useRef)();(0,n.useEffect)(()=>{if(!r.current&&!1!==o.current){if(void 0===o.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){o.current=!1;return}return r.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),r.current&&r.current.init(u(t)),()=>{r.current=void 0}}},[t]);let[a,l]=(0,n.useReducer)((t,n)=>{let o=e(t,n);return r.current&&r.current.send(n,u(o)),o},t),i=(0,n.useCallback)(()=>{r.current&&r.current.send({type:"RENDER_SYNC"},u(a))},[a]);return[a,l,i]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65231:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});let n=r(30769),u=r(89777),o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=(0,u.parsePath)(e);return/\.[^/]+\/?$/.test(t)?""+(0,n.removeTrailingSlash)(t)+r+o:t.endsWith("/")?""+t+r+o:t+"/"+r+o};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8589:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let n=r(65978);function u(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};e.digest!==n.NEXT_DYNAMIC_NO_SSR_CODE&&t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56858:function(e,t,r){"use strict";var n,u;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CacheStates:function(){return n},AppRouterContext:function(){return l},LayoutRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return c},TemplateContext:function(){return s}});let o=r(26927),a=o._(r(86006));(u=n||(n={})).LAZY_INITIALIZED="LAZYINITIALIZED",u.DATA_FETCH="DATAFETCH",u.READY="READY";let l=a.default.createContext(null),i=a.default.createContext(null),c=a.default.createContext(null),s=a.default.createContext(null)},4877:function(e,t){"use strict";function r(e){let t=5381;for(let r=0;r!t||t.startsWith("(")&&t.endsWith(")")||t.startsWith("@")||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function o(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},33811:function(e,t){"use strict";function r(e,t){void 0===t&&(t={});let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},75247:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},89777:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},30769:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},16540:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return a}});let n=r(25909),u=n._(r(86006)),o=u.default.createContext(null);function a(e){let t=(0,u.useContext)(o);t&&t(e)}},80211:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return n}});class r{disable(){throw Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available")}getStore(){}run(){throw Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available")}exit(){throw Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available")}enterWith(){throw Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available")}}function n(){return globalThis.AsyncLocalStorage?new globalThis.AsyncLocalStorage:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68214:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return u}});let n=r(80211),u=(0,n.createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1839:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return u}});let n=r(80211),u=(0,n.createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93194:function(e,t,r){"use strict";var n=r(8431);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},8431:function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(42614)},82672:function(e,t,r){"use strict";/** - * @license React - * react-server-dom-webpack-client.browser.production.min.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var n=r(8431),u=r(86006),o={stream:!0},a=new Map,l=new Map;function i(){}var c=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,s=Symbol.for("react.element"),f=Symbol.for("react.lazy"),d=Symbol.for("react.default_value"),p=Symbol.iterator,h=Array.isArray,_=new WeakMap;function y(e,t,r,n){var u=1,o=0,a=null;e=JSON.stringify(e,function e(l,i){if(null===i)return null;if("object"==typeof i){if("function"==typeof i.then){null===a&&(a=new FormData),o++;var c,s,f=u++;return i.then(function(n){n=JSON.stringify(n,e);var u=a;u.append(t+f,n),0==--o&&r(u)},function(e){n(e)}),"$@"+f.toString(16)}if(i instanceof FormData){null===a&&(a=new FormData);var d=a,y=t+(l=u++)+"_";return i.forEach(function(e,t){d.append(y+t,e)}),"$K"+l.toString(16)}return!h(i)&&(null===(s=i)||"object"!=typeof s?null:"function"==typeof(s=p&&s[p]||s["@@iterator"])?s:null)?Array.from(i):i}if("string"==typeof i)return"Z"===i[i.length-1]&&this[l]instanceof Date?"$D"+i:i="$"===i[0]?"$"+i:i;if("boolean"==typeof i)return i;if("number"==typeof i)return Number.isFinite(c=i)?0===c&&-1/0==1/c?"$-0":c:1/0===c?"$Infinity":-1/0===c?"$-Infinity":"$NaN";if(void 0===i)return"$undefined";if("function"==typeof i){if(void 0!==(i=_.get(i)))return i=JSON.stringify(i,e),null===a&&(a=new FormData),l=u++,a.set(t+l,i),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.")}if("symbol"==typeof i){if(Symbol.for(l=i.description)!==i)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+i.description+") cannot be found among global symbols.");return"$S"+l}if("bigint"==typeof i)return"$n"+i.toString(10);throw Error("Type "+typeof i+" is not supported as an argument to a Server Function.")}),null===a?r(e):(a.set(t+"0",e),0===o&&r(a))}var b=new WeakMap;function v(e){var t=_.get(this);if(!t)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var r=null;if(null!==t.bound){if((r=b.get(t))||(n=t,a=new Promise(function(e,t){u=e,o=t}),y(n,"",function(e){if("string"==typeof e){var t=new FormData;t.append("0",e),e=t}a.status="fulfilled",a.value=e,u(e)},function(e){a.status="rejected",a.reason=e,o(e)}),r=a,b.set(t,r)),"rejected"===r.status)throw r.reason;if("fulfilled"!==r.status)throw r;t=r.value;var n,u,o,a,l=new FormData;t.forEach(function(t,r){l.append("$ACTION_"+e+":"+r,t)}),r=l,t="$ACTION_REF_"+e}else t="$ACTION_ID_"+t.id;return{name:t,method:"POST",encType:"multipart/form-data",data:r}}var m=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function g(e,t,r,n){this.status=e,this.value=t,this.reason=r,this._response=n}function O(e){switch(e.status){case"resolved_model":M(e);break;case"resolved_module":w(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":throw e;default:throw e.reason}}function P(e,t){for(var r=0;r>>1,u=e[n];if(0>>1;no(i,r))co(s,i)?(e[n]=s,e[c]=r,n=c):(e[n]=i,e[l]=r,n=l);else if(co(s,r))e[n]=s,e[c]=r,n=c;else break}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a,l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,_=!1,y=!1,b=!1,v="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,g="undefined"!=typeof setImmediate?setImmediate:null;function O(e){for(var t=n(f);null!==t;){if(null===t.callback)u(f);else if(t.startTime<=e)u(f),t.sortIndex=t.expirationTime,r(s,t);else break;t=n(f)}}function P(e){if(b=!1,O(e),!y){if(null!==n(s))y=!0,N(E);else{var t=n(f);null!==t&&I(P,t.startTime-e)}}}function E(e,r){y=!1,b&&(b=!1,m(S),S=-1),_=!0;var o=h;try{e:{for(O(r),p=n(s);null!==p&&(!(p.expirationTime>r)||e&&!w());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var l=a(p.expirationTime<=r);if(r=t.unstable_now(),"function"==typeof l){p.callback=l,O(r);var i=!0;break e}p===n(s)&&u(s),O(r)}else u(s);p=n(s)}if(null!==p)i=!0;else{var c=n(f);null!==c&&I(P,c.startTime-r),i=!1}}return i}finally{p=null,h=o,_=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var R=!1,j=null,S=-1,T=5,M=-1;function w(){return!(t.unstable_now()-Me||125a?(e.sortIndex=o,r(f,e),null===n(s)&&e===n(f)&&(b?(m(S),S=-1):b=!0,I(P,o-a))):(e.sortIndex=l,r(s,e),y||_||(y=!0,N(E))),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},26183:function(e,t,r){"use strict";e.exports=r(24248)},24778:function(e,t){"use strict";function r(e){return e.startsWith("[[...")&&e.endsWith("]]")?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:"dynamic",param:e.slice(1,-1)}:null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return r}})},47399:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return u},isInterceptionRouteAppPath:function(){return o},extractInterceptionRouteInformation:function(){return a}});let n=r(54794),u=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>u.find(t=>e.startsWith(t)))}function a(e){let t,r,o;for(let n of e.split("/"))if(r=u.find(e=>n.startsWith(e))){[t,o]=e.split(r,2);break}if(!t||!r||!o)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":o="/"===t?`/${o}`:t+"/"+o;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);o=a.slice(0,-2).concat(o).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:o}}},26927:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},25909:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(u,a,l):u[a]=e[a]}return u.default=e,r&&r.set(e,u),u}r.r(t),r.d(t,{_:function(){return u},_interop_require_wildcard:function(){return u}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/822-2f35ce51fd101c79.js b/pilot/server/static/_next/static/chunks/822-2f35ce51fd101c79.js deleted file mode 100644 index ed8edb0cb..000000000 --- a/pilot/server/static/_next/static/chunks/822-2f35ce51fd101c79.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[822],{54842:function(e,t,r){var a=r(78997);t.Z=void 0;var s=a(r(76906)),i=r(9268),l=(0,s.default)((0,i.jsx)("path",{d:"m3.4 20.4 17.45-7.48c.81-.35.81-1.49 0-1.84L3.4 3.6c-.66-.29-1.39.2-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z"}),"SendRounded");t.Z=l},19700:function(e,t,r){r.d(t,{cI:function(){return eh}});var a=r(86006),s=e=>"checkbox"===e.type,i=e=>e instanceof Date,l=e=>null==e;let u=e=>"object"==typeof e;var n=e=>!l(e)&&!Array.isArray(e)&&u(e)&&!i(e),o=e=>n(e)&&e.target?s(e.target)?e.target.checked:e.target.value:e,d=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,f=(e,t)=>e.has(d(t)),c=e=>{let t=e.constructor&&e.constructor.prototype;return n(t)&&t.hasOwnProperty("isPrototypeOf")},y="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function m(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(y&&(e instanceof Blob||e instanceof FileList))&&(r||n(e))))return e;else if(t=r?[]:{},r||c(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=m(e[r]));else t=e;return t}var h=e=>Array.isArray(e)?e.filter(Boolean):[],v=e=>void 0===e,p=(e,t,r)=>{if(!t||!n(e))return r;let a=h(t.split(/[,[\].]+?/)).reduce((e,t)=>l(e)?e:e[t],e);return v(a)||a===e?v(e[t])?r:e[t]:a};let g={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},b={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},_={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};a.createContext(null);var V=(e,t,r,a=!0)=>{let s={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(s,i,{get:()=>(t._proxyFormState[i]!==b.all&&(t._proxyFormState[i]=!a||b.all),r&&(r[i]=!0),e[i])});return s},A=e=>n(e)&&!Object.keys(e).length,w=(e,t,r,a)=>{r(e);let{name:s,...i}=e;return A(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!a||b.all))},x=e=>Array.isArray(e)?e:[e],F=e=>"string"==typeof e,S=(e,t,r,a,s)=>F(e)?(a&&t.watch.add(e),p(r,e,s)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),p(r,e))):(a&&(t.watchAll=!0),r),k=e=>/^\w*$/.test(e),D=e=>h(e.replace(/["|']|\]/g,"").split(/\.|\[/));function O(e,t,r){let a=-1,s=k(t)?[t]:D(t),i=s.length,l=i-1;for(;++at?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[a]:s||!0}}:{};let L=(e,t,r)=>{for(let a of r||Object.keys(e)){let r=p(e,a);if(r){let{_f:e,...a}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else n(a)&&L(a,t)}}};var E=e=>({isOnSubmit:!e||e===b.onSubmit,isOnBlur:e===b.onBlur,isOnChange:e===b.onChange,isOnAll:e===b.all,isOnTouch:e===b.onTouched}),T=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),U=(e,t,r)=>{let a=h(p(e,r));return O(a,"root",t[r]),O(e,r,a),e},B=e=>"boolean"==typeof e,j=e=>"file"===e.type,N=e=>"function"==typeof e,M=e=>{if(!y)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},q=e=>F(e),R=e=>"radio"===e.type,P=e=>e instanceof RegExp;let H={value:!1,isValid:!1},I={value:!0,isValid:!0};var $=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!v(e[0].attributes.value)?v(e[0].value)||""===e[0].value?I:{value:e[0].value,isValid:!0}:I:H}return H};let Z={isValid:!1,value:null};var z=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Z):Z;function G(e,t,r="validate"){if(q(e)||Array.isArray(e)&&e.every(q)||B(e)&&!e)return{type:r,message:q(e)?e:"",ref:t}}var W=e=>n(e)&&!P(e)?e:{value:e,message:""},J=async(e,t,r,a,i)=>{let{ref:u,refs:o,required:d,maxLength:f,minLength:c,min:y,max:m,pattern:h,validate:g,name:b,valueAsNumber:V,mount:w,disabled:x}=e._f,S=p(t,b);if(!w||x)return{};let k=o?o[0]:u,D=e=>{a&&k.reportValidity&&(k.setCustomValidity(B(e)?"":e||""),k.reportValidity())},O={},L=R(u),E=s(u),T=(V||j(u))&&v(u.value)&&v(S)||M(u)&&""===u.value||""===S||Array.isArray(S)&&!S.length,U=C.bind(null,b,r,O),H=(e,t,r,a=_.maxLength,s=_.minLength)=>{let i=e?t:r;O[b]={type:e?a:s,message:i,ref:u,...U(e?a:s,i)}};if(i?!Array.isArray(S)||!S.length:d&&(!(L||E)&&(T||l(S))||B(S)&&!S||E&&!$(o).isValid||L&&!z(o).isValid)){let{value:e,message:t}=q(d)?{value:!!d,message:d}:W(d);if(e&&(O[b]={type:_.required,message:t,ref:k,...U(_.required,t)},!r))return D(t),O}if(!T&&(!l(y)||!l(m))){let e,t;let a=W(m),s=W(y);if(l(S)||isNaN(S)){let r=u.valueAsDate||new Date(S),i=e=>new Date(new Date().toDateString()+" "+e),l="time"==u.type,n="week"==u.type;F(a.value)&&S&&(e=l?i(S)>i(a.value):n?S>a.value:r>new Date(a.value)),F(s.value)&&S&&(t=l?i(S)a.value),l(s.value)||(t=r+e.value,s=!l(t.value)&&S.length<+t.value;if((a||s)&&(H(a,e.message,t.message),!r))return D(O[b].message),O}if(h&&!T&&F(S)){let{value:e,message:t}=W(h);if(P(e)&&!S.match(e)&&(O[b]={type:_.pattern,message:t,ref:u,...U(_.pattern,t)},!r))return D(t),O}if(g){if(N(g)){let e=await g(S,t),a=G(e,k);if(a&&(O[b]={...a,...U(_.validate,a.message)},!r))return D(a.message),O}else if(n(g)){let e={};for(let a in g){if(!A(e)&&!r)break;let s=G(await g[a](S,t),k,a);s&&(e={...s,...U(a,s.message)},D(s.message),r&&(O[b]=e))}if(!A(e)&&(O[b]={ref:k,...e},!r))return O}}return D(!0),O};function K(e,t){let r=Array.isArray(t)?t:k(t)?[t]:D(t),a=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,a=0;for(;a{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var X=e=>l(e)||!u(e);function Y(e,t){if(X(e)||X(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(let s of r){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||n(r)&&n(e)||Array.isArray(r)&&Array.isArray(e)?!Y(r,e):r!==e)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>R(e)||s(e),er=e=>M(e)&&e.isConnected,ea=e=>{for(let t in e)if(N(e[t]))return!0;return!1};function es(e,t={}){let r=Array.isArray(e);if(n(e)||r)for(let r in e)Array.isArray(e[r])||n(e[r])&&!ea(e[r])?(t[r]=Array.isArray(e[r])?[]:{},es(e[r],t[r])):l(e[r])||(t[r]=!0);return t}var ei=(e,t)=>(function e(t,r,a){let s=Array.isArray(t);if(n(t)||s)for(let s in t)Array.isArray(t[s])||n(t[s])&&!ea(t[s])?v(r)||X(a[s])?a[s]=Array.isArray(t[s])?es(t[s],[]):{...es(t[s])}:e(t[s],l(r)?{}:r[s],a[s]):a[s]=!Y(t[s],r[s]);return a})(e,t,es(t)),el=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:a})=>v(e)?e:t?""===e?NaN:e?+e:e:r&&F(e)?new Date(e):a?a(e):e;function eu(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:j(t)?t.files:R(t)?z(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):s(t)?$(e.refs).value:el(v(t.value)?e.ref.value:t.value,e)}var en=(e,t,r,a)=>{let s={};for(let r of e){let e=p(t,r);e&&O(s,r,e._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:a}},eo=e=>v(e)?e:P(e)?e.source:n(e)?P(e.value)?e.value.source:e.value:e,ed=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ef(e,t,r){let a=p(e,r);if(a||k(r))return{error:a,name:r};let s=r.split(".");for(;s.length;){let a=s.join("."),i=p(t,a),l=p(e,a);if(i&&!Array.isArray(i)&&r!==a)break;if(l&&l.type)return{name:a,error:l};s.pop()}return{name:r}}var ec=(e,t,r,a,s)=>!s.isOnAll&&(!r&&s.isOnTouch?!(t||e):(r?a.isOnBlur:s.isOnBlur)?!e:(r?!a.isOnChange:!s.isOnChange)||e),ey=(e,t)=>!h(p(e,t)).length&&K(e,t);let em={mode:b.onSubmit,reValidateMode:b.onChange,shouldFocusError:!0};function eh(e={}){let t=a.useRef(),r=a.useRef(),[u,d]=a.useState({isDirty:!1,isValidating:!1,isLoading:N(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:N(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,a={...em,...e},u={submitCount:0,isDirty:!1,isLoading:N(a.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},d={},c=(n(a.defaultValues)||n(a.values))&&m(a.defaultValues||a.values)||{},_=a.shouldUnregister?{}:m(c),V={action:!1,mount:!1,watch:!1},w={mount:new Set,unMount:new Set,array:new Set,watch:new Set},k=0,D={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},C={values:Q(),array:Q(),state:Q()},q=e.resetOptions&&e.resetOptions.keepDirtyValues,R=E(a.mode),P=E(a.reValidateMode),H=a.criteriaMode===b.all,I=e=>t=>{clearTimeout(k),k=setTimeout(e,t)},$=async e=>{if(D.isValid||e){let e=a.resolver?A((await es()).errors):await ev(d,!0);e!==u.isValid&&C.state.next({isValid:e})}},Z=e=>D.isValidating&&C.state.next({isValidating:e}),z=(e,t)=>{O(u.errors,e,t),C.state.next({errors:u.errors})},G=(e,t,r,a)=>{let s=p(d,e);if(s){let i=p(_,e,v(r)?p(c,e):r);v(i)||a&&a.defaultChecked||t?O(_,e,t?i:eu(s._f)):eb(e,i),V.mount&&$()}},W=(e,t,r,a,s)=>{let i=!1,l=!1,n={name:e};if(!r||a){D.isDirty&&(l=u.isDirty,u.isDirty=n.isDirty=ep(),i=l!==n.isDirty);let r=Y(p(c,e),t);l=p(u.dirtyFields,e),r?K(u.dirtyFields,e):O(u.dirtyFields,e,!0),n.dirtyFields=u.dirtyFields,i=i||D.dirtyFields&&!r!==l}if(r){let t=p(u.touchedFields,e);t||(O(u.touchedFields,e,r),n.touchedFields=u.touchedFields,i=i||D.touchedFields&&t!==r)}return i&&s&&C.state.next(n),i?n:{}},ea=(t,a,s,i)=>{let l=p(u.errors,t),n=D.isValid&&B(a)&&u.isValid!==a;if(e.delayError&&s?(r=I(()=>z(t,s)))(e.delayError):(clearTimeout(k),r=null,s?O(u.errors,t,s):K(u.errors,t)),(s?!Y(l,s):l)||!A(i)||n){let e={...i,...n&&B(a)?{isValid:a}:{},errors:u.errors,name:t};u={...u,...e},C.state.next(e)}Z(!1)},es=async e=>a.resolver(_,a.context,en(e||w.mount,d,a.criteriaMode,a.shouldUseNativeValidation)),eh=async e=>{let{errors:t}=await es();if(e)for(let r of e){let e=p(t,r);e?O(u.errors,r,e):K(u.errors,r)}else u.errors=t;return t},ev=async(e,t,r={valid:!0})=>{for(let s in e){let i=e[s];if(i){let{_f:e,...s}=i;if(e){let s=w.array.has(e.name),l=await J(i,_,H,a.shouldUseNativeValidation&&!t,s);if(l[e.name]&&(r.valid=!1,t))break;t||(p(l,e.name)?s?U(u.errors,l,e.name):O(u.errors,e.name,l[e.name]):K(u.errors,e.name))}s&&await ev(s,t,r)}}return r.valid},ep=(e,t)=>(e&&t&&O(_,e,t),!Y(ex(),c)),eg=(e,t,r)=>S(e,w,{...V.mount?_:v(t)?c:F(e)?{[e]:t}:t},r,t),eb=(e,t,r={})=>{let a=p(d,e),i=t;if(a){let r=a._f;r&&(r.disabled||O(_,e,el(t,r)),i=M(r.ref)&&l(t)?"":t,ee(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?s(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):j(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||C.values.next({name:e,values:{..._}})))}(r.shouldDirty||r.shouldTouch)&&W(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&ew(e)},e_=(e,t,r)=>{for(let a in t){let s=t[a],l=`${e}.${a}`,u=p(d,l);!w.array.has(e)&&X(s)&&(!u||u._f)||i(s)?eb(l,s,r):e_(l,s,r)}},eV=(e,r,a={})=>{let s=p(d,e),i=w.array.has(e),n=m(r);O(_,e,n),i?(C.array.next({name:e,values:{..._}}),(D.isDirty||D.dirtyFields)&&a.shouldDirty&&C.state.next({name:e,dirtyFields:ei(c,_),isDirty:ep(e,n)})):!s||s._f||l(n)?eb(e,n,a):e_(e,n,a),T(e,w)&&C.state.next({...u}),C.values.next({name:e,values:{..._}}),V.mount||t()},eA=async e=>{let t=e.target,s=t.name,i=!0,l=p(d,s);if(l){let n,f;let c=t.type?eu(l._f):o(e),y=e.type===g.BLUR||e.type===g.FOCUS_OUT,m=!ed(l._f)&&!a.resolver&&!p(u.errors,s)&&!l._f.deps||ec(y,p(u.touchedFields,s),u.isSubmitted,P,R),h=T(s,w,y);O(_,s,c),y?(l._f.onBlur&&l._f.onBlur(e),r&&r(0)):l._f.onChange&&l._f.onChange(e);let v=W(s,c,y,!1),b=!A(v)||h;if(y||C.values.next({name:s,type:e.type,values:{..._}}),m)return D.isValid&&$(),b&&C.state.next({name:s,...h?{}:v});if(!y&&h&&C.state.next({...u}),Z(!0),a.resolver){let{errors:e}=await es([s]),t=ef(u.errors,d,s),r=ef(e,d,t.name||s);n=r.error,s=r.name,f=A(e)}else n=(await J(l,_,H,a.shouldUseNativeValidation))[s],(i=isNaN(c)||c===p(_,s,c))&&(n?f=!1:D.isValid&&(f=await ev(d,!0)));i&&(l._f.deps&&ew(l._f.deps),ea(s,f,n,v))}},ew=async(e,t={})=>{let r,s;let i=x(e);if(Z(!0),a.resolver){let t=await eh(v(e)?e:i);r=A(t),s=e?!i.some(e=>p(t,e)):r}else e?((s=(await Promise.all(i.map(async e=>{let t=p(d,e);return await ev(t&&t._f?{[e]:t}:t)}))).every(Boolean))||u.isValid)&&$():s=r=await ev(d);return C.state.next({...!F(e)||D.isValid&&r!==u.isValid?{}:{name:e},...a.resolver||!e?{isValid:r}:{},errors:u.errors,isValidating:!1}),t.shouldFocus&&!s&&L(d,e=>e&&p(u.errors,e),e?i:w.mount),s},ex=e=>{let t={...c,...V.mount?_:{}};return v(e)?t:F(e)?p(t,e):e.map(e=>p(t,e))},eF=(e,t)=>({invalid:!!p((t||u).errors,e),isDirty:!!p((t||u).dirtyFields,e),isTouched:!!p((t||u).touchedFields,e),error:p((t||u).errors,e)}),eS=(e,t,r)=>{let a=(p(d,e,{_f:{}})._f||{}).ref;O(u.errors,e,{...t,ref:a}),C.state.next({name:e,errors:u.errors,isValid:!1}),r&&r.shouldFocus&&a&&a.focus&&a.focus()},ek=(e,t={})=>{for(let r of e?x(e):w.mount)w.mount.delete(r),w.array.delete(r),t.keepValue||(K(d,r),K(_,r)),t.keepError||K(u.errors,r),t.keepDirty||K(u.dirtyFields,r),t.keepTouched||K(u.touchedFields,r),a.shouldUnregister||t.keepDefaultValue||K(c,r);C.values.next({values:{..._}}),C.state.next({...u,...t.keepDirty?{isDirty:ep()}:{}}),t.keepIsValid||$()},eD=(e,t={})=>{let r=p(d,e),s=B(t.disabled);return O(d,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),w.mount.add(e),r?s&&O(_,e,t.disabled?void 0:p(_,e,eu(r._f))):G(e,!0,t.value),{...s?{disabled:t.disabled}:{},...a.progressive?{required:!!t.required,min:eo(t.min),max:eo(t.max),minLength:eo(t.minLength),maxLength:eo(t.maxLength),pattern:eo(t.pattern)}:{},name:e,onChange:eA,onBlur:eA,ref:s=>{if(s){eD(e,t),r=p(d,e);let a=v(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,i=et(a),l=r._f.refs||[];(i?l.find(e=>e===a):a===r._f.ref)||(O(d,e,{_f:{...r._f,...i?{refs:[...l.filter(er),a,...Array.isArray(p(c,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),G(e,!1,void 0,a))}else(r=p(d,e,{}))._f&&(r._f.mount=!1),(a.shouldUnregister||t.shouldUnregister)&&!(f(w.array,e)&&V.action)&&w.unMount.add(e)}}},eO=()=>a.shouldFocusError&&L(d,e=>e&&p(u.errors,e),w.mount),eC=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let s=m(_);if(C.state.next({isSubmitting:!0}),a.resolver){let{errors:e,values:t}=await es();u.errors=e,s=t}else await ev(d);K(u.errors,"root"),A(u.errors)?(C.state.next({errors:{}}),await e(s,r)):(t&&await t({...u.errors},r),eO(),setTimeout(eO)),C.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:A(u.errors),submitCount:u.submitCount+1,errors:u.errors})},eL=(r,a={})=>{let s=r||c,i=m(s),l=r&&!A(r)?i:c;if(a.keepDefaultValues||(c=s),!a.keepValues){if(a.keepDirtyValues||q)for(let e of w.mount)p(u.dirtyFields,e)?O(l,e,p(_,e)):eV(e,p(l,e));else{if(y&&v(r))for(let e of w.mount){let t=p(d,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(M(e)){let t=e.closest("form");if(t){t.reset();break}}}}d={}}_=e.shouldUnregister?a.keepDefaultValues?m(c):{}:m(l),C.array.next({values:{...l}}),C.values.next({values:{...l}})}w={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},V.mount||t(),V.mount=!D.isValid||!!a.keepIsValid,V.watch=!!e.shouldUnregister,C.state.next({submitCount:a.keepSubmitCount?u.submitCount:0,isDirty:a.keepDirty?u.isDirty:!!(a.keepDefaultValues&&!Y(r,c)),isSubmitted:!!a.keepIsSubmitted&&u.isSubmitted,dirtyFields:a.keepDirtyValues?u.dirtyFields:a.keepDefaultValues&&r?ei(c,r):{},touchedFields:a.keepTouched?u.touchedFields:{},errors:a.keepErrors?u.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},eE=(e,t)=>eL(N(e)?e(_):e,t);return{control:{register:eD,unregister:ek,getFieldState:eF,handleSubmit:eC,setError:eS,_executeSchema:es,_getWatch:eg,_getDirty:ep,_updateValid:$,_removeUnmounted:()=>{for(let e of w.unMount){let t=p(d,e);t&&(t._f.refs?t._f.refs.every(e=>!er(e)):!er(t._f.ref))&&ek(e)}w.unMount=new Set},_updateFieldArray:(e,t=[],r,a,s=!0,i=!0)=>{if(a&&r){if(V.action=!0,i&&Array.isArray(p(d,e))){let t=r(p(d,e),a.argA,a.argB);s&&O(d,e,t)}if(i&&Array.isArray(p(u.errors,e))){let t=r(p(u.errors,e),a.argA,a.argB);s&&O(u.errors,e,t),ey(u.errors,e)}if(D.touchedFields&&i&&Array.isArray(p(u.touchedFields,e))){let t=r(p(u.touchedFields,e),a.argA,a.argB);s&&O(u.touchedFields,e,t)}D.dirtyFields&&(u.dirtyFields=ei(c,_)),C.state.next({name:e,isDirty:ep(e,t),dirtyFields:u.dirtyFields,errors:u.errors,isValid:u.isValid})}else O(_,e,t)},_getFieldArray:t=>h(p(V.mount?_:c,t,e.shouldUnregister?p(c,t,[]):[])),_reset:eL,_resetDefaultValues:()=>N(a.defaultValues)&&a.defaultValues().then(e=>{eE(e,a.resetOptions),C.state.next({isLoading:!1})}),_updateFormState:e=>{u={...u,...e}},_subjects:C,_proxyFormState:D,get _fields(){return d},get _formValues(){return _},get _state(){return V},set _state(value){V=value},get _defaultValues(){return c},get _names(){return w},set _names(value){w=value},get _formState(){return u},set _formState(value){u=value},get _options(){return a},set _options(value){a={...a,...value}}},trigger:ew,register:eD,handleSubmit:eC,watch:(e,t)=>N(e)?C.values.subscribe({next:r=>e(eg(void 0,t),r)}):eg(e,t,!0),setValue:eV,getValues:ex,reset:eE,resetField:(e,t={})=>{p(d,e)&&(v(t.defaultValue)?eV(e,p(c,e)):(eV(e,t.defaultValue),O(c,e,t.defaultValue)),t.keepTouched||K(u.touchedFields,e),t.keepDirty||(K(u.dirtyFields,e),u.isDirty=t.defaultValue?ep(e,p(c,e)):ep()),!t.keepError&&(K(u.errors,e),D.isValid&&$()),C.state.next({...u}))},clearErrors:e=>{e&&x(e).forEach(e=>K(u.errors,e)),C.state.next({errors:e?u.errors:{}})},unregister:ek,setError:eS,setFocus:(e,t={})=>{let r=p(d,e),a=r&&r._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:eF}}(e,()=>d(e=>({...e}))),formState:u});let c=t.current.control;return c._options=e,!function(e){let t=a.useRef(e);t.current=e,a.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:c._subjects.state,next:e=>{w(e,c._proxyFormState,c._updateFormState,!0)&&d({...c._formState})}}),a.useEffect(()=>{e.values&&!Y(e.values,r.current)?(c._reset(e.values,c._options.resetOptions),r.current=e.values):c._resetDefaultValues()},[e.values,c]),a.useEffect(()=>{c._state.mount||(c._updateValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),t.current.formState=V(u,c),t.current}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/83-c015e345dfcb64fb.js b/pilot/server/static/_next/static/chunks/83-c015e345dfcb64fb.js deleted file mode 100644 index ebdcb9a12..000000000 --- a/pilot/server/static/_next/static/chunks/83-c015e345dfcb64fb.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83],{75387:function(e,t,r){"use strict";var n=r(86006),i=r(8431),o=r(99179),a=r(11059),s=r(65464),l=r(9268);let u=n.forwardRef(function(e,t){let{children:r,container:u,disablePortal:c=!1}=e,[h,d]=n.useState(null),f=(0,o.Z)(n.isValidElement(r)?r.ref:null,t);return((0,a.Z)(()=>{!c&&d(("function"==typeof u?u():u)||document.body)},[u,c]),(0,a.Z)(()=>{if(h&&!c)return(0,s.Z)(t,h),()=>{(0,s.Z)(t,null)}},[t,h,c]),c)?n.isValidElement(r)?n.cloneElement(r,{ref:f}):(0,l.jsx)(n.Fragment,{children:r}):(0,l.jsx)(n.Fragment,{children:h?i.createPortal(r,h):h})});t.Z=u},40020:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Article");t.Z=a},11515:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"}),"DarkMode");t.Z=a},15473:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 14H7v-4h4v4zm0-6H7V7h4v4zm6 6h-4v-4h4v4zm0-6h-4V7h4v4z"}),"Dataset");t.Z=a},66664:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4h-3.5z"}),"DeleteOutlineOutlined");t.Z=a},84961:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"}),"Expand");t.Z=a},21354:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"}),"Language");t.Z=a},601:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");t.Z=a},98703:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM7 9h2v2H7zm8 0h2v2h-2zm-4 0h2v2h-2z"}),"SmsOutlined");t.Z=a},84892:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var i=n(r(76906)),o=r(9268),a=(0,i.default)((0,o.jsx)("path",{d:"m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7 1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91 1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z"}),"WbSunny");t.Z=a},4882:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(46750),i=r(40431),o=r(86006),a=r(89791),s=r(53832),l=r(44542),u=r(47562),c=r(50645),h=r(88930),d=r(47093),f=r(326),p=r(18587);function g(e){return(0,p.d6)("MuiListItem",e)}(0,p.sI)("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);var m=r(31242),v=r(76620),y=r(52058),b=r(10504);let P=o.createContext(void 0);var _=r(8189),S=r(9268);let x=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],w=e=>{let{sticky:t,nested:r,nesting:n,variant:i,color:o}=e,a={root:["root",r&&"nested",n&&"nesting",t&&"sticky",o&&`color${(0,s.Z)(o)}`,i&&`variant${(0,s.Z)(i)}`],startAction:["startAction"],endAction:["endAction"]};return(0,u.Z)(a,g,{})},L=(0,c.Z)("li",{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r;return[!t.nested&&{"--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItemButton-marginBlock":"calc(-1 * var(--ListItem-paddingY))",alignItems:"center",marginInline:"var(--ListItem-marginInline)"},t.nested&&{"--NestedList-marginRight":"calc(-1 * var(--ListItem-paddingRight))","--NestedList-marginLeft":"calc(-1 * var(--ListItem-paddingLeft))","--NestedListItem-paddingLeft":"calc(var(--ListItem-paddingLeft) + var(--List-nestedInsetStart))","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItem-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))",flexDirection:"column"},(0,i.Z)({"--unstable_actionRadius":"calc(var(--ListItem-radius) - var(--variant-borderWidth, 0px))"},t.startAction&&{"--unstable_startActionWidth":"2rem"},t.endAction&&{"--unstable_endActionWidth":"2.5rem"},{boxSizing:"border-box",borderRadius:"var(--ListItem-radius)",display:"flex",flex:"none",position:"relative",paddingBlockStart:t.nested?0:"var(--ListItem-paddingY)",paddingBlockEnd:t.nested?0:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)"},void 0===t["data-first-child"]&&(0,i.Z)({},t.row?{marginInlineStart:"var(--List-gap)"}:{marginBlockStart:"var(--List-gap)"}),t.row&&t.wrap&&{marginInlineStart:"var(--List-gap)",marginBlockStart:"var(--List-gap)"},{minBlockSize:"var(--ListItem-minHeight)",fontSize:"var(--ListItem-fontSize)",fontFamily:e.vars.fontFamily.body},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:"var(--ListItem-stickyBackground)"}),null==(r=e.variants[t.variant])?void 0:r[t.color]]}),O=(0,c.Z)("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})(({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",left:0,transform:"translate(var(--ListItem-startActionTranslateX), -50%)",zIndex:1})),R=(0,c.Z)("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})(({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",right:0,transform:"translate(var(--ListItem-endActionTranslateX), -50%)"})),j=o.forwardRef(function(e,t){let r=(0,h.Z)({props:e,name:"JoyListItem"}),s=o.useContext(_.Z),u=o.useContext(b.Z),c=o.useContext(v.Z),p=o.useContext(y.Z),g=o.useContext(m.Z),{component:j,className:k,children:C,nested:N=!1,sticky:I=!1,variant:E="plain",color:M="neutral",startAction:A,endAction:T,role:H,slots:D={},slotProps:U={}}=r,$=(0,n.Z)(r,x),{getColor:B}=(0,d.VT)(E),z=B(e.color,M),[F,V]=o.useState(""),[Z,W]=(null==u?void 0:u.split(":"))||["",""],q=j||(Z&&!Z.match(/^(ul|ol|menu)$/)?"div":void 0),K="menu"===s?"none":void 0;u&&(K=({menu:"none",menubar:"none",group:"presentation"})[W]),H&&(K=H);let J=(0,i.Z)({},r,{sticky:I,startAction:A,endAction:T,row:c,wrap:p,variant:E,color:z,nesting:g,nested:N,component:q,role:K}),G=w(J),Y=(0,i.Z)({},$,{component:q,slots:D,slotProps:U}),[X,Q]=(0,f.Z)("root",{additionalProps:{role:K},ref:t,className:(0,a.Z)(G.root,k),elementType:L,externalForwardedProps:Y,ownerState:J}),[ee,et]=(0,f.Z)("startAction",{className:G.startAction,elementType:O,externalForwardedProps:Y,ownerState:J}),[er,en]=(0,f.Z)("endAction",{className:G.endAction,elementType:R,externalForwardedProps:Y,ownerState:J});return(0,S.jsx)(P.Provider,{value:V,children:(0,S.jsx)(m.Z.Provider,{value:!!N&&(F||!0),children:(0,S.jsxs)(X,(0,i.Z)({},Q,{children:[A&&(0,S.jsx)(ee,(0,i.Z)({},et,{children:A})),o.Children.map(C,(e,t)=>o.isValidElement(e)?o.cloneElement(e,(0,i.Z)({},0===t&&{"data-first-child":""},(0,l.Z)(e,["ListItem"])&&{component:e.props.component||"div"})):e),T&&(0,S.jsx)(er,(0,i.Z)({},en,{children:T}))]}))})})});j.muiName="ListItem";var k=j},64579:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(40431),i=r(46750),o=r(86006),a=r(89791),s=r(47562),l=r(50645),u=r(88930),c=r(18587);function h(e){return(0,c.d6)("MuiListItemContent",e)}(0,c.sI)("MuiListItemContent",["root"]);var d=r(326),f=r(9268);let p=["component","className","children","slots","slotProps"],g=()=>(0,s.Z)({root:["root"]},h,{}),m=(0,l.Z)("div",{name:"JoyListItemContent",slot:"Root",overridesResolver:(e,t)=>t.root})({flex:"1 1 auto",minWidth:0}),v=o.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"JoyListItemContent"}),{component:o,className:s,children:l,slots:c={},slotProps:h={}}=r,v=(0,i.Z)(r,p),y=(0,n.Z)({},r),b=g(),P=(0,n.Z)({},v,{component:o,slots:c,slotProps:h}),[_,S]=(0,d.Z)("root",{ref:t,className:(0,a.Z)(b.root,s),elementType:m,externalForwardedProps:P,ownerState:y});return(0,f.jsx)(_,(0,n.Z)({},S,{children:l}))});var y=v},62921:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var n=r(46750),i=r(40431),o=r(86006),a=r(89791),s=r(47562),l=r(50645),u=r(88930),c=r(18587);function h(e){return(0,c.d6)("MuiListItemDecorator",e)}(0,c.sI)("MuiListItemDecorator",["root"]);var d=r(54438),f=r(326),p=r(9268);let g=["component","className","children","slots","slotProps"],m=()=>(0,s.Z)({root:["root"]},h,{}),v=(0,l.Z)("span",{name:"JoyListItemDecorator",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>(0,i.Z)({boxSizing:"border-box",display:"inline-flex",color:"var(--ListItemDecorator-color)"},"horizontal"===e.parentOrientation?{minInlineSize:"var(--ListItemDecorator-size)",alignItems:"center"}:{minBlockSize:"var(--ListItemDecorator-size)",justifyContent:"center"})),y=o.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"JoyListItemDecorator"}),{component:s,className:l,children:c,slots:h={},slotProps:y={}}=r,b=(0,n.Z)(r,g),P=o.useContext(d.Z),_=(0,i.Z)({parentOrientation:P},r),S=m(),x=(0,i.Z)({},b,{component:s,slots:h,slotProps:y}),[w,L]=(0,f.Z)("root",{ref:t,className:(0,a.Z)(S.root,l),elementType:v,externalForwardedProps:x,ownerState:_});return(0,p.jsx)(w,(0,i.Z)({},L,{children:c}))});var b=y},60501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(65231);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,i="";if(n){let{children:e}=n.props;i="string"==typeof e?e:Array.isArray(e)?e.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),a=Number(n.content),s=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=s.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),u.forEach(e=>r.insertBefore(e,n)),n.content=(a-s.length+u.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57477:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});let n=r(26927),i=n._(r(86006)),o=r(96050),a=r(8993),s=r(6692),l=r(84779),u=r(60501),c=r(50085),h=r(56858),d=r(68891),f=r(38052),p=r(32781),g=r(39748),m=new Set;function v(e,t,r,n,i,o){if(!o&&!(0,a.isLocalURL)(t))return;if(!n.bypassPrefetchedCheck){let i=void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0,o=t+"%"+r+"%"+i;if(m.has(o))return;m.add(o)}let s=o?e.prefetch(t,i):e.prefetch(t,r,n);Promise.resolve(s).catch(e=>{})}function y(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let b=i.default.forwardRef(function(e,t){let r,n;let{href:s,as:m,children:b,prefetch:P=null,passHref:_,replace:S,shallow:x,scroll:w,locale:L,onClick:O,onMouseEnter:R,onTouchStart:j,legacyBehavior:k=!1,...C}=e;r=b,k&&("string"==typeof r||"number"==typeof r)&&(r=i.default.createElement("a",null,r));let N=!1!==P,I=null===P?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,E=i.default.useContext(c.RouterContext),M=i.default.useContext(h.AppRouterContext),A=null!=E?E:M,T=!E,{href:H,as:D}=i.default.useMemo(()=>{if(!E){let e=y(s);return{href:e,as:m?y(m):e}}let[e,t]=(0,o.resolveHref)(E,s,!0);return{href:e,as:m?(0,o.resolveHref)(E,m):t||e}},[E,s,m]),U=i.default.useRef(H),$=i.default.useRef(D);k&&(n=i.default.Children.only(r));let B=k?n&&"object"==typeof n&&n.ref:t,[z,F,V]=(0,d.useIntersection)({rootMargin:"200px"}),Z=i.default.useCallback(e=>{($.current!==D||U.current!==H)&&(V(),$.current=D,U.current=H),z(e),B&&("function"==typeof B?B(e):"object"==typeof B&&(B.current=e))},[D,B,H,V,z]);i.default.useEffect(()=>{A&&F&&N&&v(A,H,D,{locale:L},{kind:I},T)},[D,H,F,L,N,null==E?void 0:E.locale,A,T,I]);let W={ref:Z,onClick(e){k||"function"!=typeof O||O(e),k&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,r,n,o,s,l,u,c,h){let{nodeName:d}=e.currentTarget,f="A"===d.toUpperCase();if(f&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(r)))return;e.preventDefault();let p=()=>{"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:s,locale:u,scroll:l}):t[o?"replace":"push"](n||r,{forceOptimisticNavigation:!h})};c?i.default.startTransition(p):p()}(e,A,H,D,S,x,w,L,T,N)},onMouseEnter(e){k||"function"!=typeof R||R(e),k&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),A&&(N||!T)&&v(A,H,D,{locale:L,priority:!0,bypassPrefetchedCheck:!0},{kind:I},T)},onTouchStart(e){k||"function"!=typeof j||j(e),k&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),A&&(N||!T)&&v(A,H,D,{locale:L,priority:!0,bypassPrefetchedCheck:!0},{kind:I},T)}};if((0,l.isAbsoluteUrl)(D))W.href=D;else if(!k||_||"a"===n.type&&!("href"in n.props)){let e=void 0!==L?L:null==E?void 0:E.locale,t=(null==E?void 0:E.isLocaleDomain)&&(0,f.getDomainLocale)(D,e,null==E?void 0:E.locales,null==E?void 0:E.domainLocales);W.href=t||(0,p.addBasePath)((0,u.addLocale)(D,e,null==E?void 0:E.defaultLocale))}return k?i.default.cloneElement(n,W):i.default.createElement("a",{...C,...W},r)}),P=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28769:function(e,t,r){"use strict";function n(e){return(e=e.slice(0)).startsWith("/")||(e="/"+e),e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(66630),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42342:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(89777),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1364:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return s},isAssetError:function(){return l},getClientBuildManifest:function(){return d},createRouteLoader:function(){return p}}),r(26927),r(56001);let n=r(60932),i=r(1364);function o(e,t,r){let n,i=t.get(e);if(i)return"future"in i?i.future:Promise.resolve(i);let o=new Promise(e=>{n=e});return t.set(e,i={resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let a=Symbol("ASSET_LOAD_ERROR");function s(e){return Object.defineProperty(e,a,{})}function l(e){return e&&a in e}let u=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),c=()=>"";function h(e,t,r){return new Promise((n,o)=>{let a=!1;e.then(e=>{a=!0,n(e)}).catch(o),(0,i.requestIdleCallback)(()=>setTimeout(()=>{a||o(r)},t))})}function d(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return h(e,3800,s(Error("Failed to load client build manifest")))}function f(e,t){return d().then(r=>{if(!(t in r))throw s(Error("Failed to lookup route: "+t));let i=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:i.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+c()),css:i.filter(e=>e.endsWith(".css")).map(e=>e+c())}})}function p(e){let t=new Map,r=new Map,n=new Map,a=new Map;function l(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(s(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function c(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw s(e)})),t}return{whenEntrypoint:e=>o(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})},loadRoute(r,n){return o(r,a,()=>{let i;return h(f(e,r).then(e=>{let{scripts:n,css:i}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(l)),Promise.all(i.map(c))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,s(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==i?void 0:i())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():f(e,t).then(e=>Promise.all(u?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,i)=>{let o='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>i(s(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,i.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25076:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return o.default},default:function(){return f},withRouter:function(){return l.default},useRouter:function(){return p},createRouter:function(){return g},makePublicRouterInstance:function(){return m}});let n=r(26927),i=n._(r(86006)),o=n._(r(70650)),a=r(50085),s=n._(r(40243)),l=n._(r(19451)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],h=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>o.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get(){let t=d();return t[e]}})}),h.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),u.readyCallbacks=[],u.router}function m(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,h.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:a="",strategy:s="afterInteractive",onError:u}=e,f=r||t;if(f&&h.has(f))return;if(c.has(t)){h.add(f),c.get(t).then(n,u);return}let p=()=>{i&&i(),h.add(f)},g=document.createElement("script"),m=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});for(let[r,n]of(o?(g.innerHTML=o.__html||"",p()):a?(g.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",p()):t&&(g.src=t,c.set(t,m)),Object.entries(e))){if(void 0===n||d.includes(r))continue;let e=l.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===s&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",s),document.body.appendChild(g)};function p(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>f(e))}):f(e)}function g(e){e.forEach(p),function(){let e=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];e.forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}()}function m(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:l="afterInteractive",onError:c,...d}=e,{updateScripts:p,scripts:g,getIsSsr:m,appDir:v,nonce:y}=(0,a.useContext)(s.HeadManagerContext),b=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||r;b.current||(i&&e&&h.has(e)&&i(),b.current=!0)},[i,t,r]);let P=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{!P.current&&("afterInteractive"===l?f(e):"lazyOnload"===l&&("complete"===document.readyState?(0,u.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>f(e))})),P.current=!0)},[e,l]),("beforeInteractive"===l||"worker"===l)&&(p?(g[l]=(g[l]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:c,...d}]),p(g)):m&&m()?h.add(t||r):m&&!m()&&f(e)),v){if("beforeInteractive"===l)return r?(o.default.preload(r,d.integrity?{as:"script",integrity:d.integrity}:{as:"script"}),a.default.createElement("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(d.dangerouslySetInnerHTML&&(d.children=d.dangerouslySetInnerHTML.__html,delete d.dangerouslySetInnerHTML),a.default.createElement("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...d}])+")"}}));"afterInteractive"===l&&r&&o.default.preload(r,d.integrity?{as:"script",integrity:d.integrity}:{as:"script"})}return null}Object.defineProperty(m,"__nextScript",{value:!0});let v=m;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},60932:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68891:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(86006),i=r(1364),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!o,[c,h]=(0,n.useState)(!1),d=(0,n.useRef)(null),f=(0,n.useCallback)(e=>{d.current=e},[]);(0,n.useEffect)(()=>{if(o){if(u||c)return;let e=d.current;if(e&&e.tagName){let n=function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map,o=new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:o,elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&h(e),{root:null==t?void 0:t.current,rootMargin:r});return n}}else if(!c){let e=(0,i.requestIdleCallback)(()=>h(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,r,t,c,d.current]);let p=(0,n.useCallback)(()=>{h(!1)},[]);return[f,c,p]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19451:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(26927),i=n._(r(86006)),o=r(25076);function a(e){function t(t){return i.default.createElement(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12958:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=.01);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){let e={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};return e}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){let t=this.getHashValues(e);t.forEach(e=>{this.bitArray[e]=1})}contains(e){let t=this.getHashValues(e);return t.every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477)}return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},36902:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(n,"\\$&"):e}},38030:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},6636:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},73348:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},42061:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(4471),i=r(609);function o(e){let t=(0,i.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},609:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},50085:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return o}});let n=r(26927),i=n._(r(86006)),o=i.default.createContext(null)},70650:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return W},matchesMiddleware:function(){return A},createKey:function(){return F}});let n=r(26927),i=r(25909),o=r(30769),a=r(6505),s=r(33772),l=i._(r(40243)),u=r(42061),c=r(38030),h=n._(r(73348)),d=r(84779),f=r(93861),p=r(16590);r(72431);let g=r(58287),m=r(35318),v=r(6692);r(28180);let y=r(89777),b=r(60501),P=r(42342),_=r(28769),S=r(32781),x=r(66630),w=r(3031),L=r(86708),O=r(41714),R=r(16234),j=r(8993),k=r(75247),C=r(86620),N=r(96050),I=r(74875),E=r(33811);function M(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function A(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,x.hasBasePath)(r)?(0,_.removeBasePath)(r):r,i=(0,S.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(i))}function T(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function H(e,t,r){let[n,i]=(0,N.resolveHref)(e,t,!0),o=(0,d.getLocationOrigin)(),a=n.startsWith(o),s=i&&i.startsWith(o);n=T(n),i=i?T(i):i;let l=a?n:(0,S.addBasePath)(n),u=r?T((0,N.resolveHref)(e,r)):i||n;return{url:l,as:s?u:(0,S.addBasePath)(u)}}function D(e,t){let r=(0,o.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,f.isDynamicRoute)(t)&&(0,m.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,o.removeTrailingSlash)(e))}async function U(e){let t=await A(e);if(!t||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!0},i=t.headers.get("x-nextjs-rewrite"),s=i||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,p.parseRelativeUrl)(s),l=(0,L.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),u=(0,o.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,a.getClientBuildManifest)()]).then(o=>{let[a,{__rewrites:s}]=o,h=(0,b.addLocale)(l.pathname,l.locale);if((0,f.isDynamicRoute)(h)||!i&&a.includes((0,c.normalizeLocalePath)((0,_.removeBasePath)(h),r.router.locales).pathname)){let r=(0,L.getNextPathnameInfo)((0,p.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});h=(0,S.addBasePath)(r.pathname),t.pathname=h}if(!a.includes(u)){let e=D(u,a);e!==u&&(u=e)}let d=a.includes(u)?u:D((0,c.normalizeLocalePath)((0,_.removeBasePath)(t.pathname),r.router.locales).pathname,a);if((0,f.isDynamicRoute)(d)){let e=(0,g.getRouteMatcher)((0,m.getRouteRegex)(d))(h);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,y.parsePath)(e),l=(0,O.formatNextPathnameInfo)({...(0,L.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+l+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,y.parsePath)(u),t=(0,O.formatNextPathnameInfo)({...(0,L.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let $=Symbol("SSG_DATA_NOT_FOUND");function B(e){try{return JSON.parse(e)}catch(e){return null}}function z(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:i,hasMiddleware:o,isServerRender:s,parseJSON:l,persistCache:u,isBackground:c,unstable_skipClientCache:h}=e,{href:d}=new URL(r,window.location.href),f=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(i=>!i.ok&&r>1&&i.status>=500?e(t,r-1,n):i)})(r,s?3:1,{headers:Object.assign({},i?{purpose:"prefetch"}:{},i&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:d}:t.text().then(e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:d};if(404===t.status){var n;if(null==(n=B(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:$},response:t,text:e,cacheKey:d}}let i=Error("Failed to load static props");throw s||(0,a.markAssetError)(i),i}return{dataHref:r,json:l?B(e):null,response:t,text:e,cacheKey:d}})).then(e=>(u&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw h||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,a.markAssetError)(e),e});return h&&u?f({}).then(e=>(n[d]=Promise.resolve(e),e)):void 0!==n[d]?n[d]:n[d]=f(c?{method:"HEAD"}:{})}function F(){return Math.random().toString(36).slice(2,10)}function V(e){let{url:t,router:r}=e;if(t===(0,S.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let Z=e=>{let{route:t,router:r}=e,n=!1,i=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}i===r.clc&&(r.clc=null)}};class W{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=H(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=H(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let l=!1,u=!1;for(let c of[e,t])if(c){let t=(0,o.removeTrailingSlash)(new URL(c,"http://n").pathname),h=(0,S.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var i,a,s;for(let e of(l=l||!!(null==(i=this._bfl_s)?void 0:i.contains(t))||!!(null==(a=this._bfl_s)?void 0:a.contains(h)),[t,h])){let t=e.split("/");for(let e=0;!u&&e{})}}}}return!1}async change(e,t,r,n,i){var u,c,h,w,L,O,k,N,E;let T,U;if(!(0,j.isLocalURL)(t))return V({url:t,router:this}),!1;let B=1===n._h;B||n.shallow||await this._bfl(r,void 0,n.locale);let z=B||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,F={...this.state},Z=!0!==this.isReady;this.isReady=!0;let q=this.isSsr;if(B||(this.isSsr=!1),B&&this.clc)return!1;let K=F.locale;d.ST&&performance.mark("routeChange");let{shallow:J=!1,scroll:G=!0}=n,Y={shallow:J};this._inFlightRoute&&this.clc&&(q||W.events.emit("routeChangeError",M(),this._inFlightRoute,Y),this.clc(),this.clc=null),r=(0,S.addBasePath)((0,b.addLocale)((0,x.hasBasePath)(r)?(0,_.removeBasePath)(r):r,n.locale,this.defaultLocale));let X=(0,P.removeLocale)((0,x.hasBasePath)(r)?(0,_.removeBasePath)(r):r,F.locale);this._inFlightRoute=r;let Q=K!==F.locale;if(!B&&this.onlyAHashChange(X)&&!Q){F.asPath=X,W.events.emit("hashChangeStart",r,Y),this.changeState(e,t,r,{...n,scroll:!1}),G&&this.scrollToHash(X);try{await this.set(F,this.components[F.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&W.events.emit("routeChangeError",e,X,Y),e}return W.events.emit("hashChangeComplete",r,Y),!0}let ee=(0,p.parseRelativeUrl)(t),{pathname:et,query:er}=ee;if(null==(u=this.components[et])?void 0:u.__appRouter)return V({url:r,router:this}),new Promise(()=>{});try{[T,{__rewrites:U}]=await Promise.all([this.pageLoader.getPageList(),(0,a.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return V({url:r,router:this}),!1}this.urlIsNew(X)||Q||(e="replaceState");let en=r;et=et?(0,o.removeTrailingSlash)((0,_.removeBasePath)(et)):et;let ei=(0,o.removeTrailingSlash)(et),eo=r.startsWith("/")&&(0,p.parseRelativeUrl)(r).pathname,ea=!!(eo&&ei!==eo&&(!(0,f.isDynamicRoute)(ei)||!(0,g.getRouteMatcher)((0,m.getRouteRegex)(ei))(eo))),es=!n.shallow&&await A({asPath:r,locale:F.locale,router:this});if(B&&es&&(z=!1),z&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=D(et,T),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,S.addBasePath)(et),es||(t=(0,v.formatWithValidation)(ee)))),!(0,j.isLocalURL)(r))return V({url:r,router:this}),!1;en=(0,P.removeLocale)((0,_.removeBasePath)(en),F.locale),ei=(0,o.removeTrailingSlash)(et);let el=!1;if((0,f.isDynamicRoute)(ei)){let e=(0,p.parseRelativeUrl)(en),n=e.pathname,i=(0,m.getRouteRegex)(ei);el=(0,g.getRouteMatcher)(i)(n);let o=ei===n,a=o?(0,I.interpolateAs)(ei,n,er):{};if(el&&(!o||a.result))o?r=(0,v.formatWithValidation)(Object.assign({},e,{pathname:a.result,query:(0,C.omit)(er,a.params)})):Object.assign(er,el);else{let e=Object.keys(i.groups).filter(e=>!er[e]&&!i.groups[e].optional);if(e.length>0&&!es)throw Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+ei+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as"))}}B||W.events.emit("routeChangeStart",r,Y);let eu="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:ei,pathname:et,query:er,as:r,resolvedAs:en,routeProps:Y,locale:F.locale,isPreview:F.isPreview,hasMiddleware:es,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:B&&!this.isFallback,isMiddlewareRewrite:ea});if(B||n.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,F.locale),"route"in o&&es){ei=et=o.route||ei,Y.shallow||(er=Object.assign({},o.query||{},er));let e=(0,x.hasBasePath)(ee.pathname)?(0,_.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,f.isDynamicRoute)(et)){let e=!Y.shallow&&o.resolvedAs?o.resolvedAs:(0,S.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,F.locale),!0),t=e;(0,x.hasBasePath)(t)&&(t=(0,_.removeBasePath)(t));let n=(0,m.getRouteRegex)(et),i=(0,g.getRouteMatcher)(n)(new URL(t,location.href).pathname);i&&Object.assign(er,i)}}if("type"in o){if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,n);return V({url:o.destination,router:this}),new Promise(()=>{})}let a=o.Component;if(a&&a.unstable_scriptLoader){let e=[].concat(a.unstable_scriptLoader());e.forEach(e=>{(0,s.handleClientScriptLoad)(e.props)})}if((o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){n.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,p.parseRelativeUrl)(t);r.pathname=D(r.pathname,T);let{url:i,as:o}=H(this,t,t);return this.change(e,i,o,n)}return V({url:t,router:this}),new Promise(()=>{})}if(F.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===$){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:F.locale,isPreview:F.isPreview,isNotFound:!0}),"type"in o)throw Error("Unexpected middleware effect on /404")}}B&&"/_error"===this.pathname&&(null==(c=self.__NEXT_DATA__.props)?void 0:null==(h=c.pageProps)?void 0:h.statusCode)===500&&(null==(w=o.props)?void 0:w.pageProps)&&(o.props.pageProps.statusCode=500);let u=n.shallow&&F.route===(null!=(L=o.route)?L:ei),d=null!=(O=n.scroll)?O:!B&&!u,v=null!=i?i:d?{x:0,y:0}:null,y={...F,route:ei,pathname:et,query:er,asPath:X,isFallback:!1};if(B&&eu){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:F.locale,isPreview:F.isPreview,isQueryUpdating:B&&!this.isFallback}),"type"in o)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(k=self.__NEXT_DATA__.props)?void 0:null==(N=k.pageProps)?void 0:N.statusCode)===500&&(null==(E=o.props)?void 0:E.pageProps)&&(o.props.pageProps.statusCode=500);try{await this.set(y,o,v)}catch(e){throw(0,l.default)(e)&&e.cancelled&&W.events.emit("routeChangeError",e,X,Y),e}return!0}W.events.emit("beforeHistoryChange",r,Y),this.changeState(e,t,r,n);let P=B&&!v&&!Z&&!Q&&(0,R.compareRouterStates)(y,this.state);if(!P){try{await this.set(y,o,v)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw B||W.events.emit("routeChangeError",o.error,X,Y),o.error;B||W.events.emit("routeChangeComplete",r,Y),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:F()},"",r))}async handleRouteInfoError(e,t,r,n,i,o){if(console.error(e),e.cancelled)throw e;if((0,a.isAssetError)(e)||o)throw W.events.emit("routeChangeError",e,n,i),V({url:n,router:this}),M();try{let n;let{page:i,styleSheets:o}=await this.fetchComponent("/_error"),a={props:n,Component:i,styleSheets:o,err:e,error:e};if(!a.props)try{a.props=await this.getInitialProps(i,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),a.props={}}return a}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,i,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:i,resolvedAs:a,routeProps:s,locale:u,hasMiddleware:h,isPreview:d,unstable_skipClientCache:f,isQueryUpdating:p,isMiddlewareRewrite:g,isNotFound:m}=e,y=t;try{var b,P,S,x;let e=Z({route:y,router:this}),t=this.components[y];if(s.shallow&&t&&this.route===y)return t;h&&(t=void 0);let l=!t||"initial"in t?void 0:t,L={dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:m?"/404":a,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:f,isBackground:p},O=p&&!g?null:await U({fetchData:()=>z(L),asPath:m?"/404":a,locale:u,router:this}).catch(e=>{if(p)return null;throw e});if(O&&("/_error"===r||"/404"===r)&&(O.effect=void 0),p&&(O?O.json=self.__NEXT_DATA__.props:O={json:self.__NEXT_DATA__.props}),e(),(null==O?void 0:null==(b=O.effect)?void 0:b.type)==="redirect-internal"||(null==O?void 0:null==(P=O.effect)?void 0:P.type)==="redirect-external")return O.effect;if((null==O?void 0:null==(S=O.effect)?void 0:S.type)==="rewrite"){let e=(0,o.removeTrailingSlash)(O.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!p||i.includes(e))&&(y=e,r=O.effect.resolvedHref,n={...n,...O.effect.parsedAs.query},a=(0,_.removeBasePath)((0,c.normalizeLocalePath)(O.effect.parsedAs.pathname,this.locales).pathname),t=this.components[y],s.shallow&&t&&this.route===y&&!h))return{...t,route:y}}if((0,w.isAPIRoute)(y))return V({url:i,router:this}),new Promise(()=>{});let R=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),j=null==O?void 0:null==(x=O.response)?void 0:x.headers.get("x-middleware-skip"),k=R.__N_SSG||R.__N_SSP;j&&(null==O?void 0:O.dataHref)&&delete this.sdc[O.dataHref];let{props:C,cacheKey:N}=await this._getData(async()=>{if(k){if((null==O?void 0:O.json)&&!j)return{cacheKey:O.cacheKey,props:O.json};let e=(null==O?void 0:O.dataHref)?O.dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:r,query:n}),asPath:a,locale:u}),t=await z({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:j?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:f});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:i,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&L.dataHref&&N&&delete this.sdc[N],this.isPreview||!R.__N_SSG||p||z(Object.assign({},L,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),C.pageProps=Object.assign({},C.pageProps),R.props=C,R.route=y,R.query=n,R.resolvedAs=a,this.components[y]=R,R}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,i,s)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,i]=e.split("#");return!!i&&t===n&&r===i||t===n&&r!==i}scrollToHash(e){let[,t=""]=e.split("#");if(""===t||"top"===t){(0,E.handleSmoothScroll)(()=>window.scrollTo(0,0));return}let r=decodeURIComponent(t),n=document.getElementById(r);if(n){(0,E.handleSmoothScroll)(()=>n.scrollIntoView());return}let i=document.getElementsByName(r)[0];i&&(0,E.handleSmoothScroll)(()=>i.scrollIntoView())}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,k.isBot)(window.navigator.userAgent))return;let n=(0,p.parseRelativeUrl)(e),i=n.pathname,{pathname:a,query:s}=n,l=a,u=await this.pageLoader.getPageList(),c=t,h=void 0!==r.locale?r.locale||void 0:this.locale,d=await A({asPath:t,locale:h,router:this});n.pathname=D(n.pathname,u),(0,f.isDynamicRoute)(n.pathname)&&(a=n.pathname,n.pathname=a,Object.assign(s,(0,g.getRouteMatcher)((0,m.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),d||(e=(0,v.formatWithValidation)(n)));let b=await U({fetchData:()=>z({dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:c,locale:h}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:h,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,a=b.effect.resolvedHref,s={...s,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,v.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let P=(0,o.removeTrailingSlash)(a);await this._bfl(t,c,r.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(P).then(t=>!!t&&z({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](P)])}async fetchComponent(e){let t=Z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return z({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:i,pageLoader:a,App:s,wrapApp:l,Component:u,err:c,subscription:h,isFallback:g,locale:m,locales:y,defaultLocale:b,domainLocales:P,isPreview:_}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=F(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,v.formatWithValidation)({pathname:(0,S.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:i,as:o,options:a,key:s}=n;this._key=s;let{pathname:l}=(0,p.parseRelativeUrl)(i);(!this.isSsr||o!==(0,S.addBasePath)(this.asPath)||l!==(0,S.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",i,o,Object.assign({},a,{shallow:a.shallow&&this._shallow,locale:a.locale||this.defaultLocale,_h:0}),t)};let x=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[x]={Component:u,initial:!0,props:i,err:c,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP}),this.components["/_app"]={Component:s,styleSheets:[]};{let{BloomFilter:e}=r(12958),t={numItems:7,errorRate:.01,numBits:68,numHashes:7,bitArray:[1,1,1,1,1,1,0,0,1,0,1,0,0,1,1,0,1,0,0,1,0,0,0,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,0,1,0,0,1,0,1,0,1,1,1,0,0,0,1,1,0,1,0,1,0,1,0,1,0,0,1,1,1,0]},n={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=W.events,this.pageLoader=a;let w=(0,f.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=h,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.state={route:x,pathname:e,query:t,asPath:w?e:n,isPreview:!!_,locale:void 0,isFallback:g},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:m},i=(0,d.getURL)();this._initialMatchesMiddlewarePromise=A({router:this,locale:m,asPath:i}).then(o=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",o?i:(0,v.formatWithValidation)({pathname:(0,S.addBasePath)(e),query:t}),i,r),o))}window.addEventListener("popstate",this.onPopState)}}W.events=(0,h.default)()},58485:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(16620),i=r(29973);function o(e,t,r,o){if(!t||t===r)return e;let a=e.toLowerCase();return!o&&((0,i.pathHasPrefix)(a,"/api")||(0,i.pathHasPrefix)(a,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},75061:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return i}});let n=r(89777);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:o}=(0,n.parsePath)(e);return""+r+t+i+o}},16234:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let i=r[n];if("query"===i){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let i=r[n];if(!t.query.hasOwnProperty(i)||e.query[i]!==t.query[i])return!1}}else if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},41714:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(30769),i=r(16620),o=r(75061),a=r(58485);function s(e){let t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,i.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,i.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},6692:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},urlObjectKeys:function(){return s},formatWithValidation:function(){return l}});let n=r(25909),i=n._(r(61937)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+n+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return a(e)}},56001:function(e,t){"use strict";function r(e,t){void 0===t&&(t="");let r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e;return r+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},86708:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});let n=r(38030),i=r(6223),o=r(29973);function a(e,t){var r,a,s;let{basePath:l,i18n:u,trailingSlash:c}=null!=(r=t.nextConfig)?r:{},h={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):c};if(l&&(0,o.pathHasPrefix)(h.pathname,l)&&(h.pathname=(0,i.removePathPrefix)(h.pathname,l),h.basePath=l),!0===t.parseData&&h.pathname.startsWith("/_next/data/")&&h.pathname.endsWith(".json")){let e=h.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];h.pathname="index"!==e[1]?"/"+e.slice(1).join("/"):"/",h.buildId=t}if(t.i18nProvider){let e=t.i18nProvider.analyze(h.pathname);h.locale=e.detectedLocale,h.pathname=null!=(a=e.pathname)?a:h.pathname}else if(u){let e=(0,n.normalizeLocalePath)(h.pathname,u.locales);h.locale=e.detectedLocale,h.pathname=null!=(s=e.pathname)?s:h.pathname}return h}},4471:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let n=r(28057),i=r(93861)},74875:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(58287),i=r(35318);function o(e,t,r){let o="",a=(0,i.getRouteRegex)(e),s=a.groups,l=(t!==e?(0,n.getRouteMatcher)(a)(t):"")||r;o=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],i="["+(r?"...":"")+e+"]";return n&&(i=(t?"":"/")+"["+i+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(o=o.replace(i,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}}},93861:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},8993:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(84779),i=r(66630);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},86620:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},16590:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(84779),i=r(61937);function o(e,t){let r=new URL((0,n.getLocationOrigin)()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:a,searchParams:s,search:l,hash:u,href:c,origin:h}=new URL(e,o);if(h!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:a,query:(0,i.searchParamsToUrlQuery)(s),search:l,hash:u,href:c.slice(r.origin.length)}}},29973:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return i}});let n=r(89777);function i(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},61937:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,i]=e;Array.isArray(i)?i.forEach(e=>t.append(r,n(e))):t.set(r,n(i))}),t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return i},assign:function(){return o}})},6223:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return i}});let n=r(29973);function i(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},96050:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return h}});let n=r(61937),i=r(6692),o=r(86620),a=r(84779),s=r(65231),l=r(8993),u=r(93861),c=r(74875);function h(e,t,r){let h;let d="string"==typeof t?t:(0,i.formatWithValidation)(t),f=d.match(/^[a-zA-Z]{1,}:\/\//),p=f?d.slice(f[0].length):d,g=p.split("?");if((g[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(p);d=(f?f[0]:"")+t}if(!(0,l.isLocalURL)(d))return r?[d]:d;try{h=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){h=new URL("/","http://n")}try{let e=new URL(d,h);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:a,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);a&&(t=(0,i.formatWithValidation)({pathname:a,hash:e.hash,query:(0,o.omit)(r,s)}))}let a=e.origin===h.origin?e.href.slice(e.origin.length):e.href;return r?[a,t||a]:a}catch(e){return r?[d]:d}}},58287:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let n=r(84779);function i(e){let{re:t,groups:r}=e;return e=>{let i=t.exec(e);if(!i)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},a={};return Object.keys(r).forEach(e=>{let t=r[e],n=i[t.pos];void 0!==n&&(a[e]=~n.indexOf("/")?n.split("/").map(e=>o(e)):t.repeat?[o(n)]:o(n))}),a}}},35318:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return l},getNamedRouteRegex:function(){return c},getNamedMiddlewareRegex:function(){return h}});let n=r(36902),i=r(30769),o="nxtP";function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function s(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},o=1;return{parameterizedRoute:t.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,n.escapeStringRegexp)(e);{let{key:t,optional:n,repeat:i}=a(e.slice(1,-1));return r[t]={pos:o++,repeat:i,optional:n},i?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function l(e){let{parameterizedRoute:t,groups:r}=s(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function u(e,t){let r,s;let l=(0,i.removeTrailingSlash)(e).slice(1).split("/"),u=(r=97,s=1,()=>{let e="";for(let t=0;t122&&(s++,r=97);return e}),c={};return{namedParameterizedRoute:l.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,n.escapeStringRegexp)(e);{let{key:r,optional:n,repeat:i}=a(e.slice(1,-1)),s=r.replace(/\W/g,"");t&&(s=""+o+s);let l=!1;return(0===s.length||s.length>30)&&(l=!0),isNaN(parseInt(s.slice(0,1)))||(l=!0),l&&(s=u()),t?c[s]=""+o+r:c[s]=""+r,i?n?"(?:/(?<"+s+">.+?))?":"/(?<"+s+">.+?)":"/(?<"+s+">[^/]+?)"}}).join(""),routeKeys:c}}function c(e,t){let r=u(e,t);return{...l(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function h(e,t){let{parameterizedRoute:r}=s(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:i}=u(e,!1);return{namedRegex:"^"+i+(n?"(?:(/.*)?)":"")+"$"}}},28057:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let r=i.slice(1,-1),a=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),a=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function o(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,i="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');o(this.restSlugName,r),this.restSlugName=r,i="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');o(this.slugName,r),this.slugName=r,i="[]"}}this.children.has(i)||this.children.set(i,new r),this.children.get(i)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},84779:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return o},getLocationOrigin:function(){return a},getURL:function(){return s},getDisplayName:function(){return l},isResSent:function(){return u},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return h},SP:function(){return d},ST:function(){return f},DecodeError:function(){return p},NormalizeError:function(){return g},PageNotFoundError:function(){return m},MissingStaticPage:function(){return v},MiddlewareNotFoundError:function(){return y}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),o=0;oi.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n){let t='"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,f=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class g extends Error{}class m extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class v extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}},3031:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},40243:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},getProperError:function(){return o}});let n=r(6636);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){return i(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},35846:function(e,t,r){e.exports=r(57477)},53794:function(e,t,r){e.exports=r(25076)},54486:function(e,t,r){var n,i;void 0!==(i="function"==typeof(n=function(){var e,t,r,n={};n.version="0.2.0";var i=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,r){return er?r:e}n.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(i[t]=r);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,i.minimum,1),n.status=1===e?null:e;var r=n.render(!t),l=r.querySelector(i.barSelector),u=i.speed,c=i.easing;return r.offsetWidth,a(function(t){var o,a;""===i.positionUsing&&(i.positionUsing=n.getPositioningCSS()),s(l,(o=e,(a="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+u+"ms "+c,a)),1===e?(s(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){s(r,{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())},i.trickleSpeed)};return i.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()*i.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},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=i.template;var r,o,a=t.querySelector(i.barSelector),l=e?"-100":(-1+(n.status||0))*100,c=document.querySelector(i.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),!i.showSpinner&&(o=t.querySelector(i.spinnerSelector))&&d(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(i.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(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 a=(r=[],function(e){r.push(e),1==r.length&&function e(){var t=r.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function r(r,n,i){var o;n=t[o=(o=n).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var r=document.body.style;if(t in r)return t;for(var n,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((n=e[i]+o)in r)return n;return t}(o)),r.style[n]=i}return function(e,t){var n,i,o=arguments;if(2==o.length)for(n in t)void 0!==(i=t[n])&&t.hasOwnProperty(n)&&r(e,n,i);else r(e,o[1],o[2])}}();function l(e,t){return("string"==typeof e?e:h(e)).indexOf(" "+t+" ")>=0}function u(e,t){var r=h(e),n=r+t;l(r,t)||(e.className=n.substring(1))}function c(e,t){var r,n=h(e);l(e,t)&&(r=n.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function h(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?n.call(t,r,t,e):n)&&(e.exports=i)},23412:function(e,t,r){"use strict";r.d(t,{ZP:function(){return U}});let n={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||n,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),r=0;r{this.observers[e]=this.observers[e]||[],this.observers[e].push(t)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(e=>e!==t)}}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{e(...r)})}if(this.observers["*"]){let t=[].concat(this.observers["*"]);t.forEach(t=>{t.apply(t,[e,...r])})}}}function s(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}function l(e){return null==e?"":""+e}function u(e,t,r){function n(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}let o="string"!=typeof t?[].concat(t):t.split(".");for(;o.length>1;){if(i())return{};let t=n(o.shift());!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return i()?{}:{obj:e,k:n(o.shift())}}function c(e,t,r){let{obj:n,k:i}=u(e,t,Object);n[i]=r}function h(e,t){let{obj:r,k:n}=u(e,t);if(r)return r[n]}function d(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function p(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>f[e]):e}let g=[" ",",","?","!",";"];function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let n=t.split(r),i=e;for(let e=0;ee+o;)o++,s=i[a=n.slice(e,e+o).join(r)];if(void 0===s)return;if(null===s)return null;if(t.endsWith(a)){if("string"==typeof s)return s;if(a&&"string"==typeof s[a])return s[a]}let l=n.slice(e+o).join(r);if(l)return m(s,l,r);return}i=i[n[e]]}return i}function v(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class y extends a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,o=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];r&&"string"!=typeof r&&(a=a.concat(r)),r&&"string"==typeof r&&(a=a.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(a=e.split("."));let s=h(this.data,a);return s||!o||"string"!=typeof r?s:m(this.data&&this.data[e]&&this.data[e][t],r,i)}addResource(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=[e,t];r&&(a=a.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(a=e.split("."),n=t,t=a[1]),this.addNamespaces(t),c(this.data,a,n),i.silent||this.emit("added",e,t,r,n)}addResources(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let n in r)("string"==typeof r[n]||"[object Array]"===Object.prototype.toString.apply(r[n]))&&this.addResource(e,t,n,r[n],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),n=r,r=t,t=a[1]),this.addNamespaces(t);let s=h(this.data,a)||{};n?function e(t,r,n){for(let i in r)"__proto__"!==i&&"constructor"!==i&&(i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof r[i]||r[i]instanceof String?n&&(t[i]=r[i]):e(t[i],r[i],n):t[i]=r[i]);return t}(s,r,i):s={...s,...r},c(this.data,a,s),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e),r=t&&Object.keys(t)||[];return!!r.find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var b={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,r,n,i))}),t}};let P={};class _ extends a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,r){e.forEach(e=>{t[e]&&(r[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=o.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,r){t=t||"",r=r||"";let n=g.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let i=RegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),o=!i.test(e);if(!o){let t=e.indexOf(r);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o}(e,r,n);if(o&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};let o=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(n)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){let e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s}:`${s}${e}${o}`}return n?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s}:o}let c=this.resolve(e,t),h=c&&c.res,d=c&&c.usedKey||o,f=c&&c.exactUsedKey||o,p=Object.prototype.toString.apply(h),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,v="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(m&&h&&v&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(p)&&!("string"==typeof g&&"[object Array]"===p)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,h,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(c.res=e,c):e}if(i){let e="[object Array]"===p,r=e?[]:{},n=e?f:d;for(let e in h)if(Object.prototype.hasOwnProperty.call(h,e)){let o=`${n}${i}${e}`;r[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),r[e]===o&&(r[e]=h[e])}h=r}}else if(m&&"string"==typeof g&&"[object Array]"===p)(h=h.join(g))&&(h=this.extendTranslation(h,e,t,r));else{let n=!1,a=!1,u=void 0!==t.count&&"string"!=typeof t.count,d=_.hasDefaultValue(t),f=u?this.pluralResolver.getSuffix(l,t.count,t):"",p=t.ordinal&&u?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",g=t[`defaultValue${f}`]||t[`defaultValue${p}`]||t.defaultValue;!this.isValidLookup(h)&&d&&(n=!0,h=g),this.isValidLookup(h)||(a=!0,h=o);let m=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,v=m&&a?void 0:h,y=d&&g!==h&&this.options.updateMissing;if(a||n||y){if(this.logger.log(y?"updateKey":"missingKey",l,s,o,y?g:h),i){let e=this.resolve(o,{...t,keySeparator:!1});e&&e.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.")}let e=[],r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t{let i=d&&n!==h?n:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,r,i,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,r,i,y,t),this.emit("missingKey",e,s,r,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{this.pluralResolver.getSuffixes(e,t).forEach(r=>{n([e],o+r,t[`defaultValue${r}`]||g)})}):n(e,o,g))}h=this.extendTranslation(h,e,t,c,r),a&&h===o&&this.options.appendNamespaceToMissingKey&&(h=`${s}:${o}`),(a||n)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,n?h:void 0):this.options.parseMissingKeyHandler(h))}return n?(c.res=h,c):h}extendTranslation(e,t,r,n,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){let a;r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});let s="string"==typeof e&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=r.replace&&"string"!=typeof r.replace?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language,r),s){let t=e.match(this.interpolator.nestingRegexp),n=t&&t.length;a1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let s=this.extractFromKey(e,a),l=s.key;r=l;let u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let c=void 0!==a.count&&"string"!=typeof a.count,h=c&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,f=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);u.forEach(e=>{this.isValidLookup(t)||(o=e,!P[`${f[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(P[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${f.join(", ")}" won't get resolved as namespace "${o}" 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!!!")),f.forEach(r=>{let o;if(this.isValidLookup(t))return;i=r;let s=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,r,e,a);else{let e;c&&(e=this.pluralResolver.getSuffix(r,a.count,a));let t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(s.push(l+e),a.ordinal&&0===e.indexOf(n)&&s.push(l+e.replace(n,this.options.pluralSeparator)),h&&s.push(l+t)),d){let r=`${l}${this.options.contextSeparator}${a.context}`;s.push(r),c&&(s.push(r+e),a.ordinal&&0===e.indexOf(n)&&s.push(r+e.replace(n,this.options.pluralSeparator)),h&&s.push(r+t))}}for(;o=s.pop();)this.isValidLookup(t)||(n=o,t=this.getResource(r,e,o,a))}))})}),{res:t,usedKey:r,exactUsedKey:n,usedLng:i,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}function S(e){return e.charAt(0).toUpperCase()+e.slice(1)}class x{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=o.create("languageUtils")}getScriptPartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){let t=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(e=>e.toLowerCase()):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=S(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=S(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=S(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&0===e.indexOf(r))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(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||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],i=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(e=>{0>n.indexOf(e)&&i(this.formatLanguageCode(e))}),n}}let w=[{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}],L={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)}},O=["v1","v2","v3"],R=["v4"],j={zero:0,one:1,two:2,few:3,many:4,other:5};class k{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=o.create("pluralResolver"),(!this.options.compatibilityJSON||R.includes(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=function(){let e={};return w.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:L[t.fc]}})}),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(v(e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((e,t)=>j[e]-j[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):r.numbers.map(r=>this.getSuffix(e,r,t)):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getRule(e,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),n=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===n?n="plural":1===n&&(n=""));let i=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!O.includes(this.options.compatibilityJSON)}}function C(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=function(e,t,r){let n=h(e,r);return void 0!==n?n:h(t,r)}(e,t,r);return!o&&i&&"string"==typeof r&&void 0===(o=m(e,r,n))&&(o=m(t,r,n)),o}class N{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let t=e.interpolation;this.escape=void 0!==t.escape?t.escape:p,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?d(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?d(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?d(t.nestingPrefix):t.nestingPrefixEscaped||d("$t("),this.nestingSuffix=t.nestingSuffix?d(t.nestingSuffix):t.nestingSuffixEscaped||d(")"),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()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=RegExp(e,"g");let t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=RegExp(t,"g");let r=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=RegExp(r,"g")}interpolate(e,t,r,n){let i,o,a;let s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}let c=e=>{if(0>e.indexOf(this.formatSeparator)){let i=C(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,r,{...n,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(C(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,{...n,...t,interpolationkey:o})};this.resetRegExp();let h=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,d=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,f=[{regex:this.regexpUnescape,safeValue:e=>u(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?u(this.escape(e)):u(e)}];return f.forEach(t=>{for(a=0;i=t.regex.exec(e);){let r=i[1].trim();if(void 0===(o=c(r))){if("function"==typeof h){let t=h(e,i,n);o="string"==typeof t?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))o="";else if(d){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=l(o));let s=t.safeValue(o);if(e=e.replace(i[0],s),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=this.maxReplaces)break}}),e}nest(e,t){let r,n,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),o=`{${n[1]}`;e=n[0],o=this.interpolate(o,i);let a=o.match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${o}`}return delete i.defaultValue,e}for(;r=this.nestingRegexp.exec(e);){let s=[];(i=(i={...o}).replace&&"string"!=typeof i.replace?i.replace:i).applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),s=e,u=!0}if((n=t(a.call(this,r[1].trim(),i),i))&&r[0]===e&&"string"!=typeof n)return n;"string"!=typeof n&&(n=l(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),n=""),u&&(n=s.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:r[1].trim()}),n.trim())),e=e.replace(r[0],n),this.regexp.lastIndex=0}return e}}function I(e){let t={};return function(r,n,i){let o=n+JSON.stringify(i),a=t[o];return a||(a=e(v(n),i),t[o]=a),a(r)}}class E{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("formatter"),this.options=e,this.formats={number:I((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:I((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:I((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:I((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:I((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},r=t.interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=I(t)}format(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.split(this.formatSeparator),o=i.reduce((e,t)=>{let{formatName:i,formatOptions:o}=function(e){let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);if("currency"===t&&0>i.indexOf(":"))r.currency||(r.currency=i.trim());else if("relativetime"===t&&0>i.indexOf(":"))r.range||(r.range=i.trim());else{let e=i.split(";");e.forEach(e=>{if(!e)return;let[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,"");r[t.trim()]||(r[t.trim()]=i),"false"===i&&(r[t.trim()]=!1),"true"===i&&(r[t.trim()]=!0),isNaN(i)||(r[t.trim()]=parseInt(i,10))})}}return{formatName:t,formatOptions:r}}(t);if(this.formats[i]){let t=e;try{let a=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},s=a.locale||a.lng||n.locale||n.lng||r;t=this.formats[i](e,s,{...o,...n,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e);return o}}class M extends a{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=o.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(e,t,r,n){let i={},o={},a={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,n=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),i=n[0],o=n[1];t&&this.emit("failedLoading",i,o,t),r&&this.store.addResourceBundle(i,o,r),this.state[e]=t?-1:2;let a={};this.queue.forEach(r=>{(function(e,t,r,n){let{obj:i,k:o}=u(e,t,Object);i[o]=i[o]||[],n&&(i[o]=i[o].concat(r)),n||i[o].push(r)})(r.loaded,[i],o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{a[e]||(a[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:i,callback:o});return}this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&s&&n{this.read.call(this,e,t,r,n+1,2*i,o)},i);return}o(a,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=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."),n&&n();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);let i=this.queueLoad(e,t,r,n);if(!i.toLoad.length)return i.pending.length||n(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),n=r[0],i=r[1];this.read(n,i,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${r}" as the namespace "${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!!!");return}if(null!=r&&""!==r){if(this.backend&&this.backend.create){let s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,r,n,s):l(e,t,r,n))&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,r,n,a,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}function A(){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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:(e,t,r,n)=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function T(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&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function H(){}class D extends a{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=T(e),this.services={},this.logger=o,this.modules={external:[]},!function(e){let t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let n=A();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...n,...this.options,...T(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...n.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){let t;this.modules.logger?o.init(i(this.modules.logger),this.options):o.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=E);let r=new x(this.options);this.store=new y(this.options.resources,this.options);let a=this.services;a.logger=o,a.resourceStore=this.store,a.languageUtils=r,a.pluralResolver=new k(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(a.formatter=i(t),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new N(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new M(i(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i1?r-1:0),i=1;i{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=H),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[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(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let a=s(),l=()=>{let e=(e,t)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),a}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H,r=t,n="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase())return r();let e=[],t=t=>{if(!t)return;let r=this.services.languageUtils.toResolveHierarchy(t);r.forEach(t=>{0>e.indexOf(t)&&e.push(t)})};if(n)t(n);else{let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.forEach(e=>t(e))}this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=s();return e||(e=this.languages),t||(t=this.options.ns),r||(r=H),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw 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&&b.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;let n=s();this.emit("languageChanging",e);let i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve(function(){return r.t(...arguments)}),t&&t(e,function(){return r.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);let r="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||i(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,e=>{o(e,r)})};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()),n}getFixedT(e,t,r){var n=this;let i=function(e,t){let o,a;if("object"!=typeof t){for(var s=arguments.length,l=Array(s>2?s-2:0),u=2;u`${o.keyPrefix}${c}${e}`):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,n.t(a,o)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&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;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!n||o(i,e)))}loadNamespaces(e,t){let r=s();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=s();"string"==typeof e&&(e=[e]);let n=this.options.preload||[],i=e.filter(e=>0>n.indexOf(e));return i.length?(this.options.preload=n.concat(i),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";let t=this.services&&this.services.languageUtils||new x(A());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"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new D(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H,r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},i=new D(n);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new y(this.store.data,n),i.services.resourceStore=i.store),i.translator=new _(i.services,n),i.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{let{disabled:e,fullWidth:n,variant:t,color:o,size:a}=r,d={root:["root",e&&"disabled",n&&"fullWidth",t&&`variant${(0,i.Z)(t)}`,o&&`color${(0,i.Z)(o)}`,a&&`size${(0,i.Z)(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(d,v,{})},b=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t,a,i,l;let d=null==(n=r.variants[`${e.variant}`])?void 0:n[e.color];return[(0,o.Z)({"--Input-radius":r.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.5,"--Input-focused":"0","--Input-focusedThickness":r.vars.focus.thickness},"context"===e.color?{"--Input-focusedHighlight":r.vars.palette.focusVisible}:{"--Input-focusedHighlight":null==(t=r.vars.palette["neutral"===e.color?"primary":e.color])?void 0:t[500]},"sm"===e.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":"1.25rem"},"md"===e.size&&{"--Input-minHeight":"2.5rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(2rem, var(--Input-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===e.size&&{"--Input-minHeight":"3rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.375rem, var(--Input-minHeight))","--Icon-fontSize":"1.75rem"},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Input-minHeight)"},e.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)",fontFamily:r.vars.fontFamily.body,fontSize:r.vars.fontSize.md},"sm"===e.size&&{fontSize:r.vars.fontSize.sm},{"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),(0,o.Z)({},d,{backgroundColor:null!=(a=null==d?void 0:d.backgroundColor)?a:r.vars.palette.background.surface,"&:hover":(0,o.Z)({},null==(i=r.variants[`${e.variant}Hover`])?void 0:i[e.color],{backgroundColor:null}),[`&.${I.disabled}`]:null==(l=r.variants[`${e.variant}Disabled`])?void 0:l[e.color],"&:focus-within::before":{"--Input-focused":"1"}})]}),Z=(0,d.Z)("input")(({ownerState:r})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":(0,o.Z)({paddingInline:"var(--Input-paddingInline)"},!r.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!r.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}})),C=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:r.vars.palette.text.tertiary,cursor:"initial"},e.focused&&{color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),y=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color,cursor:"initial"},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),x=(0,d.Z)(b,{name:"JoyInput",slot:"Root",overridesResolver:(r,e)=>e.root})({}),S=(0,d.Z)(Z,{name:"JoyInput",slot:"Input",overridesResolver:(r,e)=>e.input})({}),z=(0,d.Z)(C,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(r,e)=>e.startDecorator})({}),k=(0,d.Z)(y,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(r,e)=>e.endDecorator})({}),D=a.forwardRef(function(r,e){var n,a,i,l,d;let p=(0,u.Z)({props:r,name:"JoyInput"}),v=(0,h.Z)(p,I),{propsToForward:b,rootStateClasses:Z,inputStateClasses:C,getRootProps:y,getInputProps:D,formControl:H,focused:R,error:B=!1,disabled:W,fullWidth:w=!1,size:F="md",color:P="neutral",variant:O="outlined",startDecorator:T,endDecorator:E,component:$,slots:N={},slotProps:_={}}=v,q=(0,t.Z)(v,f),J=null!=(n=null!=(a=r.error)?a:null==H?void 0:H.error)?n:B,V=null!=(i=null!=(l=r.size)?l:null==H?void 0:H.size)?i:F,{getColor:j}=(0,c.VT)(O),L=j(r.color,J?"danger":null!=(d=null==H?void 0:H.color)?d:P),M=(0,o.Z)({},p,{fullWidth:w,color:L,disabled:W,error:J,focused:R,size:V,variant:O}),K=m(M),U=(0,o.Z)({},q,{component:$,slots:N,slotProps:_}),[A,G]=(0,s.Z)("root",{ref:e,className:[K.root,Z],elementType:x,getSlotProps:y,externalForwardedProps:U,ownerState:M}),[Q,X]=(0,s.Z)("input",(0,o.Z)({},H&&{additionalProps:{id:H.htmlFor,"aria-describedby":H["aria-describedby"]}},{className:[K.input,C],elementType:S,getSlotProps:D,internalForwardedProps:b,externalForwardedProps:U,ownerState:M})),[Y,rr]=(0,s.Z)("startDecorator",{className:K.startDecorator,elementType:z,externalForwardedProps:U,ownerState:M}),[re,rn]=(0,s.Z)("endDecorator",{className:K.endDecorator,elementType:k,externalForwardedProps:U,ownerState:M});return(0,g.jsxs)(A,(0,o.Z)({},G,{children:[T&&(0,g.jsx)(Y,(0,o.Z)({},rr,{children:T})),(0,g.jsx)(Q,(0,o.Z)({},X)),E&&(0,g.jsx)(re,(0,o.Z)({},rn,{children:E}))]}))});var H=D},17795:function(r,e,n){n.d(e,{Z:function(){return p}});var t=n(40431),o=n(46750),a=n(86006),i=n(16066),l=n(99179);let d=a.createContext(void 0);var u=n(50487),c=n(31857);let s=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];function p(r,e){let n=a.useContext(c.Z),{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,className:f,defaultValue:m,disabled:b,error:Z,id:C,name:y,onClick:x,onChange:S,onKeyDown:z,onKeyUp:k,onFocus:D,onBlur:H,placeholder:R,readOnly:B,required:W,type:w,value:F}=r,P=(0,o.Z)(r,s),{getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N}=function(r){let e,n,o,c,s;let{defaultValue:p,disabled:v=!1,error:I=!1,onBlur:h,onChange:g,onFocus:f,required:m=!1,value:b,inputRef:Z}=r,C=a.useContext(d);if(C){var y,x,S;e=void 0,n=null!=(y=C.disabled)&&y,o=null!=(x=C.error)&&x,c=null!=(S=C.required)&&S,s=C.value}else e=p,n=v,o=I,c=m,s=b;let{current:z}=a.useRef(null!=s),k=a.useCallback(r=>{},[]),D=a.useRef(null),H=(0,l.Z)(D,Z,k),[R,B]=a.useState(!1);a.useEffect(()=>{!C&&n&&R&&(B(!1),null==h||h())},[C,n,R,h]);let W=r=>e=>{var n,t;if(null!=C&&C.disabled){e.stopPropagation();return}null==(n=r.onFocus)||n.call(r,e),C&&C.onFocus?null==C||null==(t=C.onFocus)||t.call(C):B(!0)},w=r=>e=>{var n;null==(n=r.onBlur)||n.call(r,e),C&&C.onBlur?C.onBlur():B(!1)},F=r=>(e,...n)=>{var t,o;if(!z){let r=e.target||D.current;if(null==r)throw Error((0,i.Z)(17))}null==C||null==(t=C.onChange)||t.call(C,e),null==(o=r.onChange)||o.call(r,e,...n)},P=r=>e=>{var n;D.current&&e.currentTarget===e.target&&D.current.focus(),null==(n=r.onClick)||n.call(r,e)};return{disabled:n,error:o,focused:R,formControlContext:C,getInputProps:(r={})=>{let a=(0,t.Z)({},{onBlur:h,onChange:g,onFocus:f},(0,u.Z)(r)),i=(0,t.Z)({},r,a,{onBlur:w(a),onChange:F(a),onFocus:W(a)});return(0,t.Z)({},i,{"aria-invalid":o||void 0,defaultValue:e,ref:H,value:s,required:c,disabled:n})},getRootProps:(e={})=>{let n=(0,u.Z)(r,["onBlur","onChange","onFocus"]),o=(0,t.Z)({},n,(0,u.Z)(e));return(0,t.Z)({},e,o,{onClick:P(o)})},inputRef:H,required:c,value:s}}({disabled:null!=b?b:null==n?void 0:n.disabled,defaultValue:m,error:Z,onBlur:H,onClick:x,onChange:S,onFocus:D,required:null!=W?W:null==n?void 0:n.required,value:F}),_={[e.disabled]:N,[e.error]:$,[e.focused]:E,[e.formControl]:!!n,[f]:f},q={[e.disabled]:N};return(0,t.Z)({formControl:n,propsToForward:{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,disabled:N,id:C,onKeyDown:z,onKeyUp:k,name:y,placeholder:R,readOnly:B,type:w},rootStateClasses:_,inputStateClasses:q,getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N},P)}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/868-4fb3b88c6a344205.js b/pilot/server/static/_next/static/chunks/868-4fb3b88c6a344205.js deleted file mode 100644 index 3a61fcdb9..000000000 --- a/pilot/server/static/_next/static/chunks/868-4fb3b88c6a344205.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[868],{75387:function(e,t,r){var n=r(86006),o=r(8431),i=r(99179),a=r(11059),l=r(65464),s=r(9268);let c=n.forwardRef(function(e,t){let{children:r,container:c,disablePortal:u=!1}=e,[d,p]=n.useState(null),f=(0,i.Z)(n.isValidElement(r)?r.ref:null,t);return((0,a.Z)(()=>{!u&&p(("function"==typeof c?c():c)||document.body)},[c,u]),(0,a.Z)(()=>{if(d&&!u)return(0,l.Z)(t,d),()=>{(0,l.Z)(t,null)}},[t,d,u]),u)?n.isValidElement(r)?n.cloneElement(r,{ref:f}):(0,s.jsx)(n.Fragment,{children:r}):(0,s.jsx)(n.Fragment,{children:d?o.createPortal(r,d):d})});t.Z=c},81486:function(e,t,r){r.d(t,{Z:function(){return N}});var n=r(46750),o=r(40431),i=r(86006),a=r(99179),l=r(47375),s=r(66519),c=r(47562),u=r(75387),d=r(9268);function p(e){let t=[],r=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,n)=>{let o=function(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1===o||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e)||(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function f(){return!0}var m=function(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:s=p,isEnabled:c=f,open:u}=e,m=i.useRef(!1),g=i.useRef(null),h=i.useRef(null),v=i.useRef(null),b=i.useRef(null),y=i.useRef(!1),$=i.useRef(null),w=(0,a.Z)(t.ref,$),k=i.useRef(null);i.useEffect(()=>{u&&$.current&&(y.current=!r)},[r,u]),i.useEffect(()=>{if(!u||!$.current)return;let e=(0,l.Z)($.current);return!$.current.contains(e.activeElement)&&($.current.hasAttribute("tabIndex")||$.current.setAttribute("tabIndex","-1"),y.current&&$.current.focus()),()=>{o||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}},[u]),i.useEffect(()=>{if(!u||!$.current)return;let e=(0,l.Z)($.current),t=t=>{let{current:r}=$;if(null!==r){if(!e.hasFocus()||n||!c()||m.current){m.current=!1;return}if(!r.contains(e.activeElement)){if(t&&b.current!==t.target||e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!y.current)return;let n=[];if((e.activeElement===g.current||e.activeElement===h.current)&&(n=s($.current)),n.length>0){var o,i;let e=!!((null==(o=k.current)?void 0:o.shiftKey)&&(null==(i=k.current)?void 0:i.key)==="Tab"),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else r.focus()}}},r=t=>{k.current=t,!n&&c()&&"Tab"===t.key&&e.activeElement===$.current&&t.shiftKey&&(m.current=!0,h.current&&h.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",r,!0);let o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)},50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",r,!0)}},[r,n,o,c,u,s]);let E=e=>{null===v.current&&(v.current=e.relatedTarget),y.current=!0};return(0,d.jsxs)(i.Fragment,{children:[(0,d.jsx)("div",{tabIndex:u?0:-1,onFocus:E,ref:g,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:w,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),y.current=!0,b.current=e.target;let r=t.props.onFocus;r&&r(e)}}),(0,d.jsx)("div",{tabIndex:u?0:-1,onFocus:E,ref:h,"data-testid":"sentinelEnd"})]})},g=r(30165);function h(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function v(e){return parseInt((0,g.Z)(e).getComputedStyle(e).paddingRight,10)||0}function b(e,t,r,n,o){let i=[t,r,...n];[].forEach.call(e.children,e=>{let t=-1===i.indexOf(e),r=!function(e){let t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&h(e,o)})}function y(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}var $=r(50645),w=r(88930),k=r(326),E=r(18587);function x(e){return(0,E.d6)("MuiModal",e)}(0,E.sI)("MuiModal",["root","backdrop"]);let S=i.createContext(void 0),C=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],Z=e=>{let{open:t}=e;return(0,c.Z)({root:["root",!t&&"hidden"],backdrop:["backdrop"]},x,{})},O=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&h(e.modalRef,!1);let n=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);b(t,e.mount,e.modalRef,n,!0);let o=y(this.containers,e=>e.container===t);return -1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){let r=y(this.containers,t=>-1!==t.modals.indexOf(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){let r=[],n=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,l.Z)(e);return t.body===e?(0,g.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){let e=function(e){let t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}((0,l.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${v(n)+e}px`;let t=(0,l.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${v(t)+e}px`})}if(n.parentNode instanceof DocumentFragment)e=(0,l.Z)(n).body;else{let t=n.parentElement,r=(0,g.Z)(n);e=(null==t?void 0:t.nodeName)==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){let r=this.modals.indexOf(e);if(-1===r)return r;let n=y(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&h(e.modalRef,t),b(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=o.modals[o.modals.length-1];e.modalRef&&h(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},R=(0,$.Z)("div",{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,o.Z)({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"})),j=(0,$.Z)("div",{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})(({theme:e,ownerState:t})=>(0,o.Z)({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent"},t.open&&{backdropFilter:"blur(8px)"})),I=i.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"JoyModal"}),{children:c,container:p,disableAutoFocus:f=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:h=!1,disablePortal:v=!1,disableRestoreFocus:b=!1,disableScrollLock:y=!1,hideBackdrop:$=!1,keepMounted:E=!1,onClose:x,onKeyDown:I,open:N,component:D,slots:P={},slotProps:A={}}=r,M=(0,n.Z)(r,C),F=i.useRef({}),T=i.useRef(null),L=i.useRef(null),z=(0,a.Z)(L,t),H=!0;"false"!==r["aria-hidden"]&&("boolean"!=typeof r["aria-hidden"]||r["aria-hidden"])||(H=!1);let W=()=>(0,l.Z)(T.current),X=()=>(F.current.modalRef=L.current,F.current.mount=T.current,F.current),U=()=>{O.mount(X(),{disableScrollLock:y}),L.current&&(L.current.scrollTop=0)},_=(0,s.Z)(()=>{let e=("function"==typeof p?p():p)||W().body;O.add(X(),e),L.current&&U()}),B=()=>O.isTopModal(X()),V=(0,s.Z)(e=>{if(T.current=e,e){if(N&&B())U();else if(L.current){var t;t=L.current,H?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}}}),q=i.useCallback(()=>{O.remove(X(),H)},[H]);i.useEffect(()=>()=>{q()},[q]),i.useEffect(()=>{N?_():q()},[N,q,_]);let G=(0,o.Z)({},r,{disableAutoFocus:f,disableEnforceFocus:g,disableEscapeKeyDown:h,disablePortal:v,disableRestoreFocus:b,disableScrollLock:y,hideBackdrop:$,keepMounted:E}),J=Z(G),K=(0,o.Z)({},M,{component:D,slots:P,slotProps:A}),[Y,Q]=(0,k.Z)("root",{additionalProps:{role:"presentation",onKeyDown:e=>{I&&I(e),"Escape"===e.key&&B()&&!h&&(e.stopPropagation(),x&&x(e,"escapeKeyDown"))}},ref:z,className:J.root,elementType:R,externalForwardedProps:K,ownerState:G}),[ee,et]=(0,k.Z)("backdrop",{additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&x&&x(e,"backdropClick")},open:N},className:J.backdrop,elementType:j,externalForwardedProps:K,ownerState:G});return E||N?(0,d.jsx)(S.Provider,{value:x,children:(0,d.jsx)(u.Z,{ref:V,container:p,disablePortal:v,children:(0,d.jsxs)(Y,(0,o.Z)({},Q,{children:[$?null:(0,d.jsx)(ee,(0,o.Z)({},et)),(0,d.jsx)(m,{disableEnforceFocus:g,disableAutoFocus:f,disableRestoreFocus:b,isEnabled:B,open:N,children:i.Children.only(c)&&i.cloneElement(c,(0,o.Z)({},void 0===c.props.tabIndex&&{tabIndex:-1}))})]}))})}):null});var N=I},5737:function(e,t,r){r.d(t,{U:function(){return $},Z:function(){return k}});var n=r(46750),o=r(40431),i=r(86006),a=r(89791),l=r(47562),s=r(53832),c=r(95247),u=r(88930),d=r(50645),p=r(81439),f=r(18587);function m(e){return(0,f.d6)("MuiSheet",e)}(0,f.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var g=r(47093),h=r(326),v=r(9268);let b=["className","color","component","variant","invertedColors","slots","slotProps"],y=e=>{let{variant:t,color:r}=e,n={root:["root",t&&`variant${(0,s.Z)(t)}`,r&&`color${(0,s.Z)(r)}`]};return(0,l.Z)(n,m,{})},$=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n;let i=null==(r=e.variants[t.variant])?void 0:r[t.color],a=(0,p.V)({theme:e,ownerState:t},"borderRadius"),l=(0,p.V)({theme:e,ownerState:t},"bgcolor"),s=(0,p.V)({theme:e,ownerState:t},"backgroundColor"),u=(0,p.V)({theme:e,ownerState:t},"background"),d=(0,c.DW)(e,`palette.${l}`)||l||(0,c.DW)(e,`palette.${s}`)||s||u||(null==i?void 0:i.backgroundColor)||(null==i?void 0:i.background)||e.vars.palette.background.surface;return[(0,o.Z)({"--ListItem-stickyBackground":d,"--Sheet-background":d},void 0!==a&&{"--List-radius":`calc(${a} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${a} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),i,"context"!==t.color&&t.invertedColors&&(null==(n=e.colorInversion[t.variant])?void 0:n[t.color])]}),w=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"JoySheet"}),{className:i,color:l="neutral",component:s="div",variant:c="plain",invertedColors:d=!1,slots:p={},slotProps:f={}}=r,m=(0,n.Z)(r,b),{getColor:w}=(0,g.VT)(c),k=w(e.color,l),E=(0,o.Z)({},r,{color:k,component:s,invertedColors:d,variant:c}),x=y(E),S=(0,o.Z)({},m,{component:s,slots:p,slotProps:f}),[C,Z]=(0,h.Z)("root",{ref:t,className:(0,a.Z)(x.root,i),elementType:$,externalForwardedProps:S,ownerState:E}),O=(0,v.jsx)(C,(0,o.Z)({},Z));return d?(0,v.jsx)(g.do,{variant:c,children:O}):O});var k=w},80937:function(e,t,r){r.d(t,{Z:function(){return C}});var n=r(46750),o=r(40431),i=r(86006),a=r(73702),l=r(95135),s=r(47562),c=r(13809),u=r(96263),d=r(38295),p=r(86601),f=r(89587),m=r(91559),g=r(48527),h=r(9268);let v=["component","direction","spacing","divider","children","className","useFlexGap"],b=(0,f.Z)(),y=(0,u.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function $(e){return(0,d.Z)({props:e,name:"MuiStack",defaultTheme:b})}let w=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],k=({ownerState:e,theme:t})=>{let r=(0,o.Z)({display:"flex",flexDirection:"column"},(0,m.k9)({theme:t},(0,m.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let n=(0,g.hB)(t),o=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),i=(0,m.P$)({values:e.direction,base:o}),a=(0,m.P$)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,r)=>{let n=i[e];if(!n){let n=t>0?i[r[t-1]]:"column";i[e]=n}}),r=(0,l.Z)(r,(0,m.k9)({theme:t},a,(t,r)=>e.useFlexGap?{gap:(0,g.NA)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${w(r?i[r]:e.direction)}`]:(0,g.NA)(n,t)}}))}return(0,m.dt)(t.breakpoints,r)};var E=r(50645),x=r(88930);let S=function(e={}){let{createStyledComponent:t=y,useThemeProps:r=$,componentName:l="MuiStack"}=e,u=()=>(0,s.Z)({root:["root"]},e=>(0,c.Z)(l,e),{}),d=t(k),f=i.forwardRef(function(e,t){let l=r(e),s=(0,p.Z)(l),{component:c="div",direction:f="column",spacing:m=0,divider:g,children:b,className:y,useFlexGap:$=!1}=s,w=(0,n.Z)(s,v),k=u();return(0,h.jsx)(d,(0,o.Z)({as:c,ownerState:{direction:f,spacing:m,useFlexGap:$},ref:t,className:(0,a.Z)(k.root,y)},w,{children:g?function(e,t){let r=i.Children.toArray(e).filter(Boolean);return r.reduce((e,n,o)=>(e.push(n),ot.root}),useThemeProps:e=>(0,x.Z)({props:e,name:"JoyStack"})});var C=S},81439:function(e,t,r){r.d(t,{V:function(){return o}});var n=r(40431);let o=({theme:e,ownerState:t},r,o)=>{let i;let a={};if(t.sx){!function t(r){if("function"==typeof r){let n=r(e);t(n)}else Array.isArray(r)?r.forEach(e=>{"boolean"!=typeof e&&t(e)}):"object"==typeof r&&(a=(0,n.Z)({},a,r))}(t.sx);let o=a[r];if("string"==typeof o||"number"==typeof o){if("borderRadius"===r){var l;if("number"==typeof o)return`${o}px`;i=(null==(l=e.vars)?void 0:l.radius[o])||o}else i=o}"function"==typeof o&&(i=o(e))}return i||o}},96263:function(e,t,r){var n=r(9312);let o=(0,n.ZP)();t.Z=o},3146:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(86006);function o(){let[,e]=n.useReducer(e=>e+1,0);return e}},52276:function(e,t,r){r.d(t,{Z:function(){return et}});var n=r(34777),o=r(95131),i=r(56222),a=r(31533),l=r(8683),s=r.n(l),c=r(73234),u=r(86006),d=r(79746),p=r(40431),f=r(88684),m=r(89301),g={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var e=(0,u.useRef)([]),t=(0,u.useRef)(null);return(0,u.useEffect)(function(){var r=Date.now(),n=!1;e.current.forEach(function(e){if(e){n=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(o.transitionDuration="0s, 0s")}}),n&&(t.current=Date.now())}),e.current},v=r(965),b=r(60456),y=r(71693),$=0,w=(0,y.Z)(),k=function(e){var t=u.useState(),r=(0,b.Z)(t,2),n=r[0],o=r[1];return u.useEffect(function(){var e;o("rc_progress_".concat((w?(e=$,$+=1):e="TEST_OR_SSR",e)))},[]),e||n},E=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function x(e){return+e.replace("%","")}function S(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var C=function(e,t,r,n,o,i,a,l,s,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-n)/100*t;return"round"===s&&100!==n&&(d+=c/2)>=t&&(d=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(o+r/100*360*((360-i)/360)+(0===i?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Z=function(e){var t,r,n,o,i=(0,f.Z)((0,f.Z)({},g),e),a=i.id,l=i.prefixCls,c=i.steps,d=i.strokeWidth,b=i.trailWidth,y=i.gapDegree,$=void 0===y?0:y,w=i.gapPosition,Z=i.trailColor,O=i.strokeLinecap,R=i.style,j=i.className,I=i.strokeColor,N=i.percent,D=(0,m.Z)(i,E),P=k(a),A="".concat(P,"-gradient"),M=50-d/2,F=2*Math.PI*M,T=$>0?90+$/2:-90,L=F*((360-$)/360),z="object"===(0,v.Z)(c)?c:{count:c,space:2},H=z.count,W=z.space,X=C(F,L,0,100,T,$,w,Z,O,d),U=S(N),_=S(I),B=_.find(function(e){return e&&"object"===(0,v.Z)(e)}),V=h();return u.createElement("svg",(0,p.Z)({className:s()("".concat(l,"-circle"),j),viewBox:"".concat(-50," ").concat(-50," ").concat(100," ").concat(100),style:R,id:a,role:"presentation"},D),B&&u.createElement("defs",null,u.createElement("linearGradient",{id:A,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(B).sort(function(e,t){return x(e)-x(t)}).map(function(e,t){return u.createElement("stop",{key:t,offset:e,stopColor:B[e]})}))),!H&&u.createElement("circle",{className:"".concat(l,"-circle-trail"),r:M,cx:0,cy:0,stroke:Z,strokeLinecap:O,strokeWidth:b||d,style:X}),H?(t=Math.round(H*(U[0]/100)),r=100/H,n=0,Array(H).fill(null).map(function(e,o){var i=o<=t-1?_[0]:Z,a=i&&"object"===(0,v.Z)(i)?"url(#".concat(A,")"):void 0,s=C(F,L,n,r,T,$,w,i,"butt",d,W);return n+=(L-s.strokeDashoffset+W)*100/L,u.createElement("circle",{key:o,className:"".concat(l,"-circle-path"),r:M,cx:0,cy:0,stroke:a,strokeWidth:d,opacity:1,style:s,ref:function(e){V[o]=e}})})):(o=0,U.map(function(e,t){var r=_[t]||_[_.length-1],n=r&&"object"===(0,v.Z)(r)?"url(#".concat(A,")"):void 0,i=C(F,L,o,e,T,$,w,r,O,d);return o+=e,u.createElement("circle",{key:t,className:"".concat(l,"-circle-path"),r:M,cx:0,cy:0,stroke:n,strokeLinecap:O,strokeWidth:d,opacity:0===e?0:1,style:i,ref:function(e){V[t]=e}})}).reverse()))},O=r(71563),R=r(70333);function j(e){return!e||e<0?0:e>100?100:e}function I(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}let N=e=>{let{percent:t,success:r,successPercent:n}=e,o=j(I({success:r,successPercent:n}));return[o,j(j(t)-o)]},D=e=>{let{success:t={},strokeColor:r}=e,{strokeColor:n}=t;return[n||R.ez.green,r||null]},P=(e,t,r)=>{var n,o,i,a;let l=-1,s=-1;if("step"===t){let t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,s=null!=n?n:8):"number"==typeof e?[l,s]=[e,e]:[l=14,s=8]=e,l*=t}else if("line"===t){let t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?s=t||("small"===e?6:8):"number"==typeof e?[l,s]=[e,e]:[l=-1,s=8]=e}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,s]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,s]=[e,e]:(l=null!==(o=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==o?o:120,s=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[l,s]},A=e=>3/e*100;var M=e=>{let{prefixCls:t,trailColor:r=null,strokeLinecap:n="round",gapPosition:o,gapDegree:i,width:a=120,type:l,children:c,success:d,size:p=a}=e,[f,m]=P(p,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(A(f),6));let h=u.useMemo(()=>i||0===i?i:"dashboard"===l?75:void 0,[i,l]),v=o||"dashboard"===l&&"bottom"||void 0,b="[object Object]"===Object.prototype.toString.call(e.strokeColor),y=D({success:d,strokeColor:e.strokeColor}),$=s()(`${t}-inner`,{[`${t}-circle-gradient`]:b}),w=u.createElement(Z,{percent:N(e),strokeWidth:g,trailWidth:g,strokeColor:y,strokeLinecap:n,trailColor:r,prefixCls:t,gapDegree:h,gapPosition:v});return u.createElement("div",{className:$,style:{width:f,height:m,fontSize:.15*f+6}},f<=20?u.createElement(O.Z,{title:c},u.createElement("span",null,w)):u.createElement(u.Fragment,null,w,c))},F=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let T=e=>{let t=[];return Object.keys(e).forEach(r=>{let n=parseFloat(r.replace(/%/g,""));isNaN(n)||t.push({key:n,value:e[r]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:r}=e;return`${r} ${t}%`}).join(", ")},L=(e,t)=>{let{from:r=R.ez.blue,to:n=R.ez.blue,direction:o="rtl"===t?"to left":"to right"}=e,i=F(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=T(i);return{backgroundImage:`linear-gradient(${o}, ${e})`}}return{backgroundImage:`linear-gradient(${o}, ${r}, ${n})`}};var z=e=>{let{prefixCls:t,direction:r,percent:n,size:o,strokeWidth:i,strokeColor:a,strokeLinecap:l="round",children:s,trailColor:c=null,success:d}=e,p=a&&"string"!=typeof a?L(a,r):{backgroundColor:a},f="square"===l||"butt"===l?0:void 0,m=null!=o?o:[-1,i||("small"===o?6:8)],[g,h]=P(m,"line",{strokeWidth:i}),v=Object.assign({width:`${j(n)}%`,height:h,borderRadius:f},p),b=I(e),y={width:`${j(b)}%`,height:h,borderRadius:f,backgroundColor:null==d?void 0:d.strokeColor};return u.createElement(u.Fragment,null,u.createElement("div",{className:`${t}-outer`,style:{width:g<0?"100%":g,height:h}},u.createElement("div",{className:`${t}-inner`,style:{backgroundColor:c||void 0,borderRadius:f}},u.createElement("div",{className:`${t}-bg`,style:v}),void 0!==b?u.createElement("div",{className:`${t}-success-bg`,style:y}):null)),s)},H=e=>{let{size:t,steps:r,percent:n=0,strokeWidth:o=8,strokeColor:i,trailColor:a=null,prefixCls:l,children:c}=e,d=Math.round(r*(n/100)),p=null!=t?t:["small"===t?2:14,o],[f,m]=P(p,"step",{steps:r,strokeWidth:o}),g=f/r,h=Array(r);for(let e=0;e{let t=e?"100%":"-100%";return new W.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,X.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:B(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:B(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},q=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},G=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},J=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var K=(0,U.Z)("Progress",e=>{let t=e.marginXXS/2,r=(0,_.TS)(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[V(r),q(r),G(r),J(r)]}),Y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Q=["normal","exception","active","success"],ee=u.forwardRef((e,t)=>{let r;let{prefixCls:l,className:p,rootClassName:f,steps:m,strokeColor:g,percent:h=0,size:v="default",showInfo:b=!0,type:y="line",status:$,format:w,style:k}=e,E=Y(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),x=u.useMemo(()=>{var t,r;let n=I(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=h?h:0)||void 0===r?void 0:r.toString(),10)},[h,e.success,e.successPercent]),S=u.useMemo(()=>!Q.includes($)&&x>=100?"success":$||"normal",[$,x]),{getPrefixCls:C,direction:Z,progress:O}=u.useContext(d.E_),R=C("progress",l),[N,D]=K(R),A=u.useMemo(()=>{let t;if(!b)return null;let r=I(e),l=w||(e=>`${e}%`),s="line"===y;return w||"exception"!==S&&"success"!==S?t=l(j(h),j(r)):"exception"===S?t=s?u.createElement(i.Z,null):u.createElement(a.Z,null):"success"===S&&(t=s?u.createElement(n.Z,null):u.createElement(o.Z,null)),u.createElement("span",{className:`${R}-text`,title:"string"==typeof t?t:void 0},t)},[b,h,x,S,y,R,w]),F=Array.isArray(g)?g[0]:g,T="string"==typeof g||Array.isArray(g)?g:void 0;"line"===y?r=m?u.createElement(H,Object.assign({},e,{strokeColor:T,prefixCls:R,steps:m}),A):u.createElement(z,Object.assign({},e,{strokeColor:F,prefixCls:R,direction:Z}),A):("circle"===y||"dashboard"===y)&&(r=u.createElement(M,Object.assign({},e,{strokeColor:F,prefixCls:R,progressStatus:S}),A));let L=s()(R,`${R}-status-${S}`,`${R}-${"dashboard"===y&&"circle"||m&&"steps"||y}`,{[`${R}-inline-circle`]:"circle"===y&&P(v,"circle")[0]<=20,[`${R}-show-info`]:b,[`${R}-${v}`]:"string"==typeof v,[`${R}-rtl`]:"rtl"===Z},null==O?void 0:O.className,p,f,D);return N(u.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==O?void 0:O.style),k),className:L,role:"progressbar","aria-valuenow":x},(0,c.Z)(E,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),r))});var et=ee},86362:function(e,t,r){r.d(t,{default:function(){return eD}});var n=r(86006),o=r(90151),i=r(8683),a=r.n(i),l=r(40431),s=r(18050),c=r(49449),u=r(43663),d=r(38340),p=r(65877),f=r(89301),m=r(71971),g=r(965),h=r(27859),v=r(42442);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function y(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var n=e.data[t];if(Array.isArray(n)){n.forEach(function(e){r.append("".concat(t,"[]"),e)});return}r.append(t,n)}),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var r;return e.onError(((r=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,r.method=e.method,r.url=e.action,r),b(t))}return e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach(function(e){null!==n[e]&&t.setRequestHeader(e,n[e])}),t.send(r),{abort:function(){t.abort()}}}var $=+new Date,w=0;function k(){return"rc-upload-".concat($,"-").concat(++w)}var E=r(5004),x=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),a=t.toLowerCase(),l=[a];return(".jpg"===a||".jpeg"===a)&&(l=[".jpg",".jpeg"]),l.some(function(e){return r.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,E.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},S=function(e,t,r){var n=function e(n,o){if(n.path=o||"",n.isFile)n.file(function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(n.isDirectory){var i,a,l;i=function(t){t.forEach(function(t){e(t,"".concat(o).concat(n.name,"/"))})},a=n.createReader(),l=[],function e(){a.readEntries(function(t){var r=Array.prototype.slice.apply(t);l=l.concat(r),r.length?e():i(l)})}()}};e.forEach(function(e){n(e.webkitGetAsEntry())})},C=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Z=function(e){(0,u.Z)(r,e);var t=(0,d.Z)(r);function r(){(0,s.Z)(this,r);for(var e,n,i=arguments.length,a=Array(i),l=0;l{let{uid:r}=t;return r===e.uid});return -1===n?r.push(e):r[n]=e,r}function K(e,t){let r=void 0!==e.uid?"uid":"name";return t.filter(t=>t[r]===e[r])[0]}let Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),r=t[t.length-1],n=r.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},Q=e=>0===e.indexOf("image/"),ee=e=>{if(e.type&&!e.thumbUrl)return Q(e.type);let t=e.thumbUrl||e.url||"",r=Y(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r};function et(e){return new Promise(t=>{if(!e.type||!Q(e.type)){t("");return}let r=document.createElement("canvas");r.width=200,r.height=200,r.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(r);let n=r.getContext("2d"),o=new Image;if(o.onload=()=>{let{width:e,height:i}=o,a=200,l=200,s=0,c=0;e>i?c=-((l=i*(200/e))-a)/2:s=-((a=e*(200/i))-l)/2,n.drawImage(o,s,c,a,l);let u=r.toDataURL();document.body.removeChild(r),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.addEventListener("load",()=>{t.result&&(o.src=t.result)}),t.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)})}var er={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},en=n.forwardRef(function(e,t){return n.createElement(F.Z,(0,l.Z)({},e,{ref:t,icon:er}))}),eo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ei=n.forwardRef(function(e,t){return n.createElement(F.Z,(0,l.Z)({},e,{ref:t,icon:eo}))}),ea=r(31515),el=r(52276),es=r(71563);let ec=n.forwardRef((e,t)=>{var r,o;let{prefixCls:i,className:l,style:s,locale:c,listType:u,file:d,items:p,progress:f,iconRender:m,actionIconRender:g,itemRender:h,isImgUrl:v,showPreviewIcon:b,showRemoveIcon:y,showDownloadIcon:$,previewIcon:w,removeIcon:k,downloadIcon:E,onPreview:x,onDownload:S,onClose:C}=e,{status:Z}=d,[O,R]=n.useState(Z);n.useEffect(()=>{"removed"!==Z&&R(Z)},[Z]);let[j,I]=n.useState(!1);n.useEffect(()=>{let e=setTimeout(()=>{I(!0)},300);return()=>{clearTimeout(e)}},[]);let D=m(d),P=n.createElement("div",{className:`${i}-icon`},D);if("picture"===u||"picture-card"===u||"picture-circle"===u){if("uploading"!==O&&(d.thumbUrl||d.url)){let e=(null==v?void 0:v(d))?n.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:`${i}-list-item-image`,crossOrigin:d.crossOrigin}):D,t=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:v&&!v(d)});P=n.createElement("a",{className:t,onClick:e=>x(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=a()(`${i}-list-item-thumbnail`,{[`${i}-list-item-file`]:"uploading"!==O});P=n.createElement("div",{className:e},D)}}let A=a()(`${i}-list-item`,`${i}-list-item-${O}`),M="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,F=y?g(("function"==typeof k?k(d):k)||n.createElement(en,null),()=>C(d),i,c.removeFile):null,T=$&&"done"===O?g(("function"==typeof E?E(d):E)||n.createElement(ei,null),()=>S(d),i,c.downloadFile):null,L="picture-card"!==u&&"picture-circle"!==u&&n.createElement("span",{key:"download-delete",className:a()(`${i}-list-item-actions`,{picture:"picture"===u})},T,F),z=a()(`${i}-list-item-name`),H=d.url?[n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:z,title:d.name},M,{href:d.url,onClick:e=>x(d,e)}),d.name),L]:[n.createElement("span",{key:"view",className:z,onClick:e=>x(d,e),title:d.name},d.name),L],W=b?n.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:d.url||d.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:e=>x(d,e),title:c.previewFile},"function"==typeof w?w(d):w||n.createElement(ea.Z,null)):null,X=("picture-card"===u||"picture-circle"===u)&&"uploading"!==O&&n.createElement("span",{className:`${i}-list-item-actions`},W,"done"===O&&T,F),{getPrefixCls:_}=n.useContext(N.E_),B=_(),V=n.createElement("div",{className:A},P,H,X,j&&n.createElement(U.ZP,{motionName:`${B}-fade`,visible:"uploading"===O,motionDeadline:2e3},e=>{let{className:t}=e,r="percent"in d?n.createElement(el.Z,Object.assign({},f,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"]})):null;return n.createElement("div",{className:a()(`${i}-list-item-progress`,t)},r)})),q=d.response&&"string"==typeof d.response?d.response:(null===(r=d.error)||void 0===r?void 0:r.statusText)||(null===(o=d.error)||void 0===o?void 0:o.message)||c.uploadError,G="error"===O?n.createElement(es.Z,{title:q,getPopupContainer:e=>e.parentNode},V):V;return n.createElement("div",{className:a()(`${i}-list-item-container`,l),style:s,ref:t},h?h(G,d,p,{download:S.bind(null,d),preview:x.bind(null,d),remove:C.bind(null,d)}):G)}),eu=n.forwardRef((e,t)=>{let{listType:r="text",previewFile:i=et,onPreview:l,onDownload:s,onRemove:c,locale:u,iconRender:d,isImageUrl:p=ee,prefixCls:f,items:m=[],showPreviewIcon:g=!0,showRemoveIcon:h=!0,showDownloadIcon:v=!1,removeIcon:b,previewIcon:y,downloadIcon:$,progress:w={size:[-1,2],showInfo:!1},appendAction:k,appendActionVisible:E=!0,itemRender:x,disabled:S}=e,C=(0,_.Z)(),[Z,O]=n.useState(!1);n.useEffect(()=>{("picture"===r||"picture-card"===r||"picture-circle"===r)&&(m||[]).forEach(e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then(t=>{e.thumbUrl=t||"",C()}))})},[r,m,i]),n.useEffect(()=>{O(!0)},[]);let R=(e,t)=>{if(l)return null==t||t.preventDefault(),l(e)},j=e=>{"function"==typeof s?s(e):e.url&&window.open(e.url)},I=e=>{null==c||c(e)},D=e=>{if(d)return d(e,r);let t="uploading"===e.status,o=p&&p(e)?n.createElement(X,null):n.createElement(T,null),i=t?n.createElement(L.Z,null):n.createElement(H,null);return"picture"===r?i=t?n.createElement(L.Z,null):o:("picture-card"===r||"picture-circle"===r)&&(i=t?u.uploading:o),i},P=(e,t,r,o)=>{let i={type:"text",size:"small",title:o,onClick:r=>{t(),(0,V.l$)(e)&&e.props.onClick&&e.props.onClick(r)},className:`${r}-list-item-action`,disabled:S};if((0,V.l$)(e)){let t=(0,V.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return n.createElement(q.ZP,Object.assign({},i,{icon:t}))}return n.createElement(q.ZP,Object.assign({},i),n.createElement("span",null,e))};n.useImperativeHandle(t,()=>({handlePreview:R,handleDownload:j}));let{getPrefixCls:A}=n.useContext(N.E_),M=A("upload",f),F=A(),z=a()(`${M}-list`,`${M}-list-${r}`),W=(0,o.Z)(m.map(e=>({key:e.uid,file:e}))),G="picture-card"===r||"picture-circle"===r?"animate-inline":"animate",J={motionDeadline:2e3,motionName:`${M}-${G}`,keys:W,motionAppear:Z},K=n.useMemo(()=>{let e=Object.assign({},(0,B.Z)(F));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e},[F]);return"picture-card"!==r&&"picture-circle"!==r&&(J=Object.assign(Object.assign({},K),J)),n.createElement("div",{className:z},n.createElement(U.V4,Object.assign({},J,{component:!1}),e=>{let{key:t,file:o,className:i,style:a}=e;return n.createElement(ec,{key:t,locale:u,prefixCls:M,className:i,style:a,file:o,items:m,progress:w,listType:r,isImgUrl:p,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:v,removeIcon:b,previewIcon:y,downloadIcon:$,iconRender:D,actionIconRender:P,itemRender:x,onPreview:R,onDownload:j,onClose:I})}),k&&n.createElement(U.ZP,Object.assign({},J,{visible:E,forceRender:!0}),e=>{let{className:t,style:r}=e;return(0,V.Tm)(k,e=>({className:a()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)}))}))});var ed=r(98663),ep=r(57406),ef=r(40650),em=r(70721),eg=e=>{let{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${r}, - p${t}-text, - p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},eh=e=>{let{componentCls:t,antCls:r,iconCls:n,fontSize:o,lineHeight:i}=e,a=`${t}-list-item`,l=`${a}-actions`,s=`${a}-action`,c=Math.round(o*i);return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,ed.dF)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:e.lineHeight*o,marginTop:e.marginXS,fontSize:o,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},ed.vS),{padding:`0 ${e.paddingXS}px`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{[s]:{opacity:0},[`${s}${r}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${s}:focus, - &.picture ${s} - `]:{opacity:1},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`&:hover ${n}`]:{color:e.colorText}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:o},[`${a}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:o+e.paddingXS,fontSize:o,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${n}`]:{color:e.colorError},[l]:{[`${n}, ${n}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},ev=r(84596),eb=r(96390);let ey=new ev.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),e$=new ev.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var ew=e=>{let{componentCls:t}=e,r=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${r}-appear, ${r}-enter, ${r}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${r}-appear, ${r}-enter`]:{animationName:ey},[`${r}-leave`]:{animationName:e$}}},{[`${t}-wrapper`]:(0,eb.J$)(e)},ey,e$]},ek=r(70333),eE=r(57389);let ex=e=>{let{componentCls:t,iconCls:r,uploadThumbnailSize:n,uploadProgressOffset:o}=e,i=`${t}-list`,a=`${i}-item`;return{[`${t}-wrapper`]:{[` - ${i}${i}-picture, - ${i}${i}-picture-card, - ${i}${i}-picture-circle - `]:{[a]:{position:"relative",height:n+2*e.lineWidth+2*e.paddingXS,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:Object.assign(Object.assign({},ed.vS),{width:n,height:n,lineHeight:`${n+e.paddingSM}px`,textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:o,width:`calc(100% - ${2*e.paddingSM}px)`,marginTop:0,paddingInlineStart:n+e.paddingXS}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${r}`]:{[`svg path[fill='${ek.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${ek.iN.primary}']`]:{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:o}}},[`${i}${i}-picture-circle ${a}`]:{[`&, &::before, ${a}-thumbnail`]:{borderRadius:"50%"}}}}},eS=e=>{let{componentCls:t,iconCls:r,fontSizeLG:n,colorTextLightSolid:o}=e,i=`${t}-list`,a=`${i}-item`,l=e.uploadPicCardSize;return{[` - ${t}-wrapper${t}-picture-card-wrapper, - ${t}-wrapper${t}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,ed.dF)()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:l,height:l,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card, ${i}${i}-picture-circle`]:{[`${i}-item-container`]:{display:"inline-block",width:l,height:l,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${2*e.paddingXS}px)`,height:`calc(100% - ${2*e.paddingXS}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${r}-eye, ${r}-download, ${r}-delete`]:{zIndex:10,width:n,margin:`0 ${e.marginXXS}px`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${a}-actions, ${a}-actions:hover`]:{[`${r}-eye, ${r}-download, ${r}-delete`]:{color:new eE.C(o).setAlpha(.65).toRgbString(),"&:hover":{color:o}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${2*e.paddingXS}px)`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${2*e.paddingXS}px)`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var eC=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};let eZ=e=>{let{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,ed.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}};var eO=(0,ef.Z)("Upload",e=>{let{fontSizeHeading3:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightLG:i}=e,a=(0,em.TS)(e,{uploadThumbnailSize:2*t,uploadProgressOffset:Math.round(r*n)/2+o,uploadPicCardSize:2.55*i});return[eZ(a),eg(a),ex(a),eS(a),eh(a),ew(a),eC(a),(0,ep.Z)(a)]},e=>({actionsColor:e.colorTextDescription}));let eR=`__LIST_IGNORE_${Date.now()}__`,ej=n.forwardRef((e,t)=>{var r;let{fileList:i,defaultFileList:l,onRemove:s,showUploadList:c=!0,listType:u="text",onPreview:d,onDownload:p,onChange:f,onDrop:m,previewFile:g,disabled:h,locale:v,iconRender:b,isImageUrl:y,progress:$,prefixCls:w,className:k,type:E="select",children:x,style:S,itemRender:C,maxCount:Z,data:O={},multiple:M=!1,action:F="",accept:T="",supportServerRender:L=!0}=e,z=n.useContext(D.Z),H=null!=h?h:z,[W,X]=(0,j.Z)(l||[],{value:i,postState:e=>null!=e?e:[]}),[U,_]=n.useState("drop"),B=n.useRef(null);n.useMemo(()=>{let e=Date.now();(i||[]).forEach((t,r)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${r}__`)})},[i]);let V=(e,t,r)=>{let n=(0,o.Z)(t),i=!1;1===Z?n=n.slice(-1):Z&&(i=n.length>Z,n=n.slice(0,Z)),(0,I.flushSync)(()=>{X(n)});let a={file:e,fileList:n};r&&(a.event=r),(!i||n.some(t=>t.uid===e.uid))&&(0,I.flushSync)(()=>{null==f||f(a)})},q=e=>{let t=e.filter(e=>!e.file[eR]);if(!t.length)return;let r=t.map(e=>G(e.file)),n=(0,o.Z)(W);r.forEach(e=>{n=J(e,n)}),r.forEach((e,r)=>{let o=e;if(t[r].parsedFile)e.status="uploading";else{let t;let{originFileObj:r}=e;try{t=new File([r],r.name,{type:r.type})}catch(e){(t=new Blob([r],{type:r.type})).name=r.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,o=t}V(o,n)})},Y=(e,t,r)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!K(t,W))return;let n=G(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;let o=J(n,W);V(n,o)},Q=(e,t)=>{if(!K(t,W))return;let r=G(t);r.status="uploading",r.percent=e.percent;let n=J(r,W);V(r,n,e)},ee=(e,t,r)=>{if(!K(r,W))return;let n=G(r);n.error=e,n.response=t,n.status="error";let o=J(n,W);V(n,o)},et=e=>{let t;Promise.resolve("function"==typeof s?s(e):s).then(r=>{var n;if(!1===r)return;let o=function(e,t){let r=void 0!==e.uid?"uid":"name",n=t.filter(t=>t[r]!==e[r]);return n.length===t.length?null:n}(e,W);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==W||W.forEach(e=>{let r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")}),null===(n=B.current)||void 0===n||n.abort(t),V(t,o))})},er=e=>{_(e.type),"drop"===e.type&&(null==m||m(e))};n.useImperativeHandle(t,()=>({onBatchStart:q,onSuccess:Y,onProgress:Q,onError:ee,fileList:W,upload:B.current}));let{getPrefixCls:en,direction:eo,upload:ei}=n.useContext(N.E_),ea=en("upload",w),el=Object.assign(Object.assign({onBatchStart:q,onError:ee,onProgress:Q,onSuccess:Y},e),{data:O,multiple:M,action:F,accept:T,supportServerRender:L,prefixCls:ea,disabled:H,beforeUpload:(t,r)=>{var n,o,i,a;return n=void 0,o=void 0,i=void 0,a=function*(){let{beforeUpload:n,transformFile:o}=e,i=t;if(n){let e=yield n(t,r);if(!1===e)return!1;if(delete t[eR],e===eR)return Object.defineProperty(t,eR,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i},new(i||(i=Promise))(function(e,t){function r(e){try{s(a.next(e))}catch(e){t(e)}}function l(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,l)}s((a=a.apply(n,o||[])).next())})},onChange:void 0});delete el.className,delete el.style,(!x||H)&&delete el.id;let[es,ec]=eO(ea),[ed]=(0,P.Z)("Upload",A.Z.Upload),{showRemoveIcon:ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev}="boolean"==typeof c?{}:c,eb=(e,t)=>c?n.createElement(eu,{prefixCls:ea,listType:u,items:W,previewFile:g,onPreview:d,onDownload:p,onRemove:et,showRemoveIcon:!H&&ep,showPreviewIcon:ef,showDownloadIcon:em,removeIcon:eg,previewIcon:eh,downloadIcon:ev,iconRender:b,locale:Object.assign(Object.assign({},ed),v),isImageUrl:y,progress:$,appendAction:e,appendActionVisible:t,itemRender:C,disabled:H}):e,ey=a()(`${ea}-wrapper`,k,ec,null==ei?void 0:ei.className,{[`${ea}-rtl`]:"rtl"===eo,[`${ea}-picture-card-wrapper`]:"picture-card"===u,[`${ea}-picture-circle-wrapper`]:"picture-circle"===u}),e$=Object.assign(Object.assign({},null==ei?void 0:ei.style),S);if("drag"===E){let e=a()(ec,ea,`${ea}-drag`,{[`${ea}-drag-uploading`]:W.some(e=>"uploading"===e.status),[`${ea}-drag-hover`]:"dragover"===U,[`${ea}-disabled`]:H,[`${ea}-rtl`]:"rtl"===eo});return es(n.createElement("span",{className:ey},n.createElement("div",{className:e,style:e$,onDrop:er,onDragOver:er,onDragLeave:er},n.createElement(R,Object.assign({},el,{ref:B,className:`${ea}-btn`}),n.createElement("div",{className:`${ea}-drag-container`},x))),eb()))}let ew=a()(ea,`${ea}-select`,{[`${ea}-disabled`]:H}),ek=(r=x?void 0:{display:"none"},n.createElement("div",{className:ew,style:r},n.createElement(R,Object.assign({},el,{ref:B}))));return es("picture-card"===u||"picture-circle"===u?n.createElement("span",{className:ey},eb(ek,!!x)):n.createElement("span",{className:ey},ek,eb()))});var eI=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let eN=n.forwardRef((e,t)=>{var{style:r,height:o}=e,i=eI(e,["style","height"]);return n.createElement(ej,Object.assign({ref:t},i,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))});ej.Dragger=eN,ej.LIST_IGNORE=eR;var eD=ej}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/902-4b12ce531524546f.js b/pilot/server/static/_next/static/chunks/902-4b12ce531524546f.js new file mode 100644 index 000000000..564d3fb17 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/902-4b12ce531524546f.js @@ -0,0 +1,19 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[902],{68795:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=r(42135),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},9708:function(e,t,r){r.d(t,{F:function(){return a},Z:function(){return i}});var n=r(94184),o=r.n(n);function i(e,t,r){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:r})}let a=(e,t)=>t||e},32983:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(94184),o=r.n(n),i=r(67294),a=r(53124),l=r(10110),c=r(10274),s=r(25976),d=r(67968),u=r(45503);let f=e=>{let{componentCls:t,margin:r,marginXS:n,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:n,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var p=(0,d.Z)("Empty",e=>{let{componentCls:t,controlHeightLG:r}=e,n=(0,u.TS)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*r,emptyImgHeightMD:r,emptyImgHeightSM:.875*r});return[f(n)]}),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let g=i.createElement(()=>{let[,e]=(0,s.Z)(),t=new c.C(e.colorBgBase),r=t.toHsl().l<.5?{opacity:.65}:{};return i.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),i.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),i.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),i.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),i.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),i.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),m=i.createElement(()=>{let[,e]=(0,s.Z)(),{colorFill:t,colorFillTertiary:r,colorFillQuaternary:n,colorBgContainer:o}=e,{borderColor:a,shadowColor:l,contentColor:d}=(0,i.useMemo)(()=>({borderColor:new c.C(t).onBackground(o).toHexShortString(),shadowColor:new c.C(r).onBackground(o).toHexShortString(),contentColor:new c.C(n).onBackground(o).toHexShortString()}),[t,r,n,o]);return i.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{fillRule:"nonzero",stroke:a},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:d}))))},null),v=e=>{var{className:t,rootClassName:r,prefixCls:n,image:c=g,description:s,children:d,imageStyle:u,style:f}=e,v=h(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:b,direction:$,empty:E}=i.useContext(a.E_),S=b("empty",n),[x,y]=p(S),[w]=(0,l.Z)("Empty"),R=void 0!==s?s:null==w?void 0:w.description,Z="string"==typeof R?R:"empty",M=null;return M="string"==typeof c?i.createElement("img",{alt:Z,src:c}):c,x(i.createElement("div",Object.assign({className:o()(y,S,null==E?void 0:E.className,{[`${S}-normal`]:c===m,[`${S}-rtl`]:"rtl"===$},t,r),style:Object.assign(Object.assign({},null==E?void 0:E.style),f)},v),i.createElement("div",{className:`${S}-image`,style:u},M),R&&i.createElement("div",{className:`${S}-description`},R),d&&i.createElement("div",{className:`${S}-footer`},d)))};v.PRESENTED_IMAGE_DEFAULT=g,v.PRESENTED_IMAGE_SIMPLE=m;var b=v},47673:function(e,t,r){r.d(t,{M1:function(){return s},Xy:function(){return d},bi:function(){return p},e5:function(){return S},ik:function(){return h},nz:function(){return l},pU:function(){return c},s7:function(){return g},x0:function(){return f}});var n=r(14747),o=r(80110),i=r(45503),a=r(67968);let l=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),c=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),s=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),d=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},c((0,i.TS)(e,{inputBorderHoverColor:e.colorBorder})))}),u=e=>{let{inputPaddingVerticalLG:t,fontSizeLG:r,lineHeightLG:n,borderRadiusLG:o,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:r,lineHeight:n,borderRadius:o}},f=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),p=(e,t)=>{let{componentCls:r,colorError:n,colorWarning:o,colorErrorOutline:a,colorWarningOutline:l,colorErrorBorderHover:c,colorWarningBorderHover:d}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:n,"&:hover":{borderColor:c},"&:focus, &-focused":Object.assign({},s((0,i.TS)(e,{inputBorderActiveColor:n,inputBorderHoverColor:n,controlOutline:a}))),[`${r}-prefix, ${r}-suffix`]:{color:n}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:d},"&:focus, &-focused":Object.assign({},s((0,i.TS)(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:l}))),[`${r}-prefix, ${r}-suffix`]:{color:o}}}},h=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},l(e.colorTextPlaceholder)),{"&:hover":Object.assign({},c(e)),"&:focus, &-focused":Object.assign({},s(e)),"&-disabled, &[disabled]":Object.assign({},d(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(e)),"&-sm":Object.assign({},f(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),g=e=>{let{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},u(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},f(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${r}-select-single:not(${r}-select-customize-input)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${r}-select-selector`]:{color:e.colorPrimary}}},[`${r}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,n.dF)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${t}-affix-wrapper, + & > ${t}-number-affix-wrapper, + & > ${r}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${r}-select > ${r}-select-selector, + & > ${r}-select-auto-complete ${t}, + & > ${r}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${r}-select:first-child > ${r}-select-selector, + & > ${r}-select-auto-complete:first-child ${t}, + & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${r}-select:last-child > ${r}-select-selector, + & > ${r}-cascader-picker:last-child ${t}, + & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{let{componentCls:t,controlHeightSM:r,lineWidth:o}=e,i=(r-2*o-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),h(e)),p(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},v=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},b=e=>{let{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},c(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),v(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),p(e,`${t}-affix-wrapper`))}},$=e=>{let{componentCls:t,colorError:r,colorWarning:o,borderRadiusLG:i,borderRadiusSM:a}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,n.Wf)(e)),g(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:i,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:a}},"&-status-error":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-status-warning":{[`${t}-group-addon`]:{color:o,borderColor:o}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},d(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},E=e=>{let{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${n}-button`]:{height:e.controlHeightLG},[`&-small ${n}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function S(e){return(0,i.TS)(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}let x=e=>{let{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${n}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};t.ZP=(0,a.Z)("Input",e=>{let t=S(e);return[m(t),x(t),b(t),$(t),E(t),(0,o.c)(t)]})},67771:function(e,t,r){r.d(t,{Qt:function(){return l},Uw:function(){return a},fJ:function(){return i},ly:function(){return c},oN:function(){return h}});var n=r(23183),o=r(93590);let i=new n.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new n.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),c=new n.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),s=new n.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),d=new n.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),u=new n.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),f=new n.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:l,outKeyframes:c},"slide-left":{inKeyframes:s,outKeyframes:d},"slide-right":{inKeyframes:u,outKeyframes:f}},h=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(n,i,a,e.motionDurationMid),{[` + ${n}-enter, + ${n}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},39983:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(87462),o=r(1413),i=r(97685),a=r(45987),l=r(67294),c=r(94184),s=r.n(c),d=r(9220),u=r(8410),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,h=l.forwardRef(function(e,t){var r,i=e.prefixCls,c=e.invalidate,u=e.item,h=e.renderItem,g=e.responsive,m=e.responsiveDisabled,v=e.registerSize,b=e.itemKey,$=e.className,E=e.style,S=e.children,x=e.display,y=e.order,w=e.component,R=void 0===w?"div":w,Z=(0,a.Z)(e,f),M=g&&!x;l.useEffect(function(){return function(){v(b,null)}},[]);var I=h&&u!==p?h(u):S;c||(r={opacity:M?0:1,height:M?0:p,overflowY:M?"hidden":p,order:g?y:p,pointerEvents:M?"none":p,position:M?"absolute":p});var z={};M&&(z["aria-hidden"]=!0);var C=l.createElement(R,(0,n.Z)({className:s()(!c&&i,$),style:(0,o.Z)((0,o.Z)({},r),E)},z,Z,{ref:t}),I);return g&&(C=l.createElement(d.Z,{onResize:function(e){v(b,e.offsetWidth)},disabled:m},C)),C});h.displayName="Item";var g=r(66680),m=r(73935),v=r(75164);function b(e,t){var r=l.useState(t),n=(0,i.Z)(r,2),o=n[0],a=n[1];return[o,(0,g.Z)(function(t){e(function(){a(t)})})]}var $=l.createContext(null),E=["component"],S=["className"],x=["className"],y=l.forwardRef(function(e,t){var r=l.useContext($);if(!r){var o=e.component,i=void 0===o?"div":o,c=(0,a.Z)(e,E);return l.createElement(i,(0,n.Z)({},c,{ref:t}))}var d=r.className,u=(0,a.Z)(r,S),f=e.className,p=(0,a.Z)(e,x);return l.createElement($.Provider,{value:null},l.createElement(h,(0,n.Z)({ref:t,className:s()(d,f)},u,p)))});y.displayName="RawItem";var w=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],R="responsive",Z="invalidate";function M(e){return"+ ".concat(e.length," ...")}var I=l.forwardRef(function(e,t){var r,c,f=e.prefixCls,p=void 0===f?"rc-overflow":f,g=e.data,E=void 0===g?[]:g,S=e.renderItem,x=e.renderRawItem,y=e.itemKey,I=e.itemWidth,z=void 0===I?10:I,C=e.ssr,H=e.style,O=e.className,k=e.maxCount,L=e.renderRest,T=e.renderRawRest,N=e.suffix,P=e.component,W=void 0===P?"div":P,j=e.itemComponent,D=e.onVisibleChange,B=(0,a.Z)(e,w),A="full"===C,X=(r=l.useRef(null),function(e){r.current||(r.current=[],function(e){if("undefined"==typeof MessageChannel)(0,v.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}(function(){(0,m.unstable_batchedUpdates)(function(){r.current.forEach(function(e){e()}),r.current=null})})),r.current.push(e)}),Y=b(X,null),V=(0,i.Z)(Y,2),F=V[0],_=V[1],K=F||0,G=b(X,new Map),U=(0,i.Z)(G,2),Q=U[0],J=U[1],q=b(X,0),ee=(0,i.Z)(q,2),et=ee[0],er=ee[1],en=b(X,0),eo=(0,i.Z)(en,2),ei=eo[0],ea=eo[1],el=b(X,0),ec=(0,i.Z)(el,2),es=ec[0],ed=ec[1],eu=(0,l.useState)(null),ef=(0,i.Z)(eu,2),ep=ef[0],eh=ef[1],eg=(0,l.useState)(null),em=(0,i.Z)(eg,2),ev=em[0],eb=em[1],e$=l.useMemo(function(){return null===ev&&A?Number.MAX_SAFE_INTEGER:ev||0},[ev,F]),eE=(0,l.useState)(!1),eS=(0,i.Z)(eE,2),ex=eS[0],ey=eS[1],ew="".concat(p,"-item"),eR=Math.max(et,ei),eZ=k===R,eM=E.length&&eZ,eI=k===Z,ez=eM||"number"==typeof k&&E.length>k,eC=(0,l.useMemo)(function(){var e=E;return eM?e=null===F&&A?E:E.slice(0,Math.min(E.length,K/z)):"number"==typeof k&&(e=E.slice(0,k)),e},[E,z,F,k,eM]),eH=(0,l.useMemo)(function(){return eM?E.slice(e$+1):E.slice(eC.length)},[E,eC,eM,e$]),eO=(0,l.useCallback)(function(e,t){var r;return"function"==typeof y?y(e):null!==(r=y&&(null==e?void 0:e[y]))&&void 0!==r?r:t},[y]),ek=(0,l.useCallback)(S||function(e){return e},[S]);function eL(e,t,r){(ev!==e||void 0!==t&&t!==ep)&&(eb(e),r||(ey(eK){eL(n-1,e-o-es+ei);break}}N&&eN(0)+es>K&&eh(null)}},[K,Q,ei,es,eO,eC]);var eP=ex&&!!eH.length,eW={};null!==ep&&eM&&(eW={position:"absolute",left:ep,top:0});var ej={prefixCls:ew,responsive:eM,component:j,invalidate:eI},eD=x?function(e,t){var r=eO(e,t);return l.createElement($.Provider,{key:r,value:(0,o.Z)((0,o.Z)({},ej),{},{order:t,item:e,itemKey:r,registerSize:eT,display:t<=e$})},x(e,t))}:function(e,t){var r=eO(e,t);return l.createElement(h,(0,n.Z)({},ej,{order:t,key:r,item:e,renderItem:ek,itemKey:r,registerSize:eT,display:t<=e$}))},eB={order:eP?e$:Number.MAX_SAFE_INTEGER,className:"".concat(ew,"-rest"),registerSize:function(e,t){ea(t),er(ei)},display:eP};if(T)T&&(c=l.createElement($.Provider,{value:(0,o.Z)((0,o.Z)({},ej),eB)},T(eH)));else{var eA=L||M;c=l.createElement(h,(0,n.Z)({},ej,eB),"function"==typeof eA?eA(eH):eA)}var eX=l.createElement(W,(0,n.Z)({className:s()(!eI&&p,O),style:H,ref:t},B),eC.map(eD),ez?c:null,N&&l.createElement(h,(0,n.Z)({},ej,{responsive:eZ,responsiveDisabled:!eM,order:e$,className:"".concat(ew,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eW}),N));return eZ&&(eX=l.createElement(d.Z,{onResize:function(e,t){_(t.clientWidth)},disabled:!eM},eX)),eX});I.displayName="Overflow",I.Item=y,I.RESPONSIVE=R,I.INVALIDATE=Z;var z=I},85344:function(e,t,r){r.d(t,{Z:function(){return k}});var n=r(87462),o=r(1413),i=r(71002),a=r(97685),l=r(4942),c=r(45987),s=r(67294),d=r(73935),u=r(94184),f=r.n(u),p=r(9220),h=s.forwardRef(function(e,t){var r,i=e.height,a=e.offsetY,c=e.offsetX,d=e.children,u=e.prefixCls,h=e.onInnerResize,g=e.innerProps,m=e.rtl,v=e.extra,b={},$={display:"flex",flexDirection:"column"};return void 0!==a&&(b={height:i,position:"relative",overflow:"hidden"},$=(0,o.Z)((0,o.Z)({},$),{},(r={transform:"translateY(".concat(a,"px)")},(0,l.Z)(r,m?"marginRight":"marginLeft",-c),(0,l.Z)(r,"position","absolute"),(0,l.Z)(r,"left",0),(0,l.Z)(r,"right",0),(0,l.Z)(r,"top",0),r))),s.createElement("div",{style:b},s.createElement(p.Z,{onResize:function(e){e.offsetHeight&&h&&h()}},s.createElement("div",(0,n.Z)({style:$,className:f()((0,l.Z)({},"".concat(u,"-holder-inner"),u)),ref:t},g),d,v)))});h.displayName="Filler";var g=r(75164);function m(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var v=s.forwardRef(function(e,t){var r,n=e.prefixCls,o=e.rtl,i=e.scrollOffset,c=e.scrollRange,d=e.onStartMove,u=e.onStopMove,p=e.onScroll,h=e.horizontal,v=e.spinSize,b=e.containerSize,$=s.useState(!1),E=(0,a.Z)($,2),S=E[0],x=E[1],y=s.useState(null),w=(0,a.Z)(y,2),R=w[0],Z=w[1],M=s.useState(null),I=(0,a.Z)(M,2),z=I[0],C=I[1],H=!o,O=s.useRef(),k=s.useRef(),L=s.useState(!1),T=(0,a.Z)(L,2),N=T[0],P=T[1],W=s.useRef(),j=function(){clearTimeout(W.current),P(!0),W.current=setTimeout(function(){P(!1)},3e3)},D=c-b||0,B=b-v||0,A=D>0,X=s.useMemo(function(){return 0===i||0===D?0:i/D*B},[i,D,B]),Y=s.useRef({top:X,dragging:S,pageY:R,startTop:z});Y.current={top:X,dragging:S,pageY:R,startTop:z};var V=function(e){x(!0),Z(m(e,h)),C(Y.current.top),d(),e.stopPropagation(),e.preventDefault()};s.useEffect(function(){var e=function(e){e.preventDefault()},t=O.current,r=k.current;return t.addEventListener("touchstart",e),r.addEventListener("touchstart",V),function(){t.removeEventListener("touchstart",e),r.removeEventListener("touchstart",V)}},[]);var F=s.useRef();F.current=D;var _=s.useRef();_.current=B,s.useEffect(function(){if(S){var e,t=function(t){var r=Y.current,n=r.dragging,o=r.pageY,i=r.startTop;if(g.Z.cancel(e),n){var a=m(t,h)-o,l=i;!H&&h?l-=a:l+=a;var c=F.current,s=_.current,d=Math.ceil((s?l/s:0)*c);d=Math.min(d=Math.max(d,0),c),e=(0,g.Z)(function(){p(d,h)})}},r=function(){x(!1),u()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",r),window.addEventListener("touchend",r),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",r),window.removeEventListener("touchend",r),g.Z.cancel(e)}}},[S]),s.useEffect(function(){j()},[i]),s.useImperativeHandle(t,function(){return{delayHidden:j}});var K="".concat(n,"-scrollbar"),G={position:"absolute",visibility:N&&A?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return h?(G.height=8,G.left=0,G.right=0,G.bottom=0,U.height="100%",U.width=v,H?U.left=X:U.right=X):(G.width=8,G.top=0,G.bottom=0,H?G.right=0:G.left=0,U.width="100%",U.height=v,U.top=X),s.createElement("div",{ref:O,className:f()(K,(r={},(0,l.Z)(r,"".concat(K,"-horizontal"),h),(0,l.Z)(r,"".concat(K,"-vertical"),!h),(0,l.Z)(r,"".concat(K,"-visible"),N),r)),style:G,onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:j},s.createElement("div",{ref:k,className:f()("".concat(K,"-thumb"),(0,l.Z)({},"".concat(K,"-thumb-moving"),S)),style:U,onMouseDown:V}))});function b(e){var t=e.children,r=e.setRef,n=s.useCallback(function(e){r(e)},[]);return s.cloneElement(t,{ref:n})}var $=r(34203),E=r(15671),S=r(43144),x=function(){function e(){(0,E.Z)(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,S.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),y=("undefined"==typeof navigator?"undefined":(0,i.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),w=function(e,t){var r=(0,s.useRef)(!1),n=(0,s.useRef)(null),o=(0,s.useRef)({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&o.current.top||e>0&&o.current.bottom;return t&&i?(clearTimeout(n.current),r.current=!1):(!i||r.current)&&(clearTimeout(n.current),r.current=!0,n.current=setTimeout(function(){r.current=!1},50)),!r.current&&i}},R=r(8410),Z=14/15;function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e/t*100;return isNaN(r)&&(r=0),Math.floor(r=Math.min(r=Math.max(r,20),e/2))}var I=r(56790),z=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender"],C=[],H={overflowY:"auto",overflowAnchor:"none"},O=s.forwardRef(function(e,t){var r,u,m,E,S,O,k,L,T,N,P,W,j,D,B,A,X,Y,V,F,_,K,G,U,Q,J,q,ee,et,er,en,eo=e.prefixCls,ei=void 0===eo?"rc-virtual-list":eo,ea=e.className,el=e.height,ec=e.itemHeight,es=e.fullHeight,ed=e.style,eu=e.data,ef=e.children,ep=e.itemKey,eh=e.virtual,eg=e.direction,em=e.scrollWidth,ev=e.component,eb=void 0===ev?"div":ev,e$=e.onScroll,eE=e.onVirtualScroll,eS=e.onVisibleChange,ex=e.innerProps,ey=e.extraRender,ew=(0,c.Z)(e,z),eR=!!(!1!==eh&&el&&ec),eZ=eR&&eu&&ec*eu.length>el,eM="rtl"===eg,eI=f()(ei,(0,l.Z)({},"".concat(ei,"-rtl"),eM),ea),ez=eu||C,eC=(0,s.useRef)(),eH=(0,s.useRef)(),eO=(0,s.useState)(0),ek=(0,a.Z)(eO,2),eL=ek[0],eT=ek[1],eN=(0,s.useState)(0),eP=(0,a.Z)(eN,2),eW=eP[0],ej=eP[1],eD=(0,s.useState)(!1),eB=(0,a.Z)(eD,2),eA=eB[0],eX=eB[1],eY=function(){eX(!0)},eV=function(){eX(!1)},eF=s.useCallback(function(e){return"function"==typeof ep?ep(e):null==e?void 0:e[ep]},[ep]);function e_(e){eT(function(t){var r,n=(r="function"==typeof e?e(t):e,Number.isNaN(tc.current)||(r=Math.min(r,tc.current)),r=Math.max(r,0));return eC.current.scrollTop=n,n})}var eK=(0,s.useRef)({start:0,end:ez.length}),eG=(0,s.useRef)(),eU=(u=s.useState(ez),E=(m=(0,a.Z)(u,2))[0],S=m[1],O=s.useState(null),L=(k=(0,a.Z)(O,2))[0],T=k[1],s.useEffect(function(){var e=function(e,t,r){var n,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i=eL&&void 0===t&&(t=a,r=o),s>eL+el&&void 0===n&&(n=a),o=s}return void 0===t&&(t=0,r=0,n=Math.ceil(el/ec)),void 0===n&&(n=ez.length-1),{scrollHeight:o,start:t,end:n=Math.min(n+1,ez.length-1),offset:r}},[eZ,eR,eL,ez,e4,el]),e6=e3.scrollHeight,e5=e3.start,e7=e3.end,e8=e3.offset;eK.current.start=e5,eK.current.end=e7;var e9=s.useState({width:0,height:el}),te=(0,a.Z)(e9,2),tt=te[0],tr=te[1],tn=(0,s.useRef)(),to=(0,s.useRef)(),ti=s.useMemo(function(){return M(tt.width,em)},[tt.width,em]),ta=s.useMemo(function(){return M(tt.height,e6)},[tt.height,e6]),tl=e6-el,tc=(0,s.useRef)(tl);tc.current=tl;var ts=eL<=0,td=eL>=tl,tu=w(ts,td),tf=function(){return{x:eM?-eW:eW,y:eL}},tp=(0,s.useRef)(tf()),th=(0,I.zX)(function(){if(eE){var e=tf();(tp.current.x!==e.x||tp.current.y!==e.y)&&(eE(e),tp.current=e)}});function tg(e,t){t?((0,d.flushSync)(function(){ej(e)}),th()):e_(e)}var tm=function(e){var t=e,r=em-tt.width;return Math.min(t=Math.max(t,0),r)},tv=(0,I.zX)(function(e,t){t?((0,d.flushSync)(function(){ej(function(t){return tm(t+(eM?-e:e))})}),th()):e_(function(t){return t+e})}),tb=(N=!!em,P=(0,s.useRef)(0),W=(0,s.useRef)(null),j=(0,s.useRef)(null),D=(0,s.useRef)(!1),B=w(ts,td),A=(0,s.useRef)(null),X=(0,s.useRef)(null),[function(e){if(eR){g.Z.cancel(X.current),X.current=(0,g.Z)(function(){A.current=null},2);var t,r=e.deltaX,n=e.deltaY;(null===A.current&&(A.current=N&&Math.abs(r)>Math.abs(n)?"x":"y"),"x"===A.current)?(tv(e.deltaX,!0),y||e.preventDefault()):(g.Z.cancel(W.current),t=e.deltaY,P.current+=t,j.current=t,B(t)||(y||e.preventDefault(),W.current=(0,g.Z)(function(){var e=D.current?10:1;tv(P.current*e),P.current=0})))}},function(e){eR&&(D.current=e.detail===j.current)}]),t$=(0,a.Z)(tb,2),tE=t$[0],tS=t$[1];Y=function(e,t){return!tu(e,t)&&(tE({preventDefault:function(){},deltaY:e}),!0)},F=(0,s.useRef)(!1),_=(0,s.useRef)(0),K=(0,s.useRef)(null),G=(0,s.useRef)(null),U=function(e){if(F.current){var t=Math.ceil(e.touches[0].pageY),r=_.current-t;_.current=t,Y(r)&&e.preventDefault(),clearInterval(G.current),G.current=setInterval(function(){(!Y(r*=Z,!0)||.1>=Math.abs(r))&&clearInterval(G.current)},16)}},Q=function(){F.current=!1,V()},J=function(e){V(),1!==e.touches.length||F.current||(F.current=!0,_.current=Math.ceil(e.touches[0].pageY),K.current=e.target,K.current.addEventListener("touchmove",U),K.current.addEventListener("touchend",Q))},V=function(){K.current&&(K.current.removeEventListener("touchmove",U),K.current.removeEventListener("touchend",Q))},(0,R.Z)(function(){return eR&&eC.current.addEventListener("touchstart",J),function(){var e;null===(e=eC.current)||void 0===e||e.removeEventListener("touchstart",J),V(),clearInterval(G.current)}},[eR]),(0,R.Z)(function(){function e(e){eR&&e.preventDefault()}var t=eC.current;return t.addEventListener("wheel",tE),t.addEventListener("DOMMouseScroll",tS),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",tE),t.removeEventListener("DOMMouseScroll",tS),t.removeEventListener("MozMousePixelScroll",e)}},[eR]);var tx=function(){var e,t;null===(e=tn.current)||void 0===e||e.delayHidden(),null===(t=to.current)||void 0===t||t.delayHidden()},ty=(q=s.useRef(),function(e){if(null==e){tx();return}if(g.Z.cancel(q.current),"number"==typeof e)e_(e);else if(e&&"object"===(0,i.Z)(e)){var t,r=e.align;t="index"in e?e.index:ez.findIndex(function(t){return eF(t)===e.key});var n=e.offset,o=void 0===n?0:n;!function e(n,i){if(!(n<0)&&eC.current){var a=eC.current.clientHeight,l=!1,c=i;if(a){for(var s=0,d=0,u=0,f=Math.min(ez.length,t),p=0;p<=f;p+=1){var h=eF(ez[p]);d=s;var m=e2.get(h);s=u=d+(void 0===m?ec:m),p===t&&void 0===m&&(l=!0)}var v=null;switch(i||r){case"top":v=d-o;break;case"bottom":v=u-a+o;break;default:var b=eC.current.scrollTop;db+a&&(c="bottom")}null!==v&&v!==eC.current.scrollTop&&e_(v)}q.current=(0,g.Z)(function(){l&&e1(),e(n-1,c)},2)}}(3)}});s.useImperativeHandle(t,function(){return{getScrollInfo:tf,scrollTo:function(e){e&&"object"===(0,i.Z)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&ej(tm(e.left)),ty(e.top)):ty(e)}}}),(0,R.Z)(function(){eS&&eS(ez.slice(e5,e7+1),ez)},[e5,e7,ez]);var tw=(ee=s.useMemo(function(){return[new Map,[]]},[ez,e2.id,ec]),er=(et=(0,a.Z)(ee,2))[0],en=et[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=er.get(e),n=er.get(t);if(void 0===r||void 0===n)for(var o=ez.length,i=en.length;iel&&s.createElement(v,{ref:tn,prefixCls:ei,scrollOffset:eL,scrollRange:e6,rtl:eM,onScroll:tg,onStartMove:eY,onStopMove:eV,spinSize:ta,containerSize:tt.height}),eZ&&em&&s.createElement(v,{ref:to,prefixCls:ei,scrollOffset:eW,scrollRange:em,rtl:eM,onScroll:tg,onStartMove:eY,onStopMove:eV,spinSize:ti,containerSize:tt.width,horizontal:!0}))});O.displayName="List";var k=O}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/908-33709e71961cb7a1.js b/pilot/server/static/_next/static/chunks/908-33709e71961cb7a1.js new file mode 100644 index 000000000..b4ab4c2df --- /dev/null +++ b/pilot/server/static/_next/static/chunks/908-33709e71961cb7a1.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[908],{24969:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},i=n(42135),l=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,o.Z)({},e,{ref:t,icon:a}))})},65908:function(e,t,n){n.d(t,{Z:function(){return tK}});var o=n(97937),r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},l=n(42135),c=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:i}))}),u=n(24969),s=n(94184),d=n.n(s),f=n(4942),p=n(1413),v=n(97685),m=n(71002),b=n(45987),h=n(31131),g=n(21770),y=n(82225),$=(0,a.createContext)(null),k=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,r=e.style,i=e.id,l=e.active,c=e.tabKey,u=e.children;return a.createElement("div",{id:i&&"".concat(i,"-panel-").concat(c),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(c),"aria-hidden":!l,style:r,className:d()(n,l&&"".concat(n,"-active"),o),ref:t},u)}),x=["key","forceRender","style","className"];function Z(e){var t=e.id,n=e.activeKey,o=e.animated,i=e.tabPosition,l=e.destroyInactiveTabPane,c=a.useContext($),u=c.prefixCls,s=c.tabs,v=o.tabPane,m="".concat(u,"-tabpane");return a.createElement("div",{className:d()("".concat(u,"-content-holder"))},a.createElement("div",{className:d()("".concat(u,"-content"),"".concat(u,"-content-").concat(i),(0,f.Z)({},"".concat(u,"-content-animated"),v))},s.map(function(e){var i=e.key,c=e.forceRender,u=e.style,s=e.className,f=(0,b.Z)(e,x),h=i===n;return a.createElement(y.ZP,(0,r.Z)({key:i,visible:h,forceRender:c,removeOnLeave:!!l,leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,l=e.className;return a.createElement(k,(0,r.Z)({},f,{prefixCls:m,id:t,tabKey:i,animated:v,active:h,style:(0,p.Z)((0,p.Z)({},u),o),className:d()(s,l),ref:n}))})})))}var C=n(74902),w=n(9220),E=n(66680),S=n(75164),_=n(42550),R={width:0,height:0,left:0,top:0};function P(e,t){var n=a.useRef(e),o=a.useState({}),r=(0,v.Z)(o,2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}var N=n(8410);function I(e){var t=(0,a.useState)(0),n=(0,v.Z)(t,2),o=n[0],r=n[1],i=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,N.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[o]),function(){i.current===o&&(i.current+=1,r(i.current))}}var M={width:0,height:0,left:0,top:0,right:0};function T(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function L(e){return String(e).replace(/"/g,"TABS_DQ")}function O(e,t,n,o){return!!n&&!o&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var D=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.editable,r=e.locale,i=e.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),K=a.forwardRef(function(e,t){var n,o=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var l={};return"object"!==(0,m.Z)(i)||a.isValidElement(i)?l.right=i:l=i,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?a.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},n):null}),A=n(40228),z=n(15105),B=z.Z.ESC,j=z.Z.TAB,W=(0,a.forwardRef)(function(e,t){var n=e.overlay,o=e.arrow,r=e.prefixCls,i=(0,a.useMemo)(function(){return"function"==typeof n?n():n},[n]),l=(0,_.sQ)(t,null==i?void 0:i.ref);return a.createElement(a.Fragment,null,o&&a.createElement("div",{className:"".concat(r,"-arrow")}),a.cloneElement(i,{ref:(0,_.Yr)(i)?l:void 0}))}),G={adjustX:1,adjustY:1},H=[0,0],X={topLeft:{points:["bl","tl"],overflow:G,offset:[0,-4],targetOffset:H},top:{points:["bc","tc"],overflow:G,offset:[0,-4],targetOffset:H},topRight:{points:["br","tr"],overflow:G,offset:[0,-4],targetOffset:H},bottomLeft:{points:["tl","bl"],overflow:G,offset:[0,4],targetOffset:H},bottom:{points:["tc","bc"],overflow:G,offset:[0,4],targetOffset:H},bottomRight:{points:["tr","br"],overflow:G,offset:[0,4],targetOffset:H}},V=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],F=a.forwardRef(function(e,t){var n,o,i,l,c,u,s,p,m,h,g,y,$,k,x=e.arrow,Z=void 0!==x&&x,C=e.prefixCls,w=void 0===C?"rc-dropdown":C,E=e.transitionName,R=e.animation,P=e.align,N=e.placement,I=e.placements,M=e.getPopupContainer,T=e.showAction,L=e.hideAction,O=e.overlayClassName,D=e.overlayStyle,K=e.visible,z=e.trigger,G=void 0===z?["hover"]:z,H=e.autoFocus,F=e.overlay,q=e.children,Y=e.onVisibleChange,Q=(0,b.Z)(e,V),U=a.useState(),J=(0,v.Z)(U,2),ee=J[0],et=J[1],en="visible"in e?K:ee,eo=a.useRef(null),er=a.useRef(null),ea=a.useRef(null);a.useImperativeHandle(t,function(){return eo.current});var ei=function(e){et(e),null==Y||Y(e)};o=(n={visible:en,triggerRef:ea,onVisibleChange:ei,autoFocus:H,overlayRef:er}).visible,i=n.triggerRef,l=n.onVisibleChange,c=n.autoFocus,u=n.overlayRef,s=a.useRef(!1),p=function(){if(o){var e,t;null===(e=i.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),null==l||l(!1)}},m=function(){var e;return null!==(e=u.current)&&void 0!==e&&!!e.focus&&(u.current.focus(),s.current=!0,!0)},h=function(e){switch(e.keyCode){case B:p();break;case j:var t=!1;s.current||(t=m()),t?e.preventDefault():p()}},a.useEffect(function(){return o?(window.addEventListener("keydown",h),c&&(0,S.Z)(m,3),function(){window.removeEventListener("keydown",h),s.current=!1}):function(){s.current=!1}},[o]);var el=function(){return a.createElement(W,{ref:er,overlay:F,prefixCls:w,arrow:Z})},ec=a.cloneElement(q,{className:d()(null===(k=q.props)||void 0===k?void 0:k.className,en&&(void 0!==(g=e.openClassName)?g:"".concat(w,"-open"))),ref:(0,_.Yr)(q)?(0,_.sQ)(ea,q.ref):void 0}),eu=L;return eu||-1===G.indexOf("contextMenu")||(eu=["click"]),a.createElement(A.Z,(0,r.Z)({builtinPlacements:void 0===I?X:I},Q,{prefixCls:w,ref:eo,popupClassName:d()(O,(0,f.Z)({},"".concat(w,"-show-arrow"),Z)),popupStyle:D,action:G,showAction:T,hideAction:eu,popupPlacement:void 0===N?"bottomLeft":N,popupAlign:P,popupTransitionName:E,popupAnimation:R,popupVisible:en,stretch:(y=e.minOverlayWidthMatchTrigger,$=e.alignPoint,"minOverlayWidthMatchTrigger"in e?y:!$)?"minWidth":"",popup:"function"==typeof F?el:el(),onPopupVisibleChange:ei,onPopupClick:function(t){var n=e.onOverlayClick;et(!1),n&&n(t)},getPopupContainer:M}),ec)}),q=n(39983),Y=n(80334),Q=n(73935),U=n(91881),J=a.createContext(null);function ee(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function et(e){return ee(a.useContext(J),e)}var en=n(56982),eo=["children","locked"],er=a.createContext(null);function ea(e){var t=e.children,n=e.locked,o=(0,b.Z)(e,eo),r=a.useContext(er),i=(0,en.Z)(function(){var e;return e=(0,p.Z)({},r),Object.keys(o).forEach(function(t){var n=o[t];void 0!==n&&(e[t]=n)}),e},[r,o],function(e,t){return!n&&(e[0]!==t[0]||!(0,U.Z)(e[1],t[1],!0))});return a.createElement(er.Provider,{value:i},t)}var ei=a.createContext(null);function el(){return a.useContext(ei)}var ec=a.createContext([]);function eu(e){var t=a.useContext(ec);return a.useMemo(function(){return void 0!==e?[].concat((0,C.Z)(t),[e]):t},[t,e])}var es=a.createContext(null),ed=a.createContext({}),ef=n(5110);function ep(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,ef.Z)(e)){var n=e.nodeName.toLowerCase(),o=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),r=e.getAttribute("tabindex"),a=Number(r),i=null;return r&&!Number.isNaN(a)?i=a:o&&null===i&&(i=0),o&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}var ev=z.Z.LEFT,em=z.Z.RIGHT,eb=z.Z.UP,eh=z.Z.DOWN,eg=z.Z.ENTER,ey=z.Z.ESC,e$=z.Z.HOME,ek=z.Z.END,ex=[eb,eh,ev,em];function eZ(e,t){return(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,C.Z)(e.querySelectorAll("*")).filter(function(e){return ep(e,t)});return ep(e,t)&&n.unshift(e),n})(e,!0).filter(function(e){return t.has(e)})}function eC(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var r=eZ(e,t),a=r.length,i=r.findIndex(function(e){return n===e});return o<0?-1===i?i=a-1:i-=1:o>0&&(i+=1),r[i=(i+a)%a]}var ew="__RC_UTIL_PATH_SPLIT__",eE=function(e){return e.join(ew)},eS="rc-menu-more";function e_(e){var t=a.useRef(e);t.current=e;var n=a.useCallback(function(){for(var e,n=arguments.length,o=Array(n),r=0;r1&&(Z.motionAppear=!1);var C=Z.onVisibleChanged;return(Z.onVisibleChanged=function(e){return b.current||e||k(!0),null==C?void 0:C(e)},$)?null:a.createElement(ea,{mode:l,locked:!b.current},a.createElement(y.ZP,(0,r.Z)({visible:x},Z,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),function(e){var n=e.className,o=e.style;return a.createElement(eF,{id:t,className:n,style:o},i)}))}var e6=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],e4=["active"],e5=function(e){var t,n=e.style,o=e.className,i=e.title,l=e.eventKey,c=(e.warnKey,e.disabled),u=e.internalPopupClose,s=e.children,m=e.itemIcon,h=e.expandIcon,g=e.popupClassName,y=e.popupOffset,$=e.onClick,k=e.onMouseEnter,x=e.onMouseLeave,Z=e.onTitleClick,C=e.onTitleMouseEnter,w=e.onTitleMouseLeave,E=(0,b.Z)(e,e6),S=et(l),_=a.useContext(er),R=_.prefixCls,P=_.mode,N=_.openKeys,I=_.disabled,M=_.overflowDisabled,T=_.activeKey,L=_.selectedKeys,O=_.itemIcon,D=_.expandIcon,K=_.onItemClick,A=_.onOpenChange,z=_.onActive,B=a.useContext(ed)._internalRenderSubMenuItem,j=a.useContext(es).isSubPathKey,W=eu(),G="".concat(R,"-submenu"),H=I||c,X=a.useRef(),V=a.useRef(),F=h||D,Y=N.includes(l),Q=!M&&Y,U=j(L,l),J=eO(l,H,C,w),ee=J.active,en=(0,b.Z)(J,e4),eo=a.useState(!1),ei=(0,v.Z)(eo,2),el=ei[0],ec=ei[1],ef=function(e){H||ec(e)},ep=a.useMemo(function(){return ee||"inline"!==P&&(el||j([T],l))},[P,ee,T,el,l,j]),ev=eD(W.length),em=e_(function(e){null==$||$(ez(e)),K(e)}),eb=S&&"".concat(S,"-popup"),eh=a.createElement("div",(0,r.Z)({role:"menuitem",style:ev,className:"".concat(G,"-title"),tabIndex:H?null:-1,ref:X,title:"string"==typeof i?i:null,"data-menu-id":M&&S?null:S,"aria-expanded":Q,"aria-haspopup":!0,"aria-controls":eb,"aria-disabled":H,onClick:function(e){H||(null==Z||Z({key:l,domEvent:e}),"inline"===P&&A(l,!Y))},onFocus:function(){z(l)}},en),i,a.createElement(eK,{icon:"horizontal"!==P?F:null,props:(0,p.Z)((0,p.Z)({},e),{},{isOpen:Q,isSubMenu:!0})},a.createElement("i",{className:"".concat(G,"-arrow")}))),eg=a.useRef(P);if("inline"!==P&&W.length>1?eg.current="vertical":eg.current=P,!M){var ey=eg.current;eh=a.createElement(e2,{mode:ey,prefixCls:G,visible:!u&&Q&&"inline"!==P,popupClassName:g,popupOffset:y,popup:a.createElement(ea,{mode:"horizontal"===ey?"vertical":ey},a.createElement(eF,{id:eb,ref:V},s)),disabled:H,onVisibleChange:function(e){"inline"!==P&&A(l,e)}},eh)}var e$=a.createElement(q.Z.Item,(0,r.Z)({role:"none"},E,{component:"li",style:n,className:d()(G,"".concat(G,"-").concat(P),o,(t={},(0,f.Z)(t,"".concat(G,"-open"),Q),(0,f.Z)(t,"".concat(G,"-active"),ep),(0,f.Z)(t,"".concat(G,"-selected"),U),(0,f.Z)(t,"".concat(G,"-disabled"),H),t)),onMouseEnter:function(e){ef(!0),null==k||k({key:l,domEvent:e})},onMouseLeave:function(e){ef(!1),null==x||x({key:l,domEvent:e})}}),eh,!M&&a.createElement(e8,{id:eb,open:Q,keyPath:W},s));return B&&(e$=B(e$,e,{selected:U,active:ep,open:Q,disabled:H})),a.createElement(ea,{onItemClick:em,mode:"horizontal"===P?"vertical":P,itemIcon:m||O,expandIcon:F},e$)};function e9(e){var t,n=e.eventKey,o=e.children,r=eu(n),i=eY(o,r),l=el();return a.useEffect(function(){if(l)return l.registerPath(n,r),function(){l.unregisterPath(n,r)}},[r]),t=l?i:a.createElement(e5,e,i),a.createElement(ec.Provider,{value:r},t)}var e7=["className","title","eventKey","children"],e3=["children"],te=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,b.Z)(e,e7),l=a.useContext(er).prefixCls,c="".concat(l,"-item-group");return a.createElement("li",(0,r.Z)({role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:d()(c,t)}),a.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof n?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))};function tt(e){var t=e.children,n=(0,b.Z)(e,e3),o=eY(t,eu(n.eventKey));return el()?o:a.createElement(te,(0,eL.Z)(n,["warnKey"]),o)}function tn(e){var t=e.className,n=e.style,o=a.useContext(er).prefixCls;return el()?null:a.createElement("li",{className:d()("".concat(o,"-item-divider"),t),style:n})}var to=["label","children","key","type"],tr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ta=[],ti=a.forwardRef(function(e,t){var n,o,i,l,c,u,s,h,y,$,k,x,Z,w,E,_,R,P,N,I,M,T,L,O,D,K,A,z=e.prefixCls,B=void 0===z?"rc-menu":z,j=e.rootClassName,W=e.style,G=e.className,H=e.tabIndex,X=e.items,V=e.children,F=e.direction,Y=e.id,et=e.mode,en=void 0===et?"vertical":et,eo=e.inlineCollapsed,er=e.disabled,el=e.disabledOverflow,ec=e.subMenuOpenDelay,eu=e.subMenuCloseDelay,ef=e.forceSubMenuRender,ep=e.defaultOpenKeys,eN=e.openKeys,eI=e.activeKey,eM=e.defaultActiveFirst,eT=e.selectable,eL=void 0===eT||eT,eO=e.multiple,eD=void 0!==eO&&eO,eK=e.defaultSelectedKeys,eA=e.selectedKeys,eB=e.onSelect,ej=e.onDeselect,eW=e.inlineIndent,eG=e.motion,eH=e.defaultMotions,eV=e.triggerSubMenuAction,eF=e.builtinPlacements,eq=e.itemIcon,eQ=e.expandIcon,eU=e.overflowedIndicator,eJ=void 0===eU?"...":eU,e0=e.overflowedIndicatorPopupClassName,e1=e.getPopupContainer,e2=e.onClick,e8=e.onOpenChange,e6=e.onKeyDown,e4=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e5=e._internalRenderSubMenuItem,e7=(0,b.Z)(e,tr),e3=a.useMemo(function(){var e;return e=V,X&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,m.Z)(t)){var o=t.label,i=t.children,l=t.key,c=t.type,u=(0,b.Z)(t,to),s=null!=l?l:"tmp-".concat(n);return i||"group"===c?"group"===c?a.createElement(tt,(0,r.Z)({key:s},u,{title:o}),e(i)):a.createElement(e9,(0,r.Z)({key:s},u,{title:o}),e(i)):"divider"===c?a.createElement(tn,(0,r.Z)({key:s},u)):a.createElement(eX,(0,r.Z)({key:s},u),o)}return null}).filter(function(e){return e})}(X)),eY(e,ta)},[V,X]),te=a.useState(!1),ti=(0,v.Z)(te,2),tl=ti[0],tc=ti[1],tu=a.useRef(),ts=(n=(0,g.Z)(Y,{value:Y}),i=(o=(0,v.Z)(n,2))[0],l=o[1],a.useEffect(function(){eP+=1;var e="".concat(eR,"-").concat(eP);l("rc-menu-uuid-".concat(e))},[]),i),td="rtl"===F,tf=(0,g.Z)(ep,{value:eN,postState:function(e){return e||ta}}),tp=(0,v.Z)(tf,2),tv=tp[0],tm=tp[1],tb=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e8||e8(e)}t?(0,Q.flushSync)(n):n()},th=a.useState(tv),tg=(0,v.Z)(th,2),ty=tg[0],t$=tg[1],tk=a.useRef(!1),tx=a.useMemo(function(){return("inline"===en||"vertical"===en)&&eo?["vertical",eo]:[en,!1]},[en,eo]),tZ=(0,v.Z)(tx,2),tC=tZ[0],tw=tZ[1],tE="inline"===tC,tS=a.useState(tC),t_=(0,v.Z)(tS,2),tR=t_[0],tP=t_[1],tN=a.useState(tw),tI=(0,v.Z)(tN,2),tM=tI[0],tT=tI[1];a.useEffect(function(){tP(tC),tT(tw),tk.current&&(tE?tm(ty):tb(ta))},[tC,tw]);var tL=a.useState(0),tO=(0,v.Z)(tL,2),tD=tO[0],tK=tO[1],tA=tD>=e3.length-1||"horizontal"!==tR||el;a.useEffect(function(){tE&&t$(tv)},[tv]),a.useEffect(function(){return tk.current=!0,function(){tk.current=!1}},[]);var tz=(c=a.useState({}),u=(0,v.Z)(c,2)[1],s=(0,a.useRef)(new Map),h=(0,a.useRef)(new Map),y=a.useState([]),k=($=(0,v.Z)(y,2))[0],x=$[1],Z=(0,a.useRef)(0),w=(0,a.useRef)(!1),E=function(){w.current||u({})},_=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.set(n,e),s.current.set(e,n),Z.current+=1;var o=Z.current;Promise.resolve().then(function(){o===Z.current&&E()})},[]),R=(0,a.useCallback)(function(e,t){var n=eE(t);h.current.delete(n),s.current.delete(e)},[]),P=(0,a.useCallback)(function(e){x(e)},[]),N=(0,a.useCallback)(function(e,t){var n=(s.current.get(e)||"").split(ew);return t&&k.includes(n[0])&&n.unshift(eS),n},[k]),I=(0,a.useCallback)(function(e,t){return e.some(function(e){return N(e,!0).includes(t)})},[N]),M=(0,a.useCallback)(function(e){var t="".concat(s.current.get(e)).concat(ew),n=new Set;return(0,C.Z)(h.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(h.current.get(e))}),n},[]),a.useEffect(function(){return function(){w.current=!0}},[]),{registerPath:_,unregisterPath:R,refreshOverflowKeys:P,isSubPathKey:I,getKeyPath:N,getKeys:function(){var e=(0,C.Z)(s.current.keys());return k.length&&e.push(eS),e},getSubPathKeys:M}),tB=tz.registerPath,tj=tz.unregisterPath,tW=tz.refreshOverflowKeys,tG=tz.isSubPathKey,tH=tz.getKeyPath,tX=tz.getKeys,tV=tz.getSubPathKeys,tF=a.useMemo(function(){return{registerPath:tB,unregisterPath:tj}},[tB,tj]),tq=a.useMemo(function(){return{isSubPathKey:tG}},[tG]);a.useEffect(function(){tW(tA?ta:e3.slice(tD+1).map(function(e){return e.key}))},[tD,tA]);var tY=(0,g.Z)(eI||eM&&(null===(K=e3[0])||void 0===K?void 0:K.key),{value:eI}),tQ=(0,v.Z)(tY,2),tU=tQ[0],tJ=tQ[1],t0=e_(function(e){tJ(e)}),t1=e_(function(){tJ(void 0)});(0,a.useImperativeHandle)(t,function(){return{list:tu.current,focus:function(e){var t,n,o,r,a=null!=tU?tU:null===(t=e3.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;a&&(null===(n=tu.current)||void 0===n||null===(o=n.querySelector("li[data-menu-id='".concat(ee(ts,a),"']")))||void 0===o||null===(r=o.focus)||void 0===r||r.call(o,e))}}});var t2=(0,g.Z)(eK||[],{value:eA,postState:function(e){return Array.isArray(e)?e:null==e?ta:[e]}}),t8=(0,v.Z)(t2,2),t6=t8[0],t4=t8[1],t5=function(e){if(eL){var t,n=e.key,o=t6.includes(n);t4(t=eD?o?t6.filter(function(e){return e!==n}):[].concat((0,C.Z)(t6),[n]):[n]);var r=(0,p.Z)((0,p.Z)({},e),{},{selectedKeys:t});o?null==ej||ej(r):null==eB||eB(r)}!eD&&tv.length&&"inline"!==tR&&tb(ta)},t9=e_(function(e){null==e2||e2(ez(e)),t5(e)}),t7=e_(function(e,t){var n=tv.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tR){var o=tV(e);n=n.filter(function(e){return!o.has(e)})}(0,U.Z)(tv,n,!0)||tb(n,!0)}),t3=(T=function(e,t){var n=null!=t?t:!tv.includes(e);t7(e,n)},L=a.useRef(),(O=a.useRef()).current=tU,D=function(){S.Z.cancel(L.current)},a.useEffect(function(){return function(){D()}},[]),function(e){var t=e.which;if([].concat(ex,[eg,ey,e$,ek]).includes(t)){var n=function(){return l=new Set,c=new Map,u=new Map,tX().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(ee(ts,e),"']"));t&&(l.add(t),u.set(t,e),c.set(e,t))}),l};n();var o=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(c.get(tU),l),r=u.get(o),a=function(e,t,n,o){var r,a,i,l,c="prev",u="next",s="children",d="parent";if("inline"===e&&o===eg)return{inlineTrigger:!0};var p=(r={},(0,f.Z)(r,eb,c),(0,f.Z)(r,eh,u),r),v=(a={},(0,f.Z)(a,ev,n?u:c),(0,f.Z)(a,em,n?c:u),(0,f.Z)(a,eh,s),(0,f.Z)(a,eg,s),a),m=(i={},(0,f.Z)(i,eb,c),(0,f.Z)(i,eh,u),(0,f.Z)(i,eg,s),(0,f.Z)(i,ey,d),(0,f.Z)(i,ev,n?s:d),(0,f.Z)(i,em,n?d:s),i);switch(null===(l=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[o]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}(tR,1===tH(r,!0).length,td,t);if(!a&&t!==e$&&t!==ek)return;(ex.includes(t)||[e$,ek].includes(t))&&e.preventDefault();var i=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var o=u.get(e);tJ(o),D(),L.current=(0,S.Z)(function(){O.current===o&&t.focus()})}};if([e$,ek].includes(t)||a.sibling||!o){var l,c,u,s,d=eZ(s=o&&"inline"!==tR?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(o):tu.current,l);i(t===e$?d[0]:t===ek?d[d.length-1]:eC(s,l,o,a.offset))}else if(a.inlineTrigger)T(r);else if(a.offset>0)T(r,!0),D(),L.current=(0,S.Z)(function(){n();var e=o.getAttribute("aria-controls");i(eC(document.getElementById(e),l))},5);else if(a.offset<0){var p=tH(r,!0),v=p[p.length-2],m=c.get(v);T(v,!1),i(m)}}null==e6||e6(e)});a.useEffect(function(){tc(!0)},[]);var ne=a.useMemo(function(){return{_internalRenderMenuItem:e4,_internalRenderSubMenuItem:e5}},[e4,e5]),nt="horizontal"!==tR||el?e3:e3.map(function(e,t){return a.createElement(ea,{key:e.key,overflowDisabled:t>tD},e)}),nn=a.createElement(q.Z,(0,r.Z)({id:Y,ref:tu,prefixCls:"".concat(B,"-overflow"),component:"ul",itemComponent:eX,className:d()(B,"".concat(B,"-root"),"".concat(B,"-").concat(tR),G,(A={},(0,f.Z)(A,"".concat(B,"-inline-collapsed"),tM),(0,f.Z)(A,"".concat(B,"-rtl"),td),A),j),dir:F,style:W,role:"menu",tabIndex:void 0===H?0:H,data:nt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?e3.slice(-t):null;return a.createElement(e9,{eventKey:eS,title:eJ,disabled:tA,internalPopupClose:0===t,popupClassName:e0},n)},maxCount:"horizontal"!==tR||el?q.Z.INVALIDATE:q.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tK(e)},onKeyDown:t3},e7));return a.createElement(ed.Provider,{value:ne},a.createElement(J.Provider,{value:ts},a.createElement(ea,{prefixCls:B,rootClassName:j,mode:tR,openKeys:tv,rtl:td,disabled:er,motion:tl?eG:null,defaultMotions:tl?eH:null,activeKey:tU,onActive:t0,onInactive:t1,selectedKeys:t6,inlineIndent:void 0===eW?24:eW,subMenuOpenDelay:void 0===ec?.1:ec,subMenuCloseDelay:void 0===eu?.1:eu,forceSubMenuRender:ef,builtinPlacements:eF,triggerSubMenuAction:void 0===eV?"hover":eV,getPopupContainer:e1,itemIcon:eq,expandIcon:eQ,onItemClick:t9,onOpenChange:t7},a.createElement(es.Provider,{value:tq},nn),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement(ei.Provider,{value:tF},e3)))))});ti.Item=eX,ti.SubMenu=e9,ti.ItemGroup=tt,ti.Divider=tn;var tl=a.memo(a.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,r=e.tabs,i=e.locale,l=e.mobile,c=e.moreIcon,u=void 0===c?"More":c,s=e.moreTransitionName,p=e.style,m=e.className,b=e.editable,h=e.tabBarGutter,g=e.rtl,y=e.removeAriaLabel,$=e.onTabClick,k=e.getPopupContainer,x=e.popupClassName,Z=(0,a.useState)(!1),C=(0,v.Z)(Z,2),w=C[0],E=C[1],S=(0,a.useState)(null),_=(0,v.Z)(S,2),R=_[0],P=_[1],N="".concat(o,"-more-popup"),I="".concat(n,"-dropdown"),M=null!==R?"".concat(N,"-").concat(R):null,T=null==i?void 0:i.dropdownAriaLabel,L=a.createElement(ti,{onClick:function(e){$(e.key,e.domEvent),E(!1)},prefixCls:"".concat(I,"-menu"),id:N,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[R],"aria-label":void 0!==T?T:"expanded dropdown"},r.map(function(e){var t=e.closable,n=e.disabled,r=e.closeIcon,i=e.key,l=e.label,c=O(t,r,b,n);return a.createElement(eX,{key:i,id:"".concat(N,"-").concat(i),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(i),disabled:n},a.createElement("span",null,l),c&&a.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(I,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),b.onEdit("remove",{key:i,event:e})}},r||b.removeIcon||"\xd7"))}));function K(e){for(var t=r.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===R})||0,o=t.length,a=0;at?"left":"right"})}),eT=(0,v.Z)(eM,2),eL=eT[0],eO=eT[1],eD=P(0,function(e,t){!eI&&eC&&eC({direction:e>t?"top":"bottom"})}),eK=(0,v.Z)(eD,2),eA=eK[0],ez=eK[1],eB=(0,a.useState)([0,0]),ej=(0,v.Z)(eB,2),eW=ej[0],eG=ej[1],eH=(0,a.useState)([0,0]),eX=(0,v.Z)(eH,2),eV=eX[0],eF=eX[1],eq=(0,a.useState)([0,0]),eY=(0,v.Z)(eq,2),eQ=eY[0],eU=eY[1],eJ=(0,a.useState)([0,0]),e0=(0,v.Z)(eJ,2),e1=e0[0],e2=e0[1],e8=(n=new Map,o=(0,a.useRef)([]),i=(0,a.useState)({}),l=(0,v.Z)(i,2)[1],c=(0,a.useRef)("function"==typeof n?n():n),u=I(function(){var e=c.current;o.current.forEach(function(t){e=t(e)}),o.current=[],c.current=e,l({})}),[c.current,function(e){o.current.push(e),u()}]),e6=(0,v.Z)(e8,2),e4=e6[0],e5=e6[1],e9=(s=eV[0],(0,a.useMemo)(function(){for(var e=new Map,t=e4.get(null===(r=es[0])||void 0===r?void 0:r.key)||R,n=t.left+t.width,o=0;oti?ti:e}eI&&eb?(ta=0,ti=Math.max(0,e3-to)):(ta=Math.min(0,to-e3),ti=0);var tf=(0,a.useRef)(),tp=(0,a.useState)(),tv=(0,v.Z)(tp,2),tm=tv[0],tb=tv[1];function th(){tb(Date.now())}function tg(){window.clearTimeout(tf.current)}m=function(e,t){function n(e,t){e(function(e){return td(e+t)})}return!!tn&&(eI?n(eO,e):n(ez,t),tg(),th(),!0)},b=(0,a.useState)(),g=(h=(0,v.Z)(b,2))[0],y=h[1],k=(0,a.useState)(0),Z=(x=(0,v.Z)(k,2))[0],N=x[1],O=(0,a.useState)(0),z=(A=(0,v.Z)(O,2))[0],B=A[1],j=(0,a.useState)(),G=(W=(0,v.Z)(j,2))[0],H=W[1],X=(0,a.useRef)(),V=(0,a.useRef)(),(F=(0,a.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];y({x:t.screenX,y:t.screenY}),window.clearInterval(X.current)},onTouchMove:function(e){if(g){e.preventDefault();var t=e.touches[0],n=t.screenX,o=t.screenY;y({x:n,y:o});var r=n-g.x,a=o-g.y;m(r,a);var i=Date.now();N(i),B(i-Z),H({x:r,y:a})}},onTouchEnd:function(){if(g&&(y(null),H(null),G)){var e=G.x/z,t=G.y/z;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,o=t;X.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(o)){window.clearInterval(X.current);return}m(20*(n*=.9046104802746175),20*(o*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,o=0,r=Math.abs(t),a=Math.abs(n);r===a?o="x"===V.current?t:n:r>a?(o=t,V.current="x"):(o=n,V.current="y"),m(-o,-o)&&e.preventDefault()}},a.useEffect(function(){function e(e){F.current.onTouchMove(e)}function t(e){F.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!1}),e_.current.addEventListener("touchstart",function(e){F.current.onTouchStart(e)},{passive:!1}),e_.current.addEventListener("wheel",function(e){F.current.onWheel(e)}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,a.useEffect)(function(){return tg(),tm&&(tf.current=window.setTimeout(function(){tb(0)},100)),tg},[tm]);var ty=(q=eI?eL:eA,ee=(Y=(0,p.Z)((0,p.Z)({},e),{},{tabs:es})).tabs,et=Y.tabPosition,en=Y.rtl,["top","bottom"].includes(et)?(Q="width",U=en?"right":"left",J=Math.abs(q)):(Q="height",U="top",J=-q),(0,a.useMemo)(function(){if(!ee.length)return[0,0];for(var e=ee.length,t=e,n=0;nJ+to){t=n-1;break}}for(var r=0,a=e-1;a>=0;a-=1)if((e9.get(ee[a].key)||M)[U]=t?[0,0]:[r,t]},[e9,to,e3,te,tt,J,et,ee.map(function(e){return e.key}).join("_"),en])),t$=(0,v.Z)(ty,2),tk=t$[0],tx=t$[1],tZ=(0,E.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:em,t=e9.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eI){var n=eL;eb?t.righteL+to&&(n=t.right+t.width-to):t.left<-eL?n=-t.left:t.left+t.width>-eL+to&&(n=-(t.left+t.width-to)),ez(0),eO(td(n))}else{var o=eA;t.top<-eA?o=-t.top:t.top+t.height>-eA+to&&(o=-(t.top+t.height-to)),eO(0),ez(td(o))}}),tC={};"top"===e$||"bottom"===e$?tC[eb?"marginRight":"marginLeft"]=ek:tC.marginTop=ek;var tw=es.map(function(e,t){var n=e.key;return a.createElement(tc,{id:ep,prefixCls:eu,key:n,tab:e,style:0===t?void 0:tC,closable:e.closable,editable:eg,active:n===em,renderWrapper:ex,removeAriaLabel:null==ey?void 0:ey.removeAriaLabel,onClick:function(e){eZ(n,e)},onFocus:function(){tZ(n),th(),e_.current&&(eb||(e_.current.scrollLeft=0),e_.current.scrollTop=0)}})}),tE=function(){return e5(function(){var e=new Map;return es.forEach(function(t){var n,o=t.key,r=null===(n=eR.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(L(o),'"]'));r&&e.set(o,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})}),e})};(0,a.useEffect)(function(){tE()},[es.map(function(e){return e.key}).join("_")]);var tS=I(function(){var e=tu(ew),t=tu(eE),n=tu(eS);eG([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var o=tu(eN);eU(o),e2(tu(eP));var r=tu(eR);eF([r[0]-o[0],r[1]-o[1]]),tE()}),t_=es.slice(0,tk),tR=es.slice(tx+1),tP=[].concat((0,C.Z)(t_),(0,C.Z)(tR)),tN=(0,a.useState)(),tI=(0,v.Z)(tN,2),tM=tI[0],tT=tI[1],tL=e9.get(em),tO=(0,a.useRef)();function tD(){S.Z.cancel(tO.current)}(0,a.useEffect)(function(){var e={};return tL&&(eI?(eb?e.right=tL.right:e.left=tL.left,e.width=tL.width):(e.top=tL.top,e.height=tL.height)),tD(),tO.current=(0,S.Z)(function(){tT(e)}),tD},[tL,eI,eb]),(0,a.useEffect)(function(){tZ()},[em,ta,ti,T(tL),T(e9),eI]),(0,a.useEffect)(function(){tS()},[eb]);var tK=!!tP.length,tA="".concat(eu,"-nav-wrap");return eI?eb?(ea=eL>0,er=eL!==ti):(er=eL<0,ea=eL!==ta):(ei=eA<0,el=eA!==ta),a.createElement(w.Z,{onResize:tS},a.createElement("div",{ref:(0,_.x1)(t,ew),role:"tablist",className:d()("".concat(eu,"-nav"),ed),style:ef,onKeyDown:function(){th()}},a.createElement(K,{ref:eE,position:"left",extra:eh,prefixCls:eu}),a.createElement("div",{className:d()(tA,(eo={},(0,f.Z)(eo,"".concat(tA,"-ping-left"),er),(0,f.Z)(eo,"".concat(tA,"-ping-right"),ea),(0,f.Z)(eo,"".concat(tA,"-ping-top"),ei),(0,f.Z)(eo,"".concat(tA,"-ping-bottom"),el),eo)),ref:e_},a.createElement(w.Z,{onResize:tS},a.createElement("div",{ref:eR,className:"".concat(eu,"-nav-list"),style:{transform:"translate(".concat(eL,"px, ").concat(eA,"px)"),transition:tm?"none":void 0}},tw,a.createElement(D,{ref:eN,prefixCls:eu,locale:ey,editable:eg,style:(0,p.Z)((0,p.Z)({},0===tw.length?void 0:tC),{},{visibility:tK?"hidden":null})}),a.createElement("div",{className:d()("".concat(eu,"-ink-bar"),(0,f.Z)({},"".concat(eu,"-ink-bar-animated"),ev.inkBar)),style:tM})))),a.createElement(tl,(0,r.Z)({},e,{removeAriaLabel:null==ey?void 0:ey.removeAriaLabel,ref:eP,prefixCls:eu,tabs:tP,className:!tK&&tr,tabMoving:!!tm})),a.createElement(K,{ref:eS,position:"right",extra:eh,prefixCls:eu})))}),tf=["renderTabBar"],tp=["label","key"];function tv(e){var t=e.renderTabBar,n=(0,b.Z)(e,tf),o=a.useContext($).tabs;return t?t((0,p.Z)((0,p.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,b.Z)(e,tp);return a.createElement(k,(0,r.Z)({tab:t,key:n,tabKey:n},o))})}),td):a.createElement(td,n)}var tm=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],tb=0,th=a.forwardRef(function(e,t){var n,o,i=e.id,l=e.prefixCls,c=void 0===l?"rc-tabs":l,u=e.className,s=e.items,y=e.direction,k=e.activeKey,x=e.defaultActiveKey,C=e.editable,w=e.animated,E=e.tabPosition,S=void 0===E?"top":E,_=e.tabBarGutter,R=e.tabBarStyle,P=e.tabBarExtraContent,N=e.locale,I=e.moreIcon,M=e.moreTransitionName,T=e.destroyInactiveTabPane,L=e.renderTabBar,O=e.onChange,D=e.onTabClick,K=e.onTabScroll,A=e.getPopupContainer,z=e.popupClassName,B=(0,b.Z)(e,tm),j=a.useMemo(function(){return(s||[]).filter(function(e){return e&&"object"===(0,m.Z)(e)&&"key"in e})},[s]),W="rtl"===y,G=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,p.Z)({inkBar:!0},"object"===(0,m.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(w),H=(0,a.useState)(!1),X=(0,v.Z)(H,2),V=X[0],F=X[1];(0,a.useEffect)(function(){F((0,h.Z)())},[]);var q=(0,g.Z)(function(){var e;return null===(e=j[0])||void 0===e?void 0:e.key},{value:k,defaultValue:x}),Y=(0,v.Z)(q,2),Q=Y[0],U=Y[1],J=(0,a.useState)(function(){return j.findIndex(function(e){return e.key===Q})}),ee=(0,v.Z)(J,2),et=ee[0],en=ee[1];(0,a.useEffect)(function(){var e,t=j.findIndex(function(e){return e.key===Q});-1===t&&(t=Math.max(0,Math.min(et,j.length-1)),U(null===(e=j[t])||void 0===e?void 0:e.key)),en(t)},[j.map(function(e){return e.key}).join("_"),Q,et]);var eo=(0,g.Z)(null,{value:i}),er=(0,v.Z)(eo,2),ea=er[0],ei=er[1];(0,a.useEffect)(function(){i||(ei("rc-tabs-".concat(tb)),tb+=1)},[]);var el={id:ea,activeKey:Q,animated:G,tabPosition:S,rtl:W,mobile:V},ec=(0,p.Z)((0,p.Z)({},el),{},{editable:C,locale:N,moreIcon:I,moreTransitionName:M,tabBarGutter:_,onTabClick:function(e,t){null==D||D(e,t);var n=e!==Q;U(e),n&&(null==O||O(e))},onTabScroll:K,extra:P,style:R,panes:null,getPopupContainer:A,popupClassName:z});return a.createElement($.Provider,{value:{tabs:j,prefixCls:c}},a.createElement("div",(0,r.Z)({ref:t,id:i,className:d()(c,"".concat(c,"-").concat(S),(n={},(0,f.Z)(n,"".concat(c,"-mobile"),V),(0,f.Z)(n,"".concat(c,"-editable"),C),(0,f.Z)(n,"".concat(c,"-rtl"),W),n),u)},B),o,a.createElement(tv,(0,r.Z)({},ec,{renderTabBar:L})),a.createElement(Z,(0,r.Z)({destroyInactiveTabPane:T},el,{animated:G}))))}),tg=n(53124),ty=n(98675),t$=n(33603);let tk={motionAppear:!1,motionEnter:!0,motionLeave:!0};var tx=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},tZ=n(14747),tC=n(67968),tw=n(45503),tE=n(67771),tS=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,tE.oN)(e,"slide-up"),(0,tE.oN)(e,"slide-down")]]};let t_=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:o,cardGutter:r,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${e.lineWidth}px ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${r}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${r}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},tR=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,tZ.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${o}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},tZ.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},tP=e=>{let{componentCls:t,margin:n,colorBorderSecondary:o,horizontalMargin:r,verticalItemPadding:a,verticalItemMargin:i}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},tN=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:o,horizontalItemPaddingSM:r,horizontalItemPaddingLG:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o}}}}}},tI=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:o,iconCls:r,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,tZ.Qy)(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${r}`]:{margin:0},[r]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},tM=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:o,cardGutter:r}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},tT=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:o,cardGutter:r,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tZ.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:o,marginLeft:{_skip_check_:!0,value:r},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,tZ.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),tI(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var tL=(0,tC.Z)("Tabs",e=>{let t=(0,tw.TS)(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[tN(t),tM(t),tP(t),tR(t),t_(t),tT(t),tS(t)]},e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),tO=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let tD=e=>{let t;let{type:n,className:r,rootClassName:i,size:l,onEdit:s,hideAdd:f,centered:p,addIcon:v,popupClassName:m,children:b,items:h,animated:g,style:y}=e,$=tO(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:k,moreIcon:x=a.createElement(c,null)}=$,{direction:Z,tabs:C,getPrefixCls:w,getPopupContainer:E}=a.useContext(tg.E_),S=w("tabs",k),[_,R]=tL(S);"editable-card"===n&&(t={onEdit:(e,t)=>{let{key:n,event:o}=t;null==s||s("add"===e?o:n,e)},removeIcon:a.createElement(o.Z,null),addIcon:v||a.createElement(u.Z,null),showAdd:!0!==f});let P=w(),N=function(e,t){if(e)return e;let n=(0,eq.Z)(t).map(e=>{if(a.isValidElement(e)){let{key:t,props:n}=e,o=n||{},{tab:r}=o,a=tx(o,["tab"]),i=Object.assign(Object.assign({key:String(t)},a),{label:r});return i}return null});return n.filter(e=>e)}(h,b),I=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},tk),{motionName:(0,t$.m)(e,"switch")})),t}(S,g),M=(0,ty.Z)(l),T=Object.assign(Object.assign({},null==C?void 0:C.style),y);return _(a.createElement(th,Object.assign({direction:Z,getPopupContainer:E,moreTransitionName:`${P}-slide-up`},$,{items:N,className:d()({[`${S}-${M}`]:M,[`${S}-card`]:["card","editable-card"].includes(n),[`${S}-editable-card`]:"editable-card"===n,[`${S}-centered`]:p},null==C?void 0:C.className,r,i,R),popupClassName:d()(m,R),style:T,editable:t,moreIcon:x,prefixCls:S,animated:I})))};tD.TabPane=()=>null;var tK=tD}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/913-e3ab2daf183d352e.js b/pilot/server/static/_next/static/chunks/913-e3ab2daf183d352e.js new file mode 100644 index 000000000..66341c091 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/913-e3ab2daf183d352e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[913],{76043:function(r,e,n){var t=n(67294);let o=t.createContext(void 0);e.Z=o},75913:function(r,e,n){n.d(e,{ZP:function(){return H}});var t=n(63366),o=n(87462),a=n(67294),i=n(14142),l=n(94780),d=n(74312),u=n(20407),c=n(78653),s=n(30220),p=n(26821);function v(r){return(0,p.d6)("MuiInput",r)}let I=(0,p.sI)("MuiInput",["root","input","formControl","focused","disabled","error","adornedStart","adornedEnd","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid","fullWidth","startDecorator","endDecorator"]);var h=n(8869),g=n(85893);let f=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],m=r=>{let{disabled:e,fullWidth:n,variant:t,color:o,size:a}=r,d={root:["root",e&&"disabled",n&&"fullWidth",t&&`variant${(0,i.Z)(t)}`,o&&`color${(0,i.Z)(o)}`,a&&`size${(0,i.Z)(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(d,v,{})},b=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t,a,i,l;let d=null==(n=r.variants[`${e.variant}`])?void 0:n[e.color];return[(0,o.Z)({"--Input-radius":r.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.5,"--Input-focused":"0","--Input-focusedThickness":r.vars.focus.thickness},"context"===e.color?{"--Input-focusedHighlight":r.vars.palette.focusVisible}:{"--Input-focusedHighlight":null==(t=r.vars.palette["neutral"===e.color?"primary":e.color])?void 0:t[500]},"sm"===e.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":"1.25rem"},"md"===e.size&&{"--Input-minHeight":"2.5rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(2rem, var(--Input-minHeight))","--Icon-fontSize":"1.5rem"},"lg"===e.size&&{"--Input-minHeight":"3rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.375rem, var(--Input-minHeight))","--Icon-fontSize":"1.75rem"},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box",minWidth:0,minHeight:"var(--Input-minHeight)"},e.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)",fontFamily:r.vars.fontFamily.body,fontSize:r.vars.fontSize.md},"sm"===e.size&&{fontSize:r.vars.fontSize.sm},{"&:before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),(0,o.Z)({},d,{backgroundColor:null!=(a=null==d?void 0:d.backgroundColor)?a:r.vars.palette.background.surface,"&:hover":(0,o.Z)({},null==(i=r.variants[`${e.variant}Hover`])?void 0:i[e.color],{backgroundColor:null}),[`&.${I.disabled}`]:null==(l=r.variants[`${e.variant}Disabled`])?void 0:l[e.color],"&:focus-within::before":{"--Input-focused":"1"}})]}),Z=(0,d.Z)("input")(({ownerState:r})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":(0,o.Z)({paddingInline:"var(--Input-paddingInline)"},!r.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!r.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}})),C=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:r.vars.palette.text.tertiary,cursor:"initial"},e.focused&&{color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),y=(0,d.Z)("div")(({theme:r,ownerState:e})=>{var n,t;return(0,o.Z)({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:null==(n=r.variants[e.variant])||null==(n=n[e.color])?void 0:n.color,cursor:"initial"},e.disabled&&{color:null==(t=r.variants[`${e.variant}Disabled`])||null==(t=t[e.color])?void 0:t.color})}),x=(0,d.Z)(b,{name:"JoyInput",slot:"Root",overridesResolver:(r,e)=>e.root})({}),S=(0,d.Z)(Z,{name:"JoyInput",slot:"Input",overridesResolver:(r,e)=>e.input})({}),z=(0,d.Z)(C,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(r,e)=>e.startDecorator})({}),k=(0,d.Z)(y,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(r,e)=>e.endDecorator})({}),D=a.forwardRef(function(r,e){var n,a,i,l,d;let p=(0,u.Z)({props:r,name:"JoyInput"}),v=(0,h.Z)(p,I),{propsToForward:b,rootStateClasses:Z,inputStateClasses:C,getRootProps:y,getInputProps:D,formControl:H,focused:R,error:B=!1,disabled:W,fullWidth:w=!1,size:F="md",color:P="neutral",variant:O="outlined",startDecorator:T,endDecorator:E,component:$,slots:N={},slotProps:_={}}=v,q=(0,t.Z)(v,f),J=null!=(n=null!=(a=r.error)?a:null==H?void 0:H.error)?n:B,V=null!=(i=null!=(l=r.size)?l:null==H?void 0:H.size)?i:F,{getColor:j}=(0,c.VT)(O),L=j(r.color,J?"danger":null!=(d=null==H?void 0:H.color)?d:P),M=(0,o.Z)({},p,{fullWidth:w,color:L,disabled:W,error:J,focused:R,size:V,variant:O}),K=m(M),U=(0,o.Z)({},q,{component:$,slots:N,slotProps:_}),[A,G]=(0,s.Z)("root",{ref:e,className:[K.root,Z],elementType:x,getSlotProps:y,externalForwardedProps:U,ownerState:M}),[Q,X]=(0,s.Z)("input",(0,o.Z)({},H&&{additionalProps:{id:H.htmlFor,"aria-describedby":H["aria-describedby"]}},{className:[K.input,C],elementType:S,getSlotProps:D,internalForwardedProps:b,externalForwardedProps:U,ownerState:M})),[Y,rr]=(0,s.Z)("startDecorator",{className:K.startDecorator,elementType:z,externalForwardedProps:U,ownerState:M}),[re,rn]=(0,s.Z)("endDecorator",{className:K.endDecorator,elementType:k,externalForwardedProps:U,ownerState:M});return(0,g.jsxs)(A,(0,o.Z)({},G,{children:[T&&(0,g.jsx)(Y,(0,o.Z)({},rr,{children:T})),(0,g.jsx)(Q,(0,o.Z)({},X)),E&&(0,g.jsx)(re,(0,o.Z)({},rn,{children:E}))]}))});var H=D},8869:function(r,e,n){n.d(e,{Z:function(){return p}});var t=n(87462),o=n(63366),a=n(67294),i=n(71387),l=n(33703);let d=a.createContext(void 0);var u=n(30437),c=n(76043);let s=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];function p(r,e){let n=a.useContext(c.Z),{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,className:f,defaultValue:m,disabled:b,error:Z,id:C,name:y,onClick:x,onChange:S,onKeyDown:z,onKeyUp:k,onFocus:D,onBlur:H,placeholder:R,readOnly:B,required:W,type:w,value:F}=r,P=(0,o.Z)(r,s),{getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N}=function(r){let e,n,o,c,s;let{defaultValue:p,disabled:v=!1,error:I=!1,onBlur:h,onChange:g,onFocus:f,required:m=!1,value:b,inputRef:Z}=r,C=a.useContext(d);if(C){var y,x,S;e=void 0,n=null!=(y=C.disabled)&&y,o=null!=(x=C.error)&&x,c=null!=(S=C.required)&&S,s=C.value}else e=p,n=v,o=I,c=m,s=b;let{current:z}=a.useRef(null!=s),k=a.useCallback(r=>{},[]),D=a.useRef(null),H=(0,l.Z)(D,Z,k),[R,B]=a.useState(!1);a.useEffect(()=>{!C&&n&&R&&(B(!1),null==h||h())},[C,n,R,h]);let W=r=>e=>{var n,t;if(null!=C&&C.disabled){e.stopPropagation();return}null==(n=r.onFocus)||n.call(r,e),C&&C.onFocus?null==C||null==(t=C.onFocus)||t.call(C):B(!0)},w=r=>e=>{var n;null==(n=r.onBlur)||n.call(r,e),C&&C.onBlur?C.onBlur():B(!1)},F=r=>(e,...n)=>{var t,o;if(!z){let r=e.target||D.current;if(null==r)throw Error((0,i.Z)(17))}null==C||null==(t=C.onChange)||t.call(C,e),null==(o=r.onChange)||o.call(r,e,...n)},P=r=>e=>{var n;D.current&&e.currentTarget===e.target&&D.current.focus(),null==(n=r.onClick)||n.call(r,e)};return{disabled:n,error:o,focused:R,formControlContext:C,getInputProps:(r={})=>{let a=(0,t.Z)({},{onBlur:h,onChange:g,onFocus:f},(0,u.Z)(r)),i=(0,t.Z)({},r,a,{onBlur:w(a),onChange:F(a),onFocus:W(a)});return(0,t.Z)({},i,{"aria-invalid":o||void 0,defaultValue:e,ref:H,value:s,required:c,disabled:n})},getRootProps:(e={})=>{let n=(0,u.Z)(r,["onBlur","onChange","onFocus"]),o=(0,t.Z)({},n,(0,u.Z)(e));return(0,t.Z)({},e,o,{onClick:P(o)})},inputRef:H,required:c,value:s}}({disabled:null!=b?b:null==n?void 0:n.disabled,defaultValue:m,error:Z,onBlur:H,onClick:x,onChange:S,onFocus:D,required:null!=W?W:null==n?void 0:n.required,value:F}),_={[e.disabled]:N,[e.error]:$,[e.focused]:E,[e.formControl]:!!n,[f]:f},q={[e.disabled]:N};return(0,t.Z)({formControl:n,propsToForward:{"aria-describedby":p,"aria-label":v,"aria-labelledby":I,autoComplete:h,autoFocus:g,disabled:N,id:C,onKeyDown:z,onKeyUp:k,name:y,placeholder:R,readOnly:B,type:w},rootStateClasses:_,inputStateClasses:q,getRootProps:O,getInputProps:T,focused:E,error:$,disabled:N},P)}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/932-401b6290e4f07233.js b/pilot/server/static/_next/static/chunks/932-401b6290e4f07233.js deleted file mode 100644 index 62263883a..000000000 --- a/pilot/server/static/_next/static/chunks/932-401b6290e4f07233.js +++ /dev/null @@ -1,14 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[932],{89620:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?g[C]+" "+x:i(x,/&\f/g,g[C])).trim())&&(p[$++]=w);return b(e,t,n,0===o?P:u,p,d,f)}function _(e,t,n,r){return b(e,t,n,D,c(e,0,r),c(e,r+1,-1),r)}var R=function(e,t,n){for(var r=0,a=0;r=a,a=x(),38===r&&12===a&&(t[n]=1),!w(a);)C();return c(y,e,m)},T=function(e,t){var n=-1,r=44;do switch(w(r)){case 0:38===r&&12===x()&&(t[n]=1),e[n]+=R(m-1,t,n);break;case 2:e[n]+=Z(r);break;case 4:if(44===r){e[++n]=58===x()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}while(r=C());return e},z=function(e,t){var n;return n=T(k(e),t),y="",n},I=new WeakMap,M=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||I.get(n))&&!r){I.set(e,!0);for(var a=[],o=z(t,a),l=n.props,i=0,s=0;i-1&&!e.return)switch(e.type){case D:e.return=function e(t,n){switch(45^u(t,0)?(((n<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return A+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return A+t+S+t+B+t+t;case 6828:case 4268:return A+t+B+t+t;case 6165:return A+t+B+"flex-"+t+t;case 5187:return A+t+i(t,/(\w+).+(:[^]+)/,A+"box-$1$2"+B+"flex-$1$2")+t;case 5443:return A+t+B+"flex-item-"+i(t,/flex-|-self/,"")+t;case 4675:return A+t+B+"flex-line-pack"+i(t,/align-content|flex-|-self/,"")+t;case 5548:return A+t+B+i(t,"shrink","negative")+t;case 5292:return A+t+B+i(t,"basis","preferred-size")+t;case 6060:return A+"box-"+i(t,"-grow","")+A+t+B+i(t,"grow","positive")+t;case 4554:return A+i(t,/([^-])(transform)/g,"$1"+A+"$2")+t;case 6187:return i(i(i(t,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),t,"")+t;case 5495:case 3959:return i(t,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return i(i(t,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+B+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+t+t;case 4095:case 3583:case 4068:case 2532:return i(t,/(.+)-inline(.+)/,A+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(t)-1-n>6)switch(u(t,n+1)){case 109:if(45!==u(t,n+4))break;case 102:return i(t,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+S+(108==u(t,n+3)?"$3":"$2-$3"))+t;case 115:return~s(t,"stretch")?e(i(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==u(t,n+1))break;case 6444:switch(u(t,p(t)-3-(~s(t,"!important")&&10))){case 107:return i(t,":",":"+A)+t;case 101:return i(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(45===u(t,14)?"inline-":"")+"box$3$1"+A+"$2$3$1"+B+"$2box$3")+t}break;case 5936:switch(u(t,n+11)){case 114:return A+t+B+i(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return A+t+B+i(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return A+t+B+i(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return A+t+B+t+t}return t}(e.value,e.length);break;case F:return O([$(e,{value:i(e.value,"@","@"+A)})],r);case P:if(e.length)return e.props.map(function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return O([$(e,{props:[i(t,/:(read-\w+)/,":"+S+"$1")]})],r);case"::placeholder":return O([$(e,{props:[i(t,/:(plac\w+)/,":"+A+"input-$1")]}),$(e,{props:[i(t,/:(plac\w+)/,":"+S+"$1")]}),$(e,{props:[i(t,/:(plac\w+)/,B+"input-$1")]})],r)}return""}).join("")}}],K=function(e){var t,n,a,l,g,$=e.key;if("css"===$){var B=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(B,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var S=e.stylisPlugins||W,A={},P=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+$+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||w(v)>3?"":" "}(E);break;case 92:L+=function(e,t){for(var n;--t&&C()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return n=m+(t<6&&32==x()&&32==C()),c(y,e,n)}(m-1,7);continue;case 47:switch(x()){case 42:case 47:d(b(S=function(e,t){for(;C();)if(e+v===57)break;else if(e+v===84&&47===x())break;return"/*"+c(y,t,m-1)+"*"+o(47===e?e:C())}(C(),m),n,r,H,o(v),c(S,2,-2),0),B);break;default:L+="/"}break;case 123*R:k[A++]=p(L)*z;case 125*R:case 59:case 0:switch(I){case 0:case 125:T=0;case 59+P:-1==z&&(L=i(L,/\f/g,"")),O>0&&p(L)-D&&d(O>32?_(L+";",a,r,D-1):_(i(L," ","")+";",a,r,D-2),B);break;case 59:L+=";";default:if(d(K=j(L,n,r,A,P,l,k,M,N=[],W=[],D),g),123===I){if(0===P)e(L,n,K,K,N,g,D,k,W);else switch(99===F&&110===u(L,3)?100:F){case 100:case 108:case 109:case 115:e(t,K,K,a&&d(j(t,K,K,0,0,l,k,M,l,N=[],D),W),l,W,D,k,a?N:W);break;default:e(L,K,K,K,[""],W,0,k,W)}}}A=P=O=0,R=z=1,M=L="",D=$;break;case 58:D=1+p(L),O=E;default:if(R<1){if(123==I)--R;else if(125==I&&0==R++&&125==(v=m>0?u(y,--m):0,h--,10===v&&(h=1,f--),v))continue}switch(L+=o(I),I*R){case 38:z=P>0?1:(L+="\f",-1);break;case 44:k[A++]=(p(L)-1)*z,z=1;break;case 64:45===x()&&(L+=Z(C())),F=x(),P=D=p(M=L+=function(e){for(;!w(x());)C();return c(y,e,m)}(m)),I++;break;case 45:45===E&&2==p(L)&&(R=0)}}return g}("",null,null,null,[""],t=k(t=e),0,[0],t),y="",n),D)},R={key:$,sheet:new r({key:$,container:l,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:A,registered:{},insert:function(e,t,n,r){g=n,F(e?e+"{"+t.styles+"}":t.styles),r&&(R.inserted[t.name]=!0)}};return R.sheet.hydrate(P),R}},83596:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},17464:function(e,t,n){"use strict";n.d(t,{T:function(){return s},i:function(){return o},w:function(){return i}});var r=n(86006),a=n(89620);n(50558),n(85124);var o=!0,l=r.createContext("undefined"!=typeof HTMLElement?(0,a.Z)({key:"css"}):null);l.Provider;var i=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(l),n)})};o||(i=function(e){return function(t){var n=(0,r.useContext)(l);return null===n?(n=(0,a.Z)({key:"css"}),r.createElement(l.Provider,{value:n},e(t,n))):e(t,n)}});var s=r.createContext({})},72120:function(e,t,n){"use strict";n.d(t,{F4:function(){return c},iv:function(){return u},xB:function(){return s}});var r=n(17464),a=n(86006),o=n(75941),l=n(85124),i=n(50558);n(89620),n(86979);var s=(0,r.w)(function(e,t){var n=e.styles,s=(0,i.O)([n],void 0,a.useContext(r.T));if(!r.i){for(var u,c=s.name,p=s.styles,d=s.next;void 0!==d;)c+=" "+d.name,p+=d.styles,d=d.next;var f=!0===t.compat,h=t.insert("",{name:c,styles:p},t.sheet,f);return f?null:a.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var g=a.useRef();return(0,l.j)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),g.current=[n,r],function(){n.flush()}},[t]),(0,l.j)(function(){var e=g.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==s.next&&(0,o.My)(t,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",s,n,!1)},[t,s.name]),null});function u(){for(var e=arguments.length,t=Array(e),n=0;n=4;++r,a-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(l)+u,styles:l,next:r}}},85124:function(e,t,n){"use strict";n.d(t,{L:function(){return l},j:function(){return i}});var r,a=n(86006),o=!!(r||(r=n.t(a,2))).useInsertionEffect&&(r||(r=n.t(a,2))).useInsertionEffect,l=o||function(e){return e()},i=o||a.useLayoutEffect},75941:function(e,t,n){"use strict";function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "}),r}n.d(t,{My:function(){return o},fp:function(){return r},hC:function(){return a}});var a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},46240:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(40431);function a(e,t,n){return void 0===e||"string"==typeof e?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,n)})}},50487:function(e,t,n){"use strict";function r(e,t=[]){if(void 0===e)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}n.d(t,{Z:function(){return r}})},28426:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40431),a=n(89791),o=n(50487);function l(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t}function i(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:i,externalForwardedProps:s,className:u}=e;if(!t){let e=(0,a.Z)(null==s?void 0:s.className,null==i?void 0:i.className,u,null==n?void 0:n.className),t=(0,r.Z)({},null==n?void 0:n.style,null==s?void 0:s.style,null==i?void 0:i.style),o=(0,r.Z)({},n,s,i);return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let c=(0,o.Z)((0,r.Z)({},s,i)),p=l(i),d=l(s),f=t(c),h=(0,a.Z)(null==f?void 0:f.className,null==n?void 0:n.className,u,null==s?void 0:s.className,null==i?void 0:i.className),g=(0,r.Z)({},null==f?void 0:f.style,null==n?void 0:n.style,null==s?void 0:s.style,null==i?void 0:i.style),m=(0,r.Z)({},f,n,d,p);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:f.ref}}},61914:function(e,t,n){"use strict";function r(e,t,n){return"function"==typeof e?e(t,n):e}n.d(t,{Z:function(){return r}})},90545:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(40431),a=n(46750),o=n(86006),l=n(73702),i=n(4323),s=n(51579),u=n(86601),c=n(95887),p=n(9268);let d=["className","component"];var f=n(47327),h=n(98918),g=n(8622);let m=function(e={}){let{themeId:t,defaultTheme:n,defaultClassName:f="MuiBox-root",generateClassName:h}=e,g=(0,i.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),m=o.forwardRef(function(e,o){let i=(0,c.Z)(n),s=(0,u.Z)(e),{className:m,component:v="div"}=s,y=(0,a.Z)(s,d);return(0,p.jsx)(g,(0,r.Z)({as:v,ref:o,className:(0,l.Z)(m,h?h(f):f),theme:t&&i[t]||i},y))});return m}({themeId:g.Z,defaultTheme:h.Z,defaultClassName:"MuiBox-root",generateClassName:f.Z.generate});var v=m},18587:function(e,t,n){"use strict";n.d(t,{d6:function(){return o},sI:function(){return l}});var r=n(13809),a=n(88539);let o=(e,t)=>(0,r.Z)(e,t,"Joy"),l=(e,t)=>(0,a.Z)(e,t,"Joy")},38230:function(e,t){"use strict";t.Z={grey:{50:"#F7F7F8",100:"#EBEBEF",200:"#D8D8DF",300:"#B9B9C6",400:"#8F8FA3",500:"#73738C",600:"#5A5A72",700:"#434356",800:"#25252D",900:"#131318"},blue:{50:"#F4FAFF",100:"#DDF1FF",200:"#ADDBFF",300:"#6FB6FF",400:"#3990FF",500:"#096BDE",600:"#054DA7",700:"#02367D",800:"#072859",900:"#00153C"},yellow:{50:"#FFF8C5",100:"#FAE17D",200:"#EAC54F",300:"#D4A72C",400:"#BF8700",500:"#9A6700",600:"#7D4E00",700:"#633C01",800:"#4D2D00",900:"#3B2300"},red:{50:"#FFF8F6",100:"#FFE9E8",200:"#FFC7C5",300:"#FF9192",400:"#FA5255",500:"#D3232F",600:"#A10E25",700:"#77061B",800:"#580013",900:"#39000D"},green:{50:"#F3FEF5",100:"#D7F5DD",200:"#77EC95",300:"#4CC76E",400:"#2CA24D",500:"#1A7D36",600:"#0F5D26",700:"#034318",800:"#002F0F",900:"#001D09"},purple:{50:"#FDF7FF",100:"#F4EAFF",200:"#E1CBFF",300:"#C69EFF",400:"#A374F9",500:"#814DDE",600:"#5F35AE",700:"#452382",800:"#301761",900:"#1D0A42"}}},47093:function(e,t,n){"use strict";n.d(t,{VT:function(){return s},do:function(){return u}});var r=n(86006),a=n(29720),o=n(98918),l=n(9268);let i=r.createContext(void 0),s=e=>{let t=r.useContext(i);return{getColor:(n,r)=>t&&e&&t.includes(e)?n||"context":n||r}};function u({children:e,variant:t}){var n;let r=(0,a.F)();return(0,l.jsx)(i.Provider,{value:t?(null!=(n=r.colorInversionConfig)?n:o.Z.colorInversionConfig)[t]:void 0,children:e})}t.ZP=i},29720:function(e,t,n){"use strict";n.d(t,{F:function(){return u},Z:function(){return c}}),n(86006);var r=n(95887),a=n(14446),o=n(98918),l=n(41287),i=n(8622),s=n(9268);let u=()=>{let e=(0,r.Z)(o.Z);return e[i.Z]||e};function c({children:e,theme:t}){let n=o.Z;return t&&(n=(0,l.Z)(i.Z in t?t[i.Z]:t)),(0,s.jsx)(a.Z,{theme:n,themeId:t&&i.Z in t?i.Z:void 0,children:e})}},98918:function(e,t,n){"use strict";var r=n(41287);let a=(0,r.Z)();t.Z=a},41287:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(40431),a=n(46750),o=n(95135),l=n(82190),i=n(23343),s=n(57716),u=n(93815);let c=(e,t,n,r=[])=>{let a=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(a)?a[Number(e)]=n:a&&"object"==typeof a&&(a[e]=n):a&&"object"==typeof a&&(a[e]||(a[e]=r.includes(e)?[]:{}),a=a[e])})},p=(e,t,n)=>{!function e(r,a=[],o=[]){Object.entries(r).forEach(([r,l])=>{n&&(!n||n([...a,r]))||null==l||("object"==typeof l&&Object.keys(l).length>0?e(l,[...a,r],Array.isArray(l)?[...o,r]:o):t([...a,r],l,o))})}(e)},d=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t)))return t;let n=e[e.length-1];return n.toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function f(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},a={},o={},l={};return p(e,(e,t,i)=>{if(("string"==typeof t||"number"==typeof t)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(a,{[r]:d(e,t)}),c(o,e,`var(${r})`,i),c(l,e,`var(${r}, ${t})`,i)}},e=>"vars"===e[0]),{css:a,vars:o,varsWithDefaults:l}}let h=["colorSchemes","components"],g=["light"];var m=function(e,t){let{colorSchemes:n={}}=e,l=(0,a.Z)(e,h),{vars:i,css:s,varsWithDefaults:u}=f(l,t),c=u,p={},{light:d}=n,m=(0,a.Z)(n,g);if(Object.entries(m||{}).forEach(([e,n])=>{let{vars:r,css:a,varsWithDefaults:l}=f(n,t);c=(0,o.Z)(c,l),p[e]={css:a,vars:r}}),d){let{css:e,vars:n,varsWithDefaults:r}=f(d,t);c=(0,o.Z)(c,r),p.light={css:e,vars:n}}return{vars:c,generateCssVars:e=>e?{css:(0,r.Z)({},p[e].css),vars:p[e].vars}:{css:(0,r.Z)({},s),vars:i}}},v=n(51579),y=n(2272);let b=(0,r.Z)({},y.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var $=n(38230);function C(e){var t;return!!e[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null!=(t=e[1])&&t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}var x=n(18587),w=n(52428);let k=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],Z=["colorSchemes"],B=(e="joy")=>(0,l.Z)(e);function S(e){var t,n,l,c,p,d,f,h,g,y,S,A,H,P,D,F,O,E,j,_,R,T,z,I,M,N,W,K,L,V,G,q,U,X,Y,J,Q,ee,et,en,er,ea,eo,el,ei,es,eu,ec,ep,ed,ef,eh,eg,em,ev,ey;let eb=e||{},{cssVarPrefix:e$="joy",breakpoints:eC,spacing:ex,components:ew,variants:ek,colorInversion:eZ,shouldSkipGeneratingVar:eB=C}=eb,eS=(0,a.Z)(eb,k),eA=B(e$),eH={primary:$.Z.blue,neutral:$.Z.grey,danger:$.Z.red,info:$.Z.purple,success:$.Z.green,warning:$.Z.yellow,common:{white:"#FFF",black:"#09090D"}},eP=e=>{var t;let n=e.split("-"),r=n[1],a=n[2];return eA(e,null==(t=eH[r])?void 0:t[a])},eD=e=>({plainColor:eP(`palette-${e}-600`),plainHoverBg:eP(`palette-${e}-100`),plainActiveBg:eP(`palette-${e}-200`),plainDisabledColor:eP(`palette-${e}-200`),outlinedColor:eP(`palette-${e}-500`),outlinedBorder:eP(`palette-${e}-200`),outlinedHoverBg:eP(`palette-${e}-100`),outlinedHoverBorder:eP(`palette-${e}-300`),outlinedActiveBg:eP(`palette-${e}-200`),outlinedDisabledColor:eP(`palette-${e}-100`),outlinedDisabledBorder:eP(`palette-${e}-100`),softColor:eP(`palette-${e}-600`),softBg:eP(`palette-${e}-100`),softHoverBg:eP(`palette-${e}-200`),softActiveBg:eP(`palette-${e}-300`),softDisabledColor:eP(`palette-${e}-300`),softDisabledBg:eP(`palette-${e}-50`),solidColor:"#fff",solidBg:eP(`palette-${e}-500`),solidHoverBg:eP(`palette-${e}-600`),solidActiveBg:eP(`palette-${e}-700`),solidDisabledColor:"#fff",solidDisabledBg:eP(`palette-${e}-200`)}),eF=e=>({plainColor:eP(`palette-${e}-300`),plainHoverBg:eP(`palette-${e}-800`),plainActiveBg:eP(`palette-${e}-700`),plainDisabledColor:eP(`palette-${e}-800`),outlinedColor:eP(`palette-${e}-200`),outlinedBorder:eP(`palette-${e}-700`),outlinedHoverBg:eP(`palette-${e}-800`),outlinedHoverBorder:eP(`palette-${e}-600`),outlinedActiveBg:eP(`palette-${e}-900`),outlinedDisabledColor:eP(`palette-${e}-800`),outlinedDisabledBorder:eP(`palette-${e}-800`),softColor:eP(`palette-${e}-200`),softBg:eP(`palette-${e}-900`),softHoverBg:eP(`palette-${e}-800`),softActiveBg:eP(`palette-${e}-700`),softDisabledColor:eP(`palette-${e}-800`),softDisabledBg:eP(`palette-${e}-900`),solidColor:"#fff",solidBg:eP(`palette-${e}-600`),solidHoverBg:eP(`palette-${e}-700`),solidActiveBg:eP(`palette-${e}-800`),solidDisabledColor:eP(`palette-${e}-700`),solidDisabledBg:eP(`palette-${e}-900`)}),eO={palette:{mode:"light",primary:(0,r.Z)({},eH.primary,eD("primary")),neutral:(0,r.Z)({},eH.neutral,{plainColor:eP("palette-neutral-800"),plainHoverColor:eP("palette-neutral-900"),plainHoverBg:eP("palette-neutral-100"),plainActiveBg:eP("palette-neutral-200"),plainDisabledColor:eP("palette-neutral-300"),outlinedColor:eP("palette-neutral-800"),outlinedBorder:eP("palette-neutral-200"),outlinedHoverColor:eP("palette-neutral-900"),outlinedHoverBg:eP("palette-neutral-100"),outlinedHoverBorder:eP("palette-neutral-300"),outlinedActiveBg:eP("palette-neutral-200"),outlinedDisabledColor:eP("palette-neutral-300"),outlinedDisabledBorder:eP("palette-neutral-100"),softColor:eP("palette-neutral-800"),softBg:eP("palette-neutral-100"),softHoverColor:eP("palette-neutral-900"),softHoverBg:eP("palette-neutral-200"),softActiveBg:eP("palette-neutral-300"),softDisabledColor:eP("palette-neutral-300"),softDisabledBg:eP("palette-neutral-50"),solidColor:eP("palette-common-white"),solidBg:eP("palette-neutral-600"),solidHoverBg:eP("palette-neutral-700"),solidActiveBg:eP("palette-neutral-800"),solidDisabledColor:eP("palette-neutral-300"),solidDisabledBg:eP("palette-neutral-50")}),danger:(0,r.Z)({},eH.danger,eD("danger")),info:(0,r.Z)({},eH.info,eD("info")),success:(0,r.Z)({},eH.success,eD("success")),warning:(0,r.Z)({},eH.warning,eD("warning"),{solidColor:eP("palette-warning-800"),solidBg:eP("palette-warning-200"),solidHoverBg:eP("palette-warning-300"),solidActiveBg:eP("palette-warning-400"),solidDisabledColor:eP("palette-warning-200"),solidDisabledBg:eP("palette-warning-50"),softColor:eP("palette-warning-800"),softBg:eP("palette-warning-50"),softHoverBg:eP("palette-warning-100"),softActiveBg:eP("palette-warning-200"),softDisabledColor:eP("palette-warning-200"),softDisabledBg:eP("palette-warning-50"),outlinedColor:eP("palette-warning-800"),outlinedHoverBg:eP("palette-warning-50"),plainColor:eP("palette-warning-800"),plainHoverBg:eP("palette-warning-50")}),common:{white:"#FFF",black:"#09090D"},text:{primary:eP("palette-neutral-800"),secondary:eP("palette-neutral-600"),tertiary:eP("palette-neutral-500")},background:{body:eP("palette-common-white"),surface:eP("palette-common-white"),popup:eP("palette-common-white"),level1:eP("palette-neutral-50"),level2:eP("palette-neutral-100"),level3:eP("palette-neutral-200"),tooltip:eP("palette-neutral-800"),backdrop:"rgba(255 255 255 / 0.5)"},divider:`rgba(${eA("palette-neutral-mainChannel",(0,i.n8)(eH.neutral[500]))} / 0.28)`,focusVisible:eP("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"187 187 187"},eE={palette:{mode:"dark",primary:(0,r.Z)({},eH.primary,eF("primary")),neutral:(0,r.Z)({},eH.neutral,{plainColor:eP("palette-neutral-200"),plainHoverColor:eP("palette-neutral-50"),plainHoverBg:eP("palette-neutral-800"),plainActiveBg:eP("palette-neutral-700"),plainDisabledColor:eP("palette-neutral-700"),outlinedColor:eP("palette-neutral-200"),outlinedBorder:eP("palette-neutral-800"),outlinedHoverColor:eP("palette-neutral-50"),outlinedHoverBg:eP("palette-neutral-800"),outlinedHoverBorder:eP("palette-neutral-700"),outlinedActiveBg:eP("palette-neutral-800"),outlinedDisabledColor:eP("palette-neutral-800"),outlinedDisabledBorder:eP("palette-neutral-800"),softColor:eP("palette-neutral-200"),softBg:eP("palette-neutral-800"),softHoverColor:eP("palette-neutral-50"),softHoverBg:eP("palette-neutral-700"),softActiveBg:eP("palette-neutral-600"),softDisabledColor:eP("palette-neutral-700"),softDisabledBg:eP("palette-neutral-900"),solidColor:eP("palette-common-white"),solidBg:eP("palette-neutral-600"),solidHoverBg:eP("palette-neutral-700"),solidActiveBg:eP("palette-neutral-800"),solidDisabledColor:eP("palette-neutral-700"),solidDisabledBg:eP("palette-neutral-900")}),danger:(0,r.Z)({},eH.danger,eF("danger")),info:(0,r.Z)({},eH.info,eF("info")),success:(0,r.Z)({},eH.success,eF("success"),{solidColor:"#fff",solidBg:eP("palette-success-600"),solidHoverBg:eP("palette-success-700"),solidActiveBg:eP("palette-success-800")}),warning:(0,r.Z)({},eH.warning,eF("warning"),{solidColor:eP("palette-common-black"),solidBg:eP("palette-warning-300"),solidHoverBg:eP("palette-warning-400"),solidActiveBg:eP("palette-warning-500")}),common:{white:"#FFF",black:"#09090D"},text:{primary:eP("palette-neutral-100"),secondary:eP("palette-neutral-300"),tertiary:eP("palette-neutral-400")},background:{body:eP("palette-neutral-900"),surface:eP("palette-common-black"),popup:eP("palette-neutral-900"),level1:eP("palette-neutral-800"),level2:eP("palette-neutral-700"),level3:eP("palette-neutral-600"),tooltip:eP("palette-neutral-600"),backdrop:`rgba(${eA("palette-neutral-darkChannel",(0,i.n8)(eH.neutral[800]))} / 0.5)`},divider:`rgba(${eA("palette-neutral-mainChannel",(0,i.n8)(eH.neutral[500]))} / 0.24)`,focusVisible:eP("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0"},ej='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',e_=(0,r.Z)({body:`"Public Sans", ${eA(`fontFamily-fallback, ${ej}`)}`,display:`"Public Sans", ${eA(`fontFamily-fallback, ${ej}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:ej},eS.fontFamily),eR=(0,r.Z)({xs:200,sm:300,md:500,lg:600,xl:700,xl2:800,xl3:900},eS.fontWeight),eT=(0,r.Z)({xs3:"0.5rem",xs2:"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem",xl5:"3rem",xl6:"3.75rem",xl7:"4.5rem"},eS.fontSize),ez=(0,r.Z)({sm:1.25,md:1.5,lg:1.7},eS.lineHeight),eI=(0,r.Z)({sm:"-0.01em",md:"0.083em",lg:"0.125em"},eS.letterSpacing),eM={colorSchemes:{light:eO,dark:eE},fontSize:eT,fontFamily:e_,fontWeight:eR,focus:{thickness:"2px",selector:`&.${(0,x.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${eA("focus-thickness",null!=(t=null==(n=eS.focus)?void 0:n.thickness)?t:"2px")})`,outline:`${eA("focus-thickness",null!=(l=null==(c=eS.focus)?void 0:c.thickness)?l:"2px")} solid ${eA("palette-focusVisible",eH.primary[500])}`}},lineHeight:ez,letterSpacing:eI,radius:{xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"20px"},shadow:{xs:`${eA("shadowRing",null!=(p=null==(d=eS.colorSchemes)||null==(d=d.light)?void 0:d.shadowRing)?p:eO.shadowRing)}, 0 1px 2px 0 rgba(${eA("shadowChannel",null!=(f=null==(h=eS.colorSchemes)||null==(h=h.light)?void 0:h.shadowChannel)?f:eO.shadowChannel)} / 0.12)`,sm:`${eA("shadowRing",null!=(g=null==(y=eS.colorSchemes)||null==(y=y.light)?void 0:y.shadowRing)?g:eO.shadowRing)}, 0.3px 0.8px 1.1px rgba(${eA("shadowChannel",null!=(S=null==(A=eS.colorSchemes)||null==(A=A.light)?void 0:A.shadowChannel)?S:eO.shadowChannel)} / 0.11), 0.5px 1.3px 1.8px -0.6px rgba(${eA("shadowChannel",null!=(H=null==(P=eS.colorSchemes)||null==(P=P.light)?void 0:P.shadowChannel)?H:eO.shadowChannel)} / 0.18), 1.1px 2.7px 3.8px -1.2px rgba(${eA("shadowChannel",null!=(D=null==(F=eS.colorSchemes)||null==(F=F.light)?void 0:F.shadowChannel)?D:eO.shadowChannel)} / 0.26)`,md:`${eA("shadowRing",null!=(O=null==(E=eS.colorSchemes)||null==(E=E.light)?void 0:E.shadowRing)?O:eO.shadowRing)}, 0.3px 0.8px 1.1px rgba(${eA("shadowChannel",null!=(j=null==(_=eS.colorSchemes)||null==(_=_.light)?void 0:_.shadowChannel)?j:eO.shadowChannel)} / 0.12), 1.1px 2.8px 3.9px -0.4px rgba(${eA("shadowChannel",null!=(R=null==(T=eS.colorSchemes)||null==(T=T.light)?void 0:T.shadowChannel)?R:eO.shadowChannel)} / 0.17), 2.4px 6.1px 8.6px -0.8px rgba(${eA("shadowChannel",null!=(z=null==(I=eS.colorSchemes)||null==(I=I.light)?void 0:I.shadowChannel)?z:eO.shadowChannel)} / 0.23), 5.3px 13.3px 18.8px -1.2px rgba(${eA("shadowChannel",null!=(M=null==(N=eS.colorSchemes)||null==(N=N.light)?void 0:N.shadowChannel)?M:eO.shadowChannel)} / 0.29)`,lg:`${eA("shadowRing",null!=(W=null==(K=eS.colorSchemes)||null==(K=K.light)?void 0:K.shadowRing)?W:eO.shadowRing)}, 0.3px 0.8px 1.1px rgba(${eA("shadowChannel",null!=(L=null==(V=eS.colorSchemes)||null==(V=V.light)?void 0:V.shadowChannel)?L:eO.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${eA("shadowChannel",null!=(G=null==(q=eS.colorSchemes)||null==(q=q.light)?void 0:q.shadowChannel)?G:eO.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${eA("shadowChannel",null!=(U=null==(X=eS.colorSchemes)||null==(X=X.light)?void 0:X.shadowChannel)?U:eO.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${eA("shadowChannel",null!=(Y=null==(J=eS.colorSchemes)||null==(J=J.light)?void 0:J.shadowChannel)?Y:eO.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${eA("shadowChannel",null!=(Q=null==(ee=eS.colorSchemes)||null==(ee=ee.light)?void 0:ee.shadowChannel)?Q:eO.shadowChannel)} / 0.21)`,xl:`${eA("shadowRing",null!=(et=null==(en=eS.colorSchemes)||null==(en=en.light)?void 0:en.shadowRing)?et:eO.shadowRing)}, 0.3px 0.8px 1.1px rgba(${eA("shadowChannel",null!=(er=null==(ea=eS.colorSchemes)||null==(ea=ea.light)?void 0:ea.shadowChannel)?er:eO.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${eA("shadowChannel",null!=(eo=null==(el=eS.colorSchemes)||null==(el=el.light)?void 0:el.shadowChannel)?eo:eO.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${eA("shadowChannel",null!=(ei=null==(es=eS.colorSchemes)||null==(es=es.light)?void 0:es.shadowChannel)?ei:eO.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${eA("shadowChannel",null!=(eu=null==(ec=eS.colorSchemes)||null==(ec=ec.light)?void 0:ec.shadowChannel)?eu:eO.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${eA("shadowChannel",null!=(ep=null==(ed=eS.colorSchemes)||null==(ed=ed.light)?void 0:ed.shadowChannel)?ep:eO.shadowChannel)} / 0.21), 10.2px 25.5px 36px -0.9px rgba(${eA("shadowChannel",null!=(ef=null==(eh=eS.colorSchemes)||null==(eh=eh.light)?void 0:eh.shadowChannel)?ef:eO.shadowChannel)} / 0.24), 14.8px 36.8px 52.1px -1.1px rgba(${eA("shadowChannel",null!=(eg=null==(em=eS.colorSchemes)||null==(em=em.light)?void 0:em.shadowChannel)?eg:eO.shadowChannel)} / 0.27), 21px 52.3px 74px -1.2px rgba(${eA("shadowChannel",null!=(ev=null==(ey=eS.colorSchemes)||null==(ey=ey.light)?void 0:ey.shadowChannel)?ev:eO.shadowChannel)} / 0.29)`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{display1:{fontFamily:eA(`fontFamily-display, ${e_.display}`),fontWeight:eA(`fontWeight-xl, ${eR.xl}`),fontSize:eA(`fontSize-xl7, ${eT.xl7}`),lineHeight:eA(`lineHeight-sm, ${ez.sm}`),letterSpacing:eA(`letterSpacing-sm, ${eI.sm}`),color:eA("palette-text-primary",eO.palette.text.primary)},display2:{fontFamily:eA(`fontFamily-display, ${e_.display}`),fontWeight:eA(`fontWeight-xl, ${eR.xl}`),fontSize:eA(`fontSize-xl6, ${eT.xl6}`),lineHeight:eA(`lineHeight-sm, ${ez.sm}`),letterSpacing:eA(`letterSpacing-sm, ${eI.sm}`),color:eA("palette-text-primary",eO.palette.text.primary)},h1:{fontFamily:eA(`fontFamily-display, ${e_.display}`),fontWeight:eA(`fontWeight-lg, ${eR.lg}`),fontSize:eA(`fontSize-xl5, ${eT.xl5}`),lineHeight:eA(`lineHeight-sm, ${ez.sm}`),letterSpacing:eA(`letterSpacing-sm, ${eI.sm}`),color:eA("palette-text-primary",eO.palette.text.primary)},h2:{fontFamily:eA(`fontFamily-display, ${e_.display}`),fontWeight:eA(`fontWeight-lg, ${eR.lg}`),fontSize:eA(`fontSize-xl4, ${eT.xl4}`),lineHeight:eA(`lineHeight-sm, ${ez.sm}`),letterSpacing:eA(`letterSpacing-sm, ${eI.sm}`),color:eA("palette-text-primary",eO.palette.text.primary)},h3:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontWeight:eA(`fontWeight-md, ${eR.md}`),fontSize:eA(`fontSize-xl3, ${eT.xl3}`),lineHeight:eA(`lineHeight-sm, ${ez.sm}`),color:eA("palette-text-primary",eO.palette.text.primary)},h4:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontWeight:eA(`fontWeight-md, ${eR.md}`),fontSize:eA(`fontSize-xl2, ${eT.xl2}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-primary",eO.palette.text.primary)},h5:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontWeight:eA(`fontWeight-md, ${eR.md}`),fontSize:eA(`fontSize-xl, ${eT.xl}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-primary",eO.palette.text.primary)},h6:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontWeight:eA(`fontWeight-md, ${eR.md}`),fontSize:eA(`fontSize-lg, ${eT.lg}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-primary",eO.palette.text.primary)},body1:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontSize:eA(`fontSize-md, ${eT.md}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-primary",eO.palette.text.primary)},body2:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontSize:eA(`fontSize-sm, ${eT.sm}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-secondary",eO.palette.text.secondary)},body3:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontSize:eA(`fontSize-xs, ${eT.xs}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-tertiary",eO.palette.text.tertiary)},body4:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontSize:eA(`fontSize-xs2, ${eT.xs2}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-tertiary",eO.palette.text.tertiary)},body5:{fontFamily:eA(`fontFamily-body, ${e_.body}`),fontSize:eA(`fontSize-xs3, ${eT.xs3}`),lineHeight:eA(`lineHeight-md, ${ez.md}`),color:eA("palette-text-tertiary",eO.palette.text.tertiary)}}},eN=eS?(0,o.Z)(eM,eS):eM,{colorSchemes:eW}=eN,eK=(0,a.Z)(eN,Z),eL=(0,r.Z)({colorSchemes:eW},eK,{breakpoints:(0,s.Z)(null!=eC?eC:{}),components:(0,o.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;let a=e.instanceFontSize;return(0,r.Z)({color:"var(--Icon-color)",margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},e.color&&"inherit"!==e.color&&"context"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`},"context"===e.color&&{color:t.vars.palette.text.secondary},a&&"inherit"!==a&&{"--Icon-fontSize":t.vars.fontSize[a]})}}}},ew),cssVarPrefix:e$,getCssVar:eA,spacing:(0,u.Z)(ex),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(eL.colorSchemes).forEach(([e,t])=>{!function(e,t){Object.keys(t).forEach(n=>{let r={main:"500",light:"200",dark:"800"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=(0,i.n8)(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=(0,i.n8)(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=(0,i.n8)(t[n][r.dark]))})}(e,t.palette)});let{vars:eV,generateCssVars:eG}=m((0,r.Z)({colorSchemes:eW},eK),{prefix:e$,shouldSkipGeneratingVar:eB});eL.vars=eV,eL.generateCssVars=eG,eL.unstable_sxConfig=(0,r.Z)({},b,null==e?void 0:e.unstable_sxConfig),eL.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},eL.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;let eq={getCssVar:eA,palette:eL.colorSchemes.light.palette};return eL.variants=(0,o.Z)({plain:(0,w.Zm)("plain",eq),plainHover:(0,w.Zm)("plainHover",eq),plainActive:(0,w.Zm)("plainActive",eq),plainDisabled:(0,w.Zm)("plainDisabled",eq),outlined:(0,w.Zm)("outlined",eq),outlinedHover:(0,w.Zm)("outlinedHover",eq),outlinedActive:(0,w.Zm)("outlinedActive",eq),outlinedDisabled:(0,w.Zm)("outlinedDisabled",eq),soft:(0,w.Zm)("soft",eq),softHover:(0,w.Zm)("softHover",eq),softActive:(0,w.Zm)("softActive",eq),softDisabled:(0,w.Zm)("softDisabled",eq),solid:(0,w.Zm)("solid",eq),solidHover:(0,w.Zm)("solidHover",eq),solidActive:(0,w.Zm)("solidActive",eq),solidDisabled:(0,w.Zm)("solidDisabled",eq)},ek),eL.palette=(0,r.Z)({},eL.colorSchemes.light.palette,{colorScheme:"light"}),eL.shouldSkipGeneratingVar=eB,eL.colorInversion="function"==typeof eZ?eZ:(0,o.Z)({soft:(0,w.pP)(eL,!0),solid:(0,w.Lo)(eL,!0)},eZ||{},{clone:!1}),eL}},8622:function(e,t){"use strict";t.Z="$$joy"},50645:function(e,t,n){"use strict";var r=n(9312),a=n(98918),o=n(8622);let l=(0,r.ZP)({defaultTheme:a.Z,themeId:o.Z});t.Z=l},88930:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40431),a=n(38295),o=n(98918),l=n(8622);function i({props:e,name:t}){return(0,a.Z)({props:e,name:t,defaultTheme:(0,r.Z)({},o.Z,{components:{}}),themeId:l.Z})}},52428:function(e,t,n){"use strict";n.d(t,{Lo:function(){return p},Zm:function(){return u},pP:function(){return c}});var r=n(40431),a=n(82190);let o=e=>e&&"object"==typeof e&&Object.keys(e).some(e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),l=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},i=(e,t,n)=>{let r={};return Object.entries(t||{}).forEach(([t,a])=>{if(t.match(RegExp(`${e}(color|bg|border)`,"i"))&&a){let e=n?n(t):a;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),l(r,t,e)}}),r},s=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,u=(e,t)=>{let n={};if(t){let{getCssVar:a,palette:l}=t;Object.entries(l).forEach(t=>{let[s,u]=t;o(u)&&"object"==typeof u&&(n=(0,r.Z)({},n,{[s]:i(e,u,e=>a(`palette-${s}-${e}`,l[s][e]))}))})}return n.context=i(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverColor:"var(--variant-solidHoverColor)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},c=(e,t)=>{let n=(0,a.Z)(e.cssVarPrefix),r=s(e.cssVarPrefix),l={},i=t?t=>{var r;let a=t.split("-"),o=a[1],l=a[2];return n(t,null==(r=e.palette)||null==(r=r[o])?void 0:r[l])}:n;return Object.entries(e.palette).forEach(t=>{let[n,a]=t;o(a)&&(l[n]={"--Badge-ringColor":i(`palette-${n}-softBg`),[r("--shadowChannel")]:i(`palette-${n}-darkChannel`),[e.getColorSchemeSelector("dark")]:{[r("--palette-focusVisible")]:i(`palette-${n}-300`),[r("--palette-background-body")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.4)`,[r("--palette-background-level3")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.6)`,[r("--palette-text-primary")]:i(`palette-${n}-100`),[r("--palette-text-secondary")]:`rgba(${i(`palette-${n}-lightChannel`)} / 0.72)`,[r("--palette-text-tertiary")]:`rgba(${i(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-divider")]:`rgba(${i(`palette-${n}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${i(`palette-${n}-lightChannel`)} / 1)`,"--variant-plainHoverColor":i(`palette-${n}-50`),"--variant-plainHoverBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${i(`palette-${n}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":i(`palette-${n}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${i(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":i(`palette-${n}-600`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${i(`palette-${n}-mainChannel`)} / 0.2)`,"--variant-softColor":i(`palette-${n}-100`),"--variant-softBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":i(`palette-${n}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":i(`palette-${n}-400`),"--variant-solidActiveBg":i(`palette-${n}-400`),"--variant-solidDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.12)`},[e.getColorSchemeSelector("light")]:{[r("--palette-focusVisible")]:i(`palette-${n}-500`),[r("--palette-background-body")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.32)`,[r("--palette-background-level3")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.48)`,[r("--palette-text-primary")]:i(`palette-${n}-700`),[r("--palette-text-secondary")]:`rgba(${i(`palette-${n}-darkChannel`)} / 0.8)`,[r("--palette-text-tertiary")]:`rgba(${i(`palette-${n}-darkChannel`)} / 0.68)`,[r("--palette-divider")]:`rgba(${i(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${i(`palette-${n}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${i(`palette-${n}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${i(`palette-${n}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${i(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":i(`palette-${n}-600`),"--variant-outlinedHoverBorder":i(`palette-${n}-300`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${i(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-softColor":i(`palette-${n}-600`),"--variant-softBg":`rgba(${i(`palette-${n}-lightChannel`)} / 0.72)`,"--variant-softHoverColor":i(`palette-${n}-700`),"--variant-softHoverBg":i(`palette-${n}-200`),"--variant-softActiveBg":i(`palette-${n}-300`),"--variant-softDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.08)`,"--variant-solidColor":i("palette-common-white"),"--variant-solidBg":i(`palette-${n}-600`),"--variant-solidHoverColor":i("palette-common-white"),"--variant-solidHoverBg":i(`palette-${n}-500`),"--variant-solidActiveBg":i(`palette-${n}-500`),"--variant-solidDisabledColor":`rgba(${i(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${n}-mainChannel`)} / 0.08)`}})}),l},p=(e,t)=>{let n=(0,a.Z)(e.cssVarPrefix),r=s(e.cssVarPrefix),l={},i=t?t=>{let r=t.split("-"),a=r[1],o=r[2];return n(t,e.palette[a][o])}:n;return Object.entries(e.palette).forEach(e=>{let[t,n]=e;o(n)&&("warning"===t?l.warning={"--Badge-ringColor":i(`palette-${t}-solidBg`),[r("--shadowChannel")]:i(`palette-${t}-darkChannel`),[r("--palette-focusVisible")]:i(`palette-${t}-700`),[r("--palette-background-body")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.16)`,[r("--palette-background-surface")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.1)`,[r("--palette-background-popup")]:i(`palette-${t}-100`),[r("--palette-background-level1")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:i(`palette-${t}-900`),[r("--palette-text-secondary")]:i(`palette-${t}-700`),[r("--palette-text-tertiary")]:i(`palette-${t}-500`),[r("--palette-divider")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.2)`,"--variant-plainColor":i(`palette-${t}-700`),"--variant-plainHoverColor":i(`palette-${t}-800`),"--variant-plainHoverBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":i(`palette-${t}-700`),"--variant-outlinedBorder":`rgba(${i(`palette-${t}-mainChannel`)} / 0.5)`,"--variant-outlinedHoverColor":i(`palette-${t}-800`),"--variant-outlinedHoverBorder":`rgba(${i(`palette-${t}-mainChannel`)} / 0.6)`,"--variant-outlinedHoverBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${i(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softColor":i(`palette-${t}-800`),"--variant-softHoverColor":i(`palette-${t}-900`),"--variant-softBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softHoverBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.28)`,"--variant-softActiveBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-softDisabledColor":`rgba(${i(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.08)`,"--variant-solidColor":"#fff","--variant-solidBg":i(`palette-${t}-600`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":i(`palette-${t}-700`),"--variant-solidActiveBg":i(`palette-${t}-800`),"--variant-solidDisabledColor":`rgba(${i(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${t}-mainChannel`)} / 0.08)`}:l[t]={colorScheme:"dark","--Badge-ringColor":i(`palette-${t}-solidBg`),[r("--shadowChannel")]:i(`palette-${t}-darkChannel`),[r("--palette-focusVisible")]:i(`palette-${t}-200`),[r("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[r("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[r("--palette-background-popup")]:i(`palette-${t}-700`),[r("--palette-background-level1")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${i(`palette-${t}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:i("palette-common-white"),[r("--palette-text-secondary")]:i(`palette-${t}-100`),[r("--palette-text-tertiary")]:i(`palette-${t}-200`),[r("--palette-divider")]:`rgba(${i(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainColor":i(`palette-${t}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":i(`palette-${t}-50`),"--variant-outlinedBorder":`rgba(${i(`palette-${t}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":i(`palette-${t}-300`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":i("palette-common-white"),"--variant-softHoverColor":i("palette-common-white"),"--variant-softBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${i(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.1)`,"--variant-solidColor":i(`palette-${t}-${"neutral"===t?"600":"500"}`),"--variant-solidBg":i("palette-common-white"),"--variant-solidHoverColor":i(`palette-${t}-700`),"--variant-solidHoverBg":i("palette-common-white"),"--variant-solidActiveBg":i(`palette-${t}-200`),"--variant-solidDisabledColor":`rgba(${i(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${t}-lightChannel`)} / 0.1)`})}),l}},326:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(40431),a=n(46750),o=n(99179),l=n(61914),i=n(28426),s=n(46240),u=n(47093);let c=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],p=["component","slots","slotProps"],d=["component"],f=["disableColorInversion"];function h(e,t){let{className:n,elementType:h,ownerState:g,externalForwardedProps:m,getSlotOwnerState:v,internalForwardedProps:y}=t,b=(0,a.Z)(t,c),{component:$,slots:C={[e]:void 0},slotProps:x={[e]:void 0}}=m,w=(0,a.Z)(m,p),k=C[e]||h,Z=(0,l.Z)(x[e],g),B=(0,i.Z)((0,r.Z)({className:n},b,{externalForwardedProps:"root"===e?w:void 0,externalSlotProps:Z})),{props:{component:S},internalRef:A}=B,H=(0,a.Z)(B.props,d),P=(0,o.Z)(A,null==Z?void 0:Z.ref,t.ref),D=v?v(H):{},{disableColorInversion:F=!1}=D,O=(0,a.Z)(D,f),E=(0,r.Z)({},g,O),{getColor:j}=(0,u.VT)(E.variant);if("root"===e){var _;E.color=null!=(_=H.color)?_:g.color}else F||(E.color=j(H.color,E.color));let R="root"===e?S||$:S,T=(0,s.Z)(k,(0,r.Z)({},"root"===e&&!$&&!C[e]&&y,"root"!==e&&!C[e]&&y,H,R&&{as:R},{ref:P}),E);return Object.keys(O).forEach(e=>{delete T[e]}),[k,T]}},44169:function(e,t,n){"use strict";var r=n(86006);let a=r.createContext(null);t.Z=a},63678:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86006),a=n(44169);function o(){let e=r.useContext(a.Z);return e}},4323:function(e,t,n){"use strict";n.d(t,{ZP:function(){return v},Co:function(){return y}});var r=n(40431),a=n(86006),o=n(83596),l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,o.Z)(function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=n(17464),u=n(75941),c=n(50558),p=n(85124),d=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?i:d},h=function(e,t,n){var r;if(t){var a=t.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,p.L)(function(){return(0,u.My)(t,n,r)}),null},m=(function e(t,n){var o,l,i=t.__emotion_real===t,p=i&&t.__emotion_base||t;void 0!==n&&(o=n.label,l=n.target);var d=h(t,n,i),m=d||f(p),v=!m("as");return function(){var y=arguments,b=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var $=y.length,C=1;C<$;C++)b.push(y[C],y[0][C])}var x=(0,s.w)(function(e,t,n){var r=v&&e.as||p,o="",i=[],h=e;if(null==e.theme){for(var y in h={},e)h[y]=e[y];h.theme=a.useContext(s.T)}"string"==typeof e.className?o=(0,u.fp)(t.registered,i,e.className):null!=e.className&&(o=e.className+" ");var $=(0,c.O)(b.concat(i),t.registered,h);o+=t.key+"-"+$.name,void 0!==l&&(o+=" "+l);var C=v&&void 0===d?f(r):m,x={};for(var w in e)(!v||"as"!==w)&&C(w)&&(x[w]=e[w]);return x.className=o,x.ref=n,a.createElement(a.Fragment,null,a.createElement(g,{cache:t,serialized:$,isStringTag:"string"==typeof r}),a.createElement(r,x))});return x.displayName=void 0!==o?o:"Styled("+("string"==typeof p?p:p.displayName||p.name||"Component")+")",x.defaultProps=t.defaultProps,x.__emotion_real=x,x.__emotion_base=p,x.__emotion_styles=b,x.__emotion_forwardProp=d,Object.defineProperty(x,"toString",{value:function(){return"."+l}}),x.withComponent=function(t,a){return e(t,(0,r.Z)({},n,a,{shouldForwardProp:h(x,a,!0)})).apply(void 0,b)},x}}).bind();/** - * @mui/styled-engine v5.13.2 - * - * @license MIT - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */function v(e,t){let n=m(e,t);return n}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){m[e]=m(e)});let y=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},14446:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(40431),a=n(86006),o=n(63678),l=n(44169);let i="function"==typeof Symbol&&Symbol.for;var s=i?Symbol.for("mui.nested"):"__THEME_NESTED__",u=n(9268),c=function(e){let{children:t,theme:n}=e,i=(0,o.Z)(),c=a.useMemo(()=>{let e=null===i?n:function(e,t){if("function"==typeof t){let n=t(e);return n}return(0,r.Z)({},e,t)}(i,n);return null!=e&&(e[s]=null!==i),e},[n,i]);return(0,u.jsx)(l.Z.Provider,{value:c,children:t})},p=n(17464),d=n(65396);let f={};function h(e,t,n,o=!1){return a.useMemo(()=>{let a=e&&t[e]||t;if("function"==typeof n){let l=n(a),i=e?(0,r.Z)({},t,{[e]:l}):l;return o?()=>i:i}return e?(0,r.Z)({},t,{[e]:n}):(0,r.Z)({},t,n)},[e,t,n,o])}var g=function(e){let{children:t,theme:n,themeId:r}=e,a=(0,d.Z)(f),l=(0,o.Z)()||f,i=h(r,a,n),s=h(r,l,n,!0);return(0,u.jsx)(c,{theme:s,children:(0,u.jsx)(p.T.Provider,{value:i,children:t})})}},91559:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return c},VO:function(){return a},W8:function(){return i},dt:function(){return u},k9:function(){return l}});var r=n(95135);let a={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${a[e]}px)`};function l(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||o;return t.reduce((r,a,o)=>(r[e.up(e.keys[o])]=n(t[o]),r),{})}if("object"==typeof t){let e=r.breakpoints||o;return Object.keys(t).reduce((r,o)=>{if(-1!==Object.keys(e.values||a).indexOf(o)){let a=e.up(o);r[a]=n(t[o],o)}else r[o]=t[o];return r},{})}let l=n(t);return l}function i(e={}){var t;let n=null==(t=e.keys)?void 0:t.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{});return n||{}}function s(e,t){return e.reduce((e,t)=>{let n=e[t],r=!n||0===Object.keys(n).length;return r&&delete e[t],e},t)}function u(e,...t){let n=i(e),a=[n,...t].reduce((e,t)=>(0,r.Z)(e,t),{});return s(Object.keys(n),a)}function c({values:e,breakpoints:t,base:n}){let r;let a=n||function(e,t){if("object"!=typeof e)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r{null!=e[t]&&(n[t]=!0)}),n}(e,t),o=Object.keys(a);return 0===o.length?e:o.reduce((t,n,a)=>(Array.isArray(e)?(t[n]=null!=e[a]?e[a]:e[r],r=a):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[r],r=n):t[n]=e,t),{})}},23343:function(e,t,n){"use strict";n.d(t,{$n:function(){return p},_j:function(){return c},mi:function(){return u},n8:function(){return l}});var r=n(16066);function a(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function o(e){let t;if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),a=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(a))throw Error((0,r.Z)(9,e));let l=e.substring(n+1,e.length-1);if("color"===a){if(t=(l=l.split(" ")).shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,r.Z)(10,t))}else l=l.split(",");return{type:a,values:l=l.map(e=>parseFloat(e)),colorSpace:t}}let l=e=>{let t=o(e);return t.values.slice(0,3).map((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e).join(" ")};function i(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function s(e){let t="hsl"===(e=o(e)).type||"hsla"===e.type?o(function(e){e=o(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,l=r*Math.min(a,1-a),s=(e,t=(e+n/30)%12)=>a-l*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),i({type:u,values:c})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){let n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){if(e=o(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return i(e)}function p(e,t){if(e=o(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return i(e)}},9312:function(e,t,n){"use strict";n.d(t,{ZP:function(){return $},x9:function(){return m}});var r=n(46750),a=n(40431),o=n(4323),l=n(89587),i=n(53832);let s=["variant"];function u(e){return 0===e.length}function c(e){let{variant:t}=e,n=(0,r.Z)(e,s),a=t||"";return Object.keys(n).sort().forEach(t=>{"color"===t?a+=u(a)?e[t]:(0,i.Z)(e[t]):a+=`${u(a)?t:(0,i.Z)(t)}${(0,i.Z)(e[t].toString())}`}),a}var p=n(51579);let d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],f=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,h=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);let r={};return n.forEach(e=>{let t=c(e.props);r[t]=e.style}),r},g=(e,t,n,r)=>{var a;let{ownerState:o={}}=e,l=[],i=null==n||null==(a=n.components)||null==(a=a[r])?void 0:a.variants;return i&&i.forEach(n=>{let r=!0;Object.keys(n.props).forEach(t=>{o[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)}),r&&l.push(t[c(n.props)])}),l};function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let v=(0,l.Z)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function $(e={}){let{themeId:t,defaultTheme:n=v,rootShouldForwardProp:l=m,slotShouldForwardProp:i=m}=e,s=e=>(0,p.Z)((0,a.Z)({},e,{theme:b((0,a.Z)({},e,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(e,u={})=>{var c;let p;(0,o.Co)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:v,slot:$,skipVariantsResolver:C,skipSx:x,overridesResolver:w=(c=y($))?(e,t)=>t[c]:null}=u,k=(0,r.Z)(u,d),Z=void 0!==C?C:$&&"Root"!==$&&"root"!==$||!1,B=x||!1,S=m;"Root"===$||"root"===$?S=l:$?S=i:"string"==typeof e&&e.charCodeAt(0)>96&&(S=void 0);let A=(0,o.ZP)(e,(0,a.Z)({shouldForwardProp:S,label:p},k)),H=(r,...o)=>{let l=o?o.map(e=>"function"==typeof e&&e.__emotion_real!==e?r=>e((0,a.Z)({},r,{theme:b((0,a.Z)({},r,{defaultTheme:n,themeId:t}))})):e):[],i=r;v&&w&&l.push(e=>{let r=b((0,a.Z)({},e,{defaultTheme:n,themeId:t})),o=f(v,r);if(o){let t={};return Object.entries(o).forEach(([n,o])=>{t[n]="function"==typeof o?o((0,a.Z)({},e,{theme:r})):o}),w(e,t)}return null}),v&&!Z&&l.push(e=>{let r=b((0,a.Z)({},e,{defaultTheme:n,themeId:t}));return g(e,h(v,r),r,v)}),B||l.push(s);let u=l.length-o.length;if(Array.isArray(r)&&u>0){let e=Array(u).fill("");(i=[...r,...e]).raw=[...r.raw,...e]}else"function"==typeof r&&r.__emotion_real!==r&&(i=e=>r((0,a.Z)({},e,{theme:b((0,a.Z)({},e,{defaultTheme:n,themeId:t}))})));let c=A(i,...l);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(H.withConfig=A.withConfig),H}}},57716:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(46750),a=n(40431);let o=["values","unit","step"],l=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,a.Z)({},e,{[t.key]:t.val}),{})};function i(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,s=(0,r.Z)(e,o),u=l(t),c=Object.keys(u);function p(e){let r="number"==typeof t[e]?t[e]:e;return`@media (min-width:${r}${n})`}function d(e){let r="number"==typeof t[e]?t[e]:e;return`@media (max-width:${r-i/100}${n})`}function f(e,r){let a=c.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[c[a]]?t[c[a]]:r)-i/100}${n})`}return(0,a.Z)({keys:c,values:u,up:p,down:d,between:f,only:function(e){return c.indexOf(e)+1{let n=0===e.length?[1]:e;return n.map(e=>{let n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}},89587:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(40431),a=n(46750),o=n(95135),l=n(57716),i={borderRadius:4},s=n(93815),u=n(51579),c=n(2272);let p=["breakpoints","palette","spacing","shape"];var d=function(e={},...t){let{breakpoints:n={},palette:d={},spacing:f,shape:h={}}=e,g=(0,a.Z)(e,p),m=(0,l.Z)(n),v=(0,s.Z)(f),y=(0,o.Z)({breakpoints:m,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},d),spacing:v,shape:(0,r.Z)({},i,h)},g);return(y=t.reduce((e,t)=>(0,o.Z)(e,t),y)).unstable_sxConfig=(0,r.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),y.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},y}},82190:function(e,t,n){"use strict";function r(e=""){return(t,...n)=>`var(--${e?`${e}-`:""}${t}${function t(...n){if(!n.length)return"";let r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}(...n)})`}n.d(t,{Z:function(){return r}})},70233:function(e,t,n){"use strict";var r=n(95135);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},48527:function(e,t,n){"use strict";n.d(t,{hB:function(){return h},eI:function(){return f},NA:function(){return g},e6:function(){return v},o3:function(){return y}});var r=n(91559),a=n(95247),o=n(70233);let l={m:"margin",p:"padding"},i={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,n]=e.split(""),r=l[t],a=i[n]||"";return Array.isArray(a)?a.map(e=>r+e):[r+a]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...c,...p];function f(e,t,n,r){var o;let l=null!=(o=(0,a.DW)(e,t,!1))?o:n;return"number"==typeof l?e=>"string"==typeof e?e:l*e:Array.isArray(l)?e=>"string"==typeof e?e:l[e]:"function"==typeof l?l:()=>void 0}function h(e){return f(e,"spacing",8,"spacing")}function g(e,t){if("string"==typeof t||null==t)return t;let n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function m(e,t){let n=h(e.theme);return Object.keys(e).map(a=>(function(e,t,n,a){if(-1===t.indexOf(n))return null;let o=u(n),l=e[n];return(0,r.k9)(e,l,e=>o.reduce((t,n)=>(t[n]=g(a,e),t),{}))})(e,t,a,n)).reduce(o.Z,{})}function v(e){return m(e,c)}function y(e){return m(e,p)}function b(e){return m(e,d)}v.propTypes={},v.filterProps=c,y.propTypes={},y.filterProps=p,b.propTypes={},b.filterProps=d},95247:function(e,t,n){"use strict";n.d(t,{DW:function(){return o},Jq:function(){return l}});var r=n(53832),a=n(91559);function o(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function l(e,t,n,r=n){let a;return a="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:o(e,n)||r,t&&(a=t(a,r,e)),a}t.ZP=function(e){let{prop:t,cssProperty:n=e.prop,themeKey:i,transform:s}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=e.theme,p=o(c,i)||{};return(0,a.k9)(e,u,e=>{let a=l(p,s,e);return(e===a&&"string"==typeof e&&(a=l(p,s,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n)?a:{[n]:a}})};return u.propTypes={},u.filterProps=[t],u}},2272:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(48527),a=n(95247),o=n(70233),l=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?(0,o.Z)(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n},i=n(91559);function s(e){return"number"!=typeof e?e:`${e}px solid`}let u=(0,a.ZP)({prop:"border",themeKey:"borders",transform:s}),c=(0,a.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),p=(0,a.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),d=(0,a.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),f=(0,a.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,a.ZP)({prop:"borderColor",themeKey:"palette"}),g=(0,a.ZP)({prop:"borderTopColor",themeKey:"palette"}),m=(0,a.ZP)({prop:"borderRightColor",themeKey:"palette"}),v=(0,a.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,a.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,i.k9)(e,e.borderRadius,e=>({borderRadius:(0,r.NA)(t,e)}))}return null};b.propTypes={},b.filterProps=["borderRadius"],l(u,c,p,d,f,h,g,m,v,y,b);let $=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,i.k9)(e,e.gap,e=>({gap:(0,r.NA)(t,e)}))}return null};$.propTypes={},$.filterProps=["gap"];let C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,i.k9)(e,e.columnGap,e=>({columnGap:(0,r.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["columnGap"];let x=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,i.k9)(e,e.rowGap,e=>({rowGap:(0,r.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["rowGap"];let w=(0,a.ZP)({prop:"gridColumn"}),k=(0,a.ZP)({prop:"gridRow"}),Z=(0,a.ZP)({prop:"gridAutoFlow"}),B=(0,a.ZP)({prop:"gridAutoColumns"}),S=(0,a.ZP)({prop:"gridAutoRows"}),A=(0,a.ZP)({prop:"gridTemplateColumns"}),H=(0,a.ZP)({prop:"gridTemplateRows"}),P=(0,a.ZP)({prop:"gridTemplateAreas"}),D=(0,a.ZP)({prop:"gridArea"});function F(e,t){return"grey"===t?t:e}l($,C,x,w,k,Z,B,S,A,H,P,D);let O=(0,a.ZP)({prop:"color",themeKey:"palette",transform:F}),E=(0,a.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:F}),j=(0,a.ZP)({prop:"backgroundColor",themeKey:"palette",transform:F});function _(e){return e<=1&&0!==e?`${100*e}%`:e}l(O,E,j);let R=(0,a.ZP)({prop:"width",transform:_}),T=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,i.k9)(e,e.maxWidth,t=>{var n;let r=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||i.VO[t];return{maxWidth:r||_(t)}}):null;T.filterProps=["maxWidth"];let z=(0,a.ZP)({prop:"minWidth",transform:_}),I=(0,a.ZP)({prop:"height",transform:_}),M=(0,a.ZP)({prop:"maxHeight",transform:_}),N=(0,a.ZP)({prop:"minHeight",transform:_});(0,a.ZP)({prop:"size",cssProperty:"width",transform:_}),(0,a.ZP)({prop:"size",cssProperty:"height",transform:_});let W=(0,a.ZP)({prop:"boxSizing"});l(R,T,z,I,M,N,W);let K={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:F},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:F},backgroundColor:{themeKey:"palette",transform:F},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:$},rowGap:{style:x},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:T},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var L=K},86601:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(40431),a=n(46750),o=n(95135),l=n(2272);let i=["sx"],s=e=>{var t,n;let r={systemProps:{},otherProps:{}},a=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:l.Z;return Object.keys(e).forEach(t=>{a[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]}),r};function u(e){let t;let{sx:n}=e,l=(0,a.Z)(e,i),{systemProps:u,otherProps:c}=s(l);return t=Array.isArray(n)?[u,...n]:"function"==typeof n?(...e)=>{let t=n(...e);return(0,o.P)(t)?(0,r.Z)({},u,t):u}:(0,r.Z)({},u,n),(0,r.Z)({},c,{sx:t})}},51579:function(e,t,n){"use strict";var r=n(53832),a=n(70233),o=n(95247),l=n(91559),i=n(2272);let s=function(){function e(e,t,n,a){let i={[e]:t,theme:n},s=a[e];if(!s)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:p,style:d}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let f=(0,o.DW)(n,c)||{};return d?d(i):(0,l.k9)(i,t,t=>{let n=(0,o.Jq)(f,p,t);return(t===n&&"string"==typeof t&&(n=(0,o.Jq)(f,p,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===u)?n:{[u]:n}})}return function t(n){var r;let{sx:o,theme:s={}}=n||{};if(!o)return null;let u=null!=(r=s.unstable_sxConfig)?r:i.Z;function c(n){let r=n;if("function"==typeof n)r=n(s);else if("object"!=typeof n)return n;if(!r)return null;let o=(0,l.W8)(s.breakpoints),i=Object.keys(o),c=o;return Object.keys(r).forEach(n=>{var o;let i="function"==typeof(o=r[n])?o(s):o;if(null!=i){if("object"==typeof i){if(u[n])c=(0,a.Z)(c,e(n,i,s,u));else{let e=(0,l.k9)({theme:s},i,e=>({[n]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)})(e,i)?c[n]=t({sx:i,theme:s}):c=(0,a.Z)(c,e)}}else c=(0,a.Z)(c,e(n,i,s,u))}}),(0,l.L7)(i,c)}return Array.isArray(o)?o.map(c):c(o)}}();s.filterProps=["sx"],t.Z=s},95887:function(e,t,n){"use strict";var r=n(89587),a=n(65396);let o=(0,r.Z)();t.Z=function(e=o){return(0,a.Z)(e)}},38295:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40431),a=n(95887);function o({props:e,name:t,defaultTheme:n,themeId:o}){let l=(0,a.Z)(n);o&&(l=l[o]||l);let i=function(e){let{theme:t,name:n,props:a}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?function e(t,n){let a=(0,r.Z)({},n);return Object.keys(t).forEach(o=>{if(o.toString().match(/^(components|slots)$/))a[o]=(0,r.Z)({},t[o],a[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let l=t[o]||{},i=n[o];a[o]={},i&&Object.keys(i)?l&&Object.keys(l)?(a[o]=(0,r.Z)({},i),Object.keys(l).forEach(t=>{a[o][t]=e(l[t],i[t])})):a[o]=i:a[o]=l}else void 0===a[o]&&(a[o]=t[o])}),a}(t.components[n].defaultProps,a):a}({theme:l,name:t,props:e});return i}},65396:function(e,t,n){"use strict";var r=n(86006),a=n(17464);t.Z=function(e=null){let t=r.useContext(a.T);return t&&0!==Object.keys(t).length?t:e}},47327:function(e,t){"use strict";let n;let r=e=>e,a=(n=r,{configure(e){n=e},generate:e=>n(e),reset(){n=r}});t.Z=a},53832:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(16066);function a(e){if("string"!=typeof e)throw Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},47562:function(e,t,n){"use strict";function r(e,t,n){let r={};return Object.keys(e).forEach(a=>{r[a]=e[a].reduce((e,r)=>{if(r){let a=t(r);""!==a&&e.push(a),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}n.d(t,{Z:function(){return r}})},95135:function(e,t,n){"use strict";n.d(t,{P:function(){return a},Z:function(){return function e(t,n,o={clone:!0}){let l=o.clone?(0,r.Z)({},t):t;return a(t)&&a(n)&&Object.keys(n).forEach(r=>{"__proto__"!==r&&(a(n[r])&&r in t&&a(t[r])?l[r]=e(t[r],n[r],o):o.clone?l[r]=a(n[r])?function e(t){if(!a(t))return t;let n={};return Object.keys(t).forEach(r=>{n[r]=e(t[r])}),n}(n[r]):n[r]:l[r]=n[r])}),l}}});var r=n(40431);function a(e){return null!==e&&"object"==typeof e&&e.constructor===Object}},16066:function(e,t,n){"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{a[t]=(0,r.Z)(e,t,n)}),a}},44542:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(86006);function a(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},65464:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},99179:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86006),a=n(65464);function o(...e){return r.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,a.Z)(e,t)})},e)}},21454:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return p}});var a=n(86006);let o=!0,l=!1,i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function u(){o=!1}function c(){"hidden"===this.visibilityState&&l&&(o=!0)}function p(){let e=a.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",c,!0)}},[]),t=a.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return o||function(e){let{type:t,tagName:n}=e;return"INPUT"===n&&!!i[t]&&!e.readOnly||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(l=!0,window.clearTimeout(r),r=window.setTimeout(()=>{l=!1},100),t.current=!1,!0)},ref:e}}},89791:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="";n{n.current.push(setTimeout(()=>{var t,n,r,l;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(l=e.current)||void 0===l||l.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let h=(0,o.forwardRef)((e,t)=>{var n;let r;let{prefixCls:l,bordered:h=!0,status:y,size:w,disabled:C,onBlur:E,onFocus:Z,suffix:N,allowClear:O,addonAfter:S,addonBefore:z,className:j,style:R,styles:A,rootClassName:$,onChange:P,classNames:k}=e,B=x(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:F,direction:T,input:I}=o.useContext(u.E_),M=F("input",l),H=(0,o.useRef)(null),[V,D]=(0,i.ZP)(M),{compactSize:L,compactItemClassnames:_}=(0,g.ri)(M,T),W=(0,m.Z)(e=>{var t;return null!==(t=null!=w?w:L)&&void 0!==t?t:e}),Q=o.useContext(v.Z),J=null!=C?C:Q,{status:K,hasFeedback:X,feedbackIcon:q}=(0,o.useContext)(s.aM),U=(0,p.F)(K,y),Y=!!(e.prefix||e.suffix||e.allowClear)||!!X,G=(0,o.useRef)(Y);(0,o.useEffect)(()=>{Y&&G.current,G.current=Y},[Y]);let ee=b(H,!0),et=(X||N)&&o.createElement(o.Fragment,null,N,X&&q);return"object"==typeof O&&(null==O?void 0:O.clearIcon)?r=O:O&&(r={clearIcon:o.createElement(c.Z,null)}),V(o.createElement(f.Z,Object.assign({ref:(0,d.sQ)(t,H),prefixCls:M,autoComplete:null==I?void 0:I.autoComplete},B,{disabled:J,onBlur:e=>{ee(),null==E||E(e)},onFocus:e=>{ee(),null==Z||Z(e)},style:Object.assign(Object.assign({},null==I?void 0:I.style),R),styles:Object.assign(Object.assign({},null==I?void 0:I.styles),A),suffix:et,allowClear:r,className:a()(j,$,_,null==I?void 0:I.className),onChange:e=>{ee(),null==P||P(e)},addonAfter:S&&o.createElement(g.BR,null,o.createElement(s.Ux,{override:!0,status:!0},S)),addonBefore:z&&o.createElement(g.BR,null,o.createElement(s.Ux,{override:!0,status:!0},z)),classNames:Object.assign(Object.assign(Object.assign({},k),null==I?void 0:I.classNames),{input:a()({[`${M}-sm`]:"small"===W,[`${M}-lg`]:"large"===W,[`${M}-rtl`]:"rtl"===T,[`${M}-borderless`]:!h},!Y&&(0,p.Z)(M,U),null==k?void 0:k.input,null===(n=null==I?void 0:I.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:a()({[`${M}-affix-wrapper-sm`]:"small"===W,[`${M}-affix-wrapper-lg`]:"large"===W,[`${M}-affix-wrapper-rtl`]:"rtl"===T,[`${M}-affix-wrapper-borderless`]:!h},(0,p.Z)(`${M}-affix-wrapper`,U,X),D),wrapper:a()({[`${M}-group-rtl`]:"rtl"===T},D),group:a()({[`${M}-group-wrapper-sm`]:"small"===W,[`${M}-group-wrapper-lg`]:"large"===W,[`${M}-group-wrapper-rtl`]:"rtl"===T,[`${M}-group-wrapper-disabled`]:J},(0,p.Z)(`${M}-group-wrapper`,U,X),D)}})))});var y=n(40431),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},C=n(1240),E=o.forwardRef(function(e,t){return o.createElement(C.Z,(0,y.Z)({},e,{ref:t,icon:w}))}),Z=n(31515),N=n(73234),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let S=e=>e?o.createElement(Z.Z,null):o.createElement(E,null),z={click:"onClick",hover:"onMouseOver"},j=o.forwardRef((e,t)=>{let{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[l,s]=(0,o.useState)(()=>!!r&&n.visible),i=(0,o.useRef)(null);o.useEffect(()=>{r&&s(n.visible)},[r,n]);let c=b(i),f=()=>{let{disabled:t}=e;t||(l&&c(),s(e=>{var t;let r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r}))},{className:p,prefixCls:v,inputPrefixCls:m,size:g}=e,x=O(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=o.useContext(u.E_),w=y("input",m),C=y("input-password",v),E=n&&(t=>{let{action:n="click",iconRender:r=S}=e,a=z[n]||"",u=r(l),s={[a]:f,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return o.cloneElement(o.isValidElement(u)?u:o.createElement("span",null,u),s)})(C),Z=a()(C,p,{[`${C}-${g}`]:!!g}),j=Object.assign(Object.assign({},(0,N.Z)(x,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:Z,prefixCls:w,suffix:E});return g&&(j.size=g),o.createElement(h,Object.assign({ref:(0,d.sQ)(t,i)},j))});var R=n(63362),A=n(52593),$=n(50946),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let k=o.forwardRef((e,t)=>{let n;let{prefixCls:r,inputPrefixCls:l,className:s,size:i,suffix:c,enterButton:f=!1,addonAfter:p,loading:v,disabled:b,onSearch:x,onChange:y,onCompositionStart:w,onCompositionEnd:C}=e,E=P(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Z,direction:N}=o.useContext(u.E_),O=o.useRef(!1),S=Z("input-search",r),z=Z("input",l),{compactSize:j}=(0,g.ri)(S,N),k=(0,m.Z)(e=>{var t;return null!==(t=null!=i?i:j)&&void 0!==t?t:e}),B=o.useRef(null),F=e=>{var t;document.activeElement===(null===(t=B.current)||void 0===t?void 0:t.input)&&e.preventDefault()},T=e=>{var t,n;x&&x(null===(n=null===(t=B.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},I="boolean"==typeof f?o.createElement(R.Z,null):null,M=`${S}-button`,H=f||{},V=H.type&&!0===H.type.__ANT_BUTTON;n=V||"button"===H.type?(0,A.Tm)(H,Object.assign({onMouseDown:F,onClick:e=>{var t,n;null===(n=null===(t=null==H?void 0:H.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),T(e)},key:"enterButton"},V?{className:M,size:k}:{})):o.createElement($.ZP,{className:M,type:f?"primary":void 0,size:k,disabled:b,key:"enterButton",onMouseDown:F,onClick:T,loading:v,icon:I},f),p&&(n=[n,(0,A.Tm)(p,{key:"addonAfter"})]);let D=a()(S,{[`${S}-rtl`]:"rtl"===N,[`${S}-${k}`]:!!k,[`${S}-with-button`]:!!f},s);return o.createElement(h,Object.assign({ref:(0,d.sQ)(B,t),onPressEnter:e=>{O.current||v||T(e)}},E,{size:k,onCompositionStart:e=>{O.current=!0,null==w||w(e)},onCompositionEnd:e=>{O.current=!1,null==C||C(e)},prefixCls:z,addonAfter:n,suffix:c,onChange:e=>{e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),y&&y(e)},className:D,disabled:b}))});var B=n(88684),F=n(65877),T=n(965),I=n(60456),M=n(89301),H=n(90151),V=n(44698),D=n(63940),L=n(29333),_=n(38358),W=n(66643),Q=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],J={},K=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],X=o.forwardRef(function(e,t){var n=e.prefixCls,l=(e.onPressEnter,e.defaultValue),u=e.value,s=e.autoSize,i=e.onResize,c=e.className,f=e.style,d=e.disabled,p=e.onChange,v=(e.onInternalAutoSize,(0,M.Z)(e,K)),m=(0,D.Z)(l,{value:u,postState:function(e){return null!=e?e:""}}),g=(0,I.Z)(m,2),b=g[0],x=g[1],h=o.useRef();o.useImperativeHandle(t,function(){return{textArea:h.current}});var w=o.useMemo(function(){return s&&"object"===(0,T.Z)(s)?[s.minRows,s.maxRows]:[]},[s]),C=(0,I.Z)(w,2),E=C[0],Z=C[1],N=!!s,O=function(){try{if(document.activeElement===h.current){var e=h.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;h.current.setSelectionRange(t,n),h.current.scrollTop=r}}catch(e){}},S=o.useState(2),z=(0,I.Z)(S,2),j=z[0],R=z[1],A=o.useState(),$=(0,I.Z)(A,2),P=$[0],k=$[1],H=function(){R(0)};(0,_.Z)(function(){N&&H()},[u,E,Z,N]),(0,_.Z)(function(){if(0===j)R(1);else if(1===j){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&J[n])return J[n];var r=window.getComputedStyle(e),l=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u={sizingStyle:Q.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:a,borderSize:o,boxSizing:l};return t&&n&&(J[n]=u),u}(e,n),u=o.paddingSize,s=o.borderSize,i=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===i?p+=s:"content-box"===i&&(p-=u),null!==l||null!==a){r.value=" ";var v=r.scrollHeight-u;null!==l&&(f=v*l,"border-box"===i&&(f=f+u+s),p=Math.max(f,p)),null!==a&&(d=v*a,"border-box"===i&&(d=d+u+s),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(h.current,!1,E,Z);R(2),k(e)}else O()},[j]);var V=o.useRef(),X=function(){W.Z.cancel(V.current)};o.useEffect(function(){return X},[]);var q=N?P:null,U=(0,B.Z)((0,B.Z)({},f),q);return(0===j||1===j)&&(U.overflowY="hidden",U.overflowX="hidden"),o.createElement(L.Z,{onResize:function(e){2===j&&(null==i||i(e),s&&(X(),V.current=(0,W.Z)(function(){H()})))},disabled:!(s||i)},o.createElement("textarea",(0,y.Z)({},v,{ref:h,style:U,className:a()(n,c,(0,F.Z)({},"".concat(n,"-disabled"),d)),disabled:d,value:b,onChange:function(e){x(e.target.value),null==p||p(e)}})))}),q=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function U(e,t){return(0,H.Z)(e||"").slice(0,t).join("")}function Y(e,t,n,r){var l=n;return e?l=U(n,r):(0,H.Z)(t||"").lengthr&&(l=t),l}var G=o.forwardRef(function(e,t){var n,r,l=e.defaultValue,u=e.value,s=e.onFocus,i=e.onBlur,c=e.onChange,d=e.allowClear,p=e.maxLength,v=e.onCompositionStart,m=e.onCompositionEnd,g=e.suffix,b=e.prefixCls,x=void 0===b?"rc-textarea":b,h=e.classes,w=e.showCount,C=e.className,E=e.style,Z=e.disabled,N=e.hidden,O=e.classNames,S=e.styles,z=e.onResize,j=(0,M.Z)(e,q),R=(0,D.Z)(l,{value:u,defaultValue:l}),A=(0,I.Z)(R,2),$=A[0],P=A[1],k=(0,o.useRef)(null),L=o.useState(!1),_=(0,I.Z)(L,2),W=_[0],Q=_[1],J=o.useState(!1),K=(0,I.Z)(J,2),G=K[0],ee=K[1],et=o.useRef(),en=o.useRef(0),er=o.useState(null),el=(0,I.Z)(er,2),ea=el[0],eo=el[1],eu=function(){var e;null===(e=k.current)||void 0===e||e.textArea.focus()};(0,o.useImperativeHandle)(t,function(){return{resizableTextArea:k.current,focus:eu,blur:function(){var e;null===(e=k.current)||void 0===e||e.textArea.blur()}}}),(0,o.useEffect)(function(){Q(function(e){return!Z&&e})},[Z]);var es=Number(p)>0,ei=(0,V.D7)($);!G&&es&&null==u&&(ei=U(ei,p));var ec=g;if(w){var ef=(0,H.Z)(ei).length;r="object"===(0,T.Z)(w)?w.formatter({value:ei,count:ef,maxLength:p}):"".concat(ef).concat(es?" / ".concat(p):""),ec=o.createElement(o.Fragment,null,ec,o.createElement("span",{className:a()("".concat(x,"-data-count"),null==O?void 0:O.count),style:null==S?void 0:S.count},r))}var ed=!j.autoSize&&!w&&!d;return o.createElement(f.Q,{value:ei,allowClear:d,handleReset:function(e){var t;P(""),eu(),(0,V.rJ)(null===(t=k.current)||void 0===t?void 0:t.textArea,e,c)},suffix:ec,prefixCls:x,classes:{affixWrapper:a()(null==h?void 0:h.affixWrapper,(n={},(0,F.Z)(n,"".concat(x,"-show-count"),w),(0,F.Z)(n,"".concat(x,"-textarea-allow-clear"),d),n))},disabled:Z,focused:W,className:C,style:(0,B.Z)((0,B.Z)({},E),ea&&!ed?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof r?r:void 0}},hidden:N,inputElement:o.createElement(X,(0,y.Z)({},j,{onKeyDown:function(e){var t=j.onPressEnter,n=j.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},onChange:function(e){var t=e.target.value;!G&&es&&(t=Y(e.target.selectionStart>=p+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,p)),P(t),(0,V.rJ)(e.currentTarget,e,c,t)},onFocus:function(e){Q(!0),null==s||s(e)},onBlur:function(e){Q(!1),null==i||i(e)},onCompositionStart:function(e){ee(!0),et.current=$,en.current=e.currentTarget.selectionStart,null==v||v(e)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;es&&(n=Y(en.current>=p+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,p)),n!==$&&(P(n),(0,V.rJ)(e.currentTarget,e,c,n)),null==m||m(e)},className:null==O?void 0:O.textarea,style:(0,B.Z)((0,B.Z)({},null==S?void 0:S.textarea),{},{resize:null==E?void 0:E.resize}),disabled:Z,prefixCls:x,onResize:function(e){var t;null==z||z(e),null!==(t=k.current)&&void 0!==t&&t.textArea.style.height&&eo(!0)},ref:k}))})}),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let et=(0,o.forwardRef)((e,t)=>{let n;let{prefixCls:r,bordered:l=!0,size:f,disabled:d,status:g,allowClear:b,showCount:x,classNames:h}=e,y=ee(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:w,direction:C}=o.useContext(u.E_),E=(0,m.Z)(f),Z=o.useContext(v.Z),{status:N,hasFeedback:O,feedbackIcon:S}=o.useContext(s.aM),z=(0,p.F)(N,g),j=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null===(e=j.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n){let t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=j.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=j.current)||void 0===e?void 0:e.blur()}}});let R=w("input",r);"object"==typeof b&&(null==b?void 0:b.clearIcon)?n=b:b&&(n={clearIcon:o.createElement(c.Z,null)});let[A,$]=(0,i.ZP)(R);return A(o.createElement(G,Object.assign({},y,{disabled:null!=d?d:Z,allowClear:n,classes:{affixWrapper:a()(`${R}-textarea-affix-wrapper`,{[`${R}-affix-wrapper-rtl`]:"rtl"===C,[`${R}-affix-wrapper-borderless`]:!l,[`${R}-affix-wrapper-sm`]:"small"===E,[`${R}-affix-wrapper-lg`]:"large"===E,[`${R}-textarea-show-count`]:x},(0,p.Z)(`${R}-affix-wrapper`,z),$)},classNames:Object.assign(Object.assign({},h),{textarea:a()({[`${R}-borderless`]:!l,[`${R}-sm`]:"small"===E,[`${R}-lg`]:"large"===E},(0,p.Z)(R,z),$,null==h?void 0:h.textarea)}),prefixCls:R,suffix:O&&o.createElement("span",{className:`${R}-textarea-suffix`},S),showCount:x,ref:j})))});h.Group=e=>{let{getPrefixCls:t,direction:n}=(0,o.useContext)(u.E_),{prefixCls:r,className:l}=e,c=t("input-group",r),f=t("input"),[d,p]=(0,i.ZP)(f),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},p,l),m=(0,o.useContext)(s.aM),g=(0,o.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return d(o.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},o.createElement(s.aM.Provider,{value:g},e.children)))},h.Search=k,h.TextArea=et,h.Password=j;var en=h},23961:function(e,t,n){n.d(t,{Q:function(){return f},Z:function(){return x}});var r=n(40431),l=n(88684),a=n(65877),o=n(965),u=n(8683),s=n.n(u),i=n(86006),c=n(44698),f=function(e){var t=e.inputElement,n=e.prefixCls,u=e.prefix,f=e.suffix,d=e.addonBefore,p=e.addonAfter,v=e.className,m=e.style,g=e.disabled,b=e.readOnly,x=e.focused,h=e.triggerFocus,y=e.allowClear,w=e.value,C=e.handleReset,E=e.hidden,Z=e.classes,N=e.classNames,O=e.dataAttrs,S=e.styles,z=e.components,j=(null==z?void 0:z.affixWrapper)||"span",R=(null==z?void 0:z.groupWrapper)||"span",A=(null==z?void 0:z.wrapper)||"span",$=(null==z?void 0:z.groupAddon)||"span",P=(0,i.useRef)(null),k=(0,i.cloneElement)(t,{value:w,hidden:E,className:s()(null===(B=t.props)||void 0===B?void 0:B.className,!(0,c.X3)(e)&&!(0,c.He)(e)&&v)||null,style:(0,l.Z)((0,l.Z)({},null===(F=t.props)||void 0===F?void 0:F.style),(0,c.X3)(e)||(0,c.He)(e)?{}:m)});if((0,c.X3)(e)){var B,F,T,I="".concat(n,"-affix-wrapper"),M=s()(I,(T={},(0,a.Z)(T,"".concat(I,"-disabled"),g),(0,a.Z)(T,"".concat(I,"-focused"),x),(0,a.Z)(T,"".concat(I,"-readonly"),b),(0,a.Z)(T,"".concat(I,"-input-with-clear-btn"),f&&y&&w),T),!(0,c.He)(e)&&v,null==Z?void 0:Z.affixWrapper,null==N?void 0:N.affixWrapper),H=(f||y)&&i.createElement("span",{className:s()("".concat(n,"-suffix"),null==N?void 0:N.suffix),style:null==S?void 0:S.suffix},function(){if(!y)return null;var e,t=!g&&!b&&w,r="".concat(n,"-clear-icon"),l="object"===(0,o.Z)(y)&&null!=y&&y.clearIcon?y.clearIcon:"✖";return i.createElement("span",{onClick:C,onMouseDown:function(e){return e.preventDefault()},className:s()(r,(e={},(0,a.Z)(e,"".concat(r,"-hidden"),!t),(0,a.Z)(e,"".concat(r,"-has-suffix"),!!f),e)),role:"button",tabIndex:-1},l)}(),f);k=i.createElement(j,(0,r.Z)({className:M,style:(0,l.Z)((0,l.Z)({},(0,c.He)(e)?void 0:m),null==S?void 0:S.affixWrapper),hidden:!(0,c.He)(e)&&E,onClick:function(e){var t;null!==(t=P.current)&&void 0!==t&&t.contains(e.target)&&(null==h||h())}},null==O?void 0:O.affixWrapper,{ref:P}),u&&i.createElement("span",{className:s()("".concat(n,"-prefix"),null==N?void 0:N.prefix),style:null==S?void 0:S.prefix},u),(0,i.cloneElement)(t,{value:w,hidden:null}),H)}if((0,c.He)(e)){var V="".concat(n,"-group"),D="".concat(V,"-addon"),L=s()("".concat(n,"-wrapper"),V,null==Z?void 0:Z.wrapper),_=s()("".concat(n,"-group-wrapper"),v,null==Z?void 0:Z.group);return i.createElement(R,{className:_,style:m,hidden:E},i.createElement(A,{className:L},d&&i.createElement($,{className:D},d),(0,i.cloneElement)(k,{hidden:null}),p&&i.createElement($,{className:D},p)))}return k},d=n(90151),p=n(60456),v=n(89301),m=n(63940),g=n(73234),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],x=(0,i.forwardRef)(function(e,t){var n,u=e.autoComplete,x=e.onChange,h=e.onFocus,y=e.onBlur,w=e.onPressEnter,C=e.onKeyDown,E=e.prefixCls,Z=void 0===E?"rc-input":E,N=e.disabled,O=e.htmlSize,S=e.className,z=e.maxLength,j=e.suffix,R=e.showCount,A=e.type,$=e.classes,P=e.classNames,k=e.styles,B=(0,v.Z)(e,b),F=(0,m.Z)(e.defaultValue,{value:e.value}),T=(0,p.Z)(F,2),I=T[0],M=T[1],H=(0,i.useState)(!1),V=(0,p.Z)(H,2),D=V[0],L=V[1],_=(0,i.useRef)(null),W=function(e){_.current&&(0,c.nH)(_.current,e)};return(0,i.useImperativeHandle)(t,function(){return{focus:W,blur:function(){var e;null===(e=_.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=_.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=_.current)||void 0===e||e.select()},input:_.current}}),(0,i.useEffect)(function(){L(function(e){return(!e||!N)&&e})},[N]),i.createElement(f,(0,r.Z)({},B,{prefixCls:Z,className:S,inputElement:(n=(0,g.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]),i.createElement("input",(0,r.Z)({autoComplete:u},n,{onChange:function(t){void 0===e.value&&M(t.target.value),_.current&&(0,c.rJ)(_.current,t,x)},onFocus:function(e){L(!0),null==h||h(e)},onBlur:function(e){L(!1),null==y||y(e)},onKeyDown:function(e){w&&"Enter"===e.key&&w(e),null==C||C(e)},className:s()(Z,(0,a.Z)({},"".concat(Z,"-disabled"),N),null==P?void 0:P.input),style:null==k?void 0:k.input,ref:_,size:O,type:void 0===A?"text":A}))),handleReset:function(e){M(""),W(),_.current&&(0,c.rJ)(_.current,e,x)},value:(0,c.D7)(I),focused:D,triggerFocus:W,suffix:function(){var e=Number(z)>0;if(j||R){var t=(0,c.D7)(I),n=(0,d.Z)(t).length,r="object"===(0,o.Z)(R)?R.formatter({value:t,count:n,maxLength:z}):"".concat(n).concat(e?" / ".concat(z):"");return i.createElement(i.Fragment,null,!!R&&i.createElement("span",{className:s()("".concat(Z,"-show-count-suffix"),(0,a.Z)({},"".concat(Z,"-show-count-has-suffix"),!!j),null==P?void 0:P.count),style:(0,l.Z)({},null==k?void 0:k.count)},r),j)}return null}(),disabled:N,classes:$,classNames:P,styles:k}))})},44698:function(e,t,n){function r(e){return!!(e.addonBefore||e.addonAfter)}function l(e){return!!(e.prefix||e.suffix||e.allowClear)}function a(e,t,n,r){if(n){var l=t;if("click"===t.type){var a=e.cloneNode(!0);l=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",n(l);return}if(void 0!==r){l=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(l);return}n(l)}}function o(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}function u(e){return null==e?"":String(e)}n.d(t,{D7:function(){return u},He:function(){return r},X3:function(){return l},nH:function(){return o},rJ:function(){return a}})}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/chat/page-de3cfaa8003bf23d.js b/pilot/server/static/_next/static/chunks/app/chat/page-de3cfaa8003bf23d.js deleted file mode 100644 index 66d395226..000000000 --- a/pilot/server/static/_next/static/chunks/app/chat/page-de3cfaa8003bf23d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[929],{86066:function(e,l,t){Promise.resolve().then(t.bind(t,50229))},50229:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return ew}});var a=t(9268),n=t(86006),s=t(57931),i=t(11196),r=t(83192),o=t(35891),d=t(22046),c=t(53113),u=t(56456),h=t(24857),v=t(90545),x=t(48755),m=t(56959),f=t(76447),p=t(61469),j=t(98222),g=t(84257),y=t(8683),b=t.n(y),w=t(77055);function Z(e){let{className:l,value:t,language:s="mysql",onChange:i,thoughts:r}=e,o=(0,n.useMemo)(()=>"mysql"!==s?t:r&&r.length>0?(0,w.WU)("-- ".concat(r," \n").concat(t)):(0,w.WU)(t),[t,r]);return(0,a.jsx)(g.ZP,{className:b()(l),value:o,language:s,onChange:i,theme:"vs-dark",options:{minimap:{enabled:!1},wordWrap:"on"}})}var _=t(89749),N=t(56008),S=t(90022),P=t(8997),k=t(91440),C=t(84835),E=t.n(C),O=function(e){let{type:l,values:t,title:s,description:i}=e,o=n.useMemo(()=>{if(!((null==t?void 0:t.length)>0))return(0,a.jsx)("div",{className:"h-full",children:(0,a.jsx)(f.Z,{image:f.Z.PRESENTED_IMAGE_SIMPLE,description:"图表数据为空"})});if("IndicatorValue"!==l){if("Table"===l){var e,n,s;let l=E().groupBy(t,"type");return(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:(0,a.jsxs)(r.Z,{"aria-label":"basic table",hoverRow:!0,stickyHeader:!0,children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:Object.keys(l).map(e=>(0,a.jsx)("th",{children:e},e))})}),(0,a.jsx)("tbody",{children:null===(e=Object.values(l))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:null===(s=n.map)||void 0===s?void 0:s.call(n,(e,t)=>{var n;return(0,a.jsx)("tr",{children:null===(n=Object.keys(l))||void 0===n?void 0:n.map(e=>{var n;return(0,a.jsx)("td",{children:(null==l?void 0:null===(n=l[e])||void 0===n?void 0:n[t].value)||""},e)})},t)})})]})})}return"BarChart"===l?(0,a.jsx)("div",{className:"flex-1 h-full",children:(0,a.jsxs)(k.Chart,{autoFit:!0,data:t||[],forceUpdate:!0,children:[(0,a.jsx)(k.Interval,{position:"name*value",style:{lineWidth:3,stroke:(0,k.getTheme)().colors10[0]}}),(0,a.jsx)(k.Tooltip,{shared:!0})]})}):"LineChart"===l?(0,a.jsx)("div",{className:"flex-1 h-full",children:(0,a.jsx)(k.Chart,{forceUpdate:!0,autoFit:!0,data:t||[],children:(0,a.jsx)(k.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"name*value",color:"type"})})}):(0,a.jsx)("div",{className:"h-full",children:(0,a.jsx)(f.Z,{image:f.Z.PRESENTED_IMAGE_SIMPLE,description:"暂不支持该图表类型"})})}},[t,l]);return"IndicatorValue"===l&&(null==t?void 0:t.length)>0?(0,a.jsx)("div",{className:"flex flex-row gap-3",children:t.map(e=>(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(S.Z,{sx:{background:"transparent"},children:(0,a.jsxs)(P.Z,{className:"justify-around",children:[(0,a.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,a.jsx)(d.ZP,{children:"".concat(e.type,": ").concat(e.value)})]})})},e.name))}):(0,a.jsx)("div",{className:"flex-1 h-full",children:(0,a.jsx)(S.Z,{className:"h-full overflow-auto",sx:{background:"transparent"},children:(0,a.jsxs)(P.Z,{className:"h-full",children:[s&&(0,a.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:s}),i&&(0,a.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:i}),o]})})})};let{Search:R}=m.default;function q(e){var l,t,s;let{editorValue:i,chartData:o,tableData:d,handleChange:c}=e,u=n.useMemo(()=>o?(0,a.jsx)("div",{className:"flex-1 overflow-auto p-3",style:{flexShrink:0,overflow:"hidden"},children:(0,a.jsx)(O,{...o})}):(0,a.jsx)("div",{}),[o]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,a.jsx)("div",{className:"flex-1",style:{flexShrink:0,overflow:"auto"},children:(0,a.jsx)(Z,{value:(null==i?void 0:i.sql)||"",language:"mysql",onChange:c,thoughts:(null==i?void 0:i.thoughts)||""})}),u]}),(0,a.jsx)("div",{className:"h-96 border-[var(--joy-palette-divider)] border-t border-solid overflow-auto",children:(null==d?void 0:null===(l=d.values)||void 0===l?void 0:l.length)>0?(0,a.jsxs)(r.Z,{"aria-label":"basic table",stickyHeader:!0,children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:null==d?void 0:null===(t=d.columns)||void 0===t?void 0:t.map((e,l)=>(0,a.jsx)("th",{children:e},e+l))})}),(0,a.jsx)("tbody",{children:null==d?void 0:null===(s=d.values)||void 0===s?void 0:s.map((e,l)=>{var t;return(0,a.jsx)("tr",{children:null===(t=Object.keys(e))||void 0===t?void 0:t.map(l=>(0,a.jsx)("td",{children:e[l]},l))},l)})})]}):(0,a.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,a.jsx)(f.Z,{})})})]})}var T=function(){var e,l,t,s,r;let[m,f]=n.useState([]),[g,y]=n.useState([]),[b,w]=n.useState(""),[Z,S]=n.useState(),[P,k]=n.useState(!0),[C,E]=n.useState(),[O,T]=n.useState(),[B,A]=n.useState(),[D,I]=n.useState(),[L,F]=n.useState(),M=(0,N.useSearchParams)(),U=M.get("id"),z=M.get("scene"),{data:W,loading:V}=(0,i.Z)(async()=>await (0,_.Tk)("/v1/editor/sql/rounds",{con_uid:U}),{onSuccess:e=>{var l,t;let a=null==e?void 0:null===(l=e.data)||void 0===l?void 0:l[(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.length)-1];a&&S(null==a?void 0:a.round)}}),{run:H,loading:J}=(0,i.Z)(async()=>{var e,l;let t=null===(e=null==W?void 0:null===(l=W.data)||void 0===l?void 0:l.find(e=>e.round===Z))||void 0===e?void 0:e.db_name;return await (0,_.PR)("/api/v1/editor/sql/run",{db_name:t,sql:null==B?void 0:B.sql})},{manual:!0,onSuccess:e=>{var l,t;I({columns:null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.colunms,values:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.values})}}),{run:K,loading:G}=(0,i.Z)(async()=>{var e,l;let t=null===(e=null==W?void 0:null===(l=W.data)||void 0===l?void 0:l.find(e=>e.round===Z))||void 0===e?void 0:e.db_name,a={db_name:t,sql:null==B?void 0:B.sql};return"chat_dashboard"===z&&(a.chart_type=null==B?void 0:B.showcase),await (0,_.PR)("/api/v1/editor/chart/run",a)},{manual:!0,ready:!!(null==B?void 0:B.sql),onSuccess:e=>{if(null==e?void 0:e.success){var l,t,a,n,s,i,r;I({columns:(null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.sql_data)||void 0===t?void 0:t.colunms)||[],values:(null==e?void 0:null===(a=e.data)||void 0===a?void 0:null===(n=a.sql_data)||void 0===n?void 0:n.values)||[]}),(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.chart_values)?E({type:null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.chart_type,values:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.chart_values,title:null==B?void 0:B.title,description:null==B?void 0:B.thoughts}):E(void 0)}}}),{run:Y,loading:$}=(0,i.Z)(async()=>{var e,l,t,a,n;let s=null===(e=null==W?void 0:null===(l=W.data)||void 0===l?void 0:l.find(e=>e.round===Z))||void 0===e?void 0:e.db_name;return await (0,_.PR)("/api/v1/sql/editor/submit",{conv_uid:U,db_name:s,conv_round:Z,old_sql:null==O?void 0:O.sql,old_speak:null==O?void 0:O.thoughts,new_sql:null==B?void 0:B.sql,new_speak:(null===(t=null==B?void 0:null===(a=B.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===t?void 0:null===(n=t[1])||void 0===n?void 0:n.trim())||(null==B?void 0:B.thoughts)})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&H()}}),{run:Q,loading:X}=(0,i.Z)(async()=>{var e,l,t,a,n,s;let i=null===(e=null==W?void 0:null===(l=W.data)||void 0===l?void 0:l.find(e=>e.round===Z))||void 0===e?void 0:e.db_name;return await (0,_.PR)("/api/v1/chart/editor/submit",{conv_uid:U,chart_title:null==B?void 0:B.title,db_name:i,old_sql:null==O?void 0:null===(t=O[L])||void 0===t?void 0:t.sql,new_chart_type:null==B?void 0:B.showcase,new_sql:null==B?void 0:B.sql,new_comment:(null===(a=null==B?void 0:null===(n=B.thoughts)||void 0===n?void 0:n.match(/^\n--(.*)\n\n$/))||void 0===a?void 0:null===(s=a[1])||void 0===s?void 0:s.trim())||(null==B?void 0:B.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&K()}}),{data:ee}=(0,i.Z)(async()=>{var e,l;let t=null===(e=null==W?void 0:null===(l=W.data)||void 0===l?void 0:l.find(e=>e.round===Z))||void 0===e?void 0:e.db_name;return await (0,_.Tk)("/v1/editor/db/tables",{db_name:t,page_index:1,page_size:200})},{ready:!!(null===(e=null==W?void 0:null===(l=W.data)||void 0===l?void 0:l.find(e=>e.round===Z))||void 0===e?void 0:e.db_name),refreshDeps:[null===(t=null==W?void 0:null===(s=W.data)||void 0===s?void 0:s.find(e=>e.round===Z))||void 0===t?void 0:t.db_name]}),{run:el}=(0,i.Z)(async e=>await (0,_.Tk)("/v1/editor/sql",{con_uid:U,round:e}),{manual:!0,onSuccess:e=>{let l;try{if(Array.isArray(null==e?void 0:e.data))l=null==e?void 0:e.data,F("0");else if("string"==typeof(null==e?void 0:e.data)){let t=JSON.parse(null==e?void 0:e.data);l=t}else l=null==e?void 0:e.data}catch(e){console.log(e)}finally{T(l),Array.isArray(l)?A(null==l?void 0:l[Number(L||0)]):A(l)}}}),et=n.useMemo(()=>{let e=(l,t)=>l.map(l=>{let n=l.title,s=n.indexOf(b),i=n.substring(0,s),r=n.slice(s+b.length),c=s>-1?(0,a.jsx)(o.Z,{title:((null==l?void 0:l.comment)||(null==l?void 0:l.title))+((null==l?void 0:l.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[i,(0,a.jsx)("span",{className:"text-[#1677ff]",children:b}),r,(null==l?void 0:l.type)&&(0,a.jsx)(d.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==l?void 0:l.type,"]")})]})}):(0,a.jsx)(o.Z,{title:((null==l?void 0:l.comment)||(null==l?void 0:l.title))+((null==l?void 0:l.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,a.jsxs)("span",{children:[n,(null==l?void 0:l.type)&&(0,a.jsx)(d.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==l?void 0:l.type,"]")})]})});if(l.children){let a=t?String(t)+"_"+l.key:l.key;return{title:n,showTitle:c,key:a,children:e(l.children,a)}}return{title:n,showTitle:c,key:l.key}});return(null==ee?void 0:ee.data)?(f([null==ee?void 0:ee.data.key]),e([null==ee?void 0:ee.data])):[]},[b,ee]),ea=n.useMemo(()=>{let e=[],l=(t,a)=>{if(t&&!((null==t?void 0:t.length)<=0))for(let n=0;n{let t;for(let a=0;al.key===e)?t=n.key:en(e,n.children)&&(t=en(e,n.children)))}return t};function es(e){let l;if(!e)return{sql:"",thoughts:""};let t=e&&e.match(/(--.*)\n([\s\S]*)/),a="";return t&&t.length>=3&&(a=t[1],l=t[2]),{sql:l,thoughts:a}}return n.useEffect(()=>{Z&&el(Z)},[el,Z]),n.useEffect(()=>{O&&"chat_dashboard"===z&&L&&K()},[L,z,O,K]),n.useEffect(()=>{O&&"chat_dashboard"!==z&&H()},[z,O,H]),(0,a.jsxs)("div",{className:"flex flex-col w-full h-full",children:[(0,a.jsx)("div",{className:"bg-[#f8f8f8] border-[var(--joy-palette-divider)] border-b border-solid flex items-center px-3 justify-between",children:(0,a.jsxs)("div",{className:"absolute right-4 top-2",children:[(0,a.jsx)(c.Z,{className:"bg-[#1677ff] text-[#fff] hover:bg-[#1c558e] px-4 cursor-pointer",loading:J||G,size:"sm",onClick:async()=>{"chat_dashboard"===z?K():H()},children:"Run"}),(0,a.jsx)(c.Z,{variant:"outlined",size:"sm",className:"ml-3 px-4 cursor-pointer",loading:$||X,onClick:async()=>{"chat_dashboard"===z?await Q():await Y()},children:"Save"})]})}),(0,a.jsxs)("div",{className:"flex flex-1 overflow-auto",children:[(0,a.jsxs)("div",{className:"text h-full border-[var(--joy-palette-divider)] border-r border-solid p-3 max-h-full overflow-auto",style:{width:"300px"},children:[(0,a.jsxs)("div",{className:"flex items-center py-3",children:[(0,a.jsx)(u.Z,{className:"h-4 min-w-[240px]",size:"sm",value:Z,onChange:(e,l)=>{S(l)},children:null==W?void 0:null===(r=W.data)||void 0===r?void 0:r.map(e=>(0,a.jsx)(h.Z,{value:null==e?void 0:e.round,children:null==e?void 0:e.round_name},null==e?void 0:e.round))}),(0,a.jsx)(x.Z,{className:"ml-2"})]}),(0,a.jsx)(R,{style:{marginBottom:8},placeholder:"Search",onChange:e=>{let{value:l}=e.target;if(null==ee?void 0:ee.data){if(l){let e=ea.map(e=>e.title.indexOf(l)>-1?en(e.key,et):null).filter((e,l,t)=>e&&t.indexOf(e)===l);f(e)}else f([]);w(l),k(!0)}}}),et&&et.length>0&&(0,a.jsx)(p.Z,{onExpand:e=>{f(e),k(!1)},expandedKeys:m,autoExpandParent:P,treeData:et,fieldNames:{title:"showTitle"}})]}),(0,a.jsx)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:Array.isArray(O)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(v.Z,{className:"h-full",sx:{".ant-tabs-content, .ant-tabs-tabpane-active":{height:"100%"},"& .ant-tabs-card.ant-tabs-top >.ant-tabs-nav .ant-tabs-tab, & .ant-tabs-card.ant-tabs-top >div>.ant-tabs-nav .ant-tabs-tab":{borderRadius:"0"}},children:(0,a.jsx)(j.Z,{className:"h-full dark:text-white px-2",activeKey:L,onChange:e=>{F(e),A(null==O?void 0:O[Number(e)])},items:null==O?void 0:O.map((e,l)=>({key:l+"",label:null==e?void 0:e.title,children:(0,a.jsx)("div",{className:"flex flex-col h-full",children:(0,a.jsx)(q,{editorValue:e,handleChange:e=>{let{sql:l,thoughts:t}=es(e);A(e=>Object.assign({},e,{sql:l,thoughts:t}))},tableData:D,chartData:C})})}))})})}):(0,a.jsx)(q,{editorValue:O,handleChange:e=>{let{sql:l,thoughts:t}=es(e);A(e=>Object.assign({},e,{sql:l,thoughts:t}))},tableData:D,chartData:void 0})})]})]})},B=t(69962),A=t(97287),D=t(73141),I=t(45642),L=t(71990),F=e=>{let l=(0,n.useReducer)((e,l)=>({...e,...l}),{...e});return l},M=t(21628),U=t(52040),z=e=>{let{queryAgentURL:l,channel:t,queryBody:a,initHistory:i,runHistoryList:r}=e,[o,d]=F({history:i||[]}),c=(0,N.useSearchParams)(),u=c.get("id"),{refreshDialogList:h}=(0,s.Cg)(),v=new AbortController;(0,n.useEffect)(()=>{i&&d({history:i})},[i]);let x=async(e,n)=>{if(!e)return;let s=[...o.history,{role:"human",context:e}],i=s.length;d({history:s});let r={conv_uid:u,...n,...a,user_input:e,channel:t};if(!(null==r?void 0:r.conv_uid)){M.ZP.error("conv_uid 不存在,请刷新后重试");return}try{await (0,L.L)("".concat(U.env.API_BASE_URL?U.env.API_BASE_URL:"").concat("/api"+l),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r),signal:v.signal,openWhenHidden:!0,async onopen(e){if(s.length<=1){var l;h();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),null===(l=window.history)||void 0===l||l.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==L.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw console.log("onerror"),Error(e)},onmessage:e=>{var l,t,a;if(e.data=null===(l=e.data)||void 0===l?void 0:l.replaceAll("\\n","\n"),"[DONE]"===e.data);else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))d({history:[...s,{role:"view",context:null===(a=e.data)||void 0===a?void 0:a.replace("[ERROR]","")}]});else{let l=[...s];e.data&&((null==l?void 0:l[i])?l[i].context="".concat(e.data):l.push({role:"view",context:e.data}),d({history:l}))}}})}catch(e){console.log(e),d({history:[...s,{role:"view",context:"Sorry, We meet some error, please try agin later."}]})}};return{handleChatSubmit:x,history:o.history}},W=t(54842),V=t(80937),H=t(311),J=t(94244),K=t(35086),G=t(53047),Y=t(81486),$=t(82144),Q=t(19700),X=t(55749),ee=t(70781),el=t(42599),et=t(99398),ea=t(49064),en=t(71563),es=t(86362),ei=t(50946),er=t(52276),eo=t(53534),ed=t(24946),ec=t(98479),eu=t(81616),eh=function(e){var l,t;let{convUid:s,chatMode:i,fileName:r,onComplete:o,...d}=e,[c,u]=(0,n.useState)(!1),[h,v]=(0,n.useState)([]),[x,m]=(0,n.useState)(),[f,p]=(0,n.useState)(),j=async e=>{var l;if(!e){M.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(l=e.file.name)&&void 0!==l?l:"")){M.ZP.error("File type must be csv, xlsx or xls");return}v([e.file])},g=async()=>{u(!0),p("normal");try{let e=new FormData;e.append("doc_file",h[0]);let{success:l,err_msg:t}=await eo.Z.post("/api/v1/chat/mode/params/file/load?conv_uid=".concat(s,"&chat_mode=").concat(i),e,{timeout:36e5,headers:{"Content-Type":"multipart/form-data"},onUploadProgress(e){let l=Math.ceil(e.loaded/(e.total||0)*100);m(l)}});if(!l){M.ZP.error(t);return}M.ZP.success("success"),p("success"),o()}catch(e){p("exception"),M.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{u(!1)}};return(0,a.jsxs)("div",{className:"w-full",children:[!r&&(0,a.jsxs)("div",{className:"flex items-start",children:[(0,a.jsx)(en.Z,{placement:"topLeft",title:"Files cannot be changed after upload",children:(0,a.jsx)(es.default,{disabled:c,className:"mr-1",beforeUpload:()=>!1,fileList:h,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:j,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,a.jsx)(a.Fragment,{}),...d,children:(0,a.jsx)(ei.ZP,{className:"flex justify-center items-center dark:bg-[#4e4f56] dark:text-gray-200",disabled:c,icon:(0,a.jsx)(ed.Z,{}),children:"Select File"})})}),(0,a.jsx)(ei.ZP,{type:"primary",loading:c,className:"flex justify-center items-center",disabled:!h.length,icon:(0,a.jsx)(ec.Z,{}),onClick:g,children:c?100===x?"Analysis":"Uploading":"Upload"})]}),(!!h.length||r)&&(0,a.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",children:[(0,a.jsx)(eu.Z,{className:"mr-2"}),(0,a.jsx)("span",{children:null!==(t=null==h?void 0:null===(l=h[0])||void 0===l?void 0:l.name)&&void 0!==t?t:r})]}),("number"==typeof x||!!r)&&(0,a.jsx)(er.Z,{className:"mb-0",percent:r?100:x,size:"small",status:r?"success":f})]})},ev=e=>{var l;let{messages:t,dialogue:s,onSubmit:i,readOnly:r,paramsList:o,onRefreshHistory:d,clearIntialMessage:x,setChartsData:m}=e,f=(0,N.useSearchParams)(),p=f.get("initMessage"),j=f.get("spaceNameOriginal"),g=f.get("id"),y=f.get("scene"),b="chat_dashboard"===y,w=(0,n.useRef)(null),[_,P]=(0,n.useState)(!1),[k,C]=(0,n.useState)(),[O,R]=(0,n.useState)(!1),[q,T]=(0,n.useState)(),[B,A]=(0,n.useState)(t),[D,I]=(0,n.useState)(""),L=(0,Q.cI)(),F=async e=>{let{query:l}=e;try{P(!0),L.reset(),await i(l,{select_param:"chat_excel"===y?null==s?void 0:s.select_param:null==o?void 0:o[k]})}catch(e){}finally{P(!1)}},M=async()=>{try{var e;let l=new URLSearchParams(window.location.search),t=l.get("initMessage");l.delete("initMessage"),null===(e=window.history)||void 0===e||e.replaceState(null,null,"?".concat(l.toString())),await F({query:t})}catch(e){console.log(e)}finally{null==x||x()}},U={overrides:{code:e=>{let{children:l}=e;return(0,a.jsx)(et.Z,{language:"javascript",style:ea.Z,children:l})}},wrapper:n.Fragment},z=e=>{let l=e;try{l=JSON.parse(e)}catch(e){console.log(e)}return l};return(0,n.useEffect)(()=>{w.current&&w.current.scrollTo(0,w.current.scrollHeight)},[null==t?void 0:t.length]),(0,n.useEffect)(()=>{p&&t.length<=0&&M()},[p,t.length]),(0,n.useEffect)(()=>{var e,l;o&&(null===(e=Object.keys(o||{}))||void 0===e?void 0:e.length)>0&&C(j||(null===(l=Object.keys(o||{}))||void 0===l?void 0:l[0]))},[o]),(0,n.useEffect)(()=>{if(b){let e=E().cloneDeep(t);e.forEach(e=>{(null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=z(null==e?void 0:e.context))}),A(e.filter(e=>["view","human"].includes(e.role)))}else A(t.filter(e=>["view","human"].includes(e.role)))},[b,t]),(0,a.jsxs)("div",{className:"w-full h-full",children:[(0,a.jsxs)(V.Z,{className:"w-full h-full bg-[#fefefe] dark:bg-[#212121]",sx:{table:{borderCollapse:"collapse",border:"1px solid #ccc",width:"100%"},"th, td":{border:"1px solid #ccc",padding:"10px",textAlign:"center"}},children:[(0,a.jsxs)(V.Z,{ref:w,direction:"column",sx:{overflowY:"auto",maxHeight:"100%",flex:1},children:[null==B?void 0:B.map((e,l)=>{var t,n;return(0,a.jsx)(V.Z,{children:(0,a.jsx)(S.Z,{size:"sm",variant:"outlined",color:"view"===e.role?"primary":"neutral",sx:l=>({background:"view"===e.role?"var(--joy-palette-primary-softBg, var(--joy-palette-primary-100, #DDF1FF))":"unset",border:"unset",borderRadius:"unset",padding:"24px 0 26px 0",lineHeight:"24px"}),children:(0,a.jsxs)(v.Z,{sx:{width:"76%",margin:"0 auto"},className:"flex flex-row",children:["view"===e.role?(0,a.jsx)(ee.Z,{className:"mr-2 mt-1"}):(0,a.jsx)(X.Z,{className:"mr-2 mt-1"}),(0,a.jsx)("div",{className:"inline align-middle mt-0.5 max-w-full flex-1 overflow-auto",children:b&&"view"===e.role&&"object"==typeof(null==e?void 0:e.context)?(0,a.jsxs)(a.Fragment,{children:["[".concat(e.context.template_name,"]: "),(0,a.jsx)(H.Z,{sx:{color:"#1677ff"},component:"button",onClick:()=>{R(!0),T(l),I(JSON.stringify(null==e?void 0:e.context,null,2))},children:e.context.template_introduce||"More Details"})]}):(0,a.jsx)(a.Fragment,{children:"string"==typeof e.context&&(0,a.jsx)(el.Z,{options:U,children:null===(t=e.context)||void 0===t?void 0:null===(n=t.replaceAll)||void 0===n?void 0:n.call(t,"\\n","\n")})})})]})})},l)}),_&&(0,a.jsx)(J.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!r&&(0,a.jsx)(v.Z,{className:"bg-[#fefefe] dark:bg-[#212121] before:bg-[#fefefe] before:dark:bg-[#212121]",sx:{position:"relative","&::before":{content:'" "',position:"absolute",top:"-18px",left:"0",right:"0",width:"100%",margin:"0 auto",height:"20px",filter:"blur(10px)",zIndex:2}},children:(0,a.jsxs)("form",{style:{maxWidth:"100%",width:"76%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",flexDirection:"column",gap:"12px",paddingBottom:"58px",paddingTop:"20px"},onSubmit:e=>{e.stopPropagation(),L.handleSubmit(F)(e)},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"8px"},children:[Object.keys(o||{}).length>0&&(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsx)(u.Z,{value:k,onChange:(e,l)=>{C(l)},sx:{maxWidth:"100%"},children:null===(l=Object.keys(o||{}))||void 0===l?void 0:l.map(e=>(0,a.jsx)(h.Z,{value:e,children:e},e))})}),"chat_excel"===y&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(eh,{convUid:g,chatMode:y,fileName:null==s?void 0:s.select_param,onComplete:()=>{null==x||x(),null==d||d()}})})]}),(0,a.jsx)(K.ZP,{disabled:"chat_excel"===y&&!(null==s?void 0:s.select_param),className:"w-full h-12",variant:"outlined",endDecorator:(0,a.jsx)(G.ZP,{type:"submit",disabled:_,children:(0,a.jsx)(W.Z,{})}),...L.register("query")})]})})]}),(0,a.jsx)(Y.Z,{open:O,onClose:()=>{R(!1)},children:(0,a.jsxs)($.Z,{className:"w-1/2 h-[600px] flex items-center justify-center","aria-labelledby":"variant-modal-title","aria-describedby":"variant-modal-description",children:[(0,a.jsx)(Z,{className:"w-full h-[500px]",language:"json",value:D}),(0,a.jsx)(c.Z,{variant:"outlined",className:"w-full mt-2",onClick:()=>R(!1),children:"OK"})]})})]})};function ex(e){let{key:l,chart:t}=e;return(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)(S.Z,{className:"h-full",sx:{background:"transparent"},children:(0,a.jsxs)(P.Z,{className:"h-full",children:[(0,a.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:t.chart_name}),(0,a.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:t.chart_desc}),(0,a.jsx)("div",{className:"h-[300px]",children:(0,a.jsx)(k.Chart,{autoFit:!0,data:t.values,children:(0,a.jsx)(k.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"name*value",color:"type"})})})]})})},l)}function em(e){let{key:l,chart:t}=e;return(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)(S.Z,{className:"h-full",sx:{background:"transparent"},children:(0,a.jsxs)(P.Z,{className:"h-full",children:[(0,a.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:t.chart_name}),(0,a.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:t.chart_desc}),(0,a.jsx)("div",{className:"h-[300px]",children:(0,a.jsxs)(k.Chart,{autoFit:!0,data:t.values,children:[(0,a.jsx)(k.Interval,{position:"name*value",style:{lineWidth:3,stroke:(0,k.getTheme)().colors10[0]}}),(0,a.jsx)(k.Tooltip,{shared:!0})]})})]})})},l)}function ef(e){var l,t;let{key:n,chart:s}=e,i=(0,C.groupBy)(s.values,"type");return(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)(S.Z,{className:"h-full overflow-auto",sx:{background:"transparent"},children:(0,a.jsxs)(P.Z,{className:"h-full",children:[(0,a.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:s.chart_name}),"\xb7",(0,a.jsx)(d.ZP,{gutterBottom:!0,level:"body3",children:s.chart_desc}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsxs)(r.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:Object.keys(i).map(e=>(0,a.jsx)("th",{children:e},e))})}),(0,a.jsx)("tbody",{children:null===(l=Object.values(i))||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.map((e,l)=>{var t;return(0,a.jsx)("tr",{children:null===(t=Object.keys(i))||void 0===t?void 0:t.map(e=>{var t;return(0,a.jsx)("td",{children:(null==i?void 0:null===(t=i[e])||void 0===t?void 0:t[l].value)||""},e)})},l)})})]})})]})})},n)}let ep=()=>(0,a.jsxs)(S.Z,{className:"h-full w-full flex bg-transparent",children:[(0,a.jsx)(B.Z,{animation:"wave",variant:"text",level:"body2"}),(0,a.jsx)(B.Z,{animation:"wave",variant:"text",level:"body2"}),(0,a.jsx)(A.Z,{ratio:"21/9",className:"flex-1",sx:{["& .".concat(D.Z.content)]:{height:"100%"}},children:(0,a.jsx)(B.Z,{variant:"overlay",className:"h-full"})})]});var ej=()=>{var e;let[l,t]=(0,n.useState)();n.useRef(null);let[r,o]=n.useState(!1),c=(0,N.useSearchParams)(),{dialogueList:u,refreshDialogList:h}=(0,s.Cg)(),x=c.get("id"),m=c.get("scene"),f=(0,n.useMemo)(()=>(null!==(e=null==u?void 0:u.data)&&void 0!==e?e:[]).find(e=>e.conv_uid===x),[x,u]),{data:p,run:j}=(0,i.Z)(async()=>await (0,_.Tk)("/v1/chat/dialogue/messages/history",{con_uid:x}),{ready:!!x,refreshDeps:[x]}),{data:g,run:y}=(0,i.Z)(async()=>await (0,_.Tk)("/v1/chat/db/list"),{ready:!!m&&!!["chat_with_db_execute","chat_with_db_qa"].includes(m)}),{data:b}=(0,i.Z)(async()=>await (0,_.Tk)("/v1/chat/db/support/type"),{ready:!!m&&!!["chat_with_db_execute","chat_with_db_qa"].includes(m)}),{history:w,handleChatSubmit:Z}=z({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:x,chat_mode:m||"chat_normal"},initHistory:null==p?void 0:p.data,runHistoryList:j}),{data:k,run:C}=(0,i.Z)(async()=>await (0,_.Kw)("/v1/chat/mode/params/list?chat_mode=".concat(m)),{ready:!!m,refreshDeps:[x,m]});(0,n.useEffect)(()=>{try{var e;let l=null==w?void 0:null===(e=w[w.length-1])||void 0===e?void 0:e.context,a=JSON.parse(l);t((null==a?void 0:a.template_name)==="report"?null==a?void 0:a.charts:void 0)}catch(e){t(void 0)}},[w]);let E=(0,n.useMemo)(()=>{if(l){let e=[],t=null==l?void 0:l.filter(e=>"IndicatorValue"===e.chart_type);t.length>0&&e.push({charts:t,type:"IndicatorValue"});let a=null==l?void 0:l.filter(e=>"IndicatorValue"!==e.chart_type),n=a.length,s=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][n].forEach(l=>{if(l>0){let t=a.slice(s,s+l);s+=l,e.push({charts:t})}}),e}},[l]);return(0,a.jsxs)(I.Z,{container:!0,spacing:2,className:"h-full overflow-auto",sx:{flexGrow:1},children:[l&&(0,a.jsx)(I.Z,{xs:8,className:"max-h-full",children:(0,a.jsx)("div",{className:"flex flex-col gap-3 h-full",children:null==E?void 0:E.map((e,l)=>(0,a.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex gap-3":""),children:e.charts.map(e=>"IndicatorValue"===e.chart_type?(0,a.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(S.Z,{sx:{background:"transparent"},children:(0,a.jsxs)(P.Z,{className:"justify-around",children:[(0,a.jsx)(d.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,a.jsx)(d.ZP,{children:e.value})]})})},e.name))},e.chart_uid):"LineChart"===e.chart_type?(0,a.jsx)(ex,{chart:e},e.chart_uid):"BarChart"===e.chart_type?(0,a.jsx)(em,{chart:e},e.chart_uid):"Table"===e.chart_type?(0,a.jsx)(ef,{chart:e},e.chart_uid):void 0)},"chart_row_".concat(l)))})}),!l&&"chat_dashboard"===m&&(0,a.jsx)(I.Z,{xs:8,className:"max-h-full p-6",children:(0,a.jsx)("div",{className:"flex flex-col gap-3 h-full",children:(0,a.jsxs)(I.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,a.jsx)(I.Z,{xs:8,children:(0,a.jsx)(v.Z,{className:"h-full w-full",sx:{display:"flex",gap:2},children:(0,a.jsx)(ep,{})})}),(0,a.jsx)(I.Z,{xs:4,children:(0,a.jsx)(ep,{})}),(0,a.jsx)(I.Z,{xs:4,children:(0,a.jsx)(ep,{})}),(0,a.jsx)(I.Z,{xs:8,children:(0,a.jsx)(ep,{})})]})})}),(0,a.jsx)(I.Z,{xs:"chat_dashboard"===m?4:12,className:"h-full max-h-full",children:(0,a.jsx)("div",{className:"h-full",style:{boxShadow:"chat_dashboard"===m?"0px 0px 9px 0px #c1c0c080":"unset"},children:(0,a.jsx)(ev,{clearIntialMessage:async()=>{await h()},dialogue:f,dbList:null==g?void 0:g.data,runDbList:y,onRefreshHistory:j,supportTypes:null==b?void 0:b.data,messages:w||[],onSubmit:Z,paramsList:null==k?void 0:k.data,runParamsList:C,setChartsData:t})})})]})},eg=t(32093),ey=t(97237);function eb(){let{isContract:e,setIsContract:l}=(0,s.Cg)();return(0,a.jsxs)("div",{className:"relative w-56 h-10 mx-auto p-2 flex justify-center items-center bg-[#ece9e0] rounded-3xl model-tab dark:text-violet-600 z-10 ".concat(e?"editor-tab":""),children:[(0,a.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!1)},children:[(0,a.jsx)("span",{children:"Preview"}),(0,a.jsx)(ey.Z,{className:"ml-1"})]}),(0,a.jsxs)("div",{className:"z-10 w-[50%] text-center cursor-pointer",onClick:()=>{l(!0)},children:[(0,a.jsx)("span",{children:"Editor"}),(0,a.jsx)(eg.Z,{className:"ml-1"})]})]})}t(95389);var ew=()=>{let{isContract:e,setIsContract:l,setIsMenuExpand:t}=(0,s.Cg)(),i=(0,N.useSearchParams)(),r=i.get("scene"),o=i.get("id"),d=r&&["chat_with_db_execute","chat_dashboard"].includes(r);return(0,n.useEffect)(()=>{t("chat_dashboard"!==r),o&&r&&l(!1)},[o,r,t,l]),(0,a.jsxs)(a.Fragment,{children:[d&&(0,a.jsx)("div",{className:"leading-[3rem] text-right pr-3 h-12 flex justify-center",children:(0,a.jsx)("div",{className:"flex items-center cursor-pointer",children:(0,a.jsx)(eb,{})})}),e?(0,a.jsx)(T,{}):(0,a.jsx)(ej,{})]})}},57931:function(e,l,t){"use strict";t.d(l,{ZP:function(){return c},Cg:function(){return o}});var a=t(9268),n=t(11196),s=t(89749),i=t(86006),r=t(56008);let[o,d]=function(){let e=i.createContext(void 0);return[function(){let l=i.useContext(e);if(void 0===l)throw Error("useCtx must be inside a Provider with a value");return l},e.Provider]}();var c=e=>{let{children:l}=e,t=(0,r.useSearchParams)(),o=t.get("scene"),[c,u]=i.useState(!1),[h,v]=i.useState("chat_dashboard"!==o),{run:x,data:m,refresh:f}=(0,n.Z)(async()=>await (0,s.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,a.jsx)(d,{value:{isContract:c,isMenuExpand:h,dialogueList:m,setIsContract:u,setIsMenuExpand:v,queryDialogueList:x,refreshDialogList:f},children:l})}},53534:function(e,l,t){"use strict";var a=t(24214),n=t(52040);let s=a.Z.create({baseURL:n.env.API_BASE_URL});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l.Z=s},89749:function(e,l,t){"use strict";t.d(l,{Ej:function(){return u},Kw:function(){return d},PR:function(){return c},Tk:function(){return o}});var a=t(21628),n=t(53534),s=t(84835);let i={"content-type":"application/json"},r=e=>{if(!(0,s.isPlainObject)(e))return JSON.stringify(e);let l={...e};for(let e in l){let t=l[e];"string"==typeof t&&(l[e]=t.trim())}return JSON.stringify(l)},o=(e,l)=>{if(l){let t=Object.keys(l).filter(e=>void 0!==l[e]&&""!==l[e]).map(e=>"".concat(e,"=").concat(l[e])).join("&");t&&(e+="?".concat(t))}return n.Z.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,l)=>{let t=r(l);return n.Z.post("/api"+e,{body:t,headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},c=(e,l)=>n.Z.post(e,l,{headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)}),u=(e,l)=>n.Z.post(e,l).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},95389:function(){}},function(e){e.O(0,[180,757,355,932,358,649,191,230,715,569,196,86,579,868,767,686,822,959,332,253,769,744],function(){return e(e.s=86066)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/database/page-8ec81104aaf179eb.js b/pilot/server/static/_next/static/chunks/app/database/page-8ec81104aaf179eb.js deleted file mode 100644 index 9bc68f696..000000000 --- a/pilot/server/static/_next/static/chunks/app/database/page-8ec81104aaf179eb.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[504],{72981:function(e,a,s){Promise.resolve().then(s.bind(s,25224))},25224:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return T},isFileDb:function(){return M}});var l,t=s(9268),r=s(86006),n=s(2637),c=s(30741),i=s(21628),o=s(87451),d=s(50946),b=s(29274),m=s(68224),u=s(25571),p=s(76447),h=s(50148),x=s(86401),f=s(56959),y=s(44244),g=s(24214);let j=(e,a)=>e.then(e=>{let{data:s}=e;if(!s)throw Error("Network Error!");if(!s.success&&a&&"*"!==a&&s.err_code&&a.includes(s.err_code)){var l;throw Error(null!==(l=s.err_msg)&&void 0!==l?l:"")}return[null,s.data,s,e]}).catch(e=>[e,null,null,null]),v=()=>P("/chat/db/list"),Z=()=>P("/chat/db/support/type"),N=e=>q("/chat/db/delete?db_name=".concat(e),void 0),_=e=>q("/chat/db/edit",e),k=e=>q("/chat/db/add",e);var w=s(52040);let C=g.Z.create({baseURL:"".concat(null!==(l=w.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1"),timeout:1e4}),P=(e,a,s)=>C.get(e,{params:a,...s}),q=(e,a,s)=>C.post(e,a,s);var S=function(e){let{open:a,choiceDBType:s,dbTypeList:l,editValue:n,dbNames:o,onClose:b,onSuccess:m}=e,[u,p]=(0,r.useState)(!1),[g]=h.Z.useForm(),v=h.Z.useWatch("db_type",g),Z=(0,r.useMemo)(()=>M(l,v),[l,v]);(0,r.useEffect)(()=>{s&&g.setFieldValue("db_type",s)},[s]),(0,r.useEffect)(()=>{n&&g.setFieldsValue({...n})},[n]),(0,r.useEffect)(()=>{a||g.resetFields()},[a]);let N=async e=>{let{db_host:a,db_path:s,db_port:l,...t}=e;if(!n&&o.some(e=>e===t.db_name)){i.ZP.error("The database already exists!");return}let r={db_host:Z?void 0:a,db_port:Z?void 0:l,file_path:Z?s:void 0,...t};p(!0);try{let[e]=await j((n?_:k)(r));if(e){i.ZP.error(e.message);return}i.ZP.success("success"),null==m||m()}catch(e){i.ZP.error(e.message)}finally{p(!1)}},w=(0,r.useMemo)(()=>!!n||!!s,[n,s]);return(0,t.jsx)(c.Z,{open:a,width:400,title:n?"Edit DB Connect":"Create DB Connenct",maskClosable:!1,footer:null,onCancel:b,children:(0,t.jsxs)(h.Z,{form:g,className:"pt-2",labelCol:{span:6},labelAlign:"left",onFinish:N,children:[(0,t.jsx)(h.Z.Item,{name:"db_type",label:"DB Type",className:"mb-3",rules:[{required:!0}],children:(0,t.jsx)(x.Z,{"aria-readonly":w,disabled:w,options:l})}),(0,t.jsx)(h.Z.Item,{name:"db_name",label:"DB Name",className:"mb-3",rules:[{required:!0}],children:(0,t.jsx)(f.default,{readOnly:!!n,disabled:!!n})}),!0===Z&&(0,t.jsx)(h.Z.Item,{name:"db_path",label:"Path",className:"mb-3",rules:[{required:!0}],children:(0,t.jsx)(f.default,{})}),!1===Z&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Z.Item,{name:"db_user",label:"Username",className:"mb-3",rules:[{required:!0}],children:(0,t.jsx)(f.default,{})}),(0,t.jsx)(h.Z.Item,{name:"db_pwd",label:"Password",className:"mb-3",rules:[{required:!0}],children:(0,t.jsx)(f.default,{type:"password"})}),(0,t.jsx)(h.Z.Item,{name:"db_host",label:"Host",className:"mb-3",rules:[{required:!0}],children:(0,t.jsx)(f.default,{})}),(0,t.jsx)(h.Z.Item,{name:"db_port",label:"Port",className:"mb-3",rules:[{required:!0}],children:(0,t.jsx)(y.Z,{min:1,step:1,max:65535})})]}),(0,t.jsx)(h.Z.Item,{name:"comment",label:"Remark",className:"mb-3",children:(0,t.jsx)(f.default,{})}),(0,t.jsxs)(h.Z.Item,{className:"flex flex-row-reverse pt-1 mb-0",children:[(0,t.jsx)(d.ZP,{htmlType:"submit",type:"primary",size:"middle",className:"mr-1",loading:u,children:"Save"}),(0,t.jsx)(d.ZP,{size:"middle",onClick:b,children:"Cancel"})]})]})})},F=s(71563),E=function(e){let{info:a,onClick:s}=e,l=(0,r.useCallback)(()=>{a.disabled||null==s||s()},[a.disabled,s]);return(0,t.jsxs)("div",{className:"relative flex flex-col py-4 px-4 w-72 h-32 cursor-pointer rounded-lg justify-between text-black bg-white border-gray-200 border hover:shadow-md dark:border-gray-600 dark:bg-black dark:text-white dark:hover:border-white transition-all ".concat(a.disabled?"grayscale":""),onClick:l,children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("img",{className:"w-11 h-11 rounded-full mr-4 border border-gray-200 object-contain",src:a.icon,alt:a.label}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("h2",{className:"text-sm font-semibold",children:a.label}),a.disabled&&(0,t.jsx)("div",{className:"mt-[2px] rounded-full font-normal bg-gray-100 text-xs h-5 flex items-center px-2 dark:bg-gray-800",children:"Comming soon"})]})]}),(0,t.jsx)(F.Z,{title:a.desc,children:(0,t.jsx)("p",{className:"text-sm text-gray-500 font-normal line-clamp-2",children:a.desc})})]})},D=s(42781),I=s(8835),L=s(64185);let B={mysql:{label:"Mysql",icon:"/icons/mysql.png",desc:"Fast, reliable, scalable open-source relational database management system."},mssql:{label:"MSSQL",icon:"/icons/mssql.png",desc:"Powerful, scalable, secure relational database system by Microsoft."},duckdb:{label:"Duckdb",icon:"/icons/duckdb.png",desc:"In-memory analytical database with efficient query processing."},sqlite:{label:"Sqlite",icon:"/icons/sqlite.png",desc:"Lightweight embedded relational database with simplicity and portability."},clickhouse:{label:"ClickHouse",icon:"/icons/clickhouse.png",desc:"Columnar database for high-performance analytics and real-time queries."},oracle:{label:"Oracle",icon:"/icons/oracle.png",desc:"Robust, scalable, secure relational database widely used in enterprises."},access:{label:"Access",icon:"/icons/access.png",desc:"Easy-to-use relational database for small-scale applications by Microsoft."},mongodb:{label:"MongoDB",icon:"/icons/mongodb.png",desc:"Flexible, scalable NoSQL document database for web and mobile apps."},db2:{label:"DB2",icon:"/icons/db2.png",desc:"Scalable, secure relational database system developed by IBM."},hbase:{label:"HBase",icon:"/icons/hbase.png",desc:"Distributed, scalable NoSQL database for large structured/semi-structured data."},redis:{label:"Redis",icon:"/icons/redis.png",desc:"Fast, versatile in-memory data structure store as cache, DB, or broker."},cassandra:{label:"Cassandra",icon:"/icons/cassandra.png",desc:"Scalable, fault-tolerant distributed NoSQL database for large data."},couchbase:{label:"Couchbase",icon:"/icons/couchbase.png",desc:"High-performance NoSQL document database with distributed architecture."},postgresql:{label:"Postgresql",icon:"/icons/postgresql.png",desc:"Powerful open-source relational database with extensibility and SQL standards."}};function M(e,a){var s;return null===(s=e.find(e=>e.value===a))||void 0===s?void 0:s.isFileDb}var T=function(){let[e,a]=(0,r.useState)([]),[s,l]=(0,r.useState)([]),[h,x]=(0,r.useState)(!1),[f,y]=(0,r.useState)({open:!1}),[g,_]=(0,r.useState)({open:!1}),k=async()=>{let[e,a]=await j(Z());l(null!=a?a:[])},w=async()=>{x(!0);let[e,s]=await j(v());a(null!=s?s:[]),x(!1)},C=(0,r.useMemo)(()=>{let e=s.map(e=>{let{db_type:a,is_file_db:s}=e;return{...B[a],value:a,isFileDb:s}}),a=Object.keys(B).filter(a=>!e.some(e=>e.value===a)).map(e=>({...B[e],value:B[e].label,disabled:!0}));return[...e,...a]},[s]),P=e=>{y({open:!0,info:e})},q=e=>{c.Z.confirm({title:"Tips",content:"Do you Want to delete the ".concat(e.db_name,"?"),onOk:()=>new Promise(async(a,s)=>{try{let[l]=await j(N(e.db_name));if(l){i.ZP.error(l.message),s();return}i.ZP.success("success"),w(),a()}catch(e){i.ZP.error(e.message),s()}})})},F=(0,r.useMemo)(()=>{let a=C.reduce((a,s)=>(a[s.value]=e.filter(e=>e.db_type===s.value),a),{});return a},[e,C]);(0,n.Z)(async()=>{await w(),await k()},[]);let M=a=>{let s=e.filter(e=>e.db_type===a.value);_({open:!0,dbList:s,name:a.label,type:a.value})};return(0,t.jsxs)("div",{className:"relative p-6 bg-[#FAFAFA] dark:bg-transparent min-h-full overflow-y-auto",children:[(0,t.jsxs)(o.Z,{spinning:h,className:"dark:bg-black dark:bg-opacity-5",children:[(0,t.jsx)("div",{className:"px-1 mb-4",children:(0,t.jsx)(d.ZP,{type:"primary",className:"flex items-center",icon:(0,t.jsx)(D.Z,{}),onClick:()=>{y({open:!0})},children:"Create"})}),(0,t.jsx)("div",{className:"flex flex-wrap",children:C.map(e=>(0,t.jsx)(b.Z,{className:"mr-4 mb-4",count:F[e.value].length,children:(0,t.jsx)(E,{info:e,onClick:()=>{M(e)}})},e.value))})]}),(0,t.jsx)(S,{open:f.open,dbTypeList:C,choiceDBType:f.dbType,editValue:f.info,dbNames:e.map(e=>e.db_name),onSuccess:()=>{y({open:!1}),w()},onClose:()=>{y({open:!1})}}),(0,t.jsx)(m.Z,{title:g.name,placement:"right",onClose:()=>{_({open:!1})},open:g.open,children:g.type&&F[g.type]&&F[g.type].length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.ZP,{type:"primary",className:"mb-4 flex items-center",icon:(0,t.jsx)(D.Z,{}),onClick:()=>{y({open:!0,dbType:g.type})},children:"Create"}),F[g.type].map(e=>(0,t.jsxs)(u.Z,{title:e.db_name,extra:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(I.Z,{className:"mr-2",style:{color:"#1b7eff"},onClick:()=>{P(e)}}),(0,t.jsx)(L.Z,{style:{color:"#ff1b2e"},onClick:()=>{q(e)}})]}),className:"mb-4",children:[e.db_path?(0,t.jsxs)("p",{children:["path: ",e.db_path]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:["host: ",e.db_host]}),(0,t.jsxs)("p",{children:["username: ",e.db_user]}),(0,t.jsxs)("p",{children:["port: ",e.db_port]})]}),(0,t.jsxs)("p",{children:["remark: ",e.comment]})]},e.db_name))]}):(0,t.jsx)(p.Z,{image:p.Z.PRESENTED_IMAGE_DEFAULT,children:(0,t.jsx)(d.ZP,{type:"primary",className:"flex items-center mx-auto",icon:(0,t.jsx)(D.Z,{}),onClick:()=>{y({open:!0,dbType:g.type})},children:"Create Now"})})})]})}}},function(e){e.O(0,[355,358,649,191,715,569,579,743,959,741,375,253,769,744],function(){return e(e.s=72981)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-92af71423560a516.js b/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-92af71423560a516.js deleted file mode 100644 index 4ea809695..000000000 --- a/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-92af71423560a516.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{80937:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(46750),o=n(40431),i=n(86006),a=n(73702),c=n(95135),s=n(47562),l=n(13809),u=n(96263),d=n(38295),h=n(86601),f=n(89587),p=n(91559),m=n(48527),g=n(9268);let j=["component","direction","spacing","divider","children","className","useFlexGap"],Z=(0,f.Z)(),v=(0,u.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function x(e){return(0,d.Z)({props:e,name:"MuiStack",defaultTheme:Z})}let y=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],k=({ownerState:e,theme:t})=>{let n=(0,o.Z)({display:"flex",flexDirection:"column"},(0,p.k9)({theme:t},(0,p.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let r=(0,m.hB)(t),o=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),i=(0,p.P$)({values:e.direction,base:o}),a=(0,p.P$)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,n)=>{let r=i[e];if(!r){let r=t>0?i[n[t-1]]:"column";i[e]=r}}),n=(0,c.Z)(n,(0,p.k9)({theme:t},a,(t,n)=>e.useFlexGap?{gap:(0,m.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${y(n?i[n]:e.direction)}`]:(0,m.NA)(r,t)}}))}return(0,p.dt)(t.breakpoints,n)};var b=n(50645),P=n(88930);let S=function(e={}){let{createStyledComponent:t=v,useThemeProps:n=x,componentName:c="MuiStack"}=e,u=()=>(0,s.Z)({root:["root"]},e=>(0,l.Z)(c,e),{}),d=t(k),f=i.forwardRef(function(e,t){let c=n(e),s=(0,h.Z)(c),{component:l="div",direction:f="column",spacing:p=0,divider:m,children:Z,className:v,useFlexGap:x=!1}=s,y=(0,r.Z)(s,j),k=u();return(0,g.jsx)(d,(0,o.Z)({as:l,ownerState:{direction:f,spacing:p,useFlexGap:x},ref:t,className:(0,a.Z)(k.root,v)},y,{children:m?function(e,t){let n=i.Children.toArray(e).filter(Boolean);return n.reduce((e,r,o)=>(e.push(r),ot.root}),useThemeProps:e=>(0,P.Z)({props:e,name:"JoyStack"})});var w=S},96263:function(e,t,n){"use strict";var r=n(9312);let o=(0,r.ZP)();t.Z=o},3146:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86006);function o(){let[,e]=r.useReducer(e=>e+1,0);return e}},30976:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var r=n(9268),o=n(56008),i=n(86006),a=n(78635),c=n(90545),s=n(80937),l=n(44334),u=n(311),d=n(22046),h=n(83192),f=n(23910),p=n(90734),m=n(89749),g=n(76708);t.default=()=>{let e=(0,o.useRouter)(),{mode:t}=(0,a.tv)(),n=(0,o.useSearchParams)().get("spacename"),j=(0,o.useSearchParams)().get("documentid"),[Z,v]=(0,i.useState)(0),[x,y]=(0,i.useState)(0),[k,b]=(0,i.useState)([]),{t:P}=(0,g.$G)();return(0,i.useEffect)(()=>{(async function(){let e=await (0,m.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:1,page_size:20});e.success&&(b(e.data.data),v(e.data.total),y(e.data.page))})()},[]),(0,r.jsxs)(c.Z,{className:"p-4 h-[90%]",children:[(0,r.jsx)(s.Z,{className:"mb-5",direction:"row",justifyContent:"flex-start",alignItems:"center",children:(0,r.jsxs)(l.Z,{"aria-label":"breadcrumbs",children:[(0,r.jsx)(u.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:P("Knowledge_Space")},"Knowledge Space"),(0,r.jsx)(u.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:P("Documents")},"Knowledge Space"),(0,r.jsx)(d.ZP,{fontSize:"inherit",children:P("Chunks")})]})}),(0,r.jsx)(c.Z,{className:"p-4 overflow-auto h-[90%]",sx:{"&::-webkit-scrollbar":{display:"none"}},children:k.length?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:P("Name")}),(0,r.jsx)("th",{children:P("Content")}),(0,r.jsx)("th",{children:P("Meta_Data")})]})}),(0,r.jsx)("tbody",{children:k.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e.doc_name}),(0,r.jsx)("td",{children:(0,r.jsx)(f.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,r.jsx)("td",{children:(0,r.jsx)(f.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]})}):(0,r.jsx)(r.Fragment,{})}),(0,r.jsx)(s.Z,{className:"mt-5",direction:"row",justifyContent:"flex-end",children:(0,r.jsx)(p.Z,{defaultPageSize:20,showSizeChanger:!1,current:x,total:Z,onChange:async e=>{let t=await (0,m.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:e,page_size:20});t.success&&(b(t.data.data),v(t.data.total),y(t.data.page))},hideOnSinglePage:!0})})]})}},53534:function(e,t,n){"use strict";var r=n(24214),o=n(52040);let i=r.Z.create({baseURL:o.env.API_BASE_URL});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=i},89749:function(e,t,n){"use strict";n.d(t,{Ej:function(){return d},Kw:function(){return l},PR:function(){return u},Tk:function(){return s}});var r=n(21628),o=n(53534),i=n(84835);let a={"content-type":"application/json"},c=e=>{if(!(0,i.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},s=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return o.Z.get("/api"+e,{headers:a}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},l=(e,t)=>{let n=c(t);return o.Z.post("/api"+e,{body:n,headers:a}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},u=(e,t)=>o.Z.post(e,t,{headers:a}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)}),d=(e,t)=>o.Z.post(e,t).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,355,932,358,649,191,569,15,743,767,635,548,253,769,744],function(){return e(e.s=30976)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/documents/page-32e2e8c7dab8cad0.js b/pilot/server/static/_next/static/chunks/app/datastores/documents/page-32e2e8c7dab8cad0.js deleted file mode 100644 index 94e1240ff..000000000 --- a/pilot/server/static/_next/static/chunks/app/datastores/documents/page-32e2e8c7dab8cad0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[470],{4797:function(e,t,n){Promise.resolve().then(n.bind(n,87278))},87278:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return H}});var s=n(9268),a=n(56008),i=n(86006),r=n(50645),o=n(5737),l=n(78635),c=n(80937),d=n(44334),x=n(311),u=n(22046),g=n(53113),h=n(83192),m=n(58927),p=n(81486),j=n(90545),Z=n(35086),_=n(96323),f=n(47611),v=n(65326),y=n.n(v),P=n(72474),b=n(59534),w=n(78141),k=n(68949),S=n(73220),C=n(86362),R=n(23910),z=n(21628),B=n(90734),L=n(89749),T=n(11196),D=n(59970),N=n(30929),F=n(79214),E=n(99011),O=n(98222),I=n(76394),U=n.n(I),A=n(76708),V=e=>{var t,n,a,r,l,d,x,u,h,m,f,v,y,P,b,w,k,S;let{spaceName:C}=e,[B,I]=(0,i.useState)(!1),[V,M]=(0,i.useState)({}),{t:W}=(0,A.$G)(),{data:H}=(0,T.Z)(()=>(0,L.PR)("/knowledge/".concat(C,"/arguments")),{onSuccess(e){M(e.data)}}),G=[{key:"Embedding",label:(0,s.jsxs)(j.Z,{children:[(0,s.jsx)(F.Z,{sx:{marginRight:"5px"}}),W("Embedding")]}),children:(0,s.jsxs)(j.Z,{children:[(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",sx:{marginTop:"20px",marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0",marginRight:"30px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("topk"),(0,s.jsx)(R.Z,{content:W("the_top_k_vectors"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==H?void 0:null===(t=H.data)||void 0===t?void 0:null===(n=t.embedding)||void 0===n?void 0:n.topk)||"",onChange:e=>{V.embedding.topk=e.target.value,M({...V})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("recall_score"),(0,s.jsx)(R.Z,{content:W("Set_a_threshold_score"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:""+(null==H?void 0:null===(a=H.data)||void 0===a?void 0:null===(r=a.embedding)||void 0===r?void 0:r.recall_score)||"",onChange:e=>{V.embedding.recall_score=e.target.value,M({...V})},disabled:!0})})]})]}),(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",sx:{marginTop:"20px",marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0",marginRight:"30px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("recall_type"),(0,s.jsx)(R.Z,{content:W("Recall_Type"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==H?void 0:null===(l=H.data)||void 0===l?void 0:null===(d=l.embedding)||void 0===d?void 0:d.recall_type)||"",onChange:e=>{V.embedding.recall_type=e.target.value,M({...V})},disabled:!0})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("model"),(0,s.jsx)(R.Z,{content:W("A_model_used"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==H?void 0:null===(x=H.data)||void 0===x?void 0:null===(u=x.embedding)||void 0===u?void 0:u.model)||"",onChange:e=>{V.embedding.model=e.target.value,M({...V})},disabled:!0,startDecorator:(0,s.jsx)(U(),{src:"/huggingface_logo.svg",alt:"huggingface logo",width:20,height:20})})})]})]}),(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",sx:{marginTop:"20px",marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0",marginRight:"30px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("chunk_size"),(0,s.jsx)(R.Z,{content:W("The_size_of_the_data_chunks"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==H?void 0:null===(h=H.data)||void 0===h?void 0:null===(m=h.embedding)||void 0===m?void 0:m.chunk_size)||"",onChange:e=>{V.embedding.chunk_size=e.target.value,M({...V})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("chunk_overlap"),(0,s.jsx)(R.Z,{content:W("The_amount_of_overlap"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==H?void 0:null===(f=H.data)||void 0===f?void 0:null===(v=f.embedding)||void 0===v?void 0:v.chunk_overlap)||"",onChange:e=>{V.embedding.chunk_overlap=e.target.value,M({...V})}})})]})]})]})},{key:"Prompt",label:(0,s.jsxs)(j.Z,{children:[(0,s.jsx)(E.Z,{sx:{marginRight:"5px"}}),W("Prompt")]}),children:(0,s.jsxs)(j.Z,{sx:{maxHeight:"600px",overflow:"auto","&::-webkit-scrollbar":{display:"none"}},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",marginTop:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("scene"),(0,s.jsx)(R.Z,{content:W("A_contextual_parameter"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(_.Z,{defaultValue:(null==H?void 0:null===(y=H.data)||void 0===y?void 0:null===(P=y.prompt)||void 0===P?void 0:P.scene)||"",onChange:e=>{V.prompt.scene=e.target.value,M({...V})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("template"),(0,s.jsx)(R.Z,{content:W("structure_or_format"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(_.Z,{defaultValue:(null==H?void 0:null===(b=H.data)||void 0===b?void 0:null===(w=b.prompt)||void 0===w?void 0:w.template)||"",onChange:e=>{V.prompt.template=e.target.value,M({...V})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:[W("max_token"),(0,s.jsx)(R.Z,{content:W("The_maximum_number_of_tokens"),trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==H?void 0:null===(k=H.data)||void 0===k?void 0:null===(S=k.prompt)||void 0===S?void 0:S.max_token)||"",onChange:e=>{V.prompt.max_token=e.target.value,M({...V})}})})]})]})}];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(g.Z,{variant:"outlined",onClick:()=>I(!0),children:[(0,s.jsx)(N.Z,{sx:{marginRight:"6px",fontSize:"18px"}}),W("Arguments")]}),(0,s.jsx)(p.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:B,onClose:()=>I(!1),children:(0,s.jsxs)(o.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,s.jsx)(O.Z,{defaultActiveKey:"Embedding",items:G}),(0,s.jsx)(c.Z,{direction:"row",justifyContent:"flex-start",sx:{marginTop:"20px",marginBottom:"20px"},children:(0,s.jsx)(g.Z,{variant:"outlined",onClick:()=>{(0,L.PR)("/knowledge/".concat(C,"/argument/save"),{argument:JSON.stringify(V)}).then(e=>{e.success?(window.location.reload(),z.ZP.success("success")):z.ZP.error(e.err_msg||"failed")})},children:W("Submit")})})]})})]})};let{Dragger:M}=C.default,W=(0,r.Z)(o.Z)(e=>{let{theme:t}=e;return{width:"50%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}});var H=()=>{let e=(0,a.useRouter)(),t=(0,a.useSearchParams)().get("name"),{mode:n}=(0,l.tv)(),[r,v]=(0,i.useState)(!1),[C,T]=(0,i.useState)(0),[D,N]=(0,i.useState)(""),[F,E]=(0,i.useState)([]),[O,I]=(0,i.useState)(""),[U,H]=(0,i.useState)(""),[G,K]=(0,i.useState)(""),[Y,J]=(0,i.useState)(""),[$,X]=(0,i.useState)(null),[q,Q]=(0,i.useState)(0),[ee,et]=(0,i.useState)(0),[en,es]=(0,i.useState)(!0),{t:ea}=(0,A.$G)(),ei=[ea("Choose_a_Datasource_type"),ea("Setup_the_Datasource")],er=[{type:"text",title:ea("Text"),subTitle:ea("Fill your raw text")},{type:"webPage",title:ea("URL"),subTitle:ea("Fetch_the_content_of_a_URL")},{type:"file",title:ea("Document"),subTitle:ea("Upload_a_document")}];return(0,i.useEffect)(()=>{(async function(){let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:1,page_size:20});e.success&&(E(e.data.data),Q(e.data.total),et(e.data.page))})()},[]),(0,s.jsxs)("div",{className:"p-4",children:[(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,s.jsxs)(d.Z,{"aria-label":"breadcrumbs",children:[(0,s.jsx)(x.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:ea("Knowledge_Space")},"Knowledge Space"),(0,s.jsx)(u.ZP,{fontSize:"inherit",children:ea("Documents")})]}),(0,s.jsxs)(c.Z,{direction:"row",alignItems:"center",children:[(0,s.jsxs)(g.Z,{variant:"outlined",onClick:async()=>{var n,s;let a=await (0,L.PR)("/api/v1/chat/dialogue/new",{chat_mode:"chat_knowledge"});(null==a?void 0:a.success)&&(null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.conv_uid)&&e.push("/chat?id=".concat(null==a?void 0:null===(s=a.data)||void 0===s?void 0:s.conv_uid,"&scene=chat_knowledge&spaceNameOriginal=").concat(t))},sx:{marginRight:"20px",backgroundColor:"rgb(39, 155, 255) !important",color:"white",border:"none"},children:[(0,s.jsx)(S.Z,{sx:{marginRight:"6px",fontSize:"18px"}}),ea("Chat")]}),(0,s.jsxs)(g.Z,{variant:"outlined",onClick:()=>v(!0),sx:{marginRight:"20px"},children:["+ ",ea("Add_Datasource")]}),(0,s.jsx)(V,{spaceName:t})]})]}),F.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(h.Z,{color:"primary",variant:"plain",size:"sm",sx:{"& tbody tr: hover":{backgroundColor:"light"===n?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"},"& tr > *:last-child":{textAlign:"right"}},children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:ea("Name")}),(0,s.jsx)("th",{children:ea("Type")}),(0,s.jsx)("th",{children:ea("Size")}),(0,s.jsx)("th",{children:ea("Last_Synch")}),(0,s.jsx)("th",{children:ea("Status")}),(0,s.jsx)("th",{children:ea("Result")}),(0,s.jsx)("th",{style:{width:"30%"},children:ea("Operation")})]})}),(0,s.jsx)("tbody",{children:F.map(n=>(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:n.doc_name}),(0,s.jsx)("td",{children:(0,s.jsx)(m.Z,{size:"sm",variant:"solid",color:"neutral",sx:{opacity:.5},children:n.doc_type})}),(0,s.jsxs)("td",{children:[n.chunk_size," chunks"]}),(0,s.jsx)("td",{children:y()(n.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,s.jsx)("td",{children:(0,s.jsx)(m.Z,{size:"sm",sx:{opacity:.5},variant:"solid",color:function(){switch(n.status){case"TODO":return"neutral";case"RUNNING":return"primary";case"FINISHED":return"success";case"FAILED":return"danger"}}(),children:n.status})}),(0,s.jsx)("td",{children:"TODO"===n.status||"RUNNING"===n.status?"":"FINISHED"===n.status?(0,s.jsx)(R.Z,{content:n.result,trigger:"hover",children:(0,s.jsx)(m.Z,{size:"sm",variant:"solid",color:"success",sx:{opacity:.5},children:"SUCCESS"})}):(0,s.jsx)(R.Z,{content:n.result,trigger:"hover",children:(0,s.jsx)(m.Z,{size:"sm",variant:"solid",color:"danger",sx:{opacity:.5},children:"FAILED"})})}),(0,s.jsx)("td",{children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(g.Z,{variant:"outlined",size:"sm",sx:{marginRight:"2px"},onClick:async()=>{let e=await (0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[n.id]});e.success?z.ZP.success("success"):z.ZP.error(e.err_msg||"failed")},children:[ea("Synch"),(0,s.jsx)(w.Z,{})]}),(0,s.jsx)(g.Z,{variant:"outlined",size:"sm",sx:{marginRight:"2px"},onClick:()=>{e.push("/datastores/documents/chunklist?spacename=".concat(t,"&documentid=").concat(n.id))},children:ea("Details")}),(0,s.jsxs)(g.Z,{variant:"outlined",size:"sm",color:"danger",onClick:async()=>{let e=await (0,L.PR)("/knowledge/".concat(t,"/document/delete"),{doc_name:n.doc_name});if(e.success){z.ZP.success("success");let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:ee,page_size:20});e.success&&(E(e.data.data),Q(e.data.total),et(e.data.page))}else z.ZP.error(e.err_msg||"failed")},children:[ea("Delete"),(0,s.jsx)(k.Z,{})]})]})})]},n.id))})]}),(0,s.jsx)(c.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,s.jsx)(B.Z,{defaultPageSize:20,showSizeChanger:!1,current:ee,total:q,onChange:async e=>{let n=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:e,page_size:20});n.success&&(E(n.data.data),Q(n.data.total),et(n.data.page))},hideOnSinglePage:!0})})]}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(p.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:r,onClose:()=>v(!1),children:(0,s.jsxs)(o.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,s.jsx)(j.Z,{sx:{width:"100%"},children:(0,s.jsx)(c.Z,{spacing:2,direction:"row",children:ei.map((e,t)=>(0,s.jsxs)(W,{sx:{fontWeight:C===t?"bold":"",color:C===t?"#2AA3FF":""},children:[t(0,s.jsxs)(o.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{N(e.type),T(1)},children:[(0,s.jsx)(o.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,s.jsx)(o.Z,{children:e.subTitle})]},e.type))})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(j.Z,{sx:{margin:"30px auto"},children:[ea("Name"),":",(0,s.jsx)(Z.ZP,{placeholder:ea("Please_input_the_name"),onChange:e=>H(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===D?(0,s.jsxs)(s.Fragment,{children:[ea("Web_Page_URL"),":",(0,s.jsx)(Z.ZP,{placeholder:ea("Please_input_the_Web_Page_URL"),onChange:e=>I(e.target.value)})]}):"file"===D?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(M,{name:"file",multiple:!1,beforeUpload:()=>!1,onChange(e){if(0===e.fileList.length){X(null),H("");return}X(e.file),H(e.file.name)},children:[(0,s.jsx)("p",{className:"ant-upload-drag-icon",children:(0,s.jsx)(P.Z,{})}),(0,s.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:ea("Select_or_Drop_file")}),(0,s.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,s.jsxs)(s.Fragment,{children:[ea("Text_Source"),":",(0,s.jsx)(Z.ZP,{placeholder:ea("Please_input_the_text_source"),onChange:e=>K(e.target.value),sx:{marginBottom:"20px"}}),ea("Text"),":",(0,s.jsx)(_.Z,{onChange:e=>J(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,s.jsxs)(u.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,s.jsx)(f.Z,{checked:en,onChange:e=>es(e.target.checked)}),children:[ea("Synch"),":"]})]}),(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,s.jsx)(g.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>T(0),children:"< ".concat(ea("Back"))}),(0,s.jsx)(g.Z,{variant:"outlined",onClick:async()=>{if(""===U){z.ZP.error(ea("Please_input_the_name"));return}if("webPage"===D){if(""===O){z.ZP.error(ea("Please_input_the_Web_Page_URL"));return}let e=await (0,L.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:U,content:O,doc_type:"URL"});if(e.success&&en&&(0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){z.ZP.success("success"),v(!1);let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:ee,page_size:20});e.success&&(E(e.data.data),Q(e.data.total),et(e.data.page))}else z.ZP.error(e.err_msg||"failed")}else if("file"===D){if(!$){z.ZP.error(ea("Please_select_a_file"));return}let e=new FormData;e.append("doc_name",U),e.append("doc_file",$),e.append("doc_type","DOCUMENT");let n=await (0,L.Ej)("/knowledge/".concat(t,"/document/upload"),e);if(n.success&&en&&(0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[n.data]}),n.success){z.ZP.success("success"),v(!1);let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:ee,page_size:20});e.success&&(E(e.data.data),Q(e.data.total),et(e.data.page))}else z.ZP.error(n.err_msg||"failed")}else{if(""===Y){z.ZP.error(ea("Please_input_the_text"));return}let e=await (0,L.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:U,source:G,content:Y,doc_type:"TEXT"});if(e.success&&en&&(0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){z.ZP.success("success"),v(!1);let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:ee,page_size:20});e.success&&(E(e.data.data),Q(e.data.total),et(e.data.page))}else z.ZP.error(e.err_msg||"failed")}},children:ea("Finish")})]})]})]})})]})}},53534:function(e,t,n){"use strict";var s=n(24214),a=n(52040);let i=s.Z.create({baseURL:a.env.API_BASE_URL});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=i},89749:function(e,t,n){"use strict";n.d(t,{Ej:function(){return x},Kw:function(){return c},PR:function(){return d},Tk:function(){return l}});var s=n(21628),a=n(53534),i=n(84835);let r={"content-type":"application/json"},o=e=>{if(!(0,i.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},l=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return a.Z.get("/api"+e,{headers:r}).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)})},c=(e,t)=>{let n=o(t);return a.Z.post("/api"+e,{body:n,headers:r}).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)})},d=(e,t)=>a.Z.post(e,t,{headers:r}).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)}),x=(e,t)=>a.Z.post(e,t).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,550,355,932,358,649,191,230,715,569,196,15,86,579,868,743,394,767,635,548,318,582,253,769,744],function(){return e(e.s=4797)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/page-9c051887f65fc66a.js b/pilot/server/static/_next/static/chunks/app/datastores/page-9c051887f65fc66a.js deleted file mode 100644 index 14c7fec89..000000000 --- a/pilot/server/static/_next/static/chunks/app/datastores/page-9c051887f65fc66a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43],{66162:function(e,t,s){Promise.resolve().then(s.bind(s,44323))},44323:function(e,t,s){"use strict";s.r(t);var a=s(9268),r=s(56008),n=s(86006),l=s(72474),o=s(59534),c=s(29382),i=s(68949),d=s(74852),x=s(86362),u=s(21628),p=s(76708),h=s(50645),m=s(5737),g=s(90545),j=s(80937),_=s(81486),f=s(35086),Z=s(53113),b=s(96323),P=s(22046),w=s(47611),k=s(82144),y=s(50318),N=s(89749);let{Dragger:C}=x.default,F=(0,h.Z)(m.Z)(e=>{let{theme:t}=e;return{width:"33%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}});t.default=()=>{let e=(0,r.useRouter)(),{t}=(0,p.$G)(),[s,x]=(0,n.useState)(0),[h,v]=(0,n.useState)(""),[S,R]=(0,n.useState)([]),[A,E]=(0,n.useState)(!1),[D,T]=(0,n.useState)(""),[U,O]=(0,n.useState)(""),[B,L]=(0,n.useState)(""),[W,z]=(0,n.useState)(""),[I,K]=(0,n.useState)(""),[J,M]=(0,n.useState)(""),[G,V]=(0,n.useState)(""),[X,Y]=(0,n.useState)(null),[$,q]=(0,n.useState)(!0),[H,Q]=(0,n.useState)(!1),[ee,et]=(0,n.useState)({}),es=[t("Knowledge_Space_Config"),t("Choose_a_Datasource_type"),t("Setup_the_Datasource")],ea=[{type:"text",title:t("Text"),subTitle:t("Fill your raw text")},{type:"webPage",title:t("URL"),subTitle:t("Fetch_the_content_of_a_URL")},{type:"file",title:t("Document"),subTitle:t("Upload_a_document")}];return(0,n.useEffect)(()=>{(async function(){let e=await (0,N.PR)("/knowledge/space/list",{});e.success&&R(e.data)})()},[]),(0,a.jsxs)(g.Z,{className:"bg-[#F1F2F5] dark:bg-[#212121] w-full h-full",children:[(0,a.jsx)(g.Z,{className:"page-body p-4 h-[90%] overflow-auto",sx:{"&::-webkit-scrollbar":{display:"none"}},children:(0,a.jsxs)(j.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",sx:{"& i":{width:"430px",marginRight:"30px"}},children:[(0,a.jsxs)(g.Z,{sx:{"&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>E(!0),className:"bg-[#E9EBEE] dark:bg-[#484848] flex content-start box-content w-[390px] h-[79px] pt-[33px] px-5 pb-10 mr-[30px] mb-[30px] text-lg font-bold text-black shrink-0 grow-0 cursor-pointer rounded-2xl",children:[(0,a.jsx)(g.Z,{className:"w-8 h-8 leading-7 border border-blue-500 text-center rounded-md mr-1 font-light text-blue-500",children:"+"}),(0,a.jsx)(g.Z,{className:"text-base",children:t("space")})]}),S.map((s,r)=>(0,a.jsxs)(g.Z,{sx:{"&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>{e.push("/datastores/documents?name=".concat(s.name))},className:"bg-[#FFFFFF] dark:bg-[#484848] relative pt-[30px] px-5 pb-[40px] mr-[30px] mb-[30px] shrink-0 grow-0 cursor-pointer rounded-[10px] border-t-4 border-[#54A4F8] border-solid",children:[(0,a.jsxs)(g.Z,{className:"text-lg mb-[10px] font-bold text-black",children:[(0,a.jsx)(c.Z,{className:"mr-[5px] text-[#2AA3FF]"}),s.name]}),(0,a.jsxs)(g.Z,{className:"flex justify-start",children:[(0,a.jsxs)(g.Z,{className:"w-[130px] shrink-0 grow-0",children:[(0,a.jsx)(g.Z,{className:"text-[#2AA3FF]",children:s.vector_type}),(0,a.jsx)(g.Z,{className:"text-xs text-black",children:t("Vector")})]}),(0,a.jsxs)(g.Z,{className:"w-[130px] shrink-0 grow-0",children:[(0,a.jsx)(g.Z,{className:"text-[#2AA3FF]",children:s.owner}),(0,a.jsx)(g.Z,{className:"text-xs text-black",children:t("Owner")})]}),(0,a.jsxs)(g.Z,{className:"w-[130px] shrink-0 grow-0",children:[(0,a.jsx)(g.Z,{className:"text-[#2AA3FF]",children:s.docs||0}),(0,a.jsx)(g.Z,{className:"text-xs text-black",children:t("Docs")})]})]}),(0,a.jsx)(g.Z,{className:"absolute right-2.5 top-2.5 text-[#CD2029]",onClick:e=>{e.stopPropagation(),et(s),Q(!0)},children:(0,a.jsx)(i.Z,{className:"text-3xl"})})]},r)),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{})]})}),(0,a.jsx)(_.Z,{className:"flex justify-center items-center z-[1000]",open:A,onClose:()=>E(!1),children:(0,a.jsxs)(m.Z,{variant:"outlined",className:"w-[800px] rounded-md shadow-lg p-6",children:[(0,a.jsx)(g.Z,{className:"w-full",children:(0,a.jsx)(j.Z,{spacing:2,direction:"row",children:es.map((e,t)=>(0,a.jsxs)(F,{sx:{fontWeight:s===t?"bold":"",color:s===t?"#2AA3FF":""},children:[tT(e.target.value),className:"mb-5"}),t("Owner"),":",(0,a.jsx)(f.ZP,{placeholder:t("Please_input_the_owner"),onChange:e=>O(e.target.value),className:"mb-5"}),t("Description"),":",(0,a.jsx)(f.ZP,{placeholder:t("Please_input_the_description"),onChange:e=>L(e.target.value),className:"mb-5"})]}),(0,a.jsx)(Z.Z,{variant:"outlined",onClick:async()=>{if(""===D){u.ZP.error(t("Please_input_the_name"));return}if(/[^\u4e00-\u9fa50-9a-zA-Z_-]/.test(D)){u.ZP.error(t("the_name_can_only_contain"));return}if(""===U){u.ZP.error(t("Please_input_the_owner"));return}if(""===B){u.ZP.error(t("Please_input_the_description"));return}let e=await (0,N.PR)("/knowledge/space/add",{name:D,vector_type:"Chroma",owner:U,desc:B});if(e.success){u.ZP.success("success"),x(1);let e=await (0,N.PR)("/knowledge/space/list",{});e.success&&R(e.data)}else u.ZP.error(e.err_msg||"failed")},children:t("Next")})]}):1===s?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(g.Z,{sx:{margin:"30px auto"},children:ea.map(e=>(0,a.jsxs)(m.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{v(e.type),x(2)},children:[(0,a.jsx)(m.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,a.jsx)(m.Z,{children:e.subTitle})]},e.type))})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(g.Z,{sx:{margin:"30px auto"},children:[t("Name"),":",(0,a.jsx)(f.ZP,{placeholder:t("Please_input_the_name"),onChange:e=>K(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===h?(0,a.jsxs)(a.Fragment,{children:[t("Web_Page_URL"),":",(0,a.jsx)(f.ZP,{placeholder:t("Please_input_the_Web_Page_URL"),onChange:e=>z(e.target.value)})]}):"file"===h?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(C,{name:"file",multiple:!1,beforeUpload:()=>!1,onChange(e){if(0===e.fileList.length){Y(null),K("");return}Y(e.file),K(e.file.name)},children:[(0,a.jsx)("p",{className:"ant-upload-drag-icon",children:(0,a.jsx)(l.Z,{})}),(0,a.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:t("Select_or_Drop_file")}),(0,a.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,a.jsxs)(a.Fragment,{children:[t("Text_Source"),":",(0,a.jsx)(f.ZP,{placeholder:t("Please_input_the_text_source"),onChange:e=>M(e.target.value),sx:{marginBottom:"20px"}}),t("Text"),":",(0,a.jsx)(b.Z,{onChange:e=>V(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,a.jsxs)(P.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,a.jsx)(w.Z,{checked:$,onChange:e=>q(e.target.checked)}),children:[t("Synch"),":"]})]}),(0,a.jsxs)(j.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,a.jsx)(Z.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>x(1),children:"< ".concat(t("Back"))}),(0,a.jsx)(Z.Z,{variant:"outlined",onClick:async()=>{if(""===I){u.ZP.error(t("Please_input_the_name"));return}if("webPage"===h){if(""===W){u.ZP.error(t("Please_input_the_text_source"));return}let e=await (0,N.PR)("/knowledge/".concat(D,"/document/add"),{doc_name:I,content:W,doc_type:"URL"});e.success?(u.ZP.success("success"),E(!1),$&&(0,N.PR)("/knowledge/".concat(D,"/document/sync"),{doc_ids:[e.data]})):u.ZP.error(e.err_msg||"failed")}else if("file"===h){if(!X){u.ZP.error(t("Please_select_a_file"));return}let e=new FormData;e.append("doc_name",I),e.append("doc_file",X),e.append("doc_type","DOCUMENT");let s=await (0,N.Ej)("/knowledge/".concat(D,"/document/upload"),e);s.success?(u.ZP.success("success"),E(!1),$&&(0,N.PR)("/knowledge/".concat(D,"/document/sync"),{doc_ids:[s.data]})):u.ZP.error(s.err_msg||"failed")}else{if(""===G){u.ZP.error(t("Please_input_the_text"));return}let e=await (0,N.PR)("/knowledge/".concat(D,"/document/add"),{doc_name:I,source:J,content:G,doc_type:"TEXT"});e.success?(u.ZP.success("success"),E(!1),$&&(0,N.PR)("/knowledge/".concat(D,"/document/sync"),{doc_ids:[e.data]})):u.ZP.error(e.err_msg||"failed")}},children:t("Finish")})]})]})]})}),(0,a.jsx)(_.Z,{open:H,onClose:()=>Q(!1),children:(0,a.jsxs)(k.Z,{variant:"outlined",role:"alertdialog","aria-labelledby":"alert-dialog-modal-title","aria-describedby":"alert-dialog-modal-description",children:[(0,a.jsx)(P.ZP,{id:"alert-dialog-modal-title",component:"h2",startDecorator:(0,a.jsx)(d.Z,{style:{color:"rgb(205, 32, 41)"}}),sx:{color:"black"},children:"Confirmation"}),(0,a.jsx)(y.Z,{}),(0,a.jsxs)(P.ZP,{id:"alert-dialog-modal-description",textColor:"text.tertiary",sx:{fontWeight:"500",color:"black"},children:["Sure to delete ",null==ee?void 0:ee.name,"?"]}),(0,a.jsxs)(g.Z,{sx:{display:"flex",gap:1,justifyContent:"flex-end",pt:2},children:[(0,a.jsx)(Z.Z,{variant:"outlined",color:"neutral",onClick:()=>Q(!1),children:"Cancel"}),(0,a.jsx)(Z.Z,{variant:"outlined",color:"danger",onClick:async()=>{Q(!1);let e=await (0,N.PR)("/knowledge/space/delete",{name:null==ee?void 0:ee.name});if(e.success){u.ZP.success("success");let e=await (0,N.PR)("/knowledge/space/list",{});e.success&&R(e.data)}else u.ZP.error(e.err_msg||"failed")},children:"Yes"})]})]})})]})}},53534:function(e,t,s){"use strict";var a=s(24214),r=s(52040);let n=a.Z.create({baseURL:r.env.API_BASE_URL});n.defaults.timeout=1e4,n.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=n},89749:function(e,t,s){"use strict";s.d(t,{Ej:function(){return x},Kw:function(){return i},PR:function(){return d},Tk:function(){return c}});var a=s(21628),r=s(53534),n=s(84835);let l={"content-type":"application/json"},o=e=>{if(!(0,n.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let s=t[e];"string"==typeof s&&(t[e]=s.trim())}return JSON.stringify(t)},c=(e,t)=>{if(t){let s=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");s&&(e+="?".concat(s))}return r.Z.get("/api"+e,{headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},i=(e,t)=>{let s=o(t);return r.Z.post("/api"+e,{body:s,headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>r.Z.post(e,t,{headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)}),x=(e,t)=>r.Z.post(e,t).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,355,932,358,649,230,715,15,86,868,318,627,253,769,744],function(){return e(e.s=66162)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/layout-ead8b22d15e328b1.js b/pilot/server/static/_next/static/chunks/app/layout-ead8b22d15e328b1.js deleted file mode 100644 index b3ace330a..000000000 --- a/pilot/server/static/_next/static/chunks/app/layout-ead8b22d15e328b1.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{72431:function(){},91909:function(e,t,a){Promise.resolve().then(a.bind(a,16763))},57931:function(e,t,a){"use strict";a.d(t,{ZP:function(){return d},Cg:function(){return i}});var n=a(9268),r=a(11196),s=a(89749),l=a(86006),o=a(56008);let[i,c]=function(){let e=l.createContext(void 0);return[function(){let t=l.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var d=e=>{let{children:t}=e,a=(0,o.useSearchParams)(),i=a.get("scene"),[d,u]=l.useState(!1),[h,m]=l.useState("chat_dashboard"!==i),{run:_,data:f,refresh:p}=(0,r.Z)(async()=>await (0,s.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,n.jsx)(c,{value:{isContract:d,isMenuExpand:h,dialogueList:f,setIsContract:u,setIsMenuExpand:m,queryDialogueList:_,refreshDialogList:p},children:t})}},16763:function(e,t,a){"use strict";let n,r;a.r(t),a.d(t,{default:function(){return ee}});var s=a(9268);a(97402),a(23517);var l=a(23412),o=a(76708);l.ZP.use(o.Db).init({resources:{en:{translation:{Knowledge_Space:"Knowledge Space",space:"space",Vector:"Vector",Owner:"Owner",Docs:"Docs",Knowledge_Space_Config:"Knowledge Space Config",Choose_a_Datasource_type:"Choose a Datasource type",Setup_the_Datasource:"Setup the Datasource",Knowledge_Space_Name:"Knowledge Space Name",Please_input_the_name:"Please input the name",Please_input_the_owner:"Please input the owner",Description:"Description",Please_input_the_description:"Please input the description",Next:"Next",the_name_can_only_contain:'the name can only contain numbers, letters, Chinese characters, "-" and "_"',Text:"Text","Fill your raw text":"Fill your raw text",URL:"URL",Fetch_the_content_of_a_URL:"Fetch the content of a URL",Document:"Document",Upload_a_document:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown",Name:"Name",Text_Source:"Text Source(Optional)",Please_input_the_text_source:"Please input the text source",Synch:"Synch",Back:"Back",Finish:"Finish",Web_Page_URL:"Web Page URL",Please_input_the_Web_Page_URL:"Please input the Web Page URL",Select_or_Drop_file:"Select or Drop file",Documents:"Documents",Chat:"Chat",Add_Datasource:"Add Datasource",Arguments:"Arguments",Type:"Type",Size:"Size",Last_Synch:"Last Synch",Status:"Status",Result:"Result",Details:"Details",Delete:"Delete",Operation:"Operation",Submit:"Submit",Chunks:"Chunks",Content:"Content",Meta_Data:"Meta Data",Please_select_a_file:"Please select a file",Please_input_the_text:"Please input the text",Embedding:"Embedding",topk:"topk",the_top_k_vectors:"the top k vectors based on similarity score",recall_score:"recall_score",Set_a_threshold_score:"Set a threshold score for the retrieval of similar vectors",recall_type:"recall_type",Recall_Type:"recall type",model:"model",A_model_used:"A model used to create vector representations of text or other data",chunk_size:"chunk_size",The_size_of_the_data_chunks:"The size of the data chunks used in processing",chunk_overlap:"chunk_overlap",The_amount_of_overlap:"The amount of overlap between adjacent data chunks",Prompt:"Prompt",scene:"scene",A_contextual_parameter:"A contextual parameter used to define the setting or environment in which the prompt is being used",template:"template",structure_or_format:"A pre-defined structure or format for the prompt, which can help ensure that the AI system generates responses that are consistent with the desired style or tone.",max_token:"max_token",The_maximum_number_of_tokens:"The maximum number of tokens or words allowed in a prompt",Theme:"Theme",Port:"Port",Username:"Username",Password:"Password",Remark:"Remark",Edit:"Edit",Database:"Database",Data_Source:"Data Source",Close_Sidebar:"Close Sidebar",Switch_Language:"Switch Language"}},zh:{translation:{Knowledge_Space:"知识库",space:"知识库",Vector:"向量",Owner:"创建人",Docs:"文档数",Knowledge_Space_Config:"知识库配置",Choose_a_Datasource_type:"选择数据源类型",Setup_the_Datasource:"设置数据源",Knowledge_Space_Name:"知识库名称",Please_input_the_name:"请输入名称",Please_input_the_owner:"请输入创建人",Description:"描述",Please_input_the_description:"请输入描述",Next:"下一步",the_name_can_only_contain:"名称只能包含数字、字母、中文字符、-或_",Text:"文本","Fill your raw text":"填写您的原始文本",URL:"网址",Fetch_the_content_of_a_URL:"获取 URL 的内容",Document:"文档",Upload_a_document:"上传文档,文档类型可以是PDF、CSV、Text、PowerPoint、Word、Markdown",Name:"名称",Text_Source:"文本来源(可选)",Please_input_the_text_source:"请输入文本来源",Synch:"同步",Back:"上一步",Finish:"完成",Web_Page_URL:"网页网址",Please_input_the_Web_Page_URL:"请输入网页网址",Select_or_Drop_file:"选择或拖拽文件",Documents:"文档",Chat:"对话",Add_Datasource:"添加数据源",Arguments:"参数",Type:"类型",Size:"切片",Last_Synch:"上次同步时间",Status:"状态",Result:"结果",Details:"明细",Delete:"删除",Operation:"操作",Submit:"提交",Chunks:"切片",Content:"内容",Meta_Data:"元数据",Please_select_a_file:"请上传一个文件",Please_input_the_text:"请输入文本",Embedding:"嵌入",topk:"球",the_top_k_vectors:"基于相似度得分的前 k 个向量",recall_score:"召回分数",Set_a_threshold_score:"设置相似向量检索的阈值分数",recall_type:"回忆类型",Recall_Type:"回忆类型",model:"模型",A_model_used:"用于创建文本或其他数据的矢量表示的模型",chunk_size:"块大小",The_size_of_the_data_chunks:"处理中使用的数据块的大小",chunk_overlap:"块重叠",The_amount_of_overlap:"相邻数据块之间的重叠量",Prompt:"迅速的",scene:"场景",A_contextual_parameter:"用于定义使用提示的设置或环境的上下文参数",template:"模板",structure_or_format:"预定义的提示结构或格式,有助于确保人工智能系统生成与所需风格或语气一致的响应。",max_token:"最大令牌",The_maximum_number_of_tokens:"提示中允许的最大标记或单词数",Theme:"主题",Port:"端口",Username:"用户名",Password:"密码",Remark:"备注",Edit:"编辑",Database:"数据库",Data_Source:"数据源",Close_Sidebar:"关闭侧边栏",Switch_Language:"切换语言"}}},lng:"en",interpolation:{escapeValue:!1}});var i=a(86006),c=a(56008),d=a(35846),u=a.n(d),h=a(30741),m=a(78635),_=a(90545),f=a(53113),p=a(18818),x=a(4882),g=a(70092),j=a(64579),v=a(22046),b=a(53047),w=a(62921),y=a(35891),Z=a(40020),S=a(11515),k=a(84892),P=a(98703),D=a(57931),C=a(66664),N=a(89749),L=a(76394),T=a.n(L),z=a(8683),B=a.n(z),R=a(601),E=a(15473),F=a(84961),U=a(21354),A=()=>{var e;let t=(0,c.usePathname)(),{t:a,i18n:n}=(0,o.$G)(),r=(0,c.useSearchParams)(),l=r.get("id"),d=(0,c.useRouter)(),[L,z]=(0,i.useState)("/LOGO_1.png"),{dialogueList:A,queryDialogueList:O,refreshDialogList:K,isMenuExpand:W,setIsMenuExpand:I}=(0,D.Cg)(),{mode:H,setMode:M}=(0,m.tv)(),G=(0,i.useMemo)(()=>[{label:a("Data_Source"),route:"/database",icon:(0,s.jsx)(E.Z,{fontSize:"small"}),tooltip:"Database",active:"/database"===t},{label:a("Knowledge_Space"),route:"/datastores",icon:(0,s.jsx)(Z.Z,{fontSize:"small"}),tooltip:"Knowledge",active:"/datastores"===t}],[t,n.language]);function J(){"light"===H?M("dark"):M("light")}return(0,i.useEffect)(()=>{"light"===H?z("/LOGO_1.png"):z("/WHITE_LOGO.png")},[H]),(0,i.useEffect)(()=>{(async()=>{await O()})()},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("nav",{className:B()("grid max-h-screen h-full max-md:hidden"),children:(0,s.jsx)(_.Z,{className:"flex flex-col border-r border-divider max-h-screen sticky left-0 top-0 overflow-hidden",children:W?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_.Z,{className:"p-2 gap-2 flex flex-row justify-between items-center",children:(0,s.jsx)("div",{className:"flex items-center gap-3",children:(0,s.jsx)(T(),{src:L,alt:"DB-GPT",width:633,height:157,className:"w-full max-w-full",unoptimized:!0})})}),(0,s.jsx)(_.Z,{className:"px-2",children:(0,s.jsx)(u(),{href:"/",children:(0,s.jsx)(f.Z,{color:"primary",className:"w-full bg-gradient-to-r from-[#31afff] to-[#1677ff] dark:bg-gradient-to-r dark:from-[#6a6a6a] dark:to-[#80868f]",style:{color:"#fff"},children:"+ New Chat"})})}),(0,s.jsx)(_.Z,{className:"p-2 hidden xs:block sm:inline-block max-h-full overflow-auto",children:(0,s.jsx)(p.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:(0,s.jsx)(x.Z,{nested:!0,children:(0,s.jsx)(p.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"},gap:"4px"},children:null==A?void 0:null===(e=A.data)||void 0===e?void 0:e.map(e=>{let a=("/chat"===t||"/chat/"===t)&&l===e.conv_uid;return(0,s.jsx)(x.Z,{children:(0,s.jsx)(g.Z,{selected:a,variant:a?"soft":"plain",sx:{"&:hover .del-btn":{visibility:"visible"}},children:(0,s.jsx)(j.Z,{children:(0,s.jsxs)(u(),{href:"/chat?id=".concat(e.conv_uid,"&scene=").concat(null==e?void 0:e.chat_mode),className:"flex items-center justify-between",children:[(0,s.jsxs)(v.ZP,{fontSize:14,noWrap:!0,children:[(0,s.jsx)(P.Z,{style:{marginRight:"0.5rem"}}),(null==e?void 0:e.user_name)||(null==e?void 0:e.user_input)||"undefined"]}),(0,s.jsx)(b.ZP,{color:"neutral",variant:"plain",size:"sm",onClick:a=>{a.preventDefault(),a.stopPropagation(),h.Z.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,async onOk(){await (0,N.Kw)("/v1/chat/dialogue/delete?con_uid=".concat(e.conv_uid)),await K(),"/chat"===t&&r.get("id")===e.conv_uid&&d.push("/")}})},className:"del-btn invisible",children:(0,s.jsx)(C.Z,{})})]})})})},e.conv_uid)})})})})}),(0,s.jsx)("div",{className:"flex flex-col justify-end flex-1",children:(0,s.jsx)(_.Z,{className:"p-2 pt-3 pb-6 border-t border-divider xs:block sticky bottom-0 z-100",children:(0,s.jsxs)(p.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:[(0,s.jsx)(x.Z,{nested:!0,children:(0,s.jsx)(p.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"}},children:G.map(e=>(0,s.jsx)(u(),{href:e.route,children:(0,s.jsx)(x.Z,{children:(0,s.jsxs)(g.Z,{color:"neutral",sx:{marginBottom:1,height:"2.5rem"},selected:e.active,variant:e.active?"soft":"plain",children:[(0,s.jsx)(w.Z,{sx:{color:e.active?"inherit":"neutral.500"},children:e.icon}),(0,s.jsx)(j.Z,{children:e.label})]})})},e.route))})}),(0,s.jsx)(x.Z,{children:(0,s.jsxs)(g.Z,{className:"h-10",onClick:J,children:[(0,s.jsx)(y.Z,{title:"Theme",children:(0,s.jsx)(w.Z,{children:"dark"===H?(0,s.jsx)(S.Z,{fontSize:"small"}):(0,s.jsx)(k.Z,{fontSize:"small"})})}),(0,s.jsx)(j.Z,{children:a("Theme")})]})}),(0,s.jsx)(x.Z,{children:(0,s.jsxs)(g.Z,{className:"h-10",onClick:()=>{let e="en"===n.language?"zh":"en";n.changeLanguage(e),window.localStorage.setItem("db_gpt_lng",e)},children:[(0,s.jsx)(y.Z,{title:"Switch Language",children:(0,s.jsx)(w.Z,{className:"text-2xl",children:(0,s.jsx)(U.Z,{fontSize:"small"})})}),(0,s.jsx)(j.Z,{children:a("Switch_Language")})]})}),(0,s.jsx)(x.Z,{children:(0,s.jsxs)(g.Z,{className:"h-10",onClick:()=>{I(!1)},children:[(0,s.jsx)(y.Z,{title:"Close Sidebar",children:(0,s.jsx)(w.Z,{className:"text-2xl",children:(0,s.jsx)(F.Z,{className:"transform rotate-90",fontSize:"small"})})}),(0,s.jsx)(j.Z,{children:a("Close_Sidebar")})]})})]})})})]}):(0,s.jsxs)(_.Z,{className:"h-full py-6 flex flex-col justify-between",children:[(0,s.jsx)(_.Z,{className:"flex justify-center items-center",children:(0,s.jsx)(y.Z,{title:"Menu",children:(0,s.jsx)(R.Z,{className:"cursor-pointer text-2xl",onClick:()=>{I(!0)}})})}),(0,s.jsxs)(_.Z,{className:"flex flex-col gap-4 justify-center items-center",children:[G.map((e,t)=>(0,s.jsx)("div",{className:"flex justify-center text-2xl cursor-pointer",children:(0,s.jsx)(y.Z,{title:e.tooltip,children:e.icon})},"menu_".concat(t))),(0,s.jsx)(x.Z,{children:(0,s.jsx)(g.Z,{onClick:J,children:(0,s.jsx)(y.Z,{title:"Theme",children:(0,s.jsx)(w.Z,{className:"text-2xl",children:"dark"===H?(0,s.jsx)(S.Z,{fontSize:"small"}):(0,s.jsx)(k.Z,{fontSize:"small"})})})})}),(0,s.jsx)(x.Z,{children:(0,s.jsx)(g.Z,{onClick:()=>{I(!0)},children:(0,s.jsx)(y.Z,{title:"Expand Sidebar",children:(0,s.jsx)(w.Z,{className:"text-2xl",children:(0,s.jsx)(F.Z,{className:"transform rotate-90",fontSize:"small"})})})})})]})]})})})})},O=a(29720),K=a(41287),W=a(38230);let I=(0,K.Z)({colorSchemes:{light:{palette:{mode:"dark",primary:{...W.Z.grey,solidBg:"#e6f4ff",solidColor:"#1677ff",solidHoverBg:"#e6f4ff"},neutral:{plainColor:"#4d4d4d",plainHoverColor:"#131318",plainHoverBg:"#EBEBEF",plainActiveBg:"#D8D8DF",plainDisabledColor:"#B9B9C6"},background:{body:"#fff",surface:"#fff"},text:{primary:"#505050"}}},dark:{palette:{mode:"light",primary:{...W.Z.grey,softBg:"#353539",softHoverBg:"#35353978",softDisabledBg:"#353539",solidBg:"#51525beb",solidHoverBg:"#51525beb"},neutral:{plainColor:"#D8D8DF",plainHoverColor:"#F7F7F8",plainHoverBg:"#353539",plainActiveBg:"#434356",plainDisabledColor:"#434356",outlinedBorder:"#353539",outlinedHoverBorder:"#454651"},text:{primary:"#EBEBEF"},background:{body:"#212121",surface:"#51525beb"}}}},fontFamily:{body:"Josefin Sans, sans-serif",display:"Josefin Sans, sans-serif"},typography:{display1:{background:"linear-gradient(-30deg, var(--joy-palette-primary-900), var(--joy-palette-primary-400))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}},zIndex:{modal:1001}});var H=a(53794),M=a.n(H),G=a(54486),J=a.n(G);let V=0;function $(){"loading"!==r&&(r="loading",n=setTimeout(function(){J().start()},250))}function q(){V>0||(r="stop",clearTimeout(n),J().done())}if(M().events.on("routeChangeStart",$),M().events.on("routeChangeComplete",q),M().events.on("routeChangeError",q),"function"==typeof(null==window?void 0:window.fetch)){let e=window.fetch;window.fetch=async function(){for(var t=arguments.length,a=Array(t),n=0;n{if((null==r?void 0:r.current)&&n){var e,t,a,s,l,o;null==r||null===(e=r.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add(n),"light"===n?null==r||null===(a=r.current)||void 0===a||null===(s=a.classList)||void 0===s||s.remove("dark"):null==r||null===(l=r.current)||void 0===l||null===(o=l.classList)||void 0===o||o.remove("light")}},[r,n]),(0,i.useLayoutEffect)(()=>{a.changeLanguage(window.localStorage.getItem("db_gpt_lng")||"en")},[]),(0,s.jsxs)("div",{ref:r,className:"h-full",children:[(0,s.jsx)(Q,{}),(0,s.jsx)(D.ZP,{children:t})]})}function Y(e){let{children:t}=e,{isContract:a,isMenuExpand:n}=(0,D.Cg)(),[r,l]=i.useState(!1);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:B()("grid h-full w-full grid-cols-1 grid-rows-[auto,1fr] text-smd dark:text-gray-300 md:grid-rows-[1fr] transition-width duration-500",{"md:grid-cols-[280px,1fr]":n,"md:grid-cols-[60px,1fr]":!n}),children:[(0,s.jsx)(A,{}),(0,s.jsx)("div",{className:B()("relative min-h-0 min-w-0 overflow-hidden px-3",{"w-[calc(100vw - 76px)]":a}),children:t})]})})}var ee=function(e){let{children:t}=e;return(0,s.jsx)("html",{lang:"en",className:"h-full font-sans",children:(0,s.jsx)("body",{className:"h-full font-sans",children:(0,s.jsx)(O.Z,{theme:I,children:(0,s.jsx)(m.lL,{theme:I,defaultMode:"light",children:(0,s.jsx)(X,{children:(0,s.jsx)("div",{className:"contents h-full",children:(0,s.jsx)(Y,{children:t})})})})})})})}},53534:function(e,t,a){"use strict";var n=a(24214),r=a(52040);let s=n.Z.create({baseURL:r.env.API_BASE_URL});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=s},89749:function(e,t,a){"use strict";a.d(t,{Ej:function(){return u},Kw:function(){return c},PR:function(){return d},Tk:function(){return i}});var n=a(21628),r=a(53534),s=a(84835);let l={"content-type":"application/json"},o=e=>{if(!(0,s.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let a=t[e];"string"==typeof a&&(t[e]=a.trim())}return JSON.stringify(t)},i=(e,t)=>{if(t){let a=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");a&&(e+="?".concat(a))}return r.Z.get("/api"+e,{headers:l}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,t)=>{let a=o(t);return r.Z.post("/api"+e,{body:a,headers:l}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},d=(e,t)=>r.Z.post(e,t,{headers:l}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)}),u=(e,t)=>r.Z.post(e,t).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},97402:function(){},23517:function(){}},function(e){e.O(0,[180,355,932,358,191,230,715,196,15,394,635,686,741,83,253,769,744],function(){return e(e.s=91909)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/page-9182e94b81cebd6f.js b/pilot/server/static/_next/static/chunks/app/page-9182e94b81cebd6f.js deleted file mode 100644 index 70f8e0800..000000000 --- a/pilot/server/static/_next/static/chunks/app/page-9182e94b81cebd6f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{50318:function(i,e,t){"use strict";t.d(e,{Z:function(){return b}});var r=t(46750),n=t(40431),o=t(86006),a=t(89791),l=t(53832),s=t(47562),c=t(50645),d=t(88930),v=t(18587);function u(i){return(0,v.d6)("MuiDivider",i)}(0,v.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);var m=t(326),h=t(9268);let p=["className","children","component","inset","orientation","role","slots","slotProps"],f=i=>{let{orientation:e,inset:t}=i,r={root:["root",e,t&&`inset${(0,l.Z)(t)}`]};return(0,s.Z)(r,u,{})},g=(0,c.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(i,e)=>e.root})(({theme:i,ownerState:e})=>(0,n.Z)({"--Divider-thickness":"1px","--Divider-lineColor":i.vars.palette.divider},"none"===e.inset&&{"--_Divider-inset":"0px"},"context"===e.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===e.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===e.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},e.children?{"--Divider-gap":i.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===e.orientation?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0,fontFamily:i.vars.fontFamily.body,fontSize:i.vars.fontSize.sm,"&::before, &::after":{position:"relative",inlineSize:"vertical"===e.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===e.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===e.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===e.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===e.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===e.orientation?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}:{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:"vertical"===e.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===e.orientation?"initial":"var(--Divider-thickness)"})),x=o.forwardRef(function(i,e){let t=(0,d.Z)({props:i,name:"JoyDivider"}),{className:o,children:l,component:s=null!=l?"div":"hr",inset:c,orientation:v="horizontal",role:u="hr"!==s?"separator":void 0,slots:x={},slotProps:b={}}=t,y=(0,r.Z)(t,p),z=(0,n.Z)({},t,{inset:c,role:u,orientation:v,component:s}),Z=f(z),D=(0,n.Z)({},y,{component:s,slots:x,slotProps:b}),[S,j]=(0,m.Z)("root",{ref:e,className:(0,a.Z)(Z.root,o),elementType:g,externalForwardedProps:D,ownerState:z,additionalProps:(0,n.Z)({as:s,role:u},"separator"===u&&"vertical"===v&&{"aria-orientation":"vertical"})});return(0,h.jsx)(S,(0,n.Z)({},j,{children:l}))});x.muiName="Divider";var b=x},53047:function(i,e,t){"use strict";t.d(e,{ZP:function(){return S}});var r=t(46750),n=t(40431),o=t(86006),a=t(53832),l=t(99179),s=t(73811),c=t(47562),d=t(50645),v=t(88930),u=t(47093),m=t(326),h=t(18587);function p(i){return(0,h.d6)("MuiIconButton",i)}let f=(0,h.sI)("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]);var g=t(42858),x=t(9268);let b=["children","action","component","color","disabled","variant","size","slots","slotProps"],y=i=>{let{color:e,disabled:t,focusVisible:r,focusVisibleClassName:n,size:o,variant:l}=i,s={root:["root",t&&"disabled",r&&"focusVisible",l&&`variant${(0,a.Z)(l)}`,e&&`color${(0,a.Z)(e)}`,o&&`size${(0,a.Z)(o)}`]},d=(0,c.Z)(s,p,{});return r&&n&&(d.root+=` ${n}`),d},z=(0,d.Z)("button")(({theme:i,ownerState:e})=>{var t,r,o,a;return[(0,n.Z)({"--Icon-margin":"initial"},e.instanceSize&&{"--IconButton-size":({sm:"2rem",md:"2.5rem",lg:"3rem"})[e.instanceSize]},"sm"===e.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:i.vars.fontSize.sm,paddingInline:"2px"},"md"===e.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.5rem) / 1.667)","--CircularProgress-size":"24px",minWidth:"var(--IconButton-size, 2.5rem)",minHeight:"var(--IconButton-size, 2.5rem)",fontSize:i.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===e.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 3rem) / 1.714)","--CircularProgress-size":"28px",minWidth:"var(--IconButton-size, 3rem)",minHeight:"var(--IconButton-size, 3rem)",fontSize:i.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:i.vars.fontFamily.body,fontWeight:i.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${i.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[i.focus.selector]:i.focus.default}),null==(t=i.variants[e.variant])?void 0:t[e.color],{"&:hover":{"@media (hover: hover)":null==(r=i.variants[`${e.variant}Hover`])?void 0:r[e.color]}},{"&:active":null==(o=i.variants[`${e.variant}Active`])?void 0:o[e.color]},{[`&.${f.disabled}`]:null==(a=i.variants[`${e.variant}Disabled`])?void 0:a[e.color]}]}),Z=(0,d.Z)(z,{name:"JoyIconButton",slot:"Root",overridesResolver:(i,e)=>e.root})({}),D=o.forwardRef(function(i,e){var t;let a=(0,v.Z)({props:i,name:"JoyIconButton"}),{children:c,action:d,component:h="button",color:p="primary",disabled:f,variant:z="soft",size:D="md",slots:S={},slotProps:j={}}=a,I=(0,r.Z)(a,b),P=o.useContext(g.Z),k=i.variant||P.variant||z,w=i.size||P.size||D,{getColor:B}=(0,u.VT)(k),C=B(i.color,P.color||p),_=null!=(t=i.disabled)?t:P.disabled||f,N=o.useRef(null),R=(0,l.Z)(N,e),{focusVisible:$,setFocusVisible:O,getRootProps:E}=(0,s.Z)((0,n.Z)({},a,{disabled:_,rootRef:R}));o.useImperativeHandle(d,()=>({focusVisible:()=>{var i;O(!0),null==(i=N.current)||i.focus()}}),[O]);let W=(0,n.Z)({},a,{component:h,color:C,disabled:_,variant:k,size:w,focusVisible:$,instanceSize:i.size}),H=y(W),L=(0,n.Z)({},I,{component:h,slots:S,slotProps:j}),[M,T]=(0,m.Z)("root",{ref:e,className:H.root,elementType:Z,getSlotProps:E,externalForwardedProps:L,ownerState:W});return(0,x.jsx)(M,(0,n.Z)({},T,{children:c}))});D.muiName="IconButton";var S=D},20736:function(i,e,t){Promise.resolve().then(t.bind(t,93768))},93768:function(i,e,t){"use strict";t.r(e);var r=t(9268),n=t(11196),o=t(86006),a=t(50318),l=t(90545),s=t(77614),c=t(53113),d=t(35086),v=t(53047),u=t(54842),m=t(19700),h=t(89749),p=t(56008),f=t(76394),g=t.n(f);e.default=function(){var i;let e=(0,p.useRouter)(),[t,f]=(0,o.useState)(!1),x=(0,m.cI)(),{data:b}=(0,n.Z)(async()=>await (0,h.Kw)("/v1/chat/dialogue/scenes")),y=async i=>{let{query:t}=i;try{var r,n;f(!0),x.reset();let i=await (0,h.Kw)("/v1/chat/dialogue/new",{chat_mode:"chat_normal"});(null==i?void 0:i.success)&&(null==i?void 0:null===(r=i.data)||void 0===r?void 0:r.conv_uid)&&e.push("/chat?id=".concat(null==i?void 0:null===(n=i.data)||void 0===n?void 0:n.conv_uid,"&initMessage=").concat(t))}catch(i){}finally{f(!1)}};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"mx-auto h-full justify-center flex max-w-3xl flex-col gap-8 px-5 pt-6",children:[(0,r.jsx)("div",{className:"my-0 mx-auto",children:(0,r.jsx)(g(),{src:"/LOGO.png",alt:"Revolutionizing Database Interactions with Private LLM Technology",width:856,height:160,className:"w-full",unoptimized:!0})}),(0,r.jsx)("div",{className:"grid gap-8 lg:grid-cols-3",children:(0,r.jsxs)("div",{className:"lg:col-span-3",children:[(0,r.jsx)(a.Z,{className:"text-[#878c93]",children:"Quick Start"}),(0,r.jsx)(l.Z,{className:"grid pt-7 rounded-xl gap-2 lg:grid-cols-3 lg:gap-6",sx:{["& .".concat(s.Z.root)]:{color:"var(--joy-palette-primary-solidColor)",backgroundColor:"var(--joy-palette-primary-solidBg)",height:"52px","&: hover":{backgroundColor:"var(--joy-palette-primary-solidHoverBg)"}},["& .".concat(s.Z.disabled)]:{cursor:"not-allowed",pointerEvents:"unset",color:"var(--joy-palette-primary-plainColor)",backgroundColor:"var(--joy-palette-primary-softDisabledBg)","&: hover":{backgroundColor:"var(--joy-palette-primary-softDisabledBg)"}}},children:null==b?void 0:null===(i=b.data)||void 0===i?void 0:i.map(i=>(0,r.jsx)(c.Z,{disabled:null==i?void 0:i.show_disable,size:"md",variant:"solid",className:"text-base rounded-none",onClick:async()=>{var t,r;let n=await (0,h.Kw)("/v1/chat/dialogue/new",{chat_mode:i.chat_scene});(null==n?void 0:n.success)&&(null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.conv_uid)&&e.push("/chat?id=".concat(null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.conv_uid,"&scene=").concat(i.chat_scene))},children:i.scene_name},i.chat_scene))})]})}),(0,r.jsx)("div",{className:"mt-6 mb-[10%] pointer-events-none inset-x-0 bottom-0 z-0 mx-auto flex w-full max-w-3xl flex-col items-center justify-center max-md:border-t xl:max-w-4xl [&>*]:pointer-events-auto",children:(0,r.jsx)("form",{style:{maxWidth:"100%",width:"100%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",height:"52px"},onSubmit:i=>{x.handleSubmit(y)(i)},children:(0,r.jsx)(d.ZP,{sx:{width:"100%"},variant:"outlined",placeholder:"Ask anything",endDecorator:(0,r.jsx)(v.ZP,{type:"submit",disabled:t,children:(0,r.jsx)(u.Z,{})}),...x.register("query")})})})]})})}},53534:function(i,e,t){"use strict";var r=t(24214),n=t(52040);let o=r.Z.create({baseURL:n.env.API_BASE_URL});o.defaults.timeout=1e4,o.interceptors.response.use(i=>i.data,i=>Promise.reject(i)),e.Z=o},89749:function(i,e,t){"use strict";t.d(e,{Ej:function(){return v},Kw:function(){return c},PR:function(){return d},Tk:function(){return s}});var r=t(21628),n=t(53534),o=t(84835);let a={"content-type":"application/json"},l=i=>{if(!(0,o.isPlainObject)(i))return JSON.stringify(i);let e={...i};for(let i in e){let t=e[i];"string"==typeof t&&(e[i]=t.trim())}return JSON.stringify(e)},s=(i,e)=>{if(e){let t=Object.keys(e).filter(i=>void 0!==e[i]&&""!==e[i]).map(i=>"".concat(i,"=").concat(e[i])).join("&");t&&(i+="?".concat(t))}return n.Z.get("/api"+i,{headers:a}).then(i=>i).catch(i=>{r.ZP.error(i),Promise.reject(i)})},c=(i,e)=>{let t=l(e);return n.Z.post("/api"+i,{body:t,headers:a}).then(i=>i).catch(i=>{r.ZP.error(i),Promise.reject(i)})},d=(i,e)=>n.Z.post(i,e,{headers:a}).then(i=>i).catch(i=>{r.ZP.error(i),Promise.reject(i)}),v=(i,e)=>n.Z.post(i,e).then(i=>i).catch(i=>{r.ZP.error(i),Promise.reject(i)})}},function(i){i.O(0,[180,355,932,230,196,86,394,822,253,769,744],function(){return i(i.s=20736)}),_N_E=i.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/bce60fc1-18c9f145b45d8f36.js b/pilot/server/static/_next/static/chunks/bce60fc1-01400500840d93da.js similarity index 100% rename from pilot/server/static/_next/static/chunks/bce60fc1-18c9f145b45d8f36.js rename to pilot/server/static/_next/static/chunks/bce60fc1-01400500840d93da.js diff --git a/pilot/server/static/_next/static/chunks/f60284a2-6891068c9ea7ce77.js b/pilot/server/static/_next/static/chunks/f60284a2-6891068c9ea7ce77.js deleted file mode 100644 index 6d10a37e0..000000000 --- a/pilot/server/static/_next/static/chunks/f60284a2-6891068c9ea7ce77.js +++ /dev/null @@ -1,12 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[757],{91440:function(t,e,n){var r,i;window,t.exports=(r=n(86006),i=n(8431),function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=646)}([function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Cache",{enumerable:!0,get:function(){return t4.default}}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return tH.default}}),Object.defineProperty(e,"augment",{enumerable:!0,get:function(){return tj.default}}),Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"clearAnimationFrame",{enumerable:!0,get:function(){return tI.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return tF.default}}),Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return tL.default}}),Object.defineProperty(e,"deepMix",{enumerable:!0,get:function(){return tk.default}}),Object.defineProperty(e,"difference",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"each",{enumerable:!0,get:function(){return tR.default}}),Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"every",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"extend",{enumerable:!0,get:function(){return tN.default}}),Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"find",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"firstValue",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"fixedBase",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"flattenDeep",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"forIn",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"get",{enumerable:!0,get:function(){return tX.default}}),Object.defineProperty(e,"getEllipsisText",{enumerable:!0,get:function(){return t5.default}}),Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"getType",{enumerable:!0,get:function(){return tu.default}}),Object.defineProperty(e,"getWrapBehavior",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"group",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"groupToMap",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"has",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"hasKey",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"hasValue",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(e,"head",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return t1.default}}),Object.defineProperty(e,"includes",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"indexOf",{enumerable:!0,get:function(){return tB.default}}),Object.defineProperty(e,"isArguments",{enumerable:!0,get:function(){return tc.default}}),Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return tf.default}}),Object.defineProperty(e,"isArrayLike",{enumerable:!0,get:function(){return td.default}}),Object.defineProperty(e,"isBoolean",{enumerable:!0,get:function(){return tp.default}}),Object.defineProperty(e,"isDate",{enumerable:!0,get:function(){return th.default}}),Object.defineProperty(e,"isDecimal",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return tC.default}}),Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return tG.default}}),Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return tV.default}}),Object.defineProperty(e,"isEqualWith",{enumerable:!0,get:function(){return tz.default}}),Object.defineProperty(e,"isError",{enumerable:!0,get:function(){return tg.default}}),Object.defineProperty(e,"isEven",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"isFinite",{enumerable:!0,get:function(){return ty.default}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return tv.default}}),Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"isMatch",{enumerable:!0,get:function(){return tn.default}}),Object.defineProperty(e,"isNegative",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return tm.default}}),Object.defineProperty(e,"isNull",{enumerable:!0,get:function(){return tb.default}}),Object.defineProperty(e,"isNumber",{enumerable:!0,get:function(){return tx.default}}),Object.defineProperty(e,"isNumberEqual",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t_.default}}),Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return tO.default}}),Object.defineProperty(e,"isOdd",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return tP.default}}),Object.defineProperty(e,"isPositive",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"isPrototype",{enumerable:!0,get:function(){return tM.default}}),Object.defineProperty(e,"isRegExp",{enumerable:!0,get:function(){return tA.default}}),Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return tS.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return tw.default}}),Object.defineProperty(e,"isUndefined",{enumerable:!0,get:function(){return tE.default}}),Object.defineProperty(e,"keys",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"last",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"lowerCase",{enumerable:!0,get:function(){return ti.default}}),Object.defineProperty(e,"lowerFirst",{enumerable:!0,get:function(){return ta.default}}),Object.defineProperty(e,"map",{enumerable:!0,get:function(){return tW.default}}),Object.defineProperty(e,"mapValues",{enumerable:!0,get:function(){return tY.default}}),Object.defineProperty(e,"max",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"maxBy",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return t3.default}}),Object.defineProperty(e,"memoize",{enumerable:!0,get:function(){return tD.default}}),Object.defineProperty(e,"min",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"minBy",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return tH.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return t0.default}}),Object.defineProperty(e,"number2color",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return tZ.default}}),Object.defineProperty(e,"parseRadius",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return tq.default}}),Object.defineProperty(e,"pull",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"pullAt",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"requestAnimationFrame",{enumerable:!0,get:function(){return tT.default}}),Object.defineProperty(e,"set",{enumerable:!0,get:function(){return tU.default}}),Object.defineProperty(e,"size",{enumerable:!0,get:function(){return t2.default}}),Object.defineProperty(e,"some",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"sortBy",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"substitute",{enumerable:!0,get:function(){return to.default}}),Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return tK.default}}),Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return t$.default}}),Object.defineProperty(e,"toDegree",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"toInteger",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"toRadian",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"toString",{enumerable:!0,get:function(){return tQ.default}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"uniq",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"uniqueId",{enumerable:!0,get:function(){return tJ.default}}),Object.defineProperty(e,"upperCase",{enumerable:!0,get:function(){return ts.default}}),Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return tl.default}}),Object.defineProperty(e,"values",{enumerable:!0,get:function(){return tr.default}}),Object.defineProperty(e,"valuesOfKey",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"wrapBehavior",{enumerable:!0,get:function(){return I.default}});var i=r(n(238)),a=r(n(655)),o=r(n(656)),s=r(n(657)),l=r(n(658)),u=r(n(659)),c=r(n(660)),f=r(n(661)),d=r(n(662)),p=r(n(376)),h=r(n(377)),g=r(n(663)),v=r(n(664)),y=r(n(665)),m=r(n(378)),b=r(n(666)),x=r(n(667)),_=r(n(668)),O=r(n(669)),P=r(n(670)),M=r(n(371)),A=r(n(671)),S=r(n(672)),w=r(n(673)),E=r(n(380)),C=r(n(379)),T=r(n(674)),I=r(n(675)),j=r(n(676)),F=r(n(677)),L=r(n(678)),D=r(n(679)),k=r(n(680)),R=r(n(681)),N=r(n(682)),B=r(n(683)),G=r(n(684)),V=r(n(685)),z=r(n(686)),W=r(n(374)),Y=r(n(687)),H=r(n(375)),X=r(n(688)),U=r(n(689)),q=r(n(690)),Z=r(n(691)),K=r(n(692)),$=r(n(693)),Q=r(n(381)),J=r(n(694)),tt=r(n(695)),te=r(n(373)),tn=r(n(372)),tr=r(n(240)),ti=r(n(696)),ta=r(n(697)),to=r(n(698)),ts=r(n(699)),tl=r(n(700)),tu=r(n(382)),tc=r(n(701)),tf=r(n(36)),td=r(n(56)),tp=r(n(702)),th=r(n(703)),tg=r(n(704)),tv=r(n(57)),ty=r(n(705)),tm=r(n(95)),tb=r(n(706)),tx=r(n(86)),t_=r(n(169)),tO=r(n(239)),tP=r(n(138)),tM=r(n(383)),tA=r(n(707)),tS=r(n(85)),tw=r(n(68)),tE=r(n(708)),tC=r(n(709)),tT=r(n(710)),tI=r(n(711)),tj=r(n(712)),tF=r(n(713)),tL=r(n(714)),tD=r(n(384)),tk=r(n(715)),tR=r(n(107)),tN=r(n(716)),tB=r(n(717)),tG=r(n(718)),tV=r(n(385)),tz=r(n(719)),tW=r(n(720)),tY=r(n(721)),tH=r(n(241)),tX=r(n(722)),tU=r(n(723)),tq=r(n(724)),tZ=r(n(725)),tK=r(n(726)),t$=r(n(727)),tQ=r(n(108)),tJ=r(n(728)),t0=r(n(729)),t1=r(n(730)),t2=r(n(731)),t3=r(n(386)),t5=r(n(732)),t4=r(n(733))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=void 0,e.__asyncDelegator=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:c(t[r](e)),done:"return"===r}:i?i(e):e}:i}},e.__asyncGenerator=function(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){a.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{var n;(n=i[t](e)).value instanceof c?Promise.resolve(n.value.v).then(l,u):f(a[0][2],n)}catch(t){f(a[0][3],t)}}function l(t){s("next",t)}function u(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=l(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}},e.__await=c,e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{l(r.next(t))}catch(t){a(t)}}function s(t){try{l(r.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((r=r.apply(t,e||[])).next())})},e.__classPrivateFieldGet=function(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)},e.__classPrivateFieldIn=function(t,e){if(null===e||"object"!==(0,i.default)(e)&&"function"!=typeof e)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)},e.__classPrivateFieldSet=function(t,e,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n},e.__createBinding=void 0,e.__decorate=function(t,e,n,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if(("undefined"==typeof Reflect?"undefined":(0,i.default)(Reflect))==="object"&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(o<3?a(s):o>3?a(e,n,s):a(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__exportStar=function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||s(e,t,n)},e.__extends=function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},e.__generator=function(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},e.__spread=function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function c(t){return this instanceof c?(this.v=t,this):new c(t)}e.__createBinding=s;var f=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}},function(t,e,n){"use strict";t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=r},function(t,e,n){"use strict";var r=n(364),i=n(368),a=n(369),o=n(370),s=n(654),l=i.apply(o()),u=function(t,e){return l(Object,arguments)};r(u,{getPolyfill:o,implementation:a,shim:s}),t.exports=u},function(t,e,n){"use strict";function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={flow:!0,pick:!0,template:!0,log:!0,invariant:!0,LEVEL:!0,getContainerSize:!0,findViewById:!0,getViews:!0,getSiblingViews:!0,transformLabel:!0,getSplinePath:!0,deepAssign:!0,kebabCase:!0,renderStatistic:!0,renderGaugeStatistic:!0,measureTextWidth:!0,isBetween:!0,isRealNumber:!0};Object.defineProperty(e,"LEVEL",{enumerable:!0,get:function(){return s.LEVEL}}),Object.defineProperty(e,"deepAssign",{enumerable:!0,get:function(){return p.deepAssign}}),Object.defineProperty(e,"findViewById",{enumerable:!0,get:function(){return c.findViewById}}),Object.defineProperty(e,"flow",{enumerable:!0,get:function(){return i.flow}}),Object.defineProperty(e,"getContainerSize",{enumerable:!0,get:function(){return l.getContainerSize}}),Object.defineProperty(e,"getSiblingViews",{enumerable:!0,get:function(){return c.getSiblingViews}}),Object.defineProperty(e,"getSplinePath",{enumerable:!0,get:function(){return d.getSplinePath}}),Object.defineProperty(e,"getViews",{enumerable:!0,get:function(){return c.getViews}}),Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return s.invariant}}),Object.defineProperty(e,"isBetween",{enumerable:!0,get:function(){return y.isBetween}}),Object.defineProperty(e,"isRealNumber",{enumerable:!0,get:function(){return y.isRealNumber}}),Object.defineProperty(e,"kebabCase",{enumerable:!0,get:function(){return h.kebabCase}}),Object.defineProperty(e,"log",{enumerable:!0,get:function(){return s.log}}),Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return v.measureTextWidth}}),Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return a.pick}}),Object.defineProperty(e,"renderGaugeStatistic",{enumerable:!0,get:function(){return g.renderGaugeStatistic}}),Object.defineProperty(e,"renderStatistic",{enumerable:!0,get:function(){return g.renderStatistic}}),Object.defineProperty(e,"template",{enumerable:!0,get:function(){return o.template}}),Object.defineProperty(e,"transformLabel",{enumerable:!0,get:function(){return f.transformLabel}});var i=n(1160),a=n(538),o=n(1161),s=n(539),l=n(1162),u=n(1163);Object.keys(u).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===u[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=n(540),f=n(1164),d=n(1165),p=n(541),h=n(1166),g=n(542),v=n(1167),y=n(302),m=n(197);Object.keys(m).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}}))});var b=n(121);Object.keys(b).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(r,t))&&(t in e&&e[t]===b[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}}))})},function(t,e,n){"use strict";n.r(e),n.d(e,"VERSION",function(){return f});var r=n(235),i=n(619),a=n(25),o=n(66);n.d(e,"registerScale",function(){return o.registerScale}),n.d(e,"getScale",function(){return o.getScale}),n.d(e,"registerTickMethod",function(){return o.registerTickMethod});var s=n(187);n.d(e,"setGlobal",function(){return s.setGlobal}),n.d(e,"GLOBAL",function(){return s.GLOBAL}),n(1318),n(950);var l=n(459);for(var u in n.d(e,"createThemeByStyleSheet",function(){return l.c}),n.d(e,"antvLight",function(){return l.b}),n.d(e,"antvDark",function(){return l.a}),a)0>["default","registerScale","getScale","registerTickMethod","setGlobal","GLOBAL","VERSION","setDefaultErrorFallback","createThemeByStyleSheet","antvLight","antvDark"].indexOf(u)&&function(t){n.d(e,t,function(){return a[t]})}(u);var c=n(67);n.d(e,"setDefaultErrorFallback",function(){return c.c}),Object(a.registerEngine)("canvas",r),Object(a.registerEngine)("svg",i);var f="4.1.22",d=r.Canvas.prototype.getPointByClient;r.Canvas.prototype.getPointByClient=function(t,e){var n=d.call(this,t,e),r=this.get("el").getBoundingClientRect(),i=this.get("width"),a=this.get("height"),o=r.width,s=r.height;return{x:n.x/(o/i),y:n.y/(s/a)}}},function(t,e,n){"use strict";t.exports=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return{width:Object(D.isNumber)(e.width)?e.width:t.clientWidth,height:Object(D.isNumber)(e.height)?e.height:t.clientHeight}}var R=n(16),N=function t(e,n){if(Object(D.isObject)(e)&&Object(D.isObject)(n)){var r=Object.keys(e),i=Object.keys(n);if(r.length!==i.length)return!1;for(var a=!0,o=0;oe.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(V.registerLocale)("en-US",z.EN_US_LOCALE),Object(V.registerLocale)("zh-CN",W.ZH_CN_LOCALE);var H=x.a.createElement("div",{style:{position:"absolute",top:"48%",left:"50%",color:"#aaa",textAlign:"center"}},"暂无数据"),X={padding:"8px 24px 10px 10px",fontFamily:"PingFang SC",fontSize:12,color:"grey",textAlign:"left",lineHeight:"16px"},U={padding:"10px 0 0 10px",fontFamily:"PingFang SC",fontSize:18,color:"black",textAlign:"left",lineHeight:"20px"},q=function(t){h()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=m()(r);if(e){var i=m()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return v()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t._context={chart:null},t}return d()(r,[{key:"componentDidMount",value:function(){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(R.b)(this.g2Instance,{},this.props),this.g2Instance.data=this.props.data,this.preConfig=Object(j.a)(Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"])))}},{key:"componentDidUpdate",value:function(t){this.props.children&&this.g2Instance.chart&&this.g2Instance.chart.render(),Object(R.b)(this.g2Instance,t,this.props)}},{key:"componentWillUnmount",value:function(){var t=this;this.g2Instance&&setTimeout(function(){t.g2Instance.destroy(),t.g2Instance=null,t._context.chart=null},0)}},{key:"getG2Instance",value:function(){return this.g2Instance}},{key:"getChartView",value:function(){return this.g2Instance.chart}},{key:"checkInstanceReady",value:function(){var t=Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"]));this.g2Instance?this.shouldReCreate()?(this.g2Instance.destroy(),this.initInstance(),this.g2Instance.render()):this.diffConfig()?this.g2Instance.update(o()(o()({},t),{data:this.props.data})):this.diffData()&&this.g2Instance.changeData(this.props.data):(this.initInstance(),this.g2Instance.render()),this.preConfig=Object(j.a)(t),this.g2Instance.data=this.props.data}},{key:"initInstance",value:function(){var t=this.props,e=t.container,n=t.PlotClass,r=t.onGetG2Instance,i=(t.children,Y(t,["container","PlotClass","onGetG2Instance","children"]));this.g2Instance=new n(e,i),this._context.chart=this.g2Instance,M()(r)&&r(this.g2Instance)}},{key:"diffConfig",value:function(){return!N(this.preConfig||{},Object(I.a)(this.props,[].concat(l()(F.a),["container","PlotClass","onGetG2Instance","data"])))}},{key:"diffData",value:function(){var t=this.g2Instance.data,e=this.props.data;if(!Object(D.isArray)(t)||!Object(D.isArray)(e))return!t===e;if(t.length!==e.length)return!0;var n=!0;return t.forEach(function(t,r){Object(T.a)(t,e[r])||(n=!1)}),!n}},{key:"shouldReCreate",value:function(){return!!this.props.forceUpdate}},{key:"render",value:function(){this.checkInstanceReady();var t=this.getChartView();return x.a.createElement(w.a.Provider,{value:this._context},x.a.createElement(E.a.Provider,{value:t},x.a.createElement("div",{key:O()("plot-chart")},this.props.children)))}}]),r}(x.a.Component),Z=Object(A.a)(q);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t},r=x.a.forwardRef(function(e,r){var a=e.title,s=e.description,l=e.autoFit,u=e.forceFit,c=e.errorContent,f=void 0===c?S.a:c,d=e.containerStyle,p=e.containerProps,h=e.placeholder,g=e.ErrorBoundaryProps,v=e.isMaterial,y=n(Y(e,["title","description","autoFit","forceFit","errorContent","containerStyle","containerProps","placeholder","ErrorBoundaryProps","isMaterial"])),m=Object(b.useRef)(),_=Object(b.useRef)(),O=Object(b.useRef)(),P=Object(b.useState)(0),M=i()(P,2),A=M[0],w=M[1],E=Object(b.useRef)(),T=Object(b.useCallback)(function(){if(m.current){var t=k(m.current,e),n=_.current?k(_.current):{width:0,height:0},r=O.current?k(O.current):{width:0,height:0},i=t.height-n.height-r.height;0===i&&(i=350),i<20&&(i=20),Math.abs(A-i)>1&&w(i)}},[m.current,_.current,A,O.current]),I=Object(b.useCallback)(Object(D.debounce)(T,500),[T]),j=x.a.isValidElement(f)?function(){return f}:f;if(h&&!y.data){var F=!0===h?H:h;return x.a.createElement(S.b,o()({FallbackComponent:j},g),x.a.createElement("div",{style:{width:e.width||"100%",height:e.height||400,textAlign:"center",position:"relative"}},F))}var N=Object(C.a)(a,!1),B=Object(C.a)(s,!1),V=o()(o()({},U),N.style),z=o()(o()(o()({},X),B.style),{top:V.height}),W=void 0!==u?u:void 0===l||l;return Object(D.isNil)(u)||G()(!1,"请使用autoFit替代forceFit"),Object(b.useEffect)(function(){return W?m.current?(T(),E.current=new L.ResizeObserver(I),E.current.observe(m.current)):w(0):m.current&&(T(),E.current&&E.current.unobserve(m.current)),function(){E.current&&m.current&&E.current.unobserve(m.current)}},[m.current,W]),x.a.createElement(S.b,o()({FallbackComponent:j},g),x.a.createElement("div",o()({ref:function(t){m.current=t,v&&(Object(D.isFunction)(r)?r(t):r&&(r.current=t))},className:"bizcharts-plot"},p,{style:{position:"relative",height:e.height||"100%",width:e.width||"100%"}}),N.visible&&x.a.createElement("div",o()({ref:_},Object(R.d)(y),{className:"bizcharts-plot-title",style:V}),N.text),B.visible&&x.a.createElement("div",o()({ref:O},Object(R.a)(y),{className:"bizcharts-plot-description",style:z}),B.text),!!A&&x.a.createElement(Z,o()({appendPadding:[10,5,10,10],autoFit:W,ref:v?void 0:r},y,{PlotClass:t,containerStyle:o()(o()({},d),{height:A})}))))});return r.displayName=e||t.name,r}},function(t,e,n){"use strict";var r=n(734);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(6).default,i=n(735);t.exports=function(t,e){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ELEMENT_RANGE_HIGHLIGHT_EVENTS=e.BRUSH_FILTER_EVENTS=e.VIEW_LIFE_CIRCLE=void 0;var r=n(1),i=n(25),a=n(206),o=n(106);(0,i.registerTheme)("dark",(0,o.createThemeByStyleSheet)(a.antvDark));var s=(0,r.__importStar)(n(205)),l=(0,r.__importStar)(n(324)),u=n(25);(0,u.registerEngine)("canvas",s),(0,u.registerEngine)("svg",l);var c=n(25),f=(0,r.__importDefault)(n(325)),d=(0,r.__importDefault)(n(326)),p=(0,r.__importDefault)(n(327)),h=(0,r.__importDefault)(n(328)),g=(0,r.__importDefault)(n(329)),v=(0,r.__importDefault)(n(158)),y=(0,r.__importDefault)(n(330)),m=(0,r.__importDefault)(n(331)),b=(0,r.__importDefault)(n(332)),x=(0,r.__importDefault)(n(989));(0,c.registerGeometry)("Polygon",m.default),(0,c.registerGeometry)("Interval",h.default),(0,c.registerGeometry)("Schema",b.default),(0,c.registerGeometry)("Path",v.default),(0,c.registerGeometry)("Point",y.default),(0,c.registerGeometry)("Line",g.default),(0,c.registerGeometry)("Area",f.default),(0,c.registerGeometry)("Edge",d.default),(0,c.registerGeometry)("Heatmap",p.default),(0,c.registerGeometry)("Violin",x.default),n(991),n(992),n(993),n(994),n(995),n(996),n(465),n(466),n(467),n(468),n(469),n(281),n(470),n(471),n(472),n(473),n(474),n(475),n(997),n(998);var _=n(25),O=(0,r.__importDefault)(n(100)),P=(0,r.__importDefault)(n(163)),M=(0,r.__importDefault)(n(164)),A=(0,r.__importDefault)(n(214));(0,_.registerGeometryLabel)("base",O.default),(0,_.registerGeometryLabel)("interval",P.default),(0,_.registerGeometryLabel)("pie",M.default),(0,_.registerGeometryLabel)("polar",A.default);var S=n(25),w=n(333),E=n(999),C=n(1e3),T=n(334),I=n(335),j=n(225),F=n(1001),L=n(1003),D=n(1005),k=n(1006),R=n(1007),N=n(1008),B=n(1009);(0,S.registerGeometryLabelLayout)("overlap",j.overlap),(0,S.registerGeometryLabelLayout)("distribute",w.distribute),(0,S.registerGeometryLabelLayout)("fixed-overlap",j.fixedOverlap),(0,S.registerGeometryLabelLayout)("hide-overlap",F.hideOverlap),(0,S.registerGeometryLabelLayout)("limit-in-shape",I.limitInShape),(0,S.registerGeometryLabelLayout)("limit-in-canvas",T.limitInCanvas),(0,S.registerGeometryLabelLayout)("limit-in-plot",B.limitInPlot),(0,S.registerGeometryLabelLayout)("pie-outer",E.pieOuterLabelLayout),(0,S.registerGeometryLabelLayout)("adjust-color",L.adjustColor),(0,S.registerGeometryLabelLayout)("interval-adjust-position",D.intervalAdjustPosition),(0,S.registerGeometryLabelLayout)("interval-hide-overlap",k.intervalHideOverlap),(0,S.registerGeometryLabelLayout)("point-adjust-position",R.pointAdjustPosition),(0,S.registerGeometryLabelLayout)("pie-spider",C.pieSpiderLabelLayout),(0,S.registerGeometryLabelLayout)("path-adjust-position",N.pathAdjustPosition);var G=n(222),V=n(167),z=n(162),W=n(320),Y=n(223),H=n(321),X=n(322),U=n(224),q=n(25);(0,q.registerAnimation)("fade-in",G.fadeIn),(0,q.registerAnimation)("fade-out",G.fadeOut),(0,q.registerAnimation)("grow-in-x",V.growInX),(0,q.registerAnimation)("grow-in-xy",V.growInXY),(0,q.registerAnimation)("grow-in-y",V.growInY),(0,q.registerAnimation)("scale-in-x",Y.scaleInX),(0,q.registerAnimation)("scale-in-y",Y.scaleInY),(0,q.registerAnimation)("wave-in",X.waveIn),(0,q.registerAnimation)("zoom-in",U.zoomIn),(0,q.registerAnimation)("zoom-out",U.zoomOut),(0,q.registerAnimation)("position-update",W.positionUpdate),(0,q.registerAnimation)("sector-path-update",H.sectorPathUpdate),(0,q.registerAnimation)("path-in",z.pathIn);var Z=n(25),K=(0,r.__importDefault)(n(336)),$=(0,r.__importDefault)(n(337)),Q=(0,r.__importDefault)(n(338)),J=(0,r.__importDefault)(n(339)),tt=(0,r.__importDefault)(n(340)),te=(0,r.__importDefault)(n(341));(0,Z.registerFacet)("rect",tt.default),(0,Z.registerFacet)("mirror",J.default),(0,Z.registerFacet)("list",$.default),(0,Z.registerFacet)("matrix",Q.default),(0,Z.registerFacet)("circle",K.default),(0,Z.registerFacet)("tree",te.default);var tn=n(25),tr=(0,r.__importDefault)(n(319)),ti=(0,r.__importDefault)(n(342)),ta=(0,r.__importDefault)(n(343)),to=(0,r.__importDefault)(n(344)),ts=(0,r.__importDefault)(n(204)),tl=(0,r.__importDefault)(n(1013));(0,tn.registerComponentController)("axis",ti.default),(0,tn.registerComponentController)("legend",ta.default),(0,tn.registerComponentController)("tooltip",ts.default),(0,tn.registerComponentController)("annotation",tr.default),(0,tn.registerComponentController)("slider",to.default),(0,tn.registerComponentController)("scrollbar",tl.default);var tu=n(25),tc=(0,r.__importDefault)(n(345)),tf=(0,r.__importDefault)(n(346)),td=(0,r.__importDefault)(n(127)),tp=(0,r.__importDefault)(n(347)),th=(0,r.__importDefault)(n(348)),tg=(0,r.__importDefault)(n(349)),tv=(0,r.__importDefault)(n(350)),ty=(0,r.__importDefault)(n(351)),tm=(0,r.__importDefault)(n(159)),tb=(0,r.__importDefault)(n(352)),tx=(0,r.__importDefault)(n(353)),t_=(0,r.__importStar)(n(226));Object.defineProperty(e,"ELEMENT_RANGE_HIGHLIGHT_EVENTS",{enumerable:!0,get:function(){return t_.ELEMENT_RANGE_HIGHLIGHT_EVENTS}});var tO=(0,r.__importDefault)(n(354)),tP=(0,r.__importDefault)(n(355)),tM=(0,r.__importDefault)(n(356)),tA=(0,r.__importDefault)(n(357)),tS=(0,r.__importDefault)(n(358)),tw=(0,r.__importDefault)(n(227)),tE=(0,r.__importDefault)(n(359)),tC=(0,r.__importDefault)(n(360)),tT=(0,r.__importDefault)(n(1015)),tI=(0,r.__importDefault)(n(1016)),tj=(0,r.__importDefault)(n(1017)),tF=(0,r.__importDefault)(n(478)),tL=(0,r.__importDefault)(n(477)),tD=(0,r.__importDefault)(n(1018)),tk=(0,r.__importDefault)(n(361)),tR=(0,r.__importDefault)(n(362)),tN=(0,r.__importStar)(n(479));Object.defineProperty(e,"BRUSH_FILTER_EVENTS",{enumerable:!0,get:function(){return tN.BRUSH_FILTER_EVENTS}});var tB=(0,r.__importDefault)(n(1019)),tG=(0,r.__importDefault)(n(1020)),tV=(0,r.__importDefault)(n(1021)),tz=(0,r.__importDefault)(n(1022)),tW=(0,r.__importDefault)(n(1023)),tY=(0,r.__importDefault)(n(1024)),tH=(0,r.__importDefault)(n(1025)),tX=(0,r.__importDefault)(n(1026)),tU=(0,r.__importDefault)(n(1027));(0,tu.registerAction)("tooltip",td.default),(0,tu.registerAction)("sibling-tooltip",tf.default),(0,tu.registerAction)("ellipsis-text",tp.default),(0,tu.registerAction)("element-active",th.default),(0,tu.registerAction)("element-single-active",ty.default),(0,tu.registerAction)("element-range-active",tv.default),(0,tu.registerAction)("element-highlight",tm.default),(0,tu.registerAction)("element-highlight-by-x",tx.default),(0,tu.registerAction)("element-highlight-by-color",tb.default),(0,tu.registerAction)("element-single-highlight",tO.default),(0,tu.registerAction)("element-range-highlight",t_.default),(0,tu.registerAction)("element-sibling-highlight",t_.default,{effectSiblings:!0,effectByRecord:!0}),(0,tu.registerAction)("element-selected",tM.default),(0,tu.registerAction)("element-single-selected",tA.default),(0,tu.registerAction)("element-range-selected",tP.default),(0,tu.registerAction)("element-link-by-color",tg.default),(0,tu.registerAction)("active-region",tc.default),(0,tu.registerAction)("list-active",tS.default),(0,tu.registerAction)("list-selected",tE.default),(0,tu.registerAction)("list-highlight",tw.default),(0,tu.registerAction)("list-unchecked",tC.default),(0,tu.registerAction)("list-checked",tT.default),(0,tu.registerAction)("legend-item-highlight",tw.default,{componentNames:["legend"]}),(0,tu.registerAction)("axis-label-highlight",tw.default,{componentNames:["axis"]}),(0,tu.registerAction)("rect-mask",tL.default),(0,tu.registerAction)("x-rect-mask",tj.default,{dim:"x"}),(0,tu.registerAction)("y-rect-mask",tj.default,{dim:"y"}),(0,tu.registerAction)("circle-mask",tI.default),(0,tu.registerAction)("path-mask",tF.default),(0,tu.registerAction)("smooth-path-mask",tD.default),(0,tu.registerAction)("cursor",tk.default),(0,tu.registerAction)("data-filter",tR.default),(0,tu.registerAction)("brush",tN.default),(0,tu.registerAction)("brush-x",tN.default,{dims:["x"]}),(0,tu.registerAction)("brush-y",tN.default,{dims:["y"]}),(0,tu.registerAction)("sibling-filter",tB.default),(0,tu.registerAction)("sibling-x-filter",tB.default),(0,tu.registerAction)("sibling-y-filter",tB.default),(0,tu.registerAction)("element-filter",tG.default),(0,tu.registerAction)("element-sibling-filter",tV.default),(0,tu.registerAction)("element-sibling-filter-record",tV.default,{byRecord:!0}),(0,tu.registerAction)("view-drag",tW.default),(0,tu.registerAction)("view-move",tY.default),(0,tu.registerAction)("scale-translate",tH.default),(0,tu.registerAction)("scale-zoom",tX.default),(0,tu.registerAction)("reset-button",tz.default,{name:"reset-button",text:"reset"}),(0,tu.registerAction)("mousewheel-scroll",tU.default);var tq=n(25);function tZ(t){return t.isInPlot()}function tK(t){return t.gEvent.preventDefault(),t.gEvent.originalEvent.deltaY>0}(0,tq.registerInteraction)("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),(0,tq.registerInteraction)("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),(0,tq.registerInteraction)("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),(0,tq.registerInteraction)("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),(0,tq.registerInteraction)("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),(0,tq.registerInteraction)("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),(0,tq.registerInteraction)("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]}),(0,tq.registerInteraction)("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),(0,tq.registerInteraction)("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]}),(0,tq.registerInteraction)("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]}),(0,tq.registerInteraction)("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:tZ,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:tZ,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]}),(0,tq.registerInteraction)("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]}),(0,tq.registerInteraction)("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:tZ,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:tZ,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]}),(0,tq.registerInteraction)("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:tZ,action:"path-mask:start"},{trigger:"mousedown",isEnable:tZ,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]}),(0,tq.registerInteraction)("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]}),(0,tq.registerInteraction)("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","data-filter:filter"]}]}),(0,tq.registerInteraction)("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]}),(0,tq.registerInteraction)("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]}),(0,tq.registerInteraction)("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["list-unchecked:toggle","element-filter:filter"]}]}),(0,tq.registerInteraction)("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]}),(0,tq.registerInteraction)("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(t){return tK(t.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(t){return!tK(t.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]}),(0,tq.registerInteraction)("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]}),(0,tq.registerInteraction)("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var t$=n(21);Object.defineProperty(e,"VIEW_LIFE_CIRCLE",{enumerable:!0,get:function(){return t$.VIEW_LIFE_CIRCLE}}),(0,r.__exportStar)(n(25),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(1056);Object.defineProperty(e,"flow",{enumerable:!0,get:function(){return i.flow}});var a=n(499);Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return a.pick}});var o=n(1057);Object.defineProperty(e,"template",{enumerable:!0,get:function(){return o.template}});var s=n(500);Object.defineProperty(e,"log",{enumerable:!0,get:function(){return s.log}}),Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return s.invariant}}),Object.defineProperty(e,"LEVEL",{enumerable:!0,get:function(){return s.LEVEL}});var l=n(1058);Object.defineProperty(e,"getContainerSize",{enumerable:!0,get:function(){return l.getContainerSize}}),r.__exportStar(n(1059),e);var u=n(501);Object.defineProperty(e,"findViewById",{enumerable:!0,get:function(){return u.findViewById}}),Object.defineProperty(e,"getViews",{enumerable:!0,get:function(){return u.getViews}}),Object.defineProperty(e,"getSiblingViews",{enumerable:!0,get:function(){return u.getSiblingViews}});var c=n(1060);Object.defineProperty(e,"transformLabel",{enumerable:!0,get:function(){return c.transformLabel}});var f=n(1061);Object.defineProperty(e,"getSplinePath",{enumerable:!0,get:function(){return f.getSplinePath}});var d=n(502);Object.defineProperty(e,"deepAssign",{enumerable:!0,get:function(){return d.deepAssign}});var p=n(1062);Object.defineProperty(e,"kebabCase",{enumerable:!0,get:function(){return p.kebabCase}});var h=n(503);Object.defineProperty(e,"renderStatistic",{enumerable:!0,get:function(){return h.renderStatistic}}),Object.defineProperty(e,"renderGaugeStatistic",{enumerable:!0,get:function(){return h.renderGaugeStatistic}});var g=n(1063);Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return g.measureTextWidth}});var v=n(291);Object.defineProperty(e,"isBetween",{enumerable:!0,get:function(){return v.isBetween}}),Object.defineProperty(e,"isRealNumber",{enumerable:!0,get:function(){return v.isRealNumber}}),r.__exportStar(n(292),e),r.__exportStar(n(293),e)},function(t,e,n){"use strict";n.d(e,"f",function(){return c}),n.d(e,"e",function(){return d}),n.d(e,"c",function(){return p}),n.d(e,"b",function(){return h}),n.d(e,"d",function(){return g}),n.d(e,"a",function(){return v});var r=n(4),i=n.n(r),a=n(17),o=n.n(a),s=n(0),l=n(230),u=n(137),c=function(t,e){t.forEach(function(t){var n=t.sourceKey,r=t.targetKey,i=t.notice,a=Object(s.get)(e,n);a&&(o()(!1,i),Object(s.set)(e,r,a))})},f=function(t,e){var n=Object(s.get)(t,e);if(!1===n||null===n){t[e]=null;return}if(void 0!==n){if(!0===n){t[e]={};return}if(!Object(s.isObject)(n)){o()(!0,"".concat(e," 配置参数不正确"));return}d(n,"line",null),d(n,"grid",null),d(n,"label",null),d(n,"tickLine",null),d(n,"title",null);var r=Object(s.get)(n,"label");if(r&&Object(s.isObject)(r)){var a=r.suffix;a&&Object(s.set)(r,"formatter",function(t){return"".concat(t).concat(a)});var l=r.offsetX,u=r.offsetY,c=r.offset;!Object(s.isNil)(c)||Object(s.isNil)(l)&&Object(s.isNil)(u)||("xAxis"===e&&Object(s.set)(r,"offset",Object(s.isNil)(l)?u:l),"yAxis"===e&&Object(s.set)(r,"offset",Object(s.isNil)(u)?l:u))}t[e]=i()(i()({},n),{label:r})}},d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Object(s.get)(t,"".concat(e,".visible"));return(!1===r||null===r)&&Object(s.set)(t,e,n),r},p=function(t){var e=i()({},t);if(d(e,"tooltip"),d(e,"legend")){d(e,"legend.title");var n=Object(s.get)(e,"legend.position");n&&Object(s.set)(e,"legend.position",{"top-center":"top","right-center":"right","left-center":"left","bottom-center":"bottom"}[n]||n)}var r=Object(s.get)(e,"legend.formatter");if(r){var a=Object(s.get)(e,"legend.itemName",{});Object(s.set)(e,"legend.itemName",i()(i()({},a),{formatter:r}))}var o=Object(s.get)(e,"legend.text");o&&Object(s.set)(e,"legend.itemName",o),d(e,"label"),f(e,"xAxis"),f(e,"yAxis");var u=Object(s.get)(e,"guideLine",[]),c=Object(s.get)(e,"data",[]),p=Object(s.get)(e,"yField","y");u.forEach(function(t){if(c.length>0){var n="median";switch(t.type){case"max":n=Object(s.maxBy)(c,function(t){return t[p]})[p];break;case"mean":n=Object(l.a)(c.map(function(t){return t[p]}))/c.length;break;default:n=Object(s.minBy)(c,function(t){return t[p]})[p]}var r=i()(i()({start:["min",n],end:["max",n],style:t.lineStyle,text:{content:n}},t),{type:"line"});Object(s.get)(e,"annotations")||Object(s.set)(e,"annotations",[]),e.annotations.push(r),Object(s.set)(e,"point",!1)}});var h=Object(s.get)(e,"interactions",[]).find(function(t){return"slider"===t.type});return h&&Object(s.isNil)(e.slider)&&(e.slider=h.cfg),e},h=function(t,e,n){var r=Object(u.a)(Object(s.get)(e,"events",[])),i=Object(u.a)(Object(s.get)(n,"events",[]));r.forEach(function(n){t.off(n[1],e.events[n[0]])}),i.forEach(function(e){t.on(e[1],n.events[e[0]])})},g=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onTitleClick","onTitleDblClick","onTitleMouseleave","onTitleMousemove","onTitleMousedown","onTitleMouseup","onTitleMouseenter"].forEach(function(t){e[t]&&(n[t.replace("Title","")]=e[t])}),n},v=function(t){var e=Object(s.get)(t,"events",{}),n={};return["onDescriptionClick","onDescriptionDblClick","onDescriptionMouseleave","onDescriptionMousemove","onDescriptionMousedown","onDescriptionMouseup","onDescriptionMouseenter"].forEach(function(t){e[t]&&(n[t.replace("Description","")]=e[t])}),n}},function(t,e,n){"use strict";t.exports=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(50);e.default=function(t,e,n){for(var i=0,a=r.default(e)?e.split("."):e;t&&i=e||n.height>=e?n:null}function l(t){var e=t.geometries,n=[];return(0,r.each)(e,function(t){var e=t.elements;n=n.concat(e)}),t.views&&t.views.length&&(0,r.each)(t.views,function(t){n=n.concat(l(t))}),n}function u(t,e){var n=t.getModel().data;return(0,r.isArray)(n)?n[0][e]:n[e]}function c(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=e||r.height>=e?n.attr("path"):null;if(!i)return;return p(t.view,i)}var a=s(t,e);return a?f(t.view,a):null},e.getSiblingMaskElements=function(t,e,n){var r=s(t,n);if(!r)return null;var i=t.view,a=h(i,e,{x:r.x,y:r.y}),o=h(i,e,{x:r.maxX,y:r.maxY}),l={minX:a.x,minY:a.y,maxX:o.x,maxY:o.y};return f(e,l)},e.getElements=l,e.getElementsByField=function(t,e,n){return l(t).filter(function(t){return u(t,e)===n})},e.getElementsByState=function(t,e){var n=t.geometries,i=[];return(0,r.each)(n,function(t){var n=t.getElementsBy(function(t){return t.hasState(e)});i=i.concat(n)}),i},e.getElementValue=u,e.intersectRect=c,e.getIntersectElements=f,e.getElementsByPath=p,e.getComponents=function(t){return t.getComponents().map(function(t){return t.component})},e.distance=function(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)},e.getSpline=function(t,e){if(t.length<=2)return(0,i.getLinePath)(t,!1);var n=t[0],a=[];(0,r.each)(t,function(t){a.push(t.x),a.push(t.y)});var o=(0,i.catmullRom2bezier)(a,e,null);return o.unshift(["M",n.x,n.y]),o},e.isInBox=function(t,e){return t.x<=e.x&&t.maxX>=e.x&&t.y<=e.y&&t.maxY>e.y},e.getSilbings=function(t){var e=t.parent,n=null;return e&&(n=e.views.filter(function(e){return e!==t})),n},e.getSiblingPoint=h,e.isInRecords=function(t,e,n,i){var a=!1;return(0,r.each)(t,function(t){if(t[n]===e[n]&&t[i]===e[i])return a=!0,!1}),a},e.getScaleByField=function t(e,n){var i=e.getScaleByField(n);return!i&&e.views&&(0,r.each)(e.views,function(e){if(i=t(e,n))return!1}),i}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.ext=void 0,Object.defineProperty(e,"mat3",{enumerable:!0,get:function(){return i.mat3}}),Object.defineProperty(e,"vec2",{enumerable:!0,get:function(){return i.vec2}}),Object.defineProperty(e,"vec3",{enumerable:!0,get:function(){return i.vec3}});var i=n(170),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(751));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}e.ext=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBackgroundRectStyle=e.getStyle=void 0;var r=n(1),i=n(0);e.getStyle=function(t,e,n,a){void 0===a&&(a="");var o=t.style,s=void 0===o?{}:o,l=t.defaultStyle,u=t.color,c=t.size,f=(0,r.__assign)((0,r.__assign)({},l),s);return u&&(e&&!s.stroke&&(f.stroke=u),n&&!s.fill&&(f.fill=u)),a&&(0,i.isNil)(s[a])&&!(0,i.isNil)(c)&&(f[a]=c),f},e.getBackgroundRectStyle=function(t){return(0,i.deepMix)({},{fill:"#CCD6EC",fillOpacity:.3},(0,i.get)(t,["background","style"]))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=e.annotation=e.scale=e.scrollbar=e.slider=e.state=e.theme=e.animation=e.interaction=e.tooltip=e.legend=void 0;var r=n(1),i=n(0),a=n(509),o=n(15);e.legend=function(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.seriesField;return!1===r?e.legend(!1):(i||a)&&e.legend(i||a,r),t},e.tooltip=function(t){var e=t.chart,n=t.options.tooltip;return void 0!==n&&e.tooltip(n),t},e.interaction=function(t){var e=t.chart,n=t.options.interactions;return i.each(n,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg||{})}),t},e.animation=function(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),i.each(e.geometries,function(t){t.animate(n)}),t},e.theme=function(t){var e=t.chart,n=t.options.theme;return n&&e.theme(n),t},e.state=function(t){var e=t.chart,n=t.options.state;return n&&i.each(e.geometries,function(t){t.state(n)}),t},e.slider=function(t){var e=t.chart,n=t.options.slider;return e.option("slider",n),t},e.scrollbar=function(t){var e=t.chart,n=t.options.scrollbar;return e.option("scrollbar",n),t},e.scale=function(t,e){return function(n){var r=n.chart,s=n.options,l={};return i.each(t,function(t,e){l[e]=o.pick(t,a.AXIS_META_CONFIG_KEYS)}),l=o.deepAssign({},e,s.meta,l),r.scale(l),n}},e.annotation=function(t){return function(e){var n=e.chart,a=e.options,o=n.getController("annotation");return i.each(r.__spreadArrays(a.annotations||[],t||[]),function(t){o.annotation(t)}),e}},e.limitInPlot=function(t){var e=t.chart,n=t.options,r=n.yAxis,a=n.limitInPlot,s=a;return i.isObject(r)&&i.isNil(a)&&(s=!!Object.values(o.pick(r,["min","max","minLimit","maxLimit"])).some(function(t){return!i.isNil(t)})),e.limitInPlot=s,t};var s=n(153);Object.defineProperty(e,"pattern",{enumerable:!0,get:function(){return s.pattern}})},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(9),o=n.n(a),s=n(10),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(3),v=n.n(g),y=n(618),m=n.n(y),b=n(202),x=n(221),_=n.n(x),O=n(0),P=n(160);m.a.prototype.render=function(){if(this.get("isReactElement")){var t=this.getContainer(),e=this.get("content"),n=this.get("refreshDeps"),r=v.a.isValidElement(e)?e:e(t);void 0!==this.preRefreshDeps&&Object(O.isEqual)(this.preRefreshDeps,n)||(_.a.render(r,t),this.preRefreshDeps=n)}else{var i=this.getContainer(),a=this.get("html");Object(b.clearDom)(i);var o=Object(O.isFunction)(a)?a(i):a;Object(O.isElement)(o)?i.appendChild(o):Object(O.isString)(o)&&i.appendChild(Object(P.createDom)(o))}this.resetPosition()};var M=n(319),A=n.n(M),S=n(47);Object(n(8).registerComponentController)("annotation",A.a);var w=function(t){c()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=h()(r);if(e){var i=h()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return d()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.annotationType="line",t}return l()(r,[{key:"componentDidMount",value:function(){var t=this.getChartIns();this.id=O.uniqueId("annotation"),this.annotation=t.annotation(),"ReactElement"===this.annotationType?this.annotation.annotation(i()({type:"html",isReactElement:!0},this.props)):this.annotation.annotation(i()({type:this.annotationType},this.props)),this.annotation.option[this.annotation.option.length-1].__id=this.id}},{key:"componentDidUpdate",value:function(){var t=this,e=null;this.annotation.option.forEach(function(n,r){n.__id===t.id&&(e=r)}),"ReactElement"===this.annotationType?this.annotation.option[e]=i()(i()({type:"html",isReactElement:!0},this.props),{__id:this.id}):this.annotation.option[e]=i()(i()({type:this.annotationType},this.props),{__id:this.id})}},{key:"componentWillUnmount",value:function(){var t=this,e=null;this.annotation&&(this.annotation.option.forEach(function(n,r){n.__id===t.id&&(e=r)}),null!==e&&this.annotation.option.splice(e,1),this.annotation=null)}},{key:"getChartIns",value:function(){return this.context}},{key:"render",value:function(){return v.a.createElement(v.a.Fragment,null)}}]),r}(v.a.Component);w.contextType=S.a,e.a=w},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return Array.isArray?Array.isArray(t):(0,i.default)(t,"Array")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null==t}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Arc",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Cubic",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Quad",{enumerable:!0,get:function(){return a.default}}),e.Util=void 0;var a=r(n(792)),o=r(n(793)),s=r(n(794)),l=r(n(174)),u=r(n(796)),c=r(n(411)),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(87));function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}e.Util=f},function(t,e,n){"use strict";var r=n(12),i=n.n(r),a=n(13),o=n.n(a),s=n(5),l=n.n(s),u=n(45),c=n.n(u),f=n(9),d=n.n(f),p=n(10),h=n.n(p),g=n(3),v=n.n(g),y=n(50),m=n.n(y),b=n(28),x=n.n(b),_=n(100),O=n.n(_);n(491);var P=n(47),M=n(8),A=n(55),S=n.n(A),w=n(23),E=n.n(w),C=n(82),T=function(t,e,n,r){var i,a;if(null===t){S()(n,function(t){var n=e[t];void 0!==n&&(E()(n)||(n=[n]),r(n,t))});return}S()(n,function(n){i=t[n],a=e[n],Object(C.a)(a,i)||(E()(a)||(a=[a]),r(a,n))})},I=n(17),j=n.n(I);n(290);var F=n(348),L=n.n(F),D=n(349),k=n.n(D),R=n(350),N=n.n(R),B=n(351),G=n.n(B),V=n(159),z=n.n(V),W=n(353),Y=n.n(W),H=n(352),X=n.n(H),U=n(354),q=n.n(U),Z=n(226),K=n.n(Z),$=n(356),Q=n.n($),J=n(357),tt=n.n(J),te=n(355),tn=n.n(te),tr=n(361),ti=n.n(tr);Object(M.registerAction)("cursor",ti.a),Object(M.registerAction)("element-active",L.a),Object(M.registerAction)("element-single-active",G.a),Object(M.registerAction)("element-range-active",N.a),Object(M.registerAction)("element-highlight",z.a),Object(M.registerAction)("element-highlight-by-x",Y.a),Object(M.registerAction)("element-highlight-by-color",X.a),Object(M.registerAction)("element-single-highlight",q.a),Object(M.registerAction)("element-range-highlight",K.a),Object(M.registerAction)("element-sibling-highlight",K.a,{effectSiblings:!0,effectByRecord:!0}),Object(M.registerAction)("element-selected",Q.a),Object(M.registerAction)("element-single-selected",tt.a),Object(M.registerAction)("element-range-selected",tn.a),Object(M.registerAction)("element-link-by-color",k.a),Object(M.registerInteraction)("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]}),Object(M.registerInteraction)("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]}),Object(M.registerInteraction)("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]}),Object(M.registerInteraction)("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]}),Object(M.registerInteraction)("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});var ta=n(75);Object(M.registerGeometryLabel)("base",O.a);var to=["line","area"],ts=function(){function t(){d()(this,t),this.config={}}return h()(t,[{key:"setView",value:function(t){this.view=t,this.rootChart=t.rootChart||t}},{key:"createGeomInstance",value:function(t,e){this.geom=this.view[t](e);var n=e.sortable;this.geom.__beforeMapping=this.geom.beforeMapping,this.geom.beforeMapping=function(e){var r=this.getXScale();return!1!==n&&e&&e[0]&&to.includes(t)&&["time","timeCat"].includes(r.type)&&this.sort(e),this.__beforeMapping(e)},this.GemoBaseClassName=t}},{key:"update",value:function(t,e){var n=this;this.geom||(this.setView(e.context),this.createGeomInstance(e.GemoBaseClassName,t),this.interactionTypes=e.interactionTypes),T(this.config,t,["position","shape","color","label","style","tooltip","size","animate","state","customInfo"],function(t,e){var r;j()(!("label"===e&&!0===t[0]),"label 值类型错误,应为false | LabelOption | FieldString"),(r=n.geom)[e].apply(r,c()(t))}),T(this.config,t,["adjust"],function(t,e){m()(t[0])?n.geom[e](t[0]):n.geom[e](t)}),this.geom.state(t.state||{}),this.rootChart.on("processElemens",function(){x()(t.setElements)&&t.setElements(n.geom.elements)}),T(this.config,t,this.interactionTypes,function(t,e){t[0]?n.rootChart.interaction(e):n.rootChart.removeInteraction(e)}),this.config=Object(ta.a)(t)}},{key:"destroy",value:function(){this.geom&&(this.geom.destroy(),this.geom=null),this.config={}}}]),t}(),tl=function(t){i()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=l()(r);if(e){var i=l()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return o()(this,t)});function r(t){var e;return d()(this,r),(e=n.call(this,t)).interactionTypes=[],e.geomHelper=new ts,e}return h()(r,[{key:"componentWillUnmount",value:function(){this.geomHelper.destroy()}},{key:"render",value:function(){var t=this;return this.geomHelper.update(this.props,this),v.a.createElement(v.a.Fragment,null,v.a.Children.map(this.props.children,function(e){return v.a.isValidElement(e)?v.a.cloneElement(e,{parentInstance:t.geomHelper.geom}):v.a.createElement(v.a.Fragment,null)}))}}]),r}(v.a.Component);tl.contextType=P.a,e.a=tl},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(3),i=n.n(r),a=n(47);function o(){return i.a.useContext(a.a)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(432),s=n(90),l=n(42),u=r(n(254)),c="update_status",f=["visible","tip","delegateObject"],d=["container","group","shapesMap","isRegister","isUpdating","destroyed"],p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear(),this.get("group").remove()},e.prototype.clear=function(){this.get("group").clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var e=this.getElementById(t);return e&&e.get("component")},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var e=this.getElementId(t);return this.getElementById(e)},e.prototype.getElementsByName=function(t){var e=[];return(0,a.each)(this.get("shapesMap"),function(n){n.get("name")===t&&e.push(n)}),e},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var e=this.get("group");this.updateElements(t,e),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){this.get("group").show(),this.set("visible",!0)},e.prototype.hide=function(){this.get("group").hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){this.get("group").set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),t.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),e=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(e=(0,s.applyMatrix2BBox)(n,e)),e},e.prototype.on=function(t,e,n){return this.get("group").on(t,e,n),this},e.prototype.off=function(t,e){var n=this.get("group");return n&&n.off(t,e),this},e.prototype.emit=function(t,e){this.get("group").emit(t,e)},e.prototype.init=function(){t.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,e){var n=this.get("group");e.target=n,n.emit(t,e),(0,o.propagationDelegate)(n,t,e)},e.prototype.createOffScreenGroup=function(){return new(this.get("group").getGroupBase())({delegateObject:this.getDelegateObject()})},e.prototype.applyOffset=function(){var t=this.get("offsetX"),e=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:e})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",(0,l.getBBoxWithClip)(t)),t},e.prototype.addGroup=function(t,e){this.appendDelegateObject(t,e);var n=t.addGroup(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,e){this.appendDelegateObject(t,e);var n=t.addShape(e);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,e){var n=e.id,r=e.component,a=(0,i.__rest)(e,["id","component"]),o=new r((0,i.__assign)((0,i.__assign)({},a),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return o.init(),o.render(),this.get("isRegister")&&this.registerElement(o.get("group")),o},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){this.get("group").off()},e.prototype.getElementId=function(t){return this.get("id")+"-"+this.get("name")+"-"+t},e.prototype.registerElement=function(t){var e=t.get("id");this.get("shapesMap")[e]=t},e.prototype.unregisterElement=function(t){var e=t.get("id");delete this.get("shapesMap")[e]},e.prototype.moveElementTo=function(t,e){var n=(0,s.getMatrixByTranslate)(e);t.attr("matrix",n)},e.prototype.addAnimation=function(t,e,n){var r=e.attr("opacity");(0,a.isNil)(r)&&(r=1),e.attr("opacity",0),e.animate({opacity:r},n)},e.prototype.removeAnimation=function(t,e,n){e.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,e,n,r){e.animate(n,r)},e.prototype.updateElements=function(t,e){var n,r=this,i=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0);(0,a.each)(s,function(t){var s=t.get("id"),u=r.getElementById(s),p=t.get("name");if(u){if(t.get("isComponent")){var h=t.get("component"),g=u.get("component"),v=(0,a.pick)(h.cfg,(0,a.difference)((0,a.keys)(h.cfg),d));g.update(v),u.set(c,"update")}else{var y=r.getReplaceAttrs(u,t);i&&o.update?r.updateAnimation(p,u,y,o.update):u.attr(y),t.isGroup()&&r.updateElements(t,u),(0,a.each)(f,function(e){u.set(e,t.get(e))}),(0,l.updateClip)(u,t),n=u,u.set(c,"update")}}else{e.add(t);var m=e.getChildren();if(m.splice(m.length-1,1),n){var b=m.indexOf(n);m.splice(b+1,0,t)}else m.unshift(t);if(r.registerElement(t),t.set(c,"add"),t.get("isComponent")){var h=t.get("component");h.set("container",e)}else t.isGroup()&&r.registerNewGroup(t);if(n=t,i){var x=r.get("isInit")?o.appear:o.enter;x&&r.addAnimation(p,t,x)}}})},e.prototype.clearUpdateStatus=function(t){var e=t.getChildren();(0,a.each)(e,function(t){t.set(c,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,e=this.get("name");return(t={})[e]=this,t.component=this,t},e.prototype.appendDelegateObject=function(t,e){var n=t.get("delegateObject");e.delegateObject||(e.delegateObject={}),(0,a.mix)(e.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,e){var n=t.attr(),r=e.attr();return(0,a.each)(n,function(t,e){void 0===r[e]&&(r[e]=void 0)}),r},e.prototype.registerNewGroup=function(t){var e=this,n=t.getChildren();(0,a.each)(n,function(t){e.registerElement(t),t.set(c,"add"),t.isGroup()&&e.registerNewGroup(t)})},e.prototype.deleteElements=function(){var t=this,e=this.get("shapesMap"),n=[];(0,a.each)(e,function(t,e){!t.get(c)||t.destroyed?n.push([e,t]):t.set(c,null)});var r=this.get("animate"),i=this.get("animateOption");(0,a.each)(n,function(n){var o=n[0],s=n[1];if(!s.destroyed){var l=s.get("name");if(r&&i.leave){var u=(0,a.mix)({callback:function(){t.removeElement(s)}},i.leave);t.removeAnimation(l,s,u)}else t.removeElement(s)}delete e[o]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var e=t.get("component");e&&e.destroy()}t.remove()},e}(u.default);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearDom=function(t){for(var e=t.childNodes,n=e.length,r=n-1;r>=0;r--)t.removeChild(e[r])},e.createBBox=i,e.distance=o,e.formatPadding=function(t){var e=0,n=0,i=0,a=0;return(0,r.isNumber)(t)?e=n=i=a=t:(0,r.isArray)(t)&&(e=t[0],i=(0,r.isNil)(t[1])?t[0]:t[1],a=(0,r.isNil)(t[2])?t[0]:t[2],n=(0,r.isNil)(t[3])?i:t[3]),[e,i,a,n]},e.getBBoxWithClip=function t(e){var n,a=e.getClip(),o=a&&a.getBBox();if(e.isGroup()){var l=1/0,u=-1/0,c=1/0,f=-1/0,d=e.getChildren();d.length>0?(0,r.each)(d,function(e){if(e.get("visible")){if(e.isGroup()&&0===e.get("children").length)return!0;var n=t(e),r=e.applyToMatrix([n.minX,n.minY,1]),i=e.applyToMatrix([n.minX,n.maxY,1]),a=e.applyToMatrix([n.maxX,n.minY,1]),o=e.applyToMatrix([n.maxX,n.maxY,1]),s=Math.min(r[0],i[0],a[0],o[0]),d=Math.max(r[0],i[0],a[0],o[0]),p=Math.min(r[1],i[1],a[1],o[1]),h=Math.max(r[1],i[1],a[1],o[1]);su&&(u=d),pf&&(f=h)}}):(l=0,u=0,c=0,f=0),n=i(l,c,u-l,f-c)}else n=e.getBBox();return o?s(n,o):n},e.getCirclePoint=function(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}},e.getTextPoint=function(t,e,n,r){var i=r/o(t,e),s=0;return"start"===n?s=0-i:"end"===n&&(s=1+i),{x:a(t.x,e.x,s),y:a(t.y,e.y,s)}},e.getValueByPercent=a,e.hasClass=function(t,e){return!!t.className.match(RegExp("(\\s|^)"+e+"(\\s|$)"))},e.intersectBBox=s,e.mergeBBox=function(t,e){var n=Math.min(t.minX,e.minX),r=Math.min(t.minY,e.minY);return i(n,r,Math.max(t.maxX,e.maxX)-n,Math.max(t.maxY,e.maxY)-r)},e.near=void 0,e.pointsToBBox=function(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),a=Math.max.apply(Math,e),o=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.regionToBBox=function(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),a=Math.max(e.x,n.x),o=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.toPx=function(t){return t+"px"},e.updateClip=function(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(!n){t.setClip(null);return}var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}},e.wait=void 0;var r=n(0);function i(t,e,n,r){var i=t+n,a=e+r;return{x:t,y:e,width:n,height:r,minX:t,minY:e,maxX:isNaN(i)?0:i,maxY:isNaN(a)?0:a}}function a(t,e,n){return(1-n)*t+e*n}function o(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function s(t,e){var n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY);return i(n,r,Math.min(t.maxX,e.maxX)-n,Math.min(t.maxY,e.maxY)-r)}e.wait=function(t){return new Promise(function(e){setTimeout(e,t)})},e.near=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)t.x?t.x:e,n=nt.y?t.y:i,a=a=t&&i<=t+n&&a>=e&&a<=e+r},e.intersectRect=function(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=t&&i<=t+n&&a>=e&&a<=e+r},e.intersectRect=function(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY0&&(e?"stroke"in n?this._setColor(t,"stroke",a):"strokeStyle"in n&&this._setColor(t,"stroke",o):this._setColor(t,"stroke",a||o),u&&f.setAttribute(l.SVG_ATTR_MAP.strokeOpacity,u),c&&f.setAttribute(l.SVG_ATTR_MAP.lineWidth,c))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(!n){r.setAttribute(l.SVG_ATTR_MAP[e],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(l.SVG_ATTR_MAP[e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(l.SVG_ATTR_MAP[e],"url(#"+i+")")}else r.setAttribute(l.SVG_ATTR_MAP[e],n)},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,o=r.shadowOffsetY,s=r.shadowBlur,l=r.shadowColor;(i||o||s||l)&&a.setShadow(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&a.setTransform(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,a=e+r.top,o=document.elementFromPoint(i,a);return!!(o&&o.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(i.AbstractShape);e.default=d},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(149),l=n(74),u=n(274),c=n(54),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190)),d=r(n(275));function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}var h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="svg",e.canFill=!1,e.canStroke=!1,e}return(0,a.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,a.__assign)((0,a.__assign)({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.draw(r,e)}},e.prototype.getShapeBase=function(){return f},e.prototype.getGroupBase=function(){return d.default},e.prototype.onCanvasChange=function(t){(0,u.refreshElement)(this,t)},e.prototype.calculateBBox=function(){var t=this.get("el"),e=null;if(t)e=t.getBBox();else{var n=(0,o.getBBoxMethod)(this.get("type"));n&&(e=n(this))}if(e){var r=e.x,i=e.y,a=e.width,s=e.height,l=this.getHitLineWidth(),u=l/2,c=r-u,f=i-u;return{x:c,y:f,minX:c,minY:f,maxX:r+a+u,maxY:i+s+u,width:a+l,height:s+l}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},e.prototype.isFill=function(){var t=this.attr(),e=t.fill,n=t.fillStyle;return(e||n||this.isClipShape())&&this.canFill},e.prototype.isStroke=function(){var t=this.attr(),e=t.stroke,n=t.strokeStyle;return(e||n)&&this.canStroke},e.prototype.draw=function(t,e){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||(0,l.createDom)(this),(0,s.setClip)(this,t),this.createPath(t,e),this.shadow(t,e),this.strokeAndFill(t,e),this.transform(e))},e.prototype.createPath=function(t,e){},e.prototype.strokeAndFill=function(t,e){var n=e||this.attr(),r=n.fill,i=n.fillStyle,a=n.stroke,o=n.strokeStyle,s=n.fillOpacity,l=n.strokeOpacity,u=n.lineWidth,f=this.get("el");this.canFill&&(e?"fill"in n?this._setColor(t,"fill",r):"fillStyle"in n&&this._setColor(t,"fill",i):this._setColor(t,"fill",r||i),s&&f.setAttribute(c.SVG_ATTR_MAP.fillOpacity,s)),this.canStroke&&u>0&&(e?"stroke"in n?this._setColor(t,"stroke",a):"strokeStyle"in n&&this._setColor(t,"stroke",o):this._setColor(t,"stroke",a||o),l&&f.setAttribute(c.SVG_ATTR_MAP.strokeOpacity,l),u&&f.setAttribute(c.SVG_ATTR_MAP.lineWidth,u))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(!n){r.setAttribute(c.SVG_ATTR_MAP[e],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var i=t.find("gradient",n);i||(i=t.addGradient(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var i=t.find("pattern",n);i||(i=t.addPattern(n)),r.setAttribute(c.SVG_ATTR_MAP[e],"url(#"+i+")")}else r.setAttribute(c.SVG_ATTR_MAP[e],n)},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,a=r.shadowOffsetY,o=r.shadowBlur,l=r.shadowColor;(i||a||o||l)&&(0,s.setShadow)(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&(0,s.setTransform)(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,a=e+r.top,o=document.elementFromPoint(i,a);return!!(o&&o.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(o.AbstractShape);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipMapping=void 0;var r=n(0);e.getTooltipMapping=function(t,e){if(!1===t)return{fields:!1};var n=r.get(t,"fields"),i=r.get(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipMapping=function(t,e){if(!1===t)return{fields:!1};var n=(0,r.get)(t,"fields"),i=(0,r.get)(t,"formatter");return i&&!n&&(n=e),{fields:n,formatter:i}};var r=n(0)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Category",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Identity",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Linear",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Log",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Pow",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Quantile",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Quantize",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Time",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TimeCat",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return p.getScale}}),Object.defineProperty(e,"getTickMethod",{enumerable:!0,get:function(){return g.getTickMethod}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return p.registerScale}}),Object.defineProperty(e,"registerTickMethod",{enumerable:!0,get:function(){return g.registerTickMethod}});var i=r(n(141)),a=r(n(426)),o=r(n(827)),s=r(n(427)),l=r(n(830)),u=r(n(831)),c=r(n(832)),f=r(n(428)),d=r(n(833)),p=n(834),h=r(n(835)),g=n(836);(0,p.registerScale)("cat",a.default),(0,p.registerScale)("category",a.default),(0,p.registerScale)("identity",h.default),(0,p.registerScale)("linear",s.default),(0,p.registerScale)("log",l.default),(0,p.registerScale)("pow",u.default),(0,p.registerScale)("time",c.default),(0,p.registerScale)("timeCat",o.default),(0,p.registerScale)("quantize",f.default),(0,p.registerScale)("quantile",d.default)},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"c",function(){return l});var r=n(3),i=n.n(r),a=n(620),o=function(t){var e=t.error;return i.a.createElement("div",{className:"bizcharts-error",role:"alert"},i.a.createElement("p",null,"BizCharts something went wrong:"),i.a.createElement("pre",null,e.message))};function s(t){return o(t)}var l=function(t){o=t};e.b=a.ErrorBoundary},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={}.toString;e.default=function(t,e){return r.call(t)==="[object "+e+"]"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.Slider=e.HtmlTooltip=e.ContinuousLegend=e.CategoryLegend=e.CircleGrid=e.LineGrid=e.CircleAxis=e.LineAxis=e.Annotation=e.Crosshair=e.Component=e.GroupComponent=e.HtmlComponent=e.Scale=e.registerScale=e.getScale=e.Coordinate=e.registerCoordinate=e.getCoordinate=e.Color=e.Attribute=e.getAttribute=e.Adjust=e.getAdjust=e.registerAdjust=e.AbstractShape=e.AbstractGroup=e.Event=void 0;var r=n(26);Object.defineProperty(e,"Event",{enumerable:!0,get:function(){return r.Event}}),Object.defineProperty(e,"AbstractGroup",{enumerable:!0,get:function(){return r.AbstractGroup}}),Object.defineProperty(e,"AbstractShape",{enumerable:!0,get:function(){return r.AbstractShape}});var i=n(422);Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return i.registerAdjust}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return i.getAdjust}}),Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return i.Adjust}});var a=n(251);Object.defineProperty(e,"getAttribute",{enumerable:!0,get:function(){return a.getAttribute}}),Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return a.Attribute}});var o=n(251);Object.defineProperty(e,"Color",{enumerable:!0,get:function(){return o.Color}});var s=n(848);Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return s.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return s.registerCoordinate}}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return s.Coordinate}});var l=n(66);Object.defineProperty(e,"getScale",{enumerable:!0,get:function(){return l.getScale}}),Object.defineProperty(e,"registerScale",{enumerable:!0,get:function(){return l.registerScale}}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return l.Scale}});var u=n(179);Object.defineProperty(e,"Annotation",{enumerable:!0,get:function(){return u.Annotation}}),Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return u.Component}}),Object.defineProperty(e,"Crosshair",{enumerable:!0,get:function(){return u.Crosshair}}),Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return u.GroupComponent}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return u.HtmlComponent}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return u.Slider}}),Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return u.Scrollbar}});var c=u.Axis.Line,f=u.Axis.Circle;e.LineAxis=c,e.CircleAxis=f;var d=u.Grid.Line,p=u.Grid.Circle;e.LineGrid=d,e.CircleGrid=p;var h=u.Legend.Category,g=u.Legend.Continuous;e.CategoryLegend=h,e.ContinuousLegend=g;var v=u.Tooltip.Html;e.HtmlTooltip=v},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.uniq=e.omit=e.padEnd=e.isBetween=void 0;var i=n(0);e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i},e.padEnd=function(t,e,n){if((0,i.isString)(t))return t.padEnd(e,n);if((0,i.isArray)(t)){var r=t.length;if(r0&&(a.isNil(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(i.AbstractShape);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveTo=e.sortDom=e.createDom=e.createSVGElement=void 0;var r=n(0),i=n(52);function a(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}e.createSVGElement=a,e.createDom=function(t){var e=i.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw Error("the type "+t.type+" is not supported by svg");var r=a(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var o=n.get("el");o||(o=n.createDom(),n.set("el",o)),o.appendChild(r)}return r},e.sortDom=function(t,e){var n=t.get("el"),i=r.toArray(n.children).sort(e),a=document.createDocumentFragment();i.forEach(function(t){a.appendChild(t)}),n.appendChild(a)},e.moveTo=function(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter(function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()}),i=r[e],a=r.indexOf(t);if(i){if(a>e)n.insertBefore(t,i);else if(a0&&((0,s.isNil)(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(o.AbstractShape);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDom=function(t){var e=i.SHAPE_TO_TAGS[t.type],n=t.getParent();if(!e)throw Error("the type "+t.type+" is not supported by svg");var r=a(e);if(t.get("id")&&(r.id=t.get("id")),t.set("el",r),t.set("attrs",{}),n){var o=n.get("el");o||(o=n.createDom(),n.set("el",o)),o.appendChild(r)}return r},e.createSVGElement=a,e.moveTo=function(t,e){var n=t.parentNode,r=Array.from(n.childNodes).filter(function(t){return 1===t.nodeType&&"defs"!==t.nodeName.toLowerCase()}),i=r[e],a=r.indexOf(t);if(i){if(a>e)n.insertBefore(t,i);else if(a=this.minX&&t.maxX<=this.maxX&&t.minY>=this.minY&&t.maxY<=this.maxY},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.add=function(){for(var t=[],e=0;et.minX&&this.minYt.minY},t.prototype.size=function(){return this.width*this.height},t.prototype.isPointIn=function(t){return t.x>=this.minX&&t.x<=this.maxX&&t.y>=this.minY&&t.y<=this.maxY},t}();e.BBox=a,e.getRegionBBox=function(t,e){var n=e.start,r=e.end;return new a(t.x+t.width*n.x,t.y+t.height*n.y,t.width*Math.abs(r.x-n.x),t.height*Math.abs(r.y-n.y))},e.toPoints=function(t){return[[t.minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]]}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(3),i=n.n(r),a=n(76);function o(){return i.a.useContext(a.a).chart}},function(t,e,n){"use strict";var r=n(6),i=n.n(r),a=n(55),o=n.n(a),s=n(23),l=n.n(s),u=n(61),c=n.n(u);function f(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function d(t){return l()(t)?t.length:c()(t)?Object.keys(t).length:0}e.a=function(t,e){if(f(t,e))return!0;if("object"!==i()(t)||null===t||"object"!==i()(e)||null===e||l()(t)!==l()(e)||d(t)!==d(e))return!1;var n=!0;return o()(t,function(t,r){return!!f(t,e[r])||(n=!1)}),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bar=void 0;var r=n(1),i=n(24),a=n(119),o=n(1120),s=n(1124),l=n(524),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options,i=n.xField,s=n.yField,u=n.isPercent,c=r.__assign(r.__assign({},n),{xField:s,yField:i});o.meta({chart:e,options:c}),e.changeData(a.getDataWhetherPecentage(l.transformBarData(t),i,s,i,u))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Bar=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Column=void 0;var r=n(1),i=n(24),a=n(119),o=n(195),s=n(1127),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this.chart,l=this.options;o.meta({chart:s,options:l}),this.chart.changeData(a.getDataWhetherPecentage(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Column=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return(0,i.default)(t,"String")}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(68));e.default=function(t){return(0,i.default)(t,"Number")}},function(t,e,n){"use strict";function r(t){return Math.min.apply(null,t)}function i(t){return Math.max.apply(null,t)}Object.defineProperty(e,"__esModule",{value:!0}),e.distance=function(t,e,n,r){var i=t-n,a=e-r;return Math.sqrt(i*i+a*a)},e.getBBoxByArray=function(t,e){var n=r(t),a=r(e);return{x:n,y:a,width:i(t)-n,height:i(e)-a}},e.getBBoxRange=function(t,e,n,a){return{minX:r([t,n]),maxX:i([t,n]),minY:r([e,a]),maxY:i([e,a])}},e.isNumberEqual=function(t,e){return .001>Math.abs(t-e)},e.piMod=function(t){return(t+2*Math.PI)%(2*Math.PI)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"catmullRom2Bezier",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"fillPath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"fillPathByDiff",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"formatPath",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"getArcParams",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"getLineIntersect",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"isPointInPolygon",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"isPolygonsIntersect",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"parsePathArray",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"parsePathString",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"path2Absolute",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"path2Curve",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"path2Segments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"pathIntersection",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"reactPath",{enumerable:!0,get:function(){return h.default}});var i=r(n(414)),a=r(n(800)),o=r(n(803)),s=r(n(804)),l=r(n(805)),u=r(n(806)),c=r(n(811)),f=r(n(418)),d=r(n(416)),p=r(n(417)),h=r(n(415)),g=r(n(419)),v=r(n(812)),y=r(n(420)),m=r(n(813)),b=r(n(421))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=void 0,e.__asyncDelegator=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:u(t[r](e)),done:"return"===r}:i?i(e):e}:i}},e.__asyncGenerator=function(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){a.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{var n;(n=i[t](e)).value instanceof u?Promise.resolve(n.value.v).then(l,c):f(a[0][2],n)}catch(t){f(a[0][3],t)}}function l(t){s("next",t)}function c(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=s(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}},e.__await=u,e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,a){function o(t){try{l(r.next(t))}catch(t){a(t)}}function s(t){try{l(r.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((r=r.apply(t,e||[])).next())})},e.__classPrivateFieldGet=function(t,e){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return e.get(t)},e.__classPrivateFieldSet=function(t,e,n){if(!e.has(t))throw TypeError("attempted to set private field on non-instance");return e.set(t,n),n},e.__createBinding=function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]},e.__decorate=function(t,e,n,r){var a,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if(("undefined"==typeof Reflect?"undefined":(0,i.default)(Reflect))==="object"&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(o<3?a(s):o>3?a(e,n,s):a(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__exportStar=function(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])},e.__extends=function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},e.__generator=function(t,e){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},e.__spread=function(){for(var t=[],e=0;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function u(t){return this instanceof u?(this.v=t,this):new u(t)}e.__assign=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyMatrix2BBox=function(t,e){var n=s(t,[e.minX,e.minY]),r=s(t,[e.maxX,e.minY]),i=s(t,[e.minX,e.maxY]),a=s(t,[e.maxX,e.maxY]),o=Math.min(n[0],r[0],i[0],a[0]),l=Math.max(n[0],r[0],i[0],a[0]),u=Math.min(n[1],r[1],i[1],a[1]),c=Math.max(n[1],r[1],i[1],a[1]);return{x:o,y:u,minX:o,minY:u,maxX:l,maxY:c,width:l-o,height:c-u}},e.applyRotate=function(t,e,n,r){if(e){var i=a({x:n,y:r},e,t.getMatrix());t.setMatrix(i)}},e.applyTranslate=function(t,e,n){var r=o({x:e,y:n});t.attr("matrix",r)},e.getAngleByMatrix=function(t){var e=[0,0,0];return r.vec3.transformMat3(e,[1,0,0],t),Math.atan2(e[1],e[0])},e.getMatrixByAngle=a,e.getMatrixByTranslate=o;var r=n(32),i=[1,0,0,0,1,0,0,0,1];function a(t,e,n){return(void 0===n&&(n=i),e)?r.ext.transform(n,[["t",-t.x,-t.y],["r",e],["t",t.x,t.y]]):null}function o(t,e){return t.x||t.y?r.ext.transform(e||i,[["t",t.x,t.y]]):null}function s(t,e){var n=[0,0];return r.vec2.transformMat3(n,e,t),n}},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),a=n(422),o=n(251),s=n(0),l=n(97),u=(0,i.__importDefault)(n(263)),c=n(21),f=n(70),d=(0,i.__importDefault)(n(269)),p=n(271),h=n(27),g=n(945),v=n(449),y=n(946),m=n(450),b=n(48),x=function(t){function e(e){var n=t.call(this,e)||this;n.type="base",n.attributes={},n.elements=[],n.elementsMap={},n.animateOption=!0,n.attributeOption={},n.lastElementsMap={},n.generatePoints=!1,n.beforeMappingData=null,n.adjusts={},n.idFields=[],n.hasSorted=!1,n.isCoordinateChanged=!1;var r=e.container,i=e.labelsContainer,a=e.coordinate,o=e.data,s=e.sortable,l=e.visible,u=e.theme,c=e.scales,f=e.scaleDefs,d=e.intervalPadding,p=e.dodgePadding,h=e.maxColumnWidth,g=e.minColumnWidth,v=e.columnWidthRatio,y=e.roseWidthRatio,m=e.multiplePieWidthRatio,b=e.zIndexReversed;return n.container=r,n.labelsContainer=i,n.coordinate=a,n.data=o,n.sortable=void 0!==s&&s,n.visible=void 0===l||l,n.userTheme=u,n.scales=void 0===c?{}:c,n.scaleDefs=void 0===f?{}:f,n.intervalPadding=d,n.dodgePadding=p,n.maxColumnWidth=h,n.minColumnWidth=g,n.columnWidthRatio=v,n.roseWidthRatio=y,n.multiplePieWidthRatio=m,n.zIndexReversed=b,n}return(0,i.__extends)(e,t),e.prototype.position=function(t){var e=t;(0,s.isPlainObject)(t)||(e={fields:(0,y.parseFields)(t)});var n=(0,s.get)(e,"fields");return 1===n.length&&(n.unshift("1"),(0,s.set)(e,"fields",n)),(0,s.set)(this.attributeOption,"position",e),this},e.prototype.color=function(t,e){return this.createAttrOption("color",t,e),this},e.prototype.shape=function(t,e){return this.createAttrOption("shape",t,e),this},e.prototype.size=function(t,e){return this.createAttrOption("size",t,e),this},e.prototype.adjust=function(t){var e=t;return((0,s.isString)(t)||(0,s.isPlainObject)(t))&&(e=[t]),(0,s.each)(e,function(t,n){(0,s.isObject)(t)||(e[n]={type:t})}),this.adjustOption=e,this},e.prototype.style=function(t,e){if((0,s.isString)(t)){var n=(0,y.parseFields)(t);this.styleOption={fields:n,callback:e}}else{var n=t.fields,r=t.callback,i=t.cfg;n||r||i?this.styleOption=t:this.styleOption={cfg:t}}return this},e.prototype.tooltip=function(t,e){if((0,s.isString)(t)){var n=(0,y.parseFields)(t);this.tooltipOption={fields:n,callback:e}}else this.tooltipOption=t;return this},e.prototype.animate=function(t){return this.animateOption=t,this},e.prototype.label=function(t,e,n){if((0,s.isString)(t)){var r={},i=(0,y.parseFields)(t);r.fields=i,(0,s.isFunction)(e)?r.callback=e:(0,s.isPlainObject)(e)&&(r.cfg=e),n&&(r.cfg=n),this.labelOption=r}else this.labelOption=t;return this},e.prototype.state=function(t){return this.stateOption=t,this},e.prototype.customInfo=function(t){return this.customOption=t,this},e.prototype.init=function(t){void 0===t&&(t={}),this.setCfg(t),this.initAttributes(),this.processData(this.data),this.adjustScale()},e.prototype.update=function(t){void 0===t&&(t={});var e=t.data,n=t.isDataChanged,r=t.isCoordinateChanged,i=this.attributeOption,a=this.lastAttributeOption;(0,s.isEqual)(i,a)?e&&(n||!(0,s.isEqual)(e,this.data))?(this.setCfg(t),this.initAttributes(),this.processData(e)):this.setCfg(t):this.init(t),this.adjustScale(),this.isCoordinateChanged=r},e.prototype.paint=function(t){void 0===t&&(t=!1),this.animateOption&&(this.animateOption=(0,s.deepMix)({},(0,l.getDefaultAnimateCfg)(this.type,this.coordinate),this.animateOption)),this.defaultSize=void 0,this.elementsMap={},this.elements=[],this.getOffscreenGroup().clear();var e=this.beforeMappingData,n=this.beforeMapping(e);this.dataArray=Array(n.length);for(var r=0;r=0?e:n<=0?n:0},e.prototype.createAttrOption=function(t,e,n){if((0,s.isNil)(e)||(0,s.isObject)(e))(0,s.isObject)(e)&&(0,s.isEqual)(Object.keys(e),["values"])?(0,s.set)(this.attributeOption,t,{fields:e.values}):(0,s.set)(this.attributeOption,t,e);else{var r={};(0,s.isNumber)(e)?r.values=[e]:r.fields=(0,y.parseFields)(e),n&&((0,s.isFunction)(n)?r.callback=n:r.values=n),(0,s.set)(this.attributeOption,t,r)}},e.prototype.initAttributes=function(){var t=this,e=this.attributes,n=this.attributeOption,a=this.theme,s=this.shapeType;this.groupScales=[];var l={},u=function(r){if(n.hasOwnProperty(r)){var u=n[r];if(!u)return{value:void 0};var f=(0,i.__assign)({},u),d=f.callback,p=f.values,h=f.fields,g=(void 0===h?[]:h).map(function(e){var n=t.scales[e];return n.isCategory&&!l[e]&&c.GROUP_ATTRS.includes(r)&&(t.groupScales.push(n),l[e]=!0),n});f.scales=g,"position"!==r&&1===g.length&&"identity"===g[0].type?f.values=g[0].values:d||p||("size"===r?f.values=a.sizes:"shape"===r?f.values=a.shapes[s]||[]:"color"===r&&(g.length?f.values=g[0].values.length<=10?a.colors10:a.colors20:f.values=a.colors10));var v=(0,o.getAttribute)(r);e[r]=new v(f)}};for(var f in n){var d=u(f);if("object"===(0,r.default)(d))return d.value}},e.prototype.processData=function(t){this.hasSorted=!1;for(var e=this.getAttribute("position").scales.filter(function(t){return t.isCategory}),n=this.groupData(t),r=[],i=0,a=n.length;ia&&(a=c)}var f=this.scaleDefs,d={};it.max&&!(0,s.get)(f,[r,"max"])&&(d.max=a),t.change(d)},e.prototype.beforeMapping=function(t){if(this.sortable&&this.sort(t),this.generatePoints)for(var e=0,n=t.length;e1)for(var d=0;d0||1===n?s[a]=r*o:s[a]=-(r*o*1),s},t.prototype.getLabelPoint=function(t,e,n){var r=this.getCoordinate(),a=t.content.length;function o(e,n,r){void 0===r&&(r=!1);var a=e;return(0,i.isArray)(a)&&(a=1===t.content.length?r?u(a):a.length<=2?a[e.length-1]:u(a):a[n]),a}var l={content:t.content[n],x:0,y:0,start:{x:0,y:0},color:"#fff"},c=(0,i.isArray)(e.shape)?e.shape[0]:e.shape,f="funnel"===c||"pyramid"===c;if("polygon"===this.geometry.type){var d=(0,s.getPolygonCentroid)(e.x,e.y);l.x=d[0],l.y=d[1]}else"interval"!==this.geometry.type||f?(l.x=o(e.x,n),l.y=o(e.y,n)):(l.x=o(e.x,n,!0),l.y=o(e.y,n));if(f){var p=(0,i.get)(e,"nextPoints"),h=(0,i.get)(e,"points");if(p){var g=r.convert(h[1]),v=r.convert(p[1]);l.x=(g.x+v.x)/2,l.y=(g.y+v.y)/2}else if("pyramid"===c){var g=r.convert(h[1]),v=r.convert(h[2]);l.x=(g.x+v.x)/2,l.y=(g.y+v.y)/2}}t.position&&this.setLabelPosition(l,e,n,t.position);var y=this.getLabelOffsetPoint(t,n,a);return l.start={x:l.x,y:l.y},l.x+=y.x,l.y+=y.y,l.color=e.color,l},t.prototype.getLabelAlign=function(t,e,n){var r="center";if(this.getCoordinate().isTransposed){var i=t.offset;r=i<0?"right":0===i?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},t.prototype.getLabelId=function(t){var e=this.geometry,n=e.type,r=e.getXScale(),i=e.getYScale(),o=t[a.FIELD_ORIGIN],s=e.getElementId(t);return"line"===n||"area"===n?s+=" "+o[r.field]:"path"===n&&(s+=" "+o[r.field]+"-"+o[i.field]),s},t.prototype.getLabelsRenderer=function(){var t=this.geometry,e=t.labelsContainer,n=t.labelOption,r=t.canvasRegion,a=t.animateOption,s=this.geometry.coordinate,u=this.labelsRenderer;return u||(u=new l.default({container:e,layout:(0,i.get)(n,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=u),u.region=r,u.animate=!!a&&(0,o.getDefaultAnimateCfg)("label",s),u},t.prototype.getLabelCfgs=function(t){var e=this,n=this.geometry,o=n.labelOption,s=n.scales,l=n.coordinate,u=o.fields,c=o.callback,f=o.cfg,d=u.map(function(t){return s[t]}),p=[];return(0,i.each)(t,function(t,n){var o,s=t[a.FIELD_ORIGIN],h=e.getLabelText(s,d);if(c){var g=u.map(function(t){return s[t]});if(o=c.apply(void 0,g),(0,i.isNil)(o)){p.push(null);return}}var v=(0,r.__assign)((0,r.__assign)({id:e.getLabelId(t),elementId:e.geometry.getElementId(t),data:s,mappingData:t,coordinate:l},f),o);(0,i.isFunction)(v.position)&&(v.position=v.position(s,t,n));var y=e.getLabelOffset(v.offset||0),m=e.getDefaultLabelCfg(y,v.position);(v=(0,i.deepMix)({},m,v)).offset=e.getLabelOffset(v.offset||0);var b=v.content;(0,i.isFunction)(b)?v.content=b(s,t,n):(0,i.isUndefined)(b)&&(v.content=h[0]),p.push(v)}),p},t.prototype.getLabelText=function(t,e){var n=[];return(0,i.each)(e,function(e){var r=t[e.field];r=(0,i.isArray)(r)?r.map(function(t){return e.getText(t)}):e.getText(r),(0,i.isNil)(r)||""===r?n.push(null):n.push(r)}),n},t.prototype.getOffsetVector=function(t){void 0===t&&(t=0);var e=this.getCoordinate(),n=0;return(0,i.isNumber)(t)&&(n=t),e.isTransposed?e.applyMatrix(n,0):e.applyMatrix(0,n)},t.prototype.getGeometryShapes=function(){var t=this.geometry,e={};return(0,i.each)(t.elementsMap,function(t,n){e[n]=t.shape}),(0,i.each)(t.getOffscreenGroup().getChildren(),function(n){e[t.getElementId(n.get("origin").mappingData)]=n}),e},t}();e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getConstraint=e.getShapeAttrs=void 0;var r=n(0),i=n(115),a=n(33),o=n(112);e.getShapeAttrs=function(t,e,n,s,l){for(var u=(0,a.getStyle)(t,e,!e,"lineWidth"),c=t.connectNulls,f=t.isInCircle,d=t.points,p=t.showSinglePoint,h=(0,i.getPathPoints)(d,c,p),g=[],v=0,y=h.length;v0&&(c[0][0]="L")),s=s.concat(c)}),s.push(["Z"])}return s}(m,f,n,s,l))}return u.path=g,u},e.getConstraint=function(t){var e=t.start,n=t.end;return[[e.x,n.y],[n.x,e.y]]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"each",{enumerable:!0,get:function(){return r.each}}),e.isAllowCapture=function(t){return t.cfg.visible&&t.cfg.capture},Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return r.isArray}}),e.isBrowser=void 0,Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return r.isFunction}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return r.isNil}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return r.isObject}}),e.isParent=function(t,e){if(t.isCanvas())return!0;for(var n=e.getParent(),r=!1;n;){if(n===t){r=!0;break}n=n.getParent()}return r},Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return r.mix}}),e.removeFromArray=function(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)},Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return r.upperFirst}});var r=n(0),i="undefined"!=typeof window&&void 0!==window.document;e.isBrowser=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=function(t,e){return(0,r.isString)(e)?e:t.invert(t.scale(e))},a=function(){function t(t){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(t)}return t.prototype.mapping=function(){for(var t=this,e=[],n=0;n180||n<-180?n-360*Math.round(n/360):n):(0,i.default)(isNaN(t)?e:t)};var i=r(n(402));function a(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t;return n?a(t,n):(0,i.default)(isNaN(t)?e:t)}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(0)),a=n(250);function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}var s=function(){function t(t){var e=t.xField,n=t.yField,r=t.adjustNames,i=t.dimValuesMap;this.adjustNames=void 0===r?["x","y"]:r,this.xField=e,this.yField=n,this.dimValuesMap=i}return t.prototype.isAdjust=function(t){return this.adjustNames.indexOf(t)>=0},t.prototype.getAdjustRange=function(t,e,n){var r,i,a=this.yField,o=n.indexOf(e),s=n.length;return!a&&this.isAdjust("y")?(r=0,i=1):s>1?(r=n[0===o?0:o-1],i=n[o===s-1?s-1:o+1],0!==o?r+=(e-r)/2:r-=(i-e)/2,o!==s-1?i-=(i-e)/2:i+=(e-n[s-2])/2):(r=0===e?0:e-.5,i=0===e?1:e+.5),{pre:r,next:i}},t.prototype.adjustData=function(t,e){var n=this,r=this.getDimValues(e);i.each(t,function(t,e){i.each(r,function(r,i){n.adjustDim(i,r,t,e)})})},t.prototype.groupData=function(t,e){return i.each(t,function(t){void 0===t[e]&&(t[e]=a.DEFAULT_Y)}),i.groupBy(t,e)},t.prototype.adjustDim=function(t,e,n,r){},t.prototype.getDimValues=function(t){var e=this.xField,n=this.yField,r=i.assign({},this.dimValuesMap),o=[];return e&&this.isAdjust("x")&&o.push(e),n&&this.isAdjust("y")&&o.push(n),o.forEach(function(e){r&&r[e]||(r[e]=i.valuesOfKey(t,e).sort(function(t,e){return t-e}))}),!n&&this.isAdjust("y")&&(r.y=[a.DEFAULT_Y,1]),r},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMaxScale=e.getDefaultCategoryScaleRange=e.getName=e.syncScale=e.createScaleByField=void 0;var r=n(1),i=n(0),a=n(69),o=n(48),s=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;e.createScaleByField=function(t,e,n){var o,l,u=e||[];if((0,i.isNumber)(t)||(0,i.isNil)((0,i.firstValue)(u,t))&&(0,i.isEmpty)(n))return new((0,a.getScale)("identity"))({field:t.toString(),values:[t]});var c=(0,i.valuesOfKey)(u,t),f=(0,i.get)(n,"type",(o=c[0],l="linear",s.test(o)?l="timeCat":(0,i.isString)(o)&&(l="cat"),l));return new((0,a.getScale)(f))((0,r.__assign)({field:t,values:c},n))},e.syncScale=function(t,e){if("identity"!==t.type&&"identity"!==e.type){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);t.change(n)}},e.getName=function(t){return t.alias||t.field},e.getDefaultCategoryScaleRange=function(t,e,n){var r,a=t.values.length;if(1===a)r=[.5,1];else{var s=0;r=(0,o.isFullCircle)(e)?e.isTransposed?[(s=1/a*(0,i.get)(n,"widthRatio.multiplePie",1/1.3))/2,1-s/2]:[0,1-1/a]:[s=1/a/2,1-s]}return r},e.getMaxScale=function(t){var e=t.values.filter(function(t){return!(0,i.isNil)(t)&&!isNaN(t)});return Math.max.apply(Math,(0,r.__spreadArray)((0,r.__spreadArray)([],e,!1),[(0,i.isNil)(t.max)?-1/0:t.max],!1))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPolarPath=e.convertNormalPath=e.getSplinePath=e.getLinePath=e.catmullRom2bezier=e.smoothBezier=void 0;var r=n(32),i=n(0),a=n(48);function o(t,e){for(var n=[t[0]],r=1,i=t.length;r=s[c]?1:0,p=f>Math.PI?1:0,h=n.convert(l),g=(0,a.getDistanceToCenter)(n,h);if(g>=.5){if(f===2*Math.PI){var v={x:(l.x+s.x)/2,y:(l.y+s.y)/2},y=n.convert(v);u.push(["A",g,g,0,p,d,y.x,y.y]),u.push(["A",g,g,0,p,d,h.x,h.y])}else u.push(["A",g,g,0,p,d,h.x,h.y])}return u}(r,l,t)):u.push(o(n,t));break;case"a":u.push(s(n,t));break;default:u.push(n)}}),n=u,(0,i.each)(n,function(t,e){if("a"===t[0].toLowerCase()){var r=n[e-1],i=n[e+1];i&&"a"===i[0].toLowerCase()?r&&"l"===r[0].toLowerCase()&&(r[0]="M"):r&&"a"===r[0].toLowerCase()&&i&&"l"===i[0].toLowerCase()&&(i[0]="M")}}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkShapeOverlap=e.getOverlapArea=e.getlLabelBackgroundInfo=e.findLabelTextShape=void 0;var r=n(0),i=n(114);function a(t,e,n){return void 0===n&&(n=0),Math.max(0,Math.min(t.x+t.width+n,e.x+e.width+n)-Math.max(t.x-n,e.x-n))*Math.max(0,Math.min(t.y+t.height+n,e.y+e.height+n)-Math.max(t.y-n,e.y-n))}e.findLabelTextShape=function(t){return t.find(function(t){return"text"===t.get("type")})},e.getlLabelBackgroundInfo=function(t,e,n){void 0===n&&(n=[0,0,0,0]);var a=t.getChildren()[0];if(a){var o=a.clone();(null==e?void 0:e.rotate)&&(0,i.rotate)(o,-e.rotate);var s=o.getCanvasBBox(),l=s.x,u=s.y,c=s.width,f=s.height;o.destroy();var d=n;return(0,r.isNil)(d)?d=[2,2,2,2]:(0,r.isNumber)(d)&&(d=[,,,,].fill(d)),{x:l-d[3],y:u-d[0],width:c+d[1]+d[3],height:f+d[0]+d[2],rotation:(null==e?void 0:e.rotate)||0}}},e.getOverlapArea=a,e.checkShapeOverlap=function(t,e){var n=t.getBBox();return(0,r.some)(e,function(t){return a(n,t.getBBox(),2)>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoom=e.getIdentityMatrix=e.rotate=e.getRotateMatrix=e.translate=e.transform=void 0;var r=n(32).ext.transform;function i(t,e){var n=t.attr(),i=n.x,a=n.y;return r(t.getMatrix(),[["t",-i,-a],["r",e],["t",i,a]])}e.transform=r,e.translate=function(t,e,n){var i=r(t.getMatrix(),[["t",e,n]]);t.setMatrix(i)},e.getRotateMatrix=i,e.rotate=function(t,e){var n=i(t,e);t.setMatrix(n)},e.getIdentityMatrix=function(){return[1,0,0,0,1,0,0,0,1]},e.zoom=function(t,e){var n=t.getBBox(),i=(n.minX+n.maxX)/2,a=(n.minY+n.maxY)/2;t.applyToMatrix([i,a,1]);var o=r(t.getMatrix(),[["t",-i,-a],["s",e,e],["t",i,a]]);t.setMatrix(o)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSmoothViolinPath=e.getViolinPath=e.getPathPoints=void 0;var r=n(0),i=n(112);function a(t){return!t&&(null==t||isNaN(t))}function o(t){if((0,r.isArray)(t))return a(t[1].y);var e=t.y;return(0,r.isArray)(e)?a(e[0]):a(e)}e.getPathPoints=function(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!0),!t.length||1===t.length&&!n)return[];if(e){for(var r=[],i=0,a=t.length;i0&&(n=n.map(function(t,n){return e.forEach(function(r,i){t+=e[i][n]}),t})),n};var r=n(0);function i(t){if((0,r.isNumber)(t))return[t,t,t,t];if((0,r.isArray)(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pattern=function(t){var e=this;return function(n){var l,u=n.options,c=n.chart,f=u.pattern;return f?(0,s.deepAssign)({},n,{options:((l={})[t]=function(n){for(var l,d,p,h=[],g=1;g(0,i.get)(t.view.getOptions(),"tooltip.showDelay",16)){var o=this.location,s={x:e.x,y:e.y};o&&(0,i.isEqual)(o,s)||this.showTooltip(n,s),this.timeStamp=a,this.location=s}}},e.prototype.hide=function(){var t=this.context.view,e=t.getController("tooltip"),n=this.context.event,r=n.clientX,i=n.clientY;e.isCursorEntered({x:r,y:i})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,e){t.showTooltip(e)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}((0,r.__importDefault)(n(44)).default);e.default=a},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(325),h=n.n(p),g=n(39),v=n(8);n(278),Object(v.registerGeometry)("Area",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="area",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(329),h=n.n(p);n(281);var g=n(39);Object(n(8).registerGeometry)("Line",h.a);var v=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="line",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(330),h=n.n(p),g=n(39),v=n(8);n(470),n(471),n(472),Object(v.registerGeometry)("Point",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="point",t}return i()(r)}(g.a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLocale=e.registerLocale=void 0;var r=n(0),i=n(15),a=n(187),o={};e.registerLocale=function(t,e){o[t]=e},e.getLocale=function(t){return{get:function(e,n){return i.template(r.get(o[t],e)||r.get(o[a.GLOBAL.locale],e)||r.get(o["en-US"],e)||e,n)}}}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(4),i=n.n(r),a=n(133),o=n.n(a),s=n(3),l=n.n(s),u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ChartContainer",n=l.a.forwardRef(function(e,n){var r=Object(s.useRef)(),a=Object(s.useState)(!1),c=o()(a,2),f=c[0],d=c[1],p=e.className,h=e.containerStyle,g=u(e,["className","containerStyle"]);return Object(s.useEffect)(function(){d(!0)},[]),l.a.createElement("div",{ref:r,className:void 0===p?"bizcharts":p,style:i()({position:"relative",height:e.height||"100%",width:e.width||"100%"},h)},f?l.a.createElement(t,i()({ref:n,container:r.current},g)):l.a.createElement(l.a.Fragment,null))});return n.displayName=e||t.name,n}},function(t,e,n){"use strict";var r=n(1033),i=n(1034),a=n(481),o=n(1035);t.exports=function(t,e){return r(t)||i(t,e)||a(t,e)||o()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Area=void 0;var r=n(1),i=n(24),a=n(119),o=n(1125),s=n(1126),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return r.__extends(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField,s=this.chart,l=this.options;o.meta({chart:s,options:l}),this.chart.changeData(a.getDataWhetherPecentage(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Area=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(24),a=n(1132),o=n(1133);n(1134),n(1135);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(24),a=n(1139),o=n(1140),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(77),i=n.n(r),a=new RegExp("^on(.*)(?=(".concat(["mousedown","mouseup","dblclick","mouseenter","mouseout","mouseover","mousemove","mouseleave","contextmenu","click","show","hide","change"].map(function(t){return t.replace(/^\S/,function(t){return t.toUpperCase()})}).join("|"),"))")),o=function(t){var e=[];return i()(t,function(t,n){var r=n.match(/^on(.*)/);if(r){var i=n.match(a);if(i){var o=i[1].replace(/([A-Z])/g,"-$1").toLowerCase();(o=o.replace("column","interval"))?e.push([n,"".concat(o.replace("-",""),":").concat(i[2].toLowerCase())]):e.push([n,i[2].toLowerCase()])}else e.push([n,r[1].toLowerCase()])}}),e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(239)),a=r(n(68));e.default=function(t){if(!(0,i.default)(t)||!(0,a.default)(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;try{r=window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.style[e]}catch(t){}finally{r=void 0===r?n:r}return r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=n(0),a=/rgba?\(([\s.,0-9]+)\)/,o=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,s=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,l=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,u=function(){var t=document.createElement("i");return t.title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),t},c=function(t,e,n,r){return t[r]+(e[r]-t[r])*n};function f(t){return"#"+p(t[0])+p(t[1])+p(t[2])}var d=function(t){return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]},p=function(t){var e=Math.round(t).toString(16);return 1===e.length?"0"+e:e},h=function(t,e){var n=isNaN(Number(e))||e<0?0:e>1?1:Number(e),r=t.length-1,i=Math.floor(r*n),a=r*n-i,o=t[i],s=i===r?o:t[i+1];return f([c(o,s,a,0),c(o,s,a,1),c(o,s,a,2)])},g=function(t){if("#"===t[0]&&7===t.length)return t;r||(r=u()),r.style.color=t;var e=document.defaultView.getComputedStyle(r,"").getPropertyValue("color");return f(a.exec(e)[1].split(/\s*,\s*/).map(function(t){return Number(t)}))},v={rgb2arr:d,gradient:function(t){var e=(0,i.isString)(t)?t.split("-"):t,n=(0,i.map)(e,function(t){return d(-1===t.indexOf("#")?g(t):t)});return function(t){return h(n,t)}},toRGB:(0,i.memoize)(g),toCSSGradient:function(t){if(/^[r,R,L,l]{1}[\s]*\(/.test(t)){var e,n=void 0;if("l"===t[0]){var r=o.exec(t),a=+r[1]+90;n=r[2],e="linear-gradient("+a+"deg, "}else if("r"===t[0]){e="radial-gradient(";var r=s.exec(t);n=r[4]}var u=n.match(l);return(0,i.each)(u,function(t,n){var r=t.split(":");e+=r[1]+" "+100*r[0]+"%",n!==u.length-1&&(e+=", ")}),e+=")"}return t}};e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(425),a=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){(0,r.assign)(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return(0,r.map)(this.ticks,function(e,n){return(0,r.isObject)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return(0,r.isNil)(i)||!(0,r.isFunction)(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){(0,r.assign)(this,this.__cfg__),this.setDomain(),(0,r.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if((0,r.isString)(t)){var n=(0,i.getTickMethod)(t);if(!n)throw Error("There is no method to to calculate ticks!");e=n(this)}else(0,r.isFunction)(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return this.range[0]},t.prototype.rangeMax=function(){return this.range[1]},t.prototype.calcPercent=function(t,e,n){return(0,r.isNumber)(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsisLabel=function(t,e,n,o){void 0===o&&(o="tail");var s,l=null!==(s=e.attr("text"))&&void 0!==s?s:"";if("tail"===o){var u=(0,r.pick)(e.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),c=(0,r.getEllipsisText)(l,n,u,"…");return l!==c?(e.attr("text",c),e.set("tip",l),!0):(e.set("tip",null),!1)}var f=a(t,e),d=(0,i.strLen)(l),p=!1;if(n=0?(0,i.ellipsisString)(l,h,o):"…")&&(e.attr("text",g),p=!0)}return p?e.set("tip",l):e.set("tip",null),p},e.getLabelLength=a,e.getMaxLabelWidth=function(t){if(t.length>400)return function(t){for(var e=t.map(function(t){var e=t.attr("text");return(0,r.isNil)(e)?"":""+e}),n=0,i=0,a=0;a=19968&&l<=40869?o+=2:o+=1}o>n&&(n=o,i=a)}return t[i].getBBox().width}(t);var e=0;return(0,r.each)(t,function(t){var n=t.getBBox().width;eO?_:O,E=_>O?1:_/O,C=_>O?O/_:1;e.translate(b,x),e.rotate(A),e.scale(E,C),e.arc(0,0,w,P,M,1-S),e.scale(1/E,1/C),e.rotate(-A),e.translate(-b,-x)}break;case"Z":e.closePath()}if("Z"===h)u=c;else{var T=p.length;u=[p[T-2],p[T-1]]}}}},e.refreshElement=function(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),!(t.cfg.parent&&t.cfg.parent.get("hasChanged"))&&(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))},e.getRefreshRegion=f,e.getMergedRegion=function(t){if(!t.length)return null;var e=[],n=[],i=[],a=[];return r.each(t,function(t){var r=f(t);r&&(e.push(r.minX),n.push(r.minY),i.push(r.maxX),a.push(r.maxY))}),{minX:r.min(e),minY:r.min(n),maxX:r.max(i),maxY:r.max(a)}},e.mergeView=function(t,e){return t&&e&&o.intersectRect(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setClip=e.setTransform=e.setShadow=void 0;var r=n(72);e.setShadow=function(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var a=e.find("filter",i);a||(a=e.addShadow(i)),n.setAttribute("filter","url(#"+a+")")}else n.removeAttribute("filter")},e.setTransform=function(t){var e=t.attr().matrix;if(e){for(var n=t.cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);-1===(r=r.join(",")).indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)}},e.setClip=function(t,e){var n=t.getClip(),i=t.get("el");if(n){if(n&&!i.hasAttribute("clip-path")){r.createDom(n),n.createPath(e);var a=e.addClip(n);i.setAttribute("clip-path","url(#"+a+")")}}else i.removeAttribute("clip-path")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerSymbols=void 0,e.MarkerSymbols={hexagon:function(t,e,n){var r=n/2*Math.sqrt(3);return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return h.default}});var i=r(n(73)),a=r(n(952)),o=r(n(953)),s=r(n(954)),l=r(n(955)),u=r(n(956)),c=r(n(957)),f=r(n(959)),d=r(n(960)),p=r(n(961)),h=r(n(964))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.applyAttrsToContext=function(t,e){var n=e.attr();for(var r in n){var i=n[r],s=f[r]?f[r]:r;"matrix"===s&&i?t.transform(i[0],i[1],i[3],i[4],i[6],i[7]):"lineDash"===s&&t.setLineDash?(0,a.isArray)(i)&&t.setLineDash(i):("strokeStyle"===s||"fillStyle"===s?i=(0,o.parseStyle)(t,e,i):"globalAlpha"===s&&(i*=t.globalAlpha),t[s]=i)}},e.checkChildrenRefresh=d,e.checkRefresh=function(t,e,n){var r=t.get("refreshElements");(0,a.each)(r,function(e){if(e!==t)for(var n=e.cfg.parent;n&&n!==t&&!n.cfg.refresh;)n.cfg.refresh=!0,n=n.cfg.parent}),r[0]===t?p(e,n):d(e,n)},e.clearChanged=function t(e){for(var n=0;nO?_:O,E=_>O?1:_/O,C=_>O?O/_:1;e.translate(b,x),e.rotate(A),e.scale(E,C),e.arc(0,0,w,P,M,1-S),e.scale(1/E,1/C),e.rotate(-A),e.translate(-b,-x)}break;case"Z":e.closePath()}if("Z"===h)l=c;else{var T=p.length;l=[p[T-2],p[T-1]]}}}},e.getMergedRegion=function(t){if(!t.length)return null;var e=[],n=[],r=[],i=[];return(0,a.each)(t,function(t){var a=h(t);a&&(e.push(a.minX),n.push(a.minY),r.push(a.maxX),i.push(a.maxY))}),{minX:(0,a.min)(e),minY:(0,a.min)(n),maxX:(0,a.max)(r),maxY:(0,a.max)(i)}},e.getRefreshRegion=h,e.mergeView=function(t,e){return t&&e&&(0,l.intersectRect)(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null},e.refreshElement=function(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),!(t.cfg.parent&&t.cfg.parent.get("hasChanged"))&&(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))};var a=n(0),o=n(453),s=r(n(454)),l=n(53),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function d(t,e){for(var n=0;ne&&(n=n?e/(1+i/n):0,i=e-n),a+o>e&&(a=a?e/(1+o/a):0,o=e-a),[n||0,i||0,a||0,o||0]}e.getRectPoints=function(t){var e,n,i,a,o=t.x,s=t.y,l=t.y0,u=t.size;(0,r.isArray)(s)?(e=s[0],n=s[1]):(e=l,n=s),(0,r.isArray)(o)?(i=o[0],a=o[1]):(i=o-u/2,a=o+u/2);var c=[{x:i,y:e},{x:i,y:n}];return c.push({x:a,y:n},{x:a,y:e}),c},e.getRectPath=a,e.parseRadius=o,e.getBackgroundRectPath=function(t,e,n){var a=[];if(n.isRect){var s=n.isTransposed?{x:n.start.x,y:e[0].y}:{x:e[0].x,y:n.start.y},l=n.isTransposed?{x:n.end.x,y:e[2].y}:{x:e[3].x,y:n.end.y},u=(0,r.get)(t,["background","style","radius"]);if(u){var c=o(u,Math.min(n.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,n.isTransposed?n.getWidth():n.getHeight())),f=c[0],d=c[1],p=c[2],h=c[3];a.push(["M",s.x,l.y+f]),0!==f&&a.push(["A",f,f,0,0,1,s.x+f,l.y]),a.push(["L",l.x-d,l.y]),0!==d&&a.push(["A",d,d,0,0,1,l.x,l.y+d]),a.push(["L",l.x,s.y-p]),0!==p&&a.push(["A",p,p,0,0,1,l.x-p,s.y]),a.push(["L",s.x+h,s.y]),0!==h&&a.push(["A",h,h,0,0,1,s.x,s.y-h])}else a.push(["M",s.x,s.y]),a.push(["L",l.x,s.y]),a.push(["L",l.x,l.y]),a.push(["L",s.x,l.y]),a.push(["L",s.x,s.y]);a.push(["z"])}if(n.isPolar){var g=n.getCenter(),v=(0,i.getAngle)(t,n),y=v.startAngle,m=v.endAngle;if("theta"===n.type||n.isTransposed){var b=function(t){return Math.pow(t,2)},f=Math.sqrt(b(g.x-e[0].x)+b(g.y-e[0].y)),d=Math.sqrt(b(g.x-e[2].x)+b(g.y-e[2].y));a=(0,i.getSectorPath)(g.x,g.y,f,n.startAngle,n.endAngle,d)}else a=(0,i.getSectorPath)(g.x,g.y,n.getRadius(),y,m)}return a},e.getIntervalRectPath=function(t,e,n){var r=n.getWidth(),i=n.getHeight(),o="rect"===n.type,s=[],l=(t[2].x-t[1].x)/2,u=n.isTransposed?l*i/r:l*r/i;return"round"===e?(o?(s.push(["M",t[0].x,t[0].y+u]),s.push(["L",t[1].x,t[1].y-u]),s.push(["A",l,l,0,0,1,t[2].x,t[2].y-u]),s.push(["L",t[3].x,t[3].y+u]),s.push(["A",l,l,0,0,1,t[0].x,t[0].y+u])):(s.push(["M",t[0].x,t[0].y]),s.push(["L",t[1].x,t[1].y]),s.push(["A",l,l,0,0,1,t[2].x,t[2].y]),s.push(["L",t[3].x,t[3].y]),s.push(["A",l,l,0,0,1,t[0].x,t[0].y])),s.push(["z"])):s=a(t),s},e.getFunnelPath=function(t,e,n){var i=[];return(0,r.isNil)(e)?n?i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",(t[2].x+t[3].x)/2,(t[2].y+t[3].y)/2],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",t[2].x,t[2].y],["L",t[3].x,t[3].y],["Z"]):i.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i},e.getRectWithCornerRadius=function(t,e,n){var r,i,a,s,l=t[0],u=t[1],c=t[2],f=t[3],d=0,p=0,h=0,g=0;l.yt[1].x?(f=t[0],l=t[1],u=t[2],c=t[3],d=(a=o(n,Math.min(f.x-l.x,l.y-u.y)))[0],g=a[1],h=a[2],p=a[3]):(p=(s=o(n,Math.min(f.x-l.x,l.y-u.y)))[0],h=s[1],g=s[2],d=s[3]));var v=[];return v.push(["M",u.x,u.y+d]),0!==d&&v.push(["A",d,d,0,0,1,u.x+d,u.y]),v.push(["L",c.x-p,c.y]),0!==p&&v.push(["A",p,p,0,0,1,c.x,c.y+p]),v.push(["L",f.x,f.y-h]),0!==h&&v.push(["A",h,h,0,0,1,f.x-h,f.y]),v.push(["L",l.x+g,l.y]),0!==g&&v.push(["A",g,g,0,0,1,l.x,l.y-g]),v.push(["L",u.x,u.y+d]),v.push(["z"]),v}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=n(31),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="",e.ignoreItemStates=[],e}return(0,r.__extends)(e,t),e.prototype.getTriggerListInfo=function(){var t=(0,s.getDelegationObject)(this.context),e=null;return(0,s.isList)(t)&&(e={item:t.item,list:t.component}),e},e.prototype.getAllowComponents=function(){var t=this,e=this.context.view,n=(0,o.getComponents)(e),r=[];return(0,i.each)(n,function(e){e.isList()&&t.allowSetStateByElement(e)&&r.push(e)}),r},e.prototype.hasState=function(t,e){return t.hasState(e,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,e=this.getAllowComponents();(0,i.each)(e,function(e){e.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var e=t.get("field");if(!e)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(-1===this.cfg.componentNames.indexOf(n))return!1}var r=this.context.view,i=(0,s.getScaleByField)(r,e);return i&&i.isCategory},e.prototype.allowSetStateByItem=function(t,e){var n=this.ignoreItemStates;return!n.length||0===n.filter(function(n){return e.hasState(t,n)}).length},e.prototype.setStateByElement=function(t,e,n){var r=t.get("field"),i=this.context.view,a=(0,s.getScaleByField)(i,r),o=(0,s.getElementValue)(e,r),l=a.getText(o);this.setItemsState(t,l,n)},e.prototype.setStateEnable=function(t){var e=this,n=(0,s.getCurrentElement)(this.context);if(n){var r=this.getAllowComponents();(0,i.each)(r,function(r){e.setStateByElement(r,n,t)})}else{var a=(0,s.getDelegationObject)(this.context);if((0,s.isList)(a)){var o=a.item,l=a.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(o,l)&&this.setItemState(l,o,t)}}},e.prototype.setItemsState=function(t,e,n){var r=this,a=t.getItems();(0,i.each)(a,function(i){i.name===e&&r.setItemState(t,i,n)})},e.prototype.setItemState=function(t,e,n){t.setItemState(e,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item,r=this.hasState(e,n);this.setItemState(e,n,!r)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizeObservers=void 0,e.resizeObservers=[]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pattern=void 0;var r=n(1),i=n(14),a=n(0),o=n(1070),s=n(15);e.pattern=function(t){var e=this;return function(n){var l,u=n.options,c=n.chart,f=u.pattern;return f?s.deepAssign({},n,{options:((l={})[t]=function(n){for(var l,d,p,h=[],g=1;g
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},e.DEFAULT_TOOLTIP_OPTIONS),animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,u=t.value&&(r-e)/t.value;++s
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o={appendPadding:2,tooltip:(0,r.__assign)({},a),animation:{}};e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NODE_INDEX_FIELD=e.NODE_ANCESTORS_FIELD=e.CHILD_NODE_COUNT=void 0,e.getAllNodes=function(t){var e,n,s=[];return t&&t.each?t.each(function(t){t.parent!==e?(e=t.parent,n=0):n+=1;var l,u,c=(0,r.filter)(((null===(l=t.ancestors)||void 0===l?void 0:l.call(t))||[]).map(function(t){return s.find(function(e){return e.name===t.name})||t}),function(e){var n=e.depth;return n>0&&n0?"left":"right");break;case"left":t.x=l,t.y=(a+s)/2,t.textAlign=(0,i.get)(t,"textAlign",h>0?"left":"right");break;case"bottom":c&&(t.x=(o+l)/2),t.y=s,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline",h>0?"bottom":"top");break;case"middle":c&&(t.x=(o+l)/2),t.y=(a+s)/2,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline","middle");break;case"top":c&&(t.x=(o+l)/2),t.y=a,t.textAlign=(0,i.get)(t,"textAlign","center"),t.textBaseline=(0,i.get)(t,"textBaseline",h>0?"bottom":"top")}},e}((0,r.__importDefault)(n(100)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(48),o=n(46),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defaultLayout="distribute",e}return(0,r.__extends)(e,t),e.prototype.getDefaultLabelCfg=function(e,n){var r=t.prototype.getDefaultLabelCfg.call(this,e,n);return(0,i.deepMix)({},r,(0,i.get)(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(e){return t.prototype.getLabelOffset.call(this,e)||0},e.prototype.getLabelRotate=function(t,e,n){var r;return e<0&&((r=t)>Math.PI/2&&(r-=Math.PI),r<-Math.PI/2&&(r+=Math.PI)),r},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate().getCenter();return e=t.angle<=Math.PI/2&&t.x>=n.x?"left":"right",t.offset<=0&&(e="right"===e?"left":"right"),e},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var e,n=this.getCoordinate(),r={x:(0,i.isArray)(t.x)?t.x[0]:t.x,y:t.y[0]},o={x:(0,i.isArray)(t.x)?t.x[1]:t.x,y:t.y[1]},s=(0,a.getAngleByPoint)(n,r);if(t.points&&t.points[0].y===t.points[1].y)e=s;else{var l=(0,a.getAngleByPoint)(n,o);s>=l&&(l+=2*Math.PI),e=s+(l-s)/2}return e},e.prototype.getCirclePoint=function(t,e){var n=this.getCoordinate(),i=n.getCenter(),a=n.getRadius()+e;return(0,r.__assign)((0,r.__assign)({},(0,o.polarToCartesian)(i.x,i.y,a,t)),{angle:t,r:a})},e}((0,r.__importDefault)(n(214)).default);e.default=s},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(50),l=n.n(s),u=n(623),c=n.n(u),f=n(61),d=n.n(f),p=function(t){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return l()(t)||o.a.isValidElement(t)?{visible:!0,text:t}:c()(t)?{visible:t}:d()(t)?i()({visible:!0},t):{visible:e}}},function(t,e,n){"use strict";n.d(e,"b",function(){return _});var r=n(12),i=n.n(r),a=n(13),o=n.n(a),s=n(5),l=n.n(s),u=n(9),c=n.n(u),f=n(10),d=n.n(f),p=n(203),h=n(127),g=n.n(h),v=n(0),y=n(8),m={},b=function(){function t(e){c()(this,t),this.cfg={shared:!0},this.chartMap={},this.state={},this.id=Object(v.uniqueId)("bx-action"),this.type=e||"tooltip"}return d()(t,[{key:"connect",value:function(t,e,n){return this.chartMap[t]={chart:e,pointFinder:n},e.interaction("connect-".concat(this.type,"-").concat(this.id)),"tooltip"===this.type&&this.cfg.shared&&void 0===Object(v.get)(e,["options","tooltip","shared"])&&Object(v.set)(e,["options","tooltip","shared"],!0),this}},{key:"unConnect",value:function(t){this.chartMap[t].chart.removeInteraction("connect-".concat(this.type,"-").concat(this.id)),delete this.chartMap[t]}},{key:"destroy",value:function(){Object(p.unregisterAction)("connect-".concat(this.type,"-").concat(this.id))}}]),t}(),x=function(){var t=new b("tooltip");return Object(y.registerAction)("connect-tooltip-".concat(t.id),function(e){i()(a,e);var n,r=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=l()(a);if(n){var r=l()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return o()(this,t)});function a(){var e;return c()(this,a),e=r.apply(this,arguments),e.CM=t,e}return d()(a,[{key:"showTooltip",value:function(t,e){var n=t.getTooltipItems(e)||e;Object(v.forIn)(this.CM.chartMap,function(t){var r=t.chart,i=t.pointFinder;if(!r.destroyed&&r.visible){if(i){var a=i(n,r);a&&r.showTooltip(a)}else r.showTooltip(e)}})}},{key:"hideTooltip",value:function(){Object(v.forIn)(this.CM.chartMap,function(t){return t.chart.hideTooltip()})}}]),a}(g.a)),Object(y.registerInteraction)("connect-tooltip-".concat(t.id),{start:[{trigger:"plot:mousemove",action:"connect-tooltip-".concat(t.id,":show")}],end:[{trigger:"plot:mouseleave",action:"connect-tooltip-".concat(t.id,":hide")}]}),t},_=function(t,e,n,r,i){var a=m[t];if(null===n&&a){a.unConnect(e);return}a?a.connect(e,n,i):(m[t]=x(),m[t].cfg.shared=!!r,m[t].connect(e,n,i))};e.a=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.growInXY=e.growInY=e.growInX=void 0;var r=n(951);e.growInX=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"x")},e.growInY=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"y")},e.growInXY=function(t,e,n){var i=n.coordinate,a=n.minYPoint;(0,r.doScaleAnimate)(t,e,i,a,"xy")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(23),i=n(1054);e.default=function(t){for(var e=[],n=1;n0&&(a=1/Math.sqrt(a)),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t},e.random=function(t,e){e=e||1;var n=2*a.RANDOM()*Math.PI,r=2*a.RANDOM()-1,i=Math.sqrt(1-r*r)*e;return t[0]=Math.cos(n)*i,t[1]=Math.sin(n)*i,t[2]=r*e,t},e.rotateX=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0],a[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),a[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.rotateY=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),a[1]=i[1],a[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.rotateZ=function(t,e,n,r){var i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),a[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),a[2]=i[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},e.set=function(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=p,e.squaredLength=h,e.str=function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},e.sub=void 0,e.subtract=u,e.transformMat3=function(t,e,n){var r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,t[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,t[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,t[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,t},e.transformQuat=function(t,e,n){var r=n[0],i=n[1],a=n[2],o=n[3],s=e[0],l=e[1],u=e[2],c=i*u-a*l,f=a*s-r*u,d=r*l-i*s,p=i*d-a*f,h=a*c-r*d,g=r*f-i*c,v=2*o;return c*=v,f*=v,d*=v,p*=2,h*=2,g*=2,t[0]=s+c+p,t[1]=l+f+h,t[2]=u+d+g,t},e.zero=function(t){return t[0]=0,t[1]=0,t[2]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(3);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function l(t){return Math.hypot(t[0],t[1],t[2])}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function d(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2])}function p(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function h(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function g(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}e.sub=u,e.mul=c,e.div=f,e.dist=d,e.sqrDist=p,e.len=l,e.sqrLen=h;var v=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=3),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;s(n-t)*(n-t)+(r-e)*(r-e)?(0,i.distance)(n,r,a,o):this.pointToLine(t,e,n,r,a,o)},pointToLine:function(t,e,n,r,i,o){var s=[n-t,r-e];if(a.exactEquals(s,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var l=[-s[1],s[0]];return a.normalize(l,l),Math.abs(a.dot([i-t,o-e],l))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.YEAR=e.SECOND=e.MONTH=e.MINUTE=e.HOUR=e.DAY=void 0,e.getTickInterval=function(t,e,n){var r=(0,s.default)(function(t){return t[1]})(p,(e-t)/n)-1,i=p[r];return r<0?i=p[0]:r>=p.length&&(i=(0,a.last)(p)),i},e.timeFormat=function(t,e){return(o[u]||o.default[u])(t,e)},e.toTimeStamp=function(t){return(0,a.isString)(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),(0,a.isDate)(t)&&(t=t.getTime()),t};var a=n(0),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(828)),s=r(n(829));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u="format";e.SECOND=1e3,e.MINUTE=6e4;e.HOUR=36e5;var c=864e5;e.DAY=c;var f=31*c;e.MONTH=f;var d=365*c;e.YEAR=d;var p=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",36e5],["HH",216e5],["HH",432e5],["YYYY-MM-DD",c],["YYYY-MM-DD",4*c],["YYYY-WW",7*c],["YYYY-MM",f],["YYYY-MM",4*f],["YYYY-MM",6*f],["YYYY",380*c]]},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return(0,i.__extends)(e,t),e.prototype.scale=function(t){if((0,a.isNil)(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=(0,a.head)(e),r=(0,a.last)(e);nthis.max&&(this.max=r),(0,a.isNil)(this.minLimit)||(this.min=n),(0,a.isNil)(this.maxLimit)||(this.max=r)},e.prototype.setDomain=function(){var t=(0,a.getRange)(this.values),e=t.min,n=t.max;(0,a.isNil)(this.min)&&(this.min=e),(0,a.isNil)(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=(0,a.filter)(n,function(t){return t>=e.min&&t<=e.max})),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calBase=function(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)},e.getLogPositiveMin=function(t,e,n){(0,r.isNil)(n)&&(n=Math.max.apply(null,t));var i=n;return(0,r.each)(t,function(t){t>0&&t1&&(i=1),i},e.log=function(t,e){return 1===t?1:Math.log(e)/Math.log(t)},e.precisionAdd=function(t,e){var n=Math.pow(10,Math.max(i(t),i(e)));return(t*n+e*n)/n};var r=n(0);function i(t){var e=t.toString().split(/[eE]/),n=(e[0].split(".")[1]||"").length-+(e[1]||0);return n>0?n:0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=n(32),a=n(0),o=function(){function t(t){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var e=t.start,n=t.end,i=t.matrix,a=void 0===i?[1,0,0,0,1,0,0,0,1]:i,o=t.isTransposed;this.start=e,this.end=n,this.matrix=a,this.originalMatrix=(0,r.__spreadArray)([],a),this.isTransposed=void 0!==o&&o}return t.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},t.prototype.update=function(t){(0,a.assign)(this,t),this.initial()},t.prototype.convertDim=function(t,e){var n,r=this[e],i=r.start,a=r.end;return this.isReflect(e)&&(i=(n=[a,i])[0],a=n[1]),i+t*(a-i)},t.prototype.invertDim=function(t,e){var n,r=this[e],i=r.start,a=r.end;return this.isReflect(e)&&(i=(n=[a,i])[0],a=n[1]),(t-i)/(a-i)},t.prototype.applyMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,a=[t,e,n];return i.vec3.transformMat3(a,a,r),a},t.prototype.invertMatrix=function(t,e,n){void 0===n&&(n=0);var r=this.matrix,a=i.mat3.invert([0,0,0,0,0,0,0,0,0],r),o=[t,e,n];return a&&i.vec3.transformMat3(o,o,a),o},t.prototype.convert=function(t){var e=this.convertPoint(t),n=e.x,r=e.y,i=this.applyMatrix(n,r,1);return{x:i[0],y:i[1]}},t.prototype.invert=function(t){var e=this.invertMatrix(t.x,t.y,1);return this.invertPoint({x:e[0],y:e[1]})},t.prototype.rotate=function(t){var e=this.matrix,n=this.center;return i.ext.leftTranslate(e,e,[-n.x,-n.y]),i.ext.leftRotate(e,e,t),i.ext.leftTranslate(e,e,[n.x,n.y]),this},t.prototype.reflect=function(t){return"x"===t?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},t.prototype.scale=function(t,e){var n=this.matrix,r=this.center;return i.ext.leftTranslate(n,n,[-r.x,-r.y]),i.ext.leftScale(n,n,[t,e]),i.ext.leftTranslate(n,n,[r.x,r.y]),this},t.prototype.translate=function(t,e){var n=this.matrix;return i.ext.leftTranslate(n,n,[t,e]),this},t.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},t.prototype.getCenter=function(){return this.center},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRadius=function(){return this.radius},t.prototype.isReflect=function(t){return"x"===t?this.isReflectX:this.isReflectY},t.prototype.resetMatrix=function(t){this.matrix=t||(0,r.__spreadArray)([],this.originalMatrix)},t}();e.default=o},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0});var a={Annotation:!0,Axis:!0,Crosshair:!0,Grid:!0,Legend:!0,Tooltip:!0,Component:!0,GroupComponent:!0,HtmlComponent:!0,Slider:!0,Scrollbar:!0,propagationDelegate:!0,TOOLTIP_CSS_CONST:!0};e.Axis=e.Annotation=void 0,Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return d.default}}),e.Grid=e.Crosshair=void 0,Object.defineProperty(e,"GroupComponent",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"HtmlComponent",{enumerable:!0,get:function(){return h.default}}),e.Legend=void 0,Object.defineProperty(e,"Scrollbar",{enumerable:!0,get:function(){return v.Scrollbar}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return g.Slider}}),e.Tooltip=e.TOOLTIP_CSS_CONST=void 0,Object.defineProperty(e,"propagationDelegate",{enumerable:!0,get:function(){return b.propagationDelegate}});var o=O(n(854));e.Annotation=o;var s=O(n(866));e.Axis=s;var l=O(n(872));e.Crosshair=l;var u=O(n(877));e.Grid=u;var c=O(n(880));e.Legend=c;var f=O(n(883));e.Tooltip=f;var d=r(n(254)),p=r(n(41)),h=r(n(181)),g=n(887),v=n(894),y=n(896);Object.keys(y).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===y[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))});var m=n(897);Object.keys(m).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}}))});var b=n(432),x=O(n(259));function _(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(_=function(t){return t?n:e})(t)}function O(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=_(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}e.TOOLTIP_CSS_CONST=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderTag=function(t,e){var n=e.x,l=e.y,u=e.content,c=e.style,f=e.id,d=e.name,p=e.rotate,h=e.maxLength,g=e.autoEllipsis,v=e.isVertical,y=e.ellipsisPosition,m=e.background,b=t.addGroup({id:f+"-group",name:d+"-group",attrs:{x:n,y:l}}),x=b.addShape({type:"text",id:f,name:d,attrs:(0,r.__assign)({x:0,y:0,text:u},c)}),_=(0,s.formatPadding)((0,i.get)(m,"padding",0));if(h&&g){var O=h-(_[1]+_[3]);(0,a.ellipsisLabel)(!v,x,O,y)}if(m){var P=(0,i.get)(m,"style",{}),M=x.getCanvasBBox(),A=M.minX,S=M.minY,w=M.width,E=M.height;b.addShape("rect",{id:f+"-bg",name:f+"-bg",attrs:(0,r.__assign)({x:A-_[3],y:S-_[0],width:w+_[1]+_[3],height:E+_[0]+_[2]},P)}).toBack()}(0,o.applyTranslate)(b,n,l),(0,o.applyRotate)(b,p,n,l)};var r=n(1),i=n(0),a=n(142),o=n(90),s=n(42)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(96),o=n(0),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{container:null,containerTpl:"
    ",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return(0,s.createBBox)(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");(0,s.clearDom)(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if((0,o.isNil)(t)){t=this.createDom();var e=this.get("parent");(0,o.isString)(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else(0,o.isString)(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?(0,o.deepMix)({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&(0,s.hasClass)(e,n)){var r=t[n];(0,a.modifyCSS)(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){(0,o.each)(e,function(e,n){var r=t.getElementsByClassName(n);(0,o.each)(r,function(t){(0,a.modifyCSS)(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");(0,a.modifyCSS)(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return(0,a.createDom)(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){(0,o.hasKey)(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(r(n(254)).default);e.default=l},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.addEndArrow=e.addStartArrow=e.getShortenOffset=void 0;var i=n(1),a=n(143),o=Math.sin,s=Math.cos,l=Math.atan2,u=Math.PI;function c(t,e,n,r,i,c,f){var d=e.stroke,p=e.lineWidth,h=l(r-c,n-i),g=new a.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*s(u/6)+","+10*o(u/6)+" L0,0 L"+10*s(u/6)+",-"+10*o(u/6),stroke:d,lineWidth:p}});g.translate(i,c),g.rotateAtPoint(i,c,h),t.set(f?"startArrowShape":"endArrowShape",g)}function f(t,e,n,r,u,c,f){var d=e.startArrow,p=e.endArrow,h=e.stroke,g=e.lineWidth,v=f?d:p,y=v.d,m=v.fill,b=v.stroke,x=v.lineWidth,_=i.__rest(v,["d","fill","stroke","lineWidth"]),O=l(r-c,n-u);y&&(u-=s(O)*y,c-=o(O)*y);var P=new a.Path({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:i.__assign(i.__assign({},_),{stroke:b||h,lineWidth:x||g,fill:m})});P.translate(u,c),P.rotateAtPoint(u,c,O),t.set(f?"startArrowShape":"endArrowShape",P)}e.getShortenOffset=function(t,e,n,r,i){var a=l(r-e,n-t);return{dx:s(a)*i,dy:o(a)*i}},e.addStartArrow=function(t,e,n,i,a,o){"object"===(0,r.default)(e.startArrow)?f(t,e,n,i,a,o,!0):e.startArrow?c(t,e,n,i,a,o,!0):t.set("startArrowShape",null)},e.addEndArrow=function(t,e,n,i,a,o){"object"===(0,r.default)(e.endArrow)?f(t,e,n,i,a,o,!1):e.endArrow?c(t,e,n,i,a,o,!1):t.set("startArrowShape",null)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(38);e.default=function(t,e,n,i,a,o,s){var l=Math.min(t,n),u=Math.max(t,n),c=Math.min(e,i),f=Math.max(e,i),d=a/2;return o>=l-d&&o<=u+d&&s>=c-d&&s<=f+d&&r.Line.pointToLine(t,e,n,i,o,s)<=a/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62);Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return r.default}});var i=n(915);Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return i.default}});var a=n(916);Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return a.default}});var o=n(917);Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return o.default}});var s=n(918);Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return s.default}});var l=n(919);Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return l.default}});var u=n(920);Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return u.default}});var c=n(922);Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return c.default}});var f=n(923);Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return f.default}});var d=n(924);Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return d.default}});var p=n(925);Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return p.default}});var h=n(927);Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return h.default}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getActionClass=e.registerAction=e.createAction=e.Action=void 0;var r=n(44);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return(r&&r.__esModule?r:{default:r}).default}});var i=n(203);Object.defineProperty(e,"createAction",{enumerable:!0,get:function(){return i.createAction}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return i.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return i.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findItemsFromViewRecurisive=e.findItemsFromView=e.getTooltipItems=e.findDataByPoint=void 0;var r=n(1),i=n(0),a=n(21),o=n(111);function s(t,e,n){var r=n.translate(t),a=n.translate(e);return(0,i.isNumberEqual)(r,a)}function l(t,e,n){var r=n.coordinate,o=n.getYScale(),s=o.field,l=r.invert(e),u=o.invert(l.y);return(0,i.find)(t,function(t){var e=t[a.FIELD_ORIGIN];return e[s][0]<=u&&e[s][1]>=u})||t[t.length-1]}var u=(0,i.memoize)(function(t){if(t.isCategory)return 1;for(var e=t.values,n=e.length,r=t.translate(e[0]),i=r,a=0;ai&&(i=s)}return(i-r)/(n-1)});function c(t){for(var e,n,r=(e=(0,i.values)(t.attributes),(0,i.filter)(e,function(t){return(0,i.contains)(a.GROUP_ATTRS,t.type)})),o=0;o(1+f)/2&&(p=d),o.translate(o.invert(p))),I=E[a.FIELD_ORIGIN][y],j=E[a.FIELD_ORIGIN][m],F=C[a.FIELD_ORIGIN][y],L=v.isLinear&&(0,i.isArray)(j);if((0,i.isArray)(I)){for(var M=0;M=T){if(L)(0,i.isArray)(b)||(b=[]),b.push(D);else{b=D;break}}}(0,i.isArray)(b)&&(b=l(b,t,n))}else{var k=void 0;if(g.isLinear||"timeCat"===g.type){if((T>g.translate(F)||Tg.max||TMath.abs(g.translate(k[a.FIELD_ORIGIN][y])-T)&&(C=k)}var V=u(n.getXScale());return!b&&Math.abs(g.translate(C[a.FIELD_ORIGIN][y])-T)<=V/2&&(b=C),b}function d(t,e,n,s){void 0===n&&(n=""),void 0===s&&(s=!1);var l,u,f,d,p,h,g,v,y,m=t[a.FIELD_ORIGIN],b=(l=n,u=e.getAttribute("position").getFields(),p=(d=e.scales[f=(0,i.isFunction)(l)||!l?u[0]:l])?d.getText(m[f]):m[f]||f,(0,i.isFunction)(l)?l(p,m):p),x=e.tooltipOption,_=e.theme.defaultColor,O=[];function P(e,n){if(s||!(0,i.isNil)(n)&&""!==n){var r={title:b,data:m,mappingData:t,name:e,value:n,color:t.color||_,marker:!0};O.push(r)}}if((0,i.isObject)(x)){var M=x.fields,A=x.callback;if(A){var S=M.map(function(e){return t[a.FIELD_ORIGIN][e]}),w=A.apply(void 0,S),E=(0,r.__assign)({data:t[a.FIELD_ORIGIN],mappingData:t,title:b,color:t.color||_,marker:!0},w);O.push(E)}else for(var C=e.scales,T=0;T=l-d&&o<=u+d&&s>=c-d&&s<=f+d&&r.Line.pointToLine(t,e,n,i,o,s)<=a/2};var r=n(38)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Ellipse",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return g.default}});var i=r(n(63)),a=r(n(967)),o=r(n(968)),s=r(n(969)),l=r(n(970)),u=r(n(971)),c=r(n(972)),f=r(n(974)),d=r(n(975)),p=r(n(976)),h=r(n(977)),g=r(n(979))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.freeze=void 0,e.freeze=function(t){return Object.freeze(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSVG=e.isReplacedElement=e.isHidden=e.isElement=void 0;var r=function(t){return t instanceof SVGElement&&"getBBox"in t};e.isSVG=r,e.isHidden=function(t){if(r(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var a=t.offsetWidth,o=t.offsetHeight;return!(a||o||t.getClientRects().length)},e.isElement=function(t){if(t instanceof Element)return!0;var e,n=null===(e=null==t?void 0:t.ownerDocument)||void 0===e?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},e.isReplacedElement=function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cluster",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"hierarchy",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"pack",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"packEnclose",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"packSiblings",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"partition",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"stratify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"tree",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"treemap",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"treemapBinary",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"treemapDice",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"treemapResquarify",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"treemapSlice",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"treemapSliceDice",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"treemapSquarify",{enumerable:!0,get:function(){return y.default}});var i=r(n(1092)),a=r(n(297)),o=r(n(1108)),s=r(n(515)),l=r(n(517)),u=r(n(1109)),c=r(n(1110)),f=r(n(1111)),d=r(n(1112)),p=r(n(1113)),h=r(n(155)),g=r(n(194)),v=r(n(1114)),y=r(n(299)),m=r(n(1115))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,u=t.value&&(i-n)/t.value;++s=0}),a=n.every(function(t){return 0>=(0,i.get)(t,[e])});return r?{min:0}:a?{max:0}:{}},e.processIllegalData=function(t,e){var n=(0,i.filter)(t,function(t){var n=t[e];return null===n||"number"==typeof n&&!isNaN(n)});return(0,a.log)(a.LEVEL.WARN,n.length===t.length,"illegal data existed in chart data."),n},e.transformDataToNodeLinkData=function(t,e,n,i,a){if(void 0===a&&(a=[]),!Array.isArray(t))return{nodes:[],links:[]};var s=[],l={},u=-1;return t.forEach(function(t){var c=t[e],f=t[n],d=t[i],p=(0,o.pick)(t,a);l[c]||(l[c]=(0,r.__assign)({id:++u,name:c},p)),l[f]||(l[f]=(0,r.__assign)({id:++u,name:f},p)),s.push((0,r.__assign)({source:l[c].id,target:l[f].id,value:d},p))}),{nodes:Object.values(l).sort(function(t,e){return t.id-e.id}),links:s}};var r=n(1),i=n(0),a=n(539),o=n(538)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t,e){void 0===e&&(e=!1);var n=t.options,r=n.seriesField;return(0,f.flow)(p,a.theme,(0,u.pattern)("columnStyle"),a.state,h,g,v,y,b,a.slider,a.scrollbar,m,c.brushInteraction,a.interaction,a.animation,(0,a.annotation)(),(0,o.conversionTag)(n.yField,!e,!!r),(0,s.connectedArea)(!n.isStack),a.limitInPlot)(t)},e.legend=y,e.meta=g;var r=n(1),i=n(0),a=n(22),o=n(1196),s=n(1197),l=n(30),u=n(122),c=n(552),f=n(7),d=n(123);function p(t){var e=t.options,n=e.legend,i=e.seriesField,a=e.isStack;return i?!1!==n&&(n=(0,r.__assign)({position:a?"right-top":"top-left"},n)):n=!1,t.options.legend=n,t}function h(t){var e=t.chart,n=t.options,i=n.data,a=n.columnStyle,o=n.color,s=n.columnWidthRatio,u=n.isPercent,c=n.isGroup,p=n.isStack,h=n.xField,g=n.yField,v=n.seriesField,y=n.groupField,m=n.tooltip,b=n.shape,x=u&&c&&p?(0,d.getDeepPercent)(i,g,[h,y],g):(0,d.getDataWhetherPecentage)(i,g,h,g,u),_=[];p&&v&&!c?x.forEach(function(t){var e=_.find(function(e){return e[h]===t[h]&&e[v]===t[v]});e?e[g]+=t[g]||0:_.push((0,r.__assign)({},t))}):_=x,e.data(_);var O=u?(0,r.__assign)({formatter:function(t){return{name:c&&p?t[v]+" - "+t[y]:t[v]||t[h],value:(100*Number(t[g])).toFixed(2)+"%"}}},m):m,P=(0,f.deepAssign)({},t,{options:{data:_,widthRatio:s,tooltip:O,interval:{shape:b,style:a,color:o}}});return(0,l.interval)(P),P}function g(t){var e,n,i=t.options,o=i.xAxis,s=i.yAxis,l=i.xField,u=i.yField,c=i.data,d=i.isPercent;return(0,f.flow)((0,a.scale)(((e={})[l]=o,e[u]=s,e),((n={})[l]={type:"cat"},n[u]=(0,r.__assign)((0,r.__assign)({},(0,f.adjustYMetaByZero)(c,u)),d?{max:1,min:0,minLimit:0,maxLimit:1}:{}),n)))(t)}function v(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function y(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function m(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,o=n.isRange,s=(0,f.findGeometry)(e,"interval");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:(null==u?void 0:u.position)?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,f.transformLabel)(o?(0,r.__assign)({content:function(t){var e;return null===(e=t[a])||void 0===e?void 0:e.join("-")}},u):u))})}else s.label(!1);return t}function b(t){var e=t.chart,n=t.options,a=n.tooltip,o=n.isGroup,s=n.isStack,l=n.groupField,u=n.data,c=n.xField,d=n.yField,p=n.seriesField;if(!1===a)e.tooltip(!1);else{var h=a;if(o&&s){var g=(null==h?void 0:h.formatter)||function(t){return{name:t[p]+" - "+t[l],value:t[d]}};h=(0,r.__assign)((0,r.__assign)({},h),{customItems:function(t){var e=[];return(0,i.each)(t,function(t){(0,i.filter)(u,function(e){return(0,i.isMatch)(e,(0,f.pick)(t.data,[c,p]))}).forEach(function(n){e.push((0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{value:n[d],data:n,mappingData:{_origin:n}}),g(n)))})}),e}})}e.tooltip(h)}return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,i.flow)((0,r.pattern)("areaStyle"),u,c,r.tooltip,r.theme,r.animation,(0,r.annotation)())(t)},e.meta=c;var r=n(22),i=n(7),a=n(30),o=n(156),s=n(124),l=n(197);function u(t){var e=t.chart,n=t.options,r=n.data,l=n.color,u=n.areaStyle,c=n.point,f=n.line,d=null==c?void 0:c.state,p=(0,s.getTinyData)(r);e.data(p);var h=(0,i.deepAssign)({},t,{options:{xField:o.X_FIELD,yField:o.Y_FIELD,area:{color:l,style:u},line:f,point:c}}),g=(0,i.deepAssign)({},h,{options:{tooltip:!1}}),v=(0,i.deepAssign)({},h,{options:{tooltip:!1,state:d}});return(0,a.area)(h),(0,a.line)(g),(0,a.point)(v),e.axis(!1),e.legend(!1),t}function c(t){var e,n,a=t.options,u=a.xAxis,c=a.yAxis,f=a.data,d=(0,s.getTinyData)(f);return(0,i.flow)((0,r.scale)(((e={})[o.X_FIELD]=u,e[o.Y_FIELD]=c,e),((n={})[o.X_FIELD]={type:"cat"},n[o.Y_FIELD]=(0,l.adjustYMetaByZero)(d,o.Y_FIELD),n)))(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PATH_FIELD=e.ID_FIELD=e.DEFAULT_OPTIONS=void 0,e.ID_FIELD="id",e.PATH_FIELD="path",e.DEFAULT_OPTIONS={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(t){return{name:t.id,value:t.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PADDING_TOP=e.HIERARCHY_DATA_TRANSFORM_PARAMS=e.DrillDownAction=e.DEFAULT_BREAD_CRUMB_CONFIG=e.BREAD_CRUMB_NAME=void 0;var r=n(1),i=n(14),a=n(0),o=n(541);e.PADDING_TOP=5;var s="drilldown-bread-crumb";e.BREAD_CRUMB_NAME=s;var l={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}};e.DEFAULT_BREAD_CRUMB_CONFIG=l;var u="hierarchy-data-transform-params";e.HIERARCHY_DATA_TRANSFORM_PARAMS=u;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.name="drill-down",e.historyCache=[],e.breadCrumbGroup=null,e.breadCrumbCfg=l,e}return(0,r.__extends)(e,t),e.prototype.click=function(){var t=(0,a.get)(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),e=this.breadCrumbGroup,n=e.getBBox(),r=this.getButtonCfg().position,a={x:t.start.x,y:t.end.y-(n.height+10)};t.isPolar&&(a={x:0,y:0}),"bottom-left"===r&&(a={x:t.start.x,y:t.start.y});var o=i.Util.transform(null,[["t",a.x+0,a.y+n.height+5]]);e.setMatrix(o)}},e.prototype.back=function(){(0,a.size)(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var e=this.context.view,n=(0,a.get)(e,["interactions","drill-down","cfg","transformData"],function(t){return t}),i=n((0,r.__assign)({data:t.data},t[u]));e.changeData(i);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:l.name+"_"+s.height+"_"+s.depth,name:l.name,children:n((0,r.__assign)({data:l},t[u]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(t&&!(t.length<=0)){var e=this.context.view,n=(0,a.last)(t).children;e.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,a.get)(t,["interactions","drill-down","cfg","drillDownConfig"]);return(0,o.deepAssign)(this.breadCrumbCfg,null==e?void 0:e.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,e=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:s});var i=0;n.forEach(function(o,l){var u=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:s+"_"+o.name+"_text",attrs:(0,r.__assign)((0,r.__assign)({text:0!==l||(0,a.isNil)(e.rootText)?o.name:e.rootText},e.textStyle),{x:i,y:0})}),c=u.getBBox();if(i+=c.width+4,u.on("click",function(e){var r,i=e.target.get("id");if(i!==(null===(r=(0,a.last)(n))||void 0===r?void 0:r.id)){var o=n.slice(0,n.findIndex(function(t){return t.id===i})+1);t.backTo(o)}}),u.on("mouseenter",function(t){var r;t.target.get("id")!==(null===(r=(0,a.last)(n))||void 0===r?void 0:r.id)?u.attr(e.activeTextStyle):u.attr({cursor:"default"})}),u.on("mouseleave",function(){u.attr(e.textStyle)}),l=0;r--)t.removeChild(e[r])},e.hasClass=function(t,e){return!!t.className.match(RegExp("(\\s|^)"+e+"(\\s|$)"))},e.regionToBBox=function(t){var e=t.start,n=t.end,r=Math.min(e.x,n.x),i=Math.min(e.y,n.y),a=Math.max(e.x,n.x),o=Math.max(e.y,n.y);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.pointsToBBox=function(t){var e=t.map(function(t){return t.x}),n=t.map(function(t){return t.y}),r=Math.min.apply(Math,e),i=Math.min.apply(Math,n),a=Math.max.apply(Math,e),o=Math.max.apply(Math,n);return{x:r,y:i,minX:r,minY:i,maxX:a,maxY:o,width:a-r,height:o-i}},e.createBBox=i,e.getValueByPercent=a,e.getCirclePoint=function(t,e,n){return{x:t.x+Math.cos(n)*e,y:t.y+Math.sin(n)*e}},e.distance=o,e.wait=function(t){return new Promise(function(e){setTimeout(e,t)})},e.near=function(t,e,n){return void 0===n&&(n=Math.pow(Number.EPSILON,.5)),[t,e].includes(1/0)?Math.abs(t)===Math.abs(e):Math.abs(t-e)0?r.each(d,function(e){if(e.get("visible")){if(e.isGroup()&&0===e.get("children").length)return!0;var n=t(e),r=e.applyToMatrix([n.minX,n.minY,1]),i=e.applyToMatrix([n.minX,n.maxY,1]),a=e.applyToMatrix([n.maxX,n.minY,1]),o=e.applyToMatrix([n.maxX,n.maxY,1]),s=Math.min(r[0],i[0],a[0],o[0]),d=Math.max(r[0],i[0],a[0],o[0]),p=Math.min(r[1],i[1],a[1],o[1]),h=Math.max(r[1],i[1],a[1],o[1]);su&&(u=d),pf&&(f=h)}}):(l=0,u=0,c=0,f=0),n=i(l,c,u-l,f-c)}else n=e.getBBox();return o?s(n,o):n},e.updateClip=function(t,e){if(t.getClip()||e.getClip()){var n=e.getClip();if(!n){t.setClip(null);return}var r={type:n.get("type"),attrs:n.attr()};t.setClip(r)}},e.toPx=function(t){return t+"px"},e.getTextPoint=function(t,e,n,r){var i=r/o(t,e),s=0;return"start"===n?s=0-i:"end"===n&&(s=1+i),{x:a(t.x,e.x,s),y:a(t.y,e.y,s)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCallbackAction=e.unregisterAction=e.registerAction=e.getActionClass=e.createAction=void 0;var r=(0,n(1).__importDefault)(n(937)),i=n(0),a={};e.createAction=function(t,e){var n=a[t],r=null;if(n){var i=n.ActionClass,o=n.cfg;(r=new i(e,o)).name=t,r.init()}return r},e.getActionClass=function(t){var e=a[t];return(0,i.get)(e,"ActionClass")},e.registerAction=function(t,e,n){a[t]={ActionClass:e,cfg:n}},e.unregisterAction=function(t){delete a[t]},e.createCallbackAction=function(t,e){var n=new r.default(e);return n.callback=t,n.name="callback",n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(69),o=n(48),s=n(46),l=n(186),u=n(80),c=n(104),f=(0,r.__importDefault)(n(268)),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isLocked=!1,e}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"tooltip"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.isVisible=function(){return!1!==this.view.getOptions().tooltip},e.prototype.render=function(){},e.prototype.showTooltip=function(t){if(this.point=t,this.isVisible()){var e=this.view,n=this.getTooltipItems(t);if(!n.length){this.hideTooltip();return}var a=this.getTitle(n),o={x:n[0].x,y:n[0].y};e.emit("tooltip:show",f.default.fromData(e,"tooltip:show",(0,r.__assign)({items:n,title:a},t)));var s=this.getTooltipCfg(),l=s.follow,u=s.showMarkers,c=s.showCrosshairs,d=s.showContent,p=s.marker,h=this.items,g=this.title;if((0,i.isEqual)(g,a)&&(0,i.isEqual)(h,n)?(this.tooltip&&l&&(this.tooltip.update(t),this.tooltip.show()),this.tooltipMarkersGroup&&this.tooltipMarkersGroup.show()):(e.emit("tooltip:change",f.default.fromData(e,"tooltip:change",(0,r.__assign)({items:n,title:a},t))),((0,i.isFunction)(d)?d(n):d)&&(this.tooltip||this.renderTooltip(),this.tooltip.update((0,i.mix)({},s,{items:this.getItemsAfterProcess(n),title:a},l?t:{})),this.tooltip.show()),u&&this.renderTooltipMarkers(n,p)),this.items=n,this.title=a,c){var v=(0,i.get)(s,["crosshairs","follow"],!1);this.renderCrosshairs(v?t:o,s)}}},e.prototype.hideTooltip=function(){if(!this.getTooltipCfg().follow){this.point=null;return}var t=this.tooltipMarkersGroup;t&&t.hide();var e=this.xCrosshair,n=this.yCrosshair;e&&e.hide(),n&&n.hide();var r=this.tooltip;r&&r.hide(),this.view.emit("tooltip:hide",f.default.fromData(this.view,"tooltip:hide",{})),this.point=null},e.prototype.lockTooltip=function(){this.isLocked=!0,this.tooltip&&this.tooltip.setCapture(!0)},e.prototype.unlockTooltip=function(){this.isLocked=!1;var t=this.getTooltipCfg();this.tooltip&&this.tooltip.setCapture(t.capture)},e.prototype.isTooltipLocked=function(){return this.isLocked},e.prototype.clear=function(){var t=this.tooltip,e=this.xCrosshair,n=this.yCrosshair,r=this.tooltipMarkersGroup;t&&(t.hide(),t.clear()),e&&e.clear(),n&&n.clear(),r&&r.clear(),(null==t?void 0:t.get("customContent"))&&(this.tooltip.destroy(),this.tooltip=null),this.title=null,this.items=null},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),this.xCrosshair&&this.xCrosshair.destroy(),this.yCrosshair&&this.yCrosshair.destroy(),this.guideGroup&&this.guideGroup.remove(!0),this.reset()},e.prototype.reset=function(){this.items=null,this.title=null,this.tooltipMarkersGroup=null,this.tooltipCrosshairsGroup=null,this.xCrosshair=null,this.yCrosshair=null,this.tooltip=null,this.guideGroup=null,this.isLocked=!1,this.point=null},e.prototype.changeVisible=function(t){if(this.visible!==t){var e=this.tooltip,n=this.tooltipMarkersGroup,r=this.xCrosshair,i=this.yCrosshair;t?(e&&e.show(),n&&n.show(),r&&r.show(),i&&i.show()):(e&&e.hide(),n&&n.hide(),r&&r.hide(),i&&i.hide()),this.visible=t}},e.prototype.getTooltipItems=function(t){var e=this.findItemsFromView(this.view,t);if(e.length){e=(0,i.flatten)(e);for(var n=0,r=e;n1){for(var f=e[0],d=Math.abs(t.y-f[0].y),p=0,h=e;p'+r+"":r}})},e.prototype.getTitle=function(t){var e=t[0].title||t[0].name;return this.title=e,e},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),e={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),i=new a.HtmlTooltip((0,r.__assign)((0,r.__assign)({parent:t.get("el").parentNode,region:e},n),{visible:!1,crosshairs:null}));i.init(),this.tooltip=i},e.prototype.renderTooltipMarkers=function(t,e){for(var n=this.getTooltipMarkersGroup(),i=0;i0&&(r*=1-e.innerRadius),n=.01*parseFloat(t)*r}return n},e.prototype.getLabelItems=function(e){var n=t.prototype.getLabelItems.call(this,e),a=this.geometry.getYScale();return(0,i.map)(n,function(t){if(t&&a){var e=a.scale((0,i.get)(t.data,a.field));return(0,r.__assign)((0,r.__assign)({},t),{percent:e})}return t})},e.prototype.getLabelAlign=function(t){var e,n=this.getCoordinate();if(t.labelEmit)e=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=t.offset;e=1>Math.abs(t.x-r.x)?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},e.prototype.getLabelPoint=function(t,e,n){var r,i=1,a=t.content[n];this.isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.content.length&&0===n?n=1:0===n&&(i=-1),r=this.getArcPoint(e,n));var o=t.offset*i,s=this.getPointAngle(r),l=t.labelEmit,u=this.getCirclePoint(s,o,r,l);return 0===u.r?u.content="":(u.content=a,u.angle=s,u.color=e.color),u.rotate=t.autoRotate?this.getLabelRotate(s,o,l):t.rotate,u.start={x:r.x,y:r.y},u},e.prototype.getArcPoint=function(t,e){return(void 0===e&&(e=0),(0,i.isArray)(t.x)||(0,i.isArray)(t.y))?{x:(0,i.isArray)(t.x)?t.x[e]:t.x,y:(0,i.isArray)(t.y)?t.y[e]:t.y}:{x:t.x,y:t.y}},e.prototype.getPointAngle=function(t){return(0,o.getAngleByPoint)(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,e,n,i){var o=this.getCoordinate(),s=o.getCenter(),l=(0,a.getDistanceToCenter)(o,n);if(0===l)return(0,r.__assign)((0,r.__assign)({},s),{r:l});var u=t;return o.isTransposed&&l>e&&!i?u=t+2*Math.asin(e/(2*l)):l+=e,{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,e,n){var r=t+l;return n&&(r-=l),r&&(r>l?r-=Math.PI:r<-l&&(r+=Math.PI)),r},e.prototype.getMiddlePoint=function(t){var e=this.getCoordinate(),n=t.length,r={x:0,y:0};return(0,i.each)(t,function(t){r.x+=t.x,r.y+=t.y}),r.x/=n,r.y/=n,r=e.convert(r)},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(s.default);e.default=u},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(45),i=n.n(r),a=n(4),o=n.n(a),s=n(37),l=n.n(s),u=n(28),c=n.n(u),f=n(40),d=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function p(t){var e=t.type,n=t.transpose,r=t.rotate,a=t.scale,s=t.reflect,u=t.actions,p=d(t,["type","transpose","rotate","scale","reflect","actions"]),h=Object(f.a)(),g=h.coordinate();return g.update({}),e?h.coordinate(e,o()({},p)):h.coordinate("rect",o()({},p)),r&&g.rotate(r),a&&g.scale.apply(g,i()(a)),l()(s)||g.reflect(s),n&&g.transpose(),c()(u)&&u(g),null}},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(326),h=n.n(p),g=n(39),v=n(8);n(461),Object(v.registerGeometry)("Edge",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="edge",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(327),h=n.n(p),g=n(39);Object(n(8).registerGeometry)("Heatmap",h.a);var v=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="heatmap",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return _});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(328),h=n.n(p),g=n(163),v=n.n(g),y=n(164),m=n.n(y),b=n(39),x=n(8);n(465),n(466),n(467),n(468),n(469),Object(x.registerGeometry)("Interval",h.a),Object(x.registerGeometryLabel)("interval",v.a),Object(x.registerGeometryLabel)("pie",m.a),Object(x.registerInteraction)("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});var _=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.interactionTypes=["active-region","element-highlight"],t.GemoBaseClassName="interval",t}return i()(r)}(b.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(331),h=n.n(p),g=n(39),v=n(8);n(462),n(475),Object(v.registerGeometry)("Polygon",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="polygon",t}return i()(r)}(g.a)},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(101);n(276),n(278);var l=n(61),u=n.n(l),c=n(168),f=n.n(c),d=n(18),p=n.n(d),h=n(20),g=n.n(h),v=n(8),y=n(60),m=n(40),b=n(81),x=n(129),_=n(130),O=n(128),P=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},M={default:{style:{fill:"#5B8FF9",fillOpacity:.25,stroke:null}},active:{style:{fillOpacity:.5}},inactive:{style:{fillOpacity:.4}},selected:{style:{fillOpacity:.5}}};Object(v.registerShape)("area","gradient",{draw:function(t,e){var n=Object(s.getShapeAttrs)(t,!1,!1,this),r=n.fill,i=y.color(r);return i&&(n.fill="l (90) 0:".concat(y.rgb(i.r,i.g,i.b,1).formatRgb()," 1:").concat(y.rgb(i.r,i.g,i.b,.1).formatRgb())),e.addShape({type:"path",attrs:n,name:"area"})}}),Object(v.registerShape)("area","gradient-smooth",{draw:function(t,e){var n=this.coordinate,r=Object(s.getShapeAttrs)(t,!1,!0,this,Object(s.getConstraint)(n)),i=r.fill,a=y.color(i);return a&&(r.fill="l (90) 0:".concat(y.rgb(a.r,a.g,a.b,1).formatRgb()," 1:").concat(y.rgb(a.r,a.g,a.b,.1).formatRgb())),e.addShape({type:"path",attrs:r,name:"area"})}}),e.a=function(t){var e=t.point,n=t.area,r=t.shape,a=P(t,["point","area","shape"]),s={shape:"circle"},l=Object(b.a)(),c=Object(m.a)(),d={shape:"smooth"===r?"gradient-smooth":"gradient"},h=c.getTheme();return h.geometries.area.gradient=M,h.geometries.area["gradient-smooth"]=M,!1!==p()(l,["options","tooltip"])&&(void 0===p()(c,["options","tooltip","shared"])&&g()(c,["options","tooltip","shared"],!0),void 0===p()(c,["options","tooltip","showCrosshairs"])&&g()(c,["options","tooltip","showCrosshairs"],!0),void 0===p()(c,["options","tooltip","showMarkers"])&&g()(c,["options","tooltip","showMarkers"],!0)),u()(s)&&f()(s,e),u()(d)&&f()(d,n),o.a.createElement(o.a.Fragment,null,o.a.createElement(x.a,i()({shape:r,state:{default:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:2}},active:{style:{shadowColor:"#ddd",shadowBlur:3,shadowOffsetY:5}}}},a)),!!n&&o.a.createElement(O.a,i()({},a,{tooltip:!1},d)),!!e&&o.a.createElement(_.a,i()({size:3},a,{state:{active:{style:{stroke:"#fff",lineWidth:1.5,strokeOpacity:.9}}},tooltip:!1},s)))}},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fadeOut=e.fadeIn=void 0;var r=n(0);e.fadeIn=function(t,e,n){var i={fillOpacity:(0,r.isNil)(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),strokeOpacity:(0,r.isNil)(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity"),opacity:(0,r.isNil)(t.attr("opacity"))?1:t.attr("opacity")};t.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),t.animate(i,e)},e.fadeOut=function(t,e,n){var r=e.easing,i=e.duration,a=e.delay;t.animate({fillOpacity:0,strokeOpacity:0,opacity:0},i,r,function(){t.remove(!0)},a)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scaleInY=e.scaleInX=void 0;var r=n(32);e.scaleInX=function(t,e,n){var i=t.getBBox(),a=t.get("origin").mappingData.points,o=a[0].y-a[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;t.applyToMatrix([o,s,1]);var l=r.ext.transform(t.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);t.setMatrix(l),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)},e.scaleInY=function(t,e,n){var i=t.getBBox(),a=t.get("origin").mappingData,o=(i.minX+i.maxX)/2,s=a.points,l=s[0].y-s[1].y<=0?i.maxY:i.minY;t.applyToMatrix([o,l,1]);var u=r.ext.transform(t.getMatrix(),[["t",-o,-l],["s",1,.01],["t",o,l]]);t.setMatrix(u),t.animate({matrix:r.ext.transform(t.getMatrix(),[["t",-o,-l],["s",1,100],["t",o,l]])},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zoomOut=e.zoomIn=void 0;var r=n(1),i=n(32),a=n(0);function o(t,e,n){if(t.isGroup())(0,a.each)(t.getChildren(),function(t){o(t,e,n)});else{var s=t.getBBox(),l=(s.minX+s.maxX)/2,u=(s.minY+s.maxY)/2;if(t.applyToMatrix([l,u,1]),"zoomIn"===n){var c=i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",.01,.01],["t",l,u]]);t.setMatrix(c),t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",100,100],["t",l,u]])},e)}else t.animate({matrix:i.ext.transform(t.getMatrix(),[["t",-l,-u],["s",.01,.01],["t",l,u]])},(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t.remove(!0)}}))}}e.zoomIn=function(t,e,n){o(t,e,"zoomIn")},e.zoomOut=function(t,e,n){o(t,e,"zoomOut")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.overlap=e.fixedOverlap=void 0;var r=n(0),i=function(){function t(t){void 0===t&&(t={}),this.bitmap={};var e=t.xGap,n=t.yGap;this.xGap=void 0===e?1:e,this.yGap=void 0===n?8:n}return t.prototype.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.round(t.minX),i=Math.round(t.maxX),a=Math.round(t.minY),o=Math.round(t.maxY),s=r;s<=i;s+=1){if(!n[s]){n[s]={};continue}if(s===r||s===i){for(var l=a;l<=o;l++)if(n[s][l]){e=!1;break}}else if(n[s][a]||n[s][o]){e=!1;break}}return e},t.prototype.fillGap=function(t){for(var e=this.bitmap,n=Math.round(t.minX),r=Math.round(t.maxX),i=Math.round(t.minY),a=Math.round(t.maxY),o=n;o<=r;o+=1)e[o]||(e[o]={});for(var o=n;o<=r;o+=this.xGap){for(var s=i;s<=a;s+=this.yGap)e[o][s]=!0;e[o][a]=!0}if(1!==this.yGap)for(var o=i;o<=a;o+=1)e[n][o]=!0,e[r][o]=!0;if(1!==this.xGap)for(var o=n;o<=r;o+=1)e[o][i]=!0,e[o][a]=!0},t.prototype.destroy=function(){this.bitmap={}},t}();e.fixedOverlap=function(t,e,n,a){var o=new i;(0,r.each)(e,function(t){!function(t,e,n){void 0===n&&(n=100);var r,i=t.attr(),a=i.x,o=i.y,s=t.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u=1,c=0,f=0;if(e.hasGap(s))return e.fillGap(s),!0;for(var d=!1,p=0,h={};Math.min(Math.abs(c),Math.abs(f))=0},e)},e}(l.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(1014),o=(0,r.__importDefault)(n(151)),s="inactive",l="active",u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=l,e.ignoreItemStates=["unchecked"],e}return(0,r.__extends)(e,t),e.prototype.setItemsState=function(t,e,n){this.setHighlightBy(t,function(t){return t.name===e},n)},e.prototype.setItemState=function(t,e,n){t.getItems(),this.setHighlightBy(t,function(t){return t===e},n)},e.prototype.setHighlightBy=function(t,e,n){var r=t.getItems();if(n)(0,i.each)(r,function(n){e(n)?(t.hasState(n,s)&&t.setItemState(n,s,!1),t.setItemState(n,l,!0)):t.hasState(n,l)||t.setItemState(n,s,!0)});else{var a=t.getItemsByState(l),o=!0;(0,i.each)(a,function(t){if(!e(t))return o=!1,!1}),o?this.clear():(0,i.each)(r,function(n){e(n)&&(t.hasState(n,l)&&t.setItemState(n,l,!1),t.setItemState(n,s,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)(0,a.clearList)(t.list);else{var e=this.getAllowComponents();(0,i.each)(e,function(t){t.clearItemsState(l),t.clearItemsState(s)})}},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,a)},e),o&&t.apply(i,a)}}},function(t,e,n){"use strict";t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";e.a=function(t){if(0===t.length)return 0;for(var e,n=t[0],r=0,i=1;i=Math.abs(t[i])?r+=n-e+t[i]:r+=t[i]-e+n,n=e;return n+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ResizeObserver",{enumerable:!0,get:function(){return r.ResizeObserver}}),Object.defineProperty(e,"ResizeObserverEntry",{enumerable:!0,get:function(){return i.ResizeObserverEntry}}),Object.defineProperty(e,"ResizeObserverSize",{enumerable:!0,get:function(){return a.ResizeObserverSize}});var r=n(1039),i=n(483),a=n(485)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var r=n(1),i=n(24),a=n(512),o=n(1087);n(1088);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return r.__extends(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options;a.meta({chart:e,options:n}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Line=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pie=void 0;var r=n(1),i=n(14),a=n(24),o=n(15),s=n(1128),l=n(525),u=n(526);n(527);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return r.__extends(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=o.processIllegalData(e.data,n),a=o.processIllegalData(t,n);u.isAllZero(r,n)||u.isAllZero(a,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(a),s.pieAnnotation({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.Pie=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scatter=void 0;var r=n(1),i=n(14),a=n(24),o=n(15),s=n(1154),l=n(1156);n(1157);var u=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="scatter",a.on(i.VIEW_LIFE_CIRCLE.BEFORE_RENDER,function(t){var e,n,o=a.options,l=a.chart;if((null===(e=t.data)||void 0===e?void 0:e.source)===i.BRUSH_FILTER_EVENTS.FILTER){var u=a.chart.filterData(a.chart.getData());s.meta({chart:l,options:r.__assign(r.__assign({},o),{data:u})})}(null===(n=t.data)||void 0===n?void 0:n.source)===i.BRUSH_FILTER_EVENTS.RESET&&s.meta({chart:l,options:o})}),a}return r.__extends(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption(s.transformOptions(o.deepAssign({},this.options,{data:t})));var e=this.options,n=this.chart;s.meta({chart:n,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Scatter=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.getArcParams=e.Shape=e.Group=e.Canvas=void 0;var r=n(1),i=n(143);e.Shape=i,r.__exportStar(n(26),e);var a=n(913);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return a.default}});var o=n(260);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return o.default}});var s=n(438);Object.defineProperty(e,"getArcParams",{enumerable:!0,get:function(){return s.default}}),e.version="0.5.12"},function(t,e,n){"use strict";var r,i=n(2)(n(6)),a=SyntaxError,o=Function,s=TypeError,l=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var c=function(){throw new s},f=u?function(){try{return arguments.callee,c}catch(t){try{return u(arguments,"callee").get}catch(t){return c}}}():c,d=n(650)(),p=Object.getPrototypeOf||function(t){return t.__proto__},h={},g="undefined"==typeof Uint8Array?r:p(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":("undefined"==typeof JSON?"undefined":(0,i.default)(JSON))==="object"?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?p(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%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?p(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":f,"%TypedArray%":g,"%TypeError%":s,"%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%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},y=function t(e){var n;if("%AsyncFunction%"===e)n=l("async function () {}");else if("%GeneratorFunction%"===e)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=l("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(n=p(i.prototype))}return v[e]=n,n},m={"%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"]},b=n(237),x=n(652),_=b.call(Function.call,Array.prototype.concat),O=b.call(Function.apply,Array.prototype.splice),P=b.call(Function.call,String.prototype.replace),M=b.call(Function.call,String.prototype.slice),A=b.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,w=/\\(\\)?/g,E=function(t){var e=M(t,0,1),n=M(t,-1);if("%"===e&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return P(t,S,function(t,e,n,i){r[r.length]=n?P(i,w,"$1"):e||t}),r},C=function(t,e){var n,r=t;if(x(m,r)&&(r="%"+(n=m[r])[0]+"%"),x(v,r)){var i=v[r];if(i===h&&(i=y(r)),void 0===i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new a("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,t))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=E(t),r=n.length>0?n[0]:"",i=C("%"+r+"%",e),o=i.name,l=i.value,c=!1,f=i.alias;f&&(r=f[0],O(n,_([0,1],f)));for(var d=1,p=!0;d=n.length){var m=u(l,h);l=(p=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:l[h]}else p=x(l,h),l=l[h];p&&!c&&(v[o]=l)}}return l}},function(t,e,n){"use strict";var r=n(651);t.exports=Function.prototype.bind||r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56));e.default=function(t,e){return!!(0,i.default)(t)&&t.indexOf(e)>-1}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(6));e.default=function(t){return"object"===(0,i.default)(t)&&null!==t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(107)),a=r(n(57)),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return(0,i.default)(t,function(n,r){(0,a.default)(t)&&"prototype"===r||e.push(n)}),e};e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){return e&&r(t,e),n&&r(t,n),i&&r(t,i),t}},function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.SearchBotDeviceInfo=e.ReactNativeInfo=e.NodeInfo=e.BrowserInfo=e.BotInfo=void 0,e.browserName=function(t){var e=f(t);return e?e[0]:null},e.detect=function(t){return t?d(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new s:"undefined"!=typeof navigator?d(navigator.userAgent):h()},e.detectOS=p,e.getNodeVersion=h,e.parseUserAgent=d;var n=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,a=e.length;i=0&&e._call.call(null,t),e=e._next;--s}function x(){f=(c=p.now())+d,s=l=0;try{b()}finally{s=0,function(){for(var t,e,n=i,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:i=e);a=t,O(r)}(),f=0}}function _(){var t=p.now(),e=t-c;e>1e3&&(d-=e,c=t)}function O(t){!s&&(l&&(l=clearTimeout(l)),t-f>24?(t<1/0&&(l=setTimeout(x,t-p.now()-d)),u&&(u=clearInterval(u))):(u||(c=p.now(),u=setInterval(_,1e3)),s=1,h(x)))}y.prototype=m.prototype={constructor:y,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?g():+n)+(null==e?0:+e),this._next||a===this||(a?a._next=this:i=this,a=this),this._call=t,this._time=n,O()},stop:function(){this._call&&(this._call=null,this._time=1/0,O())}}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.Color=o,e.Rgb=A,e.darker=e.brighter=void 0,e.default=x,e.hsl=F,e.hslConvert=j,e.rgb=M,e.rgbConvert=P;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(246));function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}function o(){}e.darker=.7,e.brighter=1.4285714285714286;var s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\(".concat(s,",").concat(s,",").concat(s,"\\)$")),d=new RegExp("^rgb\\(".concat(u,",").concat(u,",").concat(u,"\\)$")),p=new RegExp("^rgba\\(".concat(s,",").concat(s,",").concat(s,",").concat(l,"\\)$")),h=new RegExp("^rgba\\(".concat(u,",").concat(u,",").concat(u,",").concat(l,"\\)$")),g=new RegExp("^hsl\\(".concat(l,",").concat(u,",").concat(u,"\\)$")),v=new RegExp("^hsla\\(".concat(l,",").concat(u,",").concat(u,",").concat(l,"\\)$")),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=c.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?_(e):3===n?new A(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?O(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?O(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new A(e[1],e[2],e[3],1):(e=d.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?O(e[1],e[2],e[3],e[4]):(e=h.exec(t))?O(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?I(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?I(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?_(y[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function _(t){return new A(t>>16&255,t>>8&255,255&t,1)}function O(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function P(t){return(t instanceof o||(t=x(t)),t)?(t=t.rgb(),new A(t.r,t.g,t.b,t.opacity)):new A}function M(t,e,n,r){return 1==arguments.length?P(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function S(){return"#".concat(T(this.r)).concat(T(this.g)).concat(T(this.b))}function w(){var t=E(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(C(this.r),", ").concat(C(this.g),", ").concat(C(this.b)).concat(1===t?")":", ".concat(t,")"))}function E(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function C(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function T(t){return((t=C(t))<16?"0":"")+t.toString(16)}function I(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new L(t,e,n,r)}function j(t){if(t instanceof L)return new L(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=x(t)),!t)return new L;if(t instanceof L)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,l=a-i,u=(a+i)/2;return l?(s=e===a?(n-r)/l+(n0&&u<1?0:s,new L(s,l,u,t.opacity)}function F(t,e,n,r){return 1==arguments.length?j(t):new L(t,e,n,null==r?1:r)}function L(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function D(t){return(t=(t||0)%360)<0?t+360:t}function k(t){return Math.max(0,Math.min(1,t||0))}function R(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}(0,i.default)(o,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return j(this).formatHsl()},formatRgb:b,toString:b}),(0,i.default)(A,M,(0,i.extend)(o,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new A(C(this.r),C(this.g),C(this.b),E(this.opacity))},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatHex8:function(){return"#".concat(T(this.r)).concat(T(this.g)).concat(T(this.b)).concat(T((isNaN(this.opacity)?1:this.opacity)*255))},formatRgb:w,toString:w})),(0,i.default)(L,F,(0,i.extend)(o,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new L(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new L(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new A(R(t>=240?t-240:t+120,i,r),R(t,i,r),R(t<120?t+240:t-120,i,r),this.opacity)},clamp:function(){return new L(D(this.h),k(this.s),k(this.l),E(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=E(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(D(this.h),", ").concat(100*k(this.s),"%, ").concat(100*k(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t},e.extend=function(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}},function(t,e,n){"use strict";function r(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}Object.defineProperty(e,"__esModule",{value:!0}),e.basis=r,e.default=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),a=t[i],o=t[i+1],s=i>0?t[i-1]:2*a-o,l=id&&(d=(i=[f,d])[0],f=i[1]),c<=2)return[f,d];for(var p=(d-f)/(c-1),h=[],g=0;g0?e="start":t[0]<0&&(e="end"),e},e.prototype.getTextBaseline=function(t){var e;return(0,o.isNumberEqual)(t[1],0)?e="middle":t[1]>0?e="top":t[1]<0&&(e="bottom"),e},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var e=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:(0,o.mix)({path:e},n.style)})},e.prototype.getTickLineItems=function(t){var e=this,n=[],r=this.get("tickLine"),i=r.alignTick,a=r.length,s=1;return t.length>=2&&(s=t[1].value-t[0].value),(0,o.each)(t,function(t){var r=t.point;i||(r=e.getTickPoint(t.value-s/2));var o=e.getSidePoint(r,a);n.push({startPoint:r,tickValue:t.value,endPoint:o,tickId:t.id,id:"tickline-"+t.id})}),n},e.prototype.getSubTickLineItems=function(t){var e=[],n=this.get("subTickLine"),r=n.count,i=t.length;if(i>=2)for(var a=0;a0){var n=(0,o.size)(e);if(n>t.threshold){var r=Math.ceil(n/t.threshold),i=e.filter(function(t,e){return e%r==0});this.set("ticks",i),this.set("originalTicks",e)}}},e.prototype.getLabelAttrs=function(t,e,n){var r=this.get("label"),i=r.offset,a=r.offsetX,s=r.offsetY,u=r.rotate,c=r.formatter,f=this.getSidePoint(t.point,i),d=this.getSideVector(i,f),p=c?c(t.name,t,e):t.name,h=r.style;h=(0,o.isFunction)(h)?(0,o.get)(this.get("theme"),["label","style"],{}):h;var g=(0,o.mix)({x:f.x+a,y:f.y+s,text:p,textAlign:this.getTextAnchor(d),textBaseline:this.getTextBaseline(d)},h);return u&&(g.matrix=(0,l.getMatrixByAngle)(f,u)),g},e.prototype.drawLabels=function(t){var e=this,n=this.get("ticks"),r=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});(0,o.each)(n,function(t,i){e.addShape(r,{type:"text",name:"axis-label",id:e.getElementId("label-"+t.id),attrs:e.getLabelAttrs(t,i,n),delegateObject:{tick:t,item:t,index:i}})}),this.processOverlap(r);var i=r.getChildren(),a=(0,o.get)(this.get("theme"),["label","style"],{}),s=this.get("label"),l=s.style,u=s.formatter;if((0,o.isFunction)(l)){var c=i.map(function(t){return(0,o.get)(t.get("delegateObject"),"tick")});(0,o.each)(i,function(t,e){var n=t.get("delegateObject").tick,r=u?u(n.name,n,e):n.name,i=(0,o.mix)({},a,l(r,e,c));t.attr(i)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),e=t.style,n=t.position,r=t.offset,i=t.spacing,s=void 0===i?0:i,u=t.autoRotate,c=e.fontSize,f=.5;"start"===n?f=0:"end"===n&&(f=1);var d=this.getTickPoint(f),p=this.getSidePoint(d,r||s+c/2),h=(0,o.mix)({x:p.x,y:p.y,text:t.text},e),g=t.rotate,v=g;if((0,o.isNil)(g)&&u){var y=this.getAxisVector(d);v=a.ext.angleTo(y,[1,0],!0)}if(v){var m=(0,l.getMatrixByAngle)(p,v);h.matrix=m}return h},e.prototype.drawTitle=function(t){var e,n=this.getTitleAttrs(),r=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:n});(null===(e=this.get("title"))||void 0===e?void 0:e.description)&&this.drawDescriptionIcon(t,r,n.matrix)},e.prototype.drawDescriptionIcon=function(t,e,n){var r=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),a=e.getBBox(),o=a.maxX,s=a.maxY,l=a.height,u=this.get("title").iconStyle,c=l/2,f=c/6,d=o+4,p=s-l/2,h=[d+c,p-c],g=h[0],v=h[1],y=[g+c,v+c],m=y[0],b=y[1],x=[g,b+c],_=x[0],O=x[1],P=[d,v+c],M=P[0],A=P[1],S=[d+c,p-l/4],w=S[0],E=S[1],C=[w,E+f],T=C[0],I=C[1],j=[T,I+f],F=j[0],L=j[1],D=[F,L+3*c/4],k=D[0],R=D[1];this.addShape(r,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:(0,i.__assign)({path:[["M",g,v],["A",c,c,0,0,1,m,b],["A",c,c,0,0,1,_,O],["A",c,c,0,0,1,M,A],["A",c,c,0,0,1,g,v],["M",w,E],["L",T,I],["M",F,L],["L",k,R]],lineWidth:f,matrix:n},u)}),this.addShape(r,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:d,y:p-l/2,width:l,height:l,stroke:"#000",fill:"#000",opacity:0,matrix:n,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,e){if(this.getItemStates(t).length){var n=this.get("tickStates"),r=this.getElementId("label-"+t.id),i=e.findById(r);if(i){var a=(0,u.getStatesStyle)(t,"label",n);a&&i.attr(a)}var o=this.getElementId("tickline-"+t.id),s=e.findById(o);if(s){var l=(0,u.getStatesStyle)(t,"tickLine",n);l&&s.attr(l)}}},e.prototype.updateTickStates=function(t){var e=this.getItemStates(t),n=this.get("tickStates"),r=this.get("label"),i=this.getElementByLocalId("label-"+t.id),a=this.get("tickLine"),o=this.getElementByLocalId("tickline-"+t.id);if(e.length){if(i){var s=(0,u.getStatesStyle)(t,"label",n);s&&i.attr(s)}if(o){var l=(0,u.getStatesStyle)(t,"tickLine",n);l&&o.attr(l)}}else i&&i.attr(r.style),o&&o.attr(a.style)},e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(90),l=r(n(58)),u=n(42),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:l.default.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:l.default.textColor,textAlign:"center",textBaseline:"middle",fontFamily:l.default.fontFamily}},textBackground:{padding:5,style:{stroke:l.default.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var e=this.get("text"),n=e.style,r=e.autoRotate,o=e.content;if(!(0,a.isNil)(o)){var l=this.getTextPoint(),u=null;if(r){var c=this.getRotateAngle();u=(0,s.getMatrixByAngle)(l,c)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:(0,i.__assign)((0,i.__assign)((0,i.__assign)({},l),{text:o,matrix:u}),n)})}},e.prototype.renderLine=function(t){var e=this.getLinePath(),n=this.get("line").style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:(0,i.__assign)({path:e},n)})},e.prototype.renderBackground=function(t){var e=this.getElementId("text"),n=t.findById(e),r=this.get("textBackground");if(r&&n){var a=n.getBBox(),o=(0,u.formatPadding)(r.padding),s=r.style;this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:(0,i.__assign)({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2],matrix:n.attr("matrix")},s)}).toBack()}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=r(n(58)),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:s.default.lineColor}}}})},e.prototype.getLineType=function(){return(this.get("line")||this.get("defaultCfg").line).type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,e){var n=this.getGridPath(t),r=e.slice(0).reverse(),i=this.getGridPath(r,!0);return this.get("closed")?n=n.concat(i):(i[0][0]="L",(n=n.concat(i)).push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var e=this,n=this.get("line"),r=this.get("items"),i=this.get("alternateColor"),o=null;(0,a.each)(r,function(s,l){var u=s.id||l;if(n){var c=e.getPathStyle();c=(0,a.isFunction)(c)?c(s,l,r):c;var f=e.getElementId("line-"+u),d=e.getGridPath(s.points);e.addShape(t,{type:"path",name:"grid-line",id:f,attrs:(0,a.mix)({path:d},c)})}if(i&&l>0){var p=e.getElementId("region-"+u),h=l%2==0;if((0,a.isString)(i))h&&e.drawAlternateRegion(p,t,o.points,s.points,i);else{var g=h?i[1]:i[0];e.drawAlternateRegion(p,t,o.points,s.points,g)}}o=s})},e.prototype.drawAlternateRegion=function(t,e,n,r,i){var a=this.getAlternatePath(n,r);this.addShape(e,{type:"path",id:t,name:"grid-region",attrs:{path:a,fill:i}})},e}(o.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=n(42),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var e=t.prototype.getLayoutBBox.call(this),n=this.get("maxWidth"),r=this.get("maxHeight"),i=e.width,a=e.height;return n&&(i=Math.min(i,n)),r&&(a=Math.min(a,r)),(0,o.createBBox)(e.minX,e.minY,i,a)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),e=this.get("y"),n=this.get("offsetX"),r=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:e+r})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var e=this.get("background"),n=t.getBBox(),r=(0,o.formatPadding)(e.padding),a=(0,i.__assign)({x:0,y:0,width:n.width+r[1]+r[3],height:n.height+r[0]+r[2]},e.style);this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:a}).toBack()},e.prototype.drawTitle=function(t){var e=this.get("currentPoint"),n=this.get("title"),r=n.spacing,a=n.style,o=n.text,s=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:(0,i.__assign)({text:o,x:e.x,y:e.y},a)}).getBBox();this.set("currentPoint",{x:e.x,y:s.maxY+r})},e.prototype.resetDraw=function(){var t=this.get("background"),e={x:0,y:0};if(t){var n=(0,o.formatPadding)(t.padding);e.x=n[3],e.y=n[0]}this.set("currentPoint",e)},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VALUE_CLASS=e.TITLE_CLASS=e.NAME_CLASS=e.MARKER_CLASS=e.LIST_ITEM_CLASS=e.LIST_CLASS=e.CROSSHAIR_Y=e.CROSSHAIR_X=e.CONTAINER_CLASS=void 0,e.CONTAINER_CLASS="g2-tooltip",e.TITLE_CLASS="g2-tooltip-title",e.LIST_CLASS="g2-tooltip-list",e.LIST_ITEM_CLASS="g2-tooltip-list-item",e.MARKER_CLASS="g2-tooltip-marker",e.VALUE_CLASS="g2-tooltip-value",e.NAME_CLASS="g2-tooltip-name",e.CROSSHAIR_X="g2-tooltip-crosshair-x",e.CROSSHAIR_Y="g2-tooltip-crosshair-y"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(143),o=n(144),s=n(0),l=n(51),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.onCanvasChange=function(t){o.refreshElement(this,t)},e.prototype.getShapeBase=function(){return a},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),o.applyAttrsToContext(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];s.each(t,function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))});var r=null;if(e.length){var i=s.min(e),a=s.max(e),o=s.min(n),u=s.max(n);r={minX:i,minY:o,x:i,y:o,maxX:a,maxY:u,width:a-i,height:u-o};var c=this.cfg.canvas;if(c){var f=c.getViewRange();this.set("isInView",l.intersectRect(r,f))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),o.applyAttrsToContext(t,this),this._applyClip(t,this.getClip()),o.drawChildren(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(i.AbstractGroup);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.refreshElement=e.drawChildren=void 0;var r=n(145),i=n(72);e.drawChildren=function(t,e){e.forEach(function(e){e.draw(t)})},e.refreshElement=function(t,e){var n=t.get("canvas");if(n&&n.get("autoDraw")){var a=n.get("context"),o=t.getParent(),s=o?o.getChildren():[n],l=t.get("el");if("remove"===e){if(t.get("isClipShape")){var u=l&&l.parentNode,c=u&&u.parentNode;u&&c&&c.removeChild(u)}else l&&l.parentNode&&l.parentNode.removeChild(l)}else if("show"===e)l.setAttribute("visibility","visible");else if("hide"===e)l.setAttribute("visibility","hidden");else if("zIndex"===e)i.moveTo(l,s.indexOf(t));else if("sort"===e){var f=t.get("children");f&&f.length&&i.sortDom(t,function(t,e){return f.indexOf(t)-f.indexOf(e)?1:0})}else"clear"===e?l&&(l.innerHTML=""):"matrix"===e?r.setTransform(t):"clip"===e?r.setClip(t,a):"attr"===e||"add"===e&&t.draw(a)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(0),o=n(184),s=n(261),l=n(145),u=n(52),c=n(72),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isEntityGroup=function(){return!0},e.prototype.createDom=function(){var t=c.createSVGElement("g");this.set("el",t);var e=this.getParent();if(e){var n=e.get("el");n||(n=e.createDom(),e.set("el",n)),n.appendChild(t)}return t},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e);var n=this.get("canvas");if(n&&n.get("autoDraw")){var r=n.get("context");this.createPath(r,e)}},e.prototype.onCanvasChange=function(t){s.refreshElement(this,t)},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return e},e.prototype.draw=function(t){var e=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),l.setClip(this,t),this.createPath(t),e.length&&s.drawChildren(t,e))},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");a.each(e||n,function(t,e){u.SVG_ATTR_MAP[e]&&r.setAttribute(u.SVG_ATTR_MAP[e],t)}),l.setTransform(this)},e}(i.AbstractGroup);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=e.visible;return n.visible=void 0===r||r,n}return(0,r.__extends)(e,t),e.prototype.show=function(){this.visible||this.changeVisible(!0)},e.prototype.hide=function(){this.visible&&this.changeVisible(!1)},e.prototype.destroy=function(){this.off(),this.destroyed=!0},e.prototype.changeVisible=function(t){this.visible!==t&&(this.visible=t)},e}((0,r.__importDefault)(n(126)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerFacet=e.getFacet=e.Facet=void 0;var r=n(0),i=n(105);Object.defineProperty(e,"Facet",{enumerable:!0,get:function(){return i.Facet}});var a={};e.getFacet=function(t){return a[(0,r.lowerCase)(t)]},e.registerFacet=function(t,e){a[(0,r.lowerCase)(t)]=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAxisTitleText=e.getAxisDirection=e.getAxisOption=e.getCircleAxisCenterRadius=e.getAxisTitleOptions=e.getAxisThemeCfg=e.getAxisFactorByRegion=e.isVertical=e.getAxisFactor=e.getAxisRegion=e.getCircleAxisRelativeRegion=e.getLineAxisRelativeRegion=void 0;var r=n(0),i=n(21),a=n(111),o=n(32);function s(t){var e,n;switch(t){case i.DIRECTION.TOP:e={x:0,y:1},n={x:1,y:1};break;case i.DIRECTION.RIGHT:e={x:1,y:0},n={x:1,y:1};break;case i.DIRECTION.BOTTOM:e={x:0,y:0},n={x:1,y:0};break;case i.DIRECTION.LEFT:e={x:0,y:0},n={x:0,y:1};break;default:e=n={x:0,y:0}}return{start:e,end:n}}function l(t){var e,n;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{start:e,end:n}}function u(t){var e=t.start,n=t.end;return e.x===n.x}e.getLineAxisRelativeRegion=s,e.getCircleAxisRelativeRegion=l,e.getAxisRegion=function(t,e){var n={start:{x:0,y:0},end:{x:0,y:0}};t.isRect?n=s(e):t.isPolar&&(n=l(t));var r=n.start,i=n.end;return{start:t.convert(r),end:t.convert(i)}},e.getAxisFactor=function(t,e){return t.isRect?t.isTransposed?[i.DIRECTION.RIGHT,i.DIRECTION.BOTTOM].includes(e)?1:-1:[i.DIRECTION.BOTTOM,i.DIRECTION.RIGHT].includes(e)?-1:1:t.isPolar&&t.x.start<0?-1:1},e.isVertical=u,e.getAxisFactorByRegion=function(t,e){var n=t.start,r=t.end;return u(t)?(n.y-r.y)*(e.x-n.x)>0?1:-1:(r.x-n.x)*(n.y-e.y)>0?-1:1},e.getAxisThemeCfg=function(t,e){var n=(0,r.get)(t,["components","axis"],{});return(0,r.deepMix)({},(0,r.get)(n,["common"],{}),(0,r.deepMix)({},(0,r.get)(n,[e],{})))},e.getAxisTitleOptions=function(t,e,n){var i=(0,r.get)(t,["components","axis"],{});return(0,r.deepMix)({},(0,r.get)(i,["common","title"],{}),(0,r.deepMix)({},(0,r.get)(i,[e,"title"],{})),n)},e.getCircleAxisCenterRadius=function(t){var e=t.x,n=t.y,r=t.circleCenter,i=n.start>n.end,a=t.isTransposed?t.convert({x:i?0:1,y:0}):t.convert({x:0,y:i?0:1}),s=[a.x-r.x,a.y-r.y],l=[1,0],u=a.y>r.y?o.vec2.angle(s,l):-1*o.vec2.angle(s,l),c=u+(e.end-e.start),f=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2));return{center:r,radius:f,startAngle:u,endAngle:c}},e.getAxisOption=function(t,e){return(0,r.isBoolean)(t)?!1!==t&&{}:(0,r.get)(t,[e])},e.getAxisDirection=function(t,e){return(0,r.get)(t,"position",e)},e.getAxisTitleText=function(t,e){return(0,r.get)(e,["title","text"],(0,a.getName)(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getActionClass=e.registerAction=e.Action=e.Interaction=e.createInteraction=e.registerInteraction=e.getInteraction=void 0;var r=n(1),i=n(0),a=(0,r.__importDefault)(n(936)),o={};function s(t){return o[(0,i.lowerCase)(t)]}e.getInteraction=s,e.registerInteraction=function(t,e){o[(0,i.lowerCase)(t)]=e},e.createInteraction=function(t,e,n){var r=s(t);if(!r)return null;if(!(0,i.isPlainObject)(r))return new r(e,n);var o=(0,i.mix)((0,i.clone)(r),n);return new a.default(e,o)};var l=n(445);Object.defineProperty(e,"Interaction",{enumerable:!0,get:function(){return(0,r.__importDefault)(l).default}});var u=n(185);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return u.Action}}),Object.defineProperty(e,"registerAction",{enumerable:!0,get:function(){return u.registerAction}}),Object.defineProperty(e,"getActionClass",{enumerable:!0,get:function(){return u.getActionClass}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePadding=e.isAutoPadding=void 0;var r=n(1),i=n(0);e.isAutoPadding=function(t){return!(0,i.isNumber)(t)&&!(0,i.isArray)(t)},e.parsePadding=function(t){void 0===t&&(t=0);var e=(0,i.isArray)(t)?t:[t];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=[,,,,].fill(e[0]);break;case 2:e=(0,r.__spreadArray)((0,r.__spreadArray)([],e,!0),e,!0);break;case 3:e=(0,r.__spreadArray)((0,r.__spreadArray)([],e,!0),[e[1]],!1);break;default:e=e.slice(0,4)}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(69),i=function(){function t(t,e,n){this.view=t,this.gEvent=e,this.data=n,this.type=e.type}return t.fromData=function(e,n,i){return new t(e,new r.Event(n,{}),i)},Object.defineProperty(t.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.clone=function(){return new t(this.view,this.gEvent,this.data)},t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(179),o=n(97),s=(0,r.__importDefault)(n(263)),l=n(46),u=n(21),c=n(270),f=function(t){function e(e){var n=t.call(this,e)||this;n.states=[];var r=e.shapeFactory,i=e.container,a=e.offscreenGroup,o=e.elementIndex,s=e.visible;return n.shapeFactory=r,n.container=i,n.offscreenGroup=a,n.visible=void 0===s||s,n.elementIndex=o,n}return(0,r.__extends)(e,t),e.prototype.draw=function(t,e){void 0===e&&(e=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,e),!1===this.visible&&this.changeVisible(!1)},e.prototype.update=function(t){var e=this.shapeFactory,n=this.shape;if(n){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(n,t);var r=this.getOffscreenGroup(),i=e.drawShape(this.shapeType,t,r);i.cfg.data=this.data,i.cfg.origin=t,i.cfg.element=this,this.syncShapeStyle(n,i,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var e=this.shapeFactory,n=this.shape;if(n){var i=this.getAnimateCfg("leave");i?(0,o.doAnimate)(n,i,{coordinate:e.coordinate,toAttrs:(0,r.__assign)({},n.attr())}):n.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=void 0,this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,t.prototype.destroy.call(this)},e.prototype.changeVisible=function(e){t.prototype.changeVisible.call(this,e),e?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(t){t.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(t){t.hide()}))},e.prototype.setState=function(t,e){var n=this.states,r=this.shapeFactory,i=this.model,o=this.shape,s=this.shapeType,l=n.indexOf(t);if(e){if(l>-1)return;n.push(t),("active"===t||"selected"===t)&&(null==o||o.toFront())}else{if(-1===l)return;n.splice(l,1),("active"===t||"selected"===t)&&(this.geometry.zIndexReversed?o.setZIndex(this.geometry.elements.length-this.elementIndex):o.setZIndex(this.elementIndex))}var u=r.drawShape(s,i,this.getOffscreenGroup());n.length?this.syncShapeStyle(o,u,n,null):this.syncShapeStyle(o,u,["reset"],null),u.remove(!0);var c={state:t,stateStatus:e,element:this,target:this.container};this.container.emit("statechange",c),(0,a.propagationDelegate)(this.shape,"statechange",c)},e.prototype.clearStates=function(){var t=this,e=this.states;(0,i.each)(e,function(e){t.setState(e,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this.shape,e=this.labelShape,n={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return t&&(n=t.getCanvasBBox()),e&&e.forEach(function(t){var e=t.getCanvasBBox();n.x=Math.min(e.x,n.x),n.y=Math.min(e.y,n.y),n.minX=Math.min(e.minX,n.minX),n.minY=Math.min(e.minY,n.minY),n.maxX=Math.max(e.maxX,n.maxX),n.maxY=Math.max(e.maxY,n.maxY)}),n.width=n.maxX-n.minX,n.height=n.maxY-n.minY,n},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this.shapeType,e=this.geometry,n=this.shapeFactory,r=e.stateOption,a=n.defaultShapeType,o=n.theme[t]||n.theme[a];this.statesStyle=(0,i.deepMix)({},o,r)}return this.statesStyle},e.prototype.getStateStyle=function(t,e){var n=this.getStatesStyle(),r=(0,i.get)(n,[t,"style"],{}),a=r[e]||r;return(0,i.isFunction)(a)?a(this):a},e.prototype.getAnimateCfg=function(t){var e=this,n=this.animate;if(n){var a=n[t];return a?(0,r.__assign)((0,r.__assign)({},a),{callback:function(){var t;(0,i.isFunction)(a.callback)&&a.callback(),null===(t=e.geometry)||void 0===t||t.emit(u.GEOMETRY_LIFE_CIRCLE.AFTER_DRAW_ANIMATE)}}):a}return null},e.prototype.drawShape=function(t,e){void 0===e&&(e=!1);var n,a=this.shapeFactory,s=this.container,l=this.shapeType;if(this.shape=a.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var c=this.shape.cfg.name;c?(0,i.isString)(c)&&(this.shape.cfg.name=["element",c]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var f=e?"enter":"appear",d=this.getAnimateCfg(f);d&&(null===(n=this.geometry)||void 0===n||n.emit(u.GEOMETRY_LIFE_CIRCLE.BEFORE_DRAW_ANIMATE),(0,o.doAnimate)(this.shape,d,{coordinate:a.coordinate,toAttrs:(0,r.__assign)({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,e){var n=this;t.cfg.origin=e,t.cfg.element=this,t.isGroup()&&t.get("children").forEach(function(t){n.setShapeInfo(t,e)})},e.prototype.syncShapeStyle=function(t,e,n,r,a){var s,f=this;if(void 0===n&&(n=[]),void 0===a&&(a=0),t&&e){var d=t.get("clipShape"),p=e.get("clipShape");if(this.syncShapeStyle(d,p,n,r),t.isGroup())for(var h=t.get("children"),g=e.get("children"),v=0;v1){o.sort();var y=function(t,e){var n=t.length,i=t;(0,r.isString)(i[0])&&(i=t.map(function(t){return e.translate(t)}));for(var a=i[1]-i[0],o=2;os&&(a=s)}return a}(o,a);l=(a.max-a.min)/y,o.length>l&&(l=o.length)}var m=a.range,b=1/l,x=1;if(n.isPolar?x=n.isTransposed&&l>1?g:v:(a.isLinear&&(b*=m[1]-m[0]),x=h),!(0,r.isNil)(c)&&c>=0?b=(1-(l-1)*(c/u))/l:b*=x,t.getAdjust("dodge")){var _=function(t,e){if(e){var n=(0,r.flatten)(t);return(0,r.valuesOfKey)(n,e).length}return t.length}(s,t.getAdjust("dodge").dodgeBy);!(0,r.isNil)(f)&&f>=0?b=(b-f/u*(_-1))/_:(!(0,r.isNil)(c)&&c>=0&&(b*=x),b/=_),b=b>=0?b:0}if(!(0,r.isNil)(d)&&d>=0){var O=d/u;b>O&&(b=O)}if(!(0,r.isNil)(p)&&p>=0){var P=p/u;b1){for(var f=n.addGroup(),d=0;de.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _(t){var e=t.parentInstance,n=t.content,r=x(t,["parentInstance","content"]);return b()(!1,"Label组件即将被取消,请使用图形组件的label属性进行配置"),e.label(!1),e.label(n,r),i.a.createElement(i.a.Fragment,null)}Object(y.registerGeometryLabel)("base",o.a),Object(y.registerGeometryLabel)("interval",l.a),Object(y.registerGeometryLabel)("pie",c.a),Object(y.registerGeometryLabel)("polar",d.a),Object(y.registerGeometryLabelLayout)("overlap",v.overlap),Object(y.registerGeometryLabelLayout)("distribute",p.distribute),Object(y.registerGeometryLabelLayout)("fixed-overlap",v.fixedOverlap),Object(y.registerGeometryLabelLayout)("limit-in-shape",g.limitInShape),Object(y.registerGeometryLabelLayout)("limit-in-canvas",h.limitInCanvas)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBetween=e.isRealNumber=void 0,e.isRealNumber=function(t){return"number"==typeof t&&!isNaN(t)},e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processIllegalData=e.transformDataToNodeLinkData=e.adjustYMetaByZero=void 0;var r=n(1),i=n(0),a=n(500),o=n(499);e.adjustYMetaByZero=function(t,e){var n=t.filter(function(t){var n=i.get(t,[e]);return i.isNumber(n)&&!isNaN(n)}),r=n.every(function(t){return i.get(t,[e])>=0}),a=n.every(function(t){return 0>=i.get(t,[e])});return r?{min:0}:a?{max:0}:{}},e.transformDataToNodeLinkData=function(t,e,n,i,a){if(void 0===a&&(a=[]),!Array.isArray(t))return{nodes:[],links:[]};var s=[],l={},u=-1;return t.forEach(function(t){var c=t[e],f=t[n],d=t[i],p=o.pick(t,a);l[c]||(l[c]=r.__assign({id:++u,name:c},p)),l[f]||(l[f]=r.__assign({id:++u,name:f},p)),s.push(r.__assign({source:l[c].id,target:l[f].id,value:d},p))}),{nodes:Object.values(l).sort(function(t,e){return t.id-e.id}),links:s}},e.processIllegalData=function(t,e){var n=i.filter(t,function(t){var n=t[e];return null===n||"number"==typeof n&&!isNaN(n)});return a.log(a.LEVEL.WARN,n.length===t.length,"illegal data existed in chart data."),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveAllPadding=e.getAdjustAppendPadding=e.normalPadding=void 0;var r=n(0);function i(t){if(r.isNumber(t))return[t,t,t,t];if(r.isArray(t)){var e=t.length;if(1===e)return[t[0],t[0],t[0],t[0]];if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];if(4===e)return t}return[0,0,0,0]}e.normalPadding=i,e.getAdjustAppendPadding=function(t,e,n){void 0===e&&(e="bottom"),void 0===n&&(n=25);var r=i(t),a=[e.startsWith("top")?n:0,e.startsWith("right")?n:0,e.startsWith("bottom")?n:0,e.startsWith("left")?n:0];return[r[0]+a[0],r[1]+a[1],r[2]+a[2],r[3]+a[3]]},e.resolveAllPadding=function(t){var e=t.map(function(t){return i(t)}),n=[0,0,0,0];return e.length>0&&(n=n.map(function(t,n){return e.forEach(function(r,i){t+=e[i][n]}),t})),n}},function(t,e,n){"use strict";var r=n(2)(n(6));function i(){return("undefined"==typeof window?"undefined":(0,r.default)(window))==="object"?null==window?void 0:window.devicePixelRatio:2}Object.defineProperty(e,"__esModule",{value:!0}),e.transformMatrix=e.getSymbolsPosition=e.getUnitPatternSize=e.drawBackground=e.initCanvas=e.getPixelRatio=void 0,e.getPixelRatio=i,e.initCanvas=function(t,e){void 0===e&&(e=t);var n=document.createElement("canvas"),r=i();return n.width=t*r,n.height=e*r,n.style.width=t+"px",n.style.height=e+"px",n.getContext("2d").scale(r,r),n},e.drawBackground=function(t,e,n,r){void 0===r&&(r=n);var i=e.backgroundColor,a=e.opacity;t.globalAlpha=a,t.fillStyle=i,t.beginPath(),t.fillRect(0,0,n,r),t.closePath()},e.getUnitPatternSize=function(t,e,n){var r=t+e;return n?2*r:r},e.getSymbolsPosition=function(t,e){return e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]]},e.transformMatrix=function(t,e){var n=e*Math.PI/180;return{a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProgressData=void 0;var r=n(0),i=n(291);e.getProgressData=function(t){var e=r.clamp(i.isRealNumber(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(34),i=n(15),a=n(43),o=n(154),s=n(118),l=n(292);function u(t){var e=t.chart,n=t.options,r=n.data,l=n.color,u=n.areaStyle,c=n.point,f=n.line,d=null==c?void 0:c.state,p=s.getTinyData(r);e.data(p);var h=i.deepAssign({},t,{options:{xField:o.X_FIELD,yField:o.Y_FIELD,area:{color:l,style:u},line:f,point:c}}),g=i.deepAssign({},h,{options:{tooltip:!1}}),v=i.deepAssign({},h,{options:{tooltip:!1,state:d}});return a.area(h),a.line(g),a.point(v),e.axis(!1),e.legend(!1),t}function c(t){var e,n,a=t.options,u=a.xAxis,c=a.yAxis,f=a.data,d=s.getTinyData(f);return i.flow(r.scale(((e={})[o.X_FIELD]=u,e[o.Y_FIELD]=c,e),((n={})[o.X_FIELD]={type:"cat"},n[o.Y_FIELD]=l.adjustYMetaByZero(d,o.Y_FIELD),n)))(t)}e.meta=c,e.adaptor=function(t){return i.flow(r.pattern("areaStyle"),u,c,r.tooltip,r.theme,r.animation,r.annotation())(t)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Node=P,e.computeHeight=O,e.default=m;var i=r(n(229)),a=r(n(1093)),o=r(n(1094)),s=r(n(1095)),l=r(n(1096)),u=r(n(1097)),c=r(n(1098)),f=r(n(1099)),d=r(n(1100)),p=r(n(1101)),h=r(n(1102)),g=r(n(1103)),v=r(n(1104)),y=r(n(1105));function m(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=x)):void 0===e&&(e=b);for(var n,r,i,a,o,s=new P(t),l=[s];n=l.pop();)if((i=e(n.data))&&(o=(i=Array.from(i)).length))for(n.children=i,a=o-1;a>=0;--a)l.push(r=i[a]=new P(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(O)}function b(t){return t.children}function x(t){return Array.isArray(t)?t[1]:null}function _(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function O(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function P(t){this.data=t,this.depth=this.height=0,this.parent=null}P.prototype=m.prototype=(0,i.default)({constructor:P,count:a.default,each:o.default,eachAfter:l.default,eachBefore:s.default,find:u.default,sum:c.default,sort:f.default,path:d.default,ancestors:p.default,descendants:h.default,leaves:g.default,links:v.default,copy:function(){return m(this).eachBefore(_)}},Symbol.iterator,y.default)},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw Error();return t}Object.defineProperty(e,"__esModule",{value:!0}),e.optional=function(t){return null==t?null:r(t)},e.required=r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.phi=e.default=void 0,e.squarifyRatio=s;var i=r(n(155)),a=r(n(194)),o=(1+Math.sqrt(5))/2;function s(t,e,n,r,o,s){for(var l,u,c,f,d,p,h,g,v,y,m,b=[],x=e.children,_=0,O=0,P=x.length,M=e.value;_h&&(h=u),(g=Math.max(h/(m=d*d*y),m/p))>v){d-=u;break}v=g}b.push(l={value:d,dice:c1?e:1)},n}(o);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagComponent=e.transformData=void 0;var r=n(1),i=n(0),a=n(120);e.transformData=function(t,e,n){var r=n.yField,o=n.maxSize,s=n.minSize,l=i.get(i.maxBy(e,r),[r]),u=i.isNumber(o)?o:1,c=i.isNumber(s)?s:0;return i.map(t,function(e,n){var o=(e[r]||0)/l;return e[a.FUNNEL_PERCENT]=o,e[a.FUNNEL_MAPPING_VALUE]=(u-c)*o+c,e[a.FUNNEL_CONVERSATION]=[i.get(t,[n-1,r]),e[r]],e})},e.conversionTagComponent=function(t){return function(e){var n=e.chart,o=e.options.conversionTag,s=n.getOptions().data;if(o){var l=o.formatter;s.forEach(function(e,u){if(!(u<=0||Number.isNaN(e[a.FUNNEL_MAPPING_VALUE]))){var c=t(e,u,s,{top:!0,text:{content:i.isFunction(l)?l(e,s):l,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:r.__assign({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(c)}})}return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.IS_TOTAL=e.ABSOLUTE_FIELD=e.DIFF_FIELD=e.Y_FIELD=void 0,e.Y_FIELD="$$yField$$",e.DIFF_FIELD="$$diffField$$",e.ABSOLUTE_FIELD="$$absoluteField$$",e.IS_TOTAL="$$isTotal$$",e.DEFAULT_OPTIONS={label:{},leaderLine:{style:{lineWidth:1,stroke:"#8c8c8c",lineDash:[4,2]}},total:{style:{fill:"rgba(0, 0, 0, 0.25)"}},interactions:[{type:"element-active"}],risingFill:"#f4664a",fallingFill:"#30bf78",waterfallStyle:{fill:"rgba(0, 0, 0, 0.25)"},yAxis:{grid:{line:{style:{lineDash:[4,2]}}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBetween=function(t,e,n){var r=Math.min(e,n),i=Math.max(e,n);return t>=r&&t<=i},e.isRealNumber=function(t){return"number"==typeof t&&!isNaN(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(u,c,g,a.theme,f,d,p,a.tooltip,h,a.slider,a.interaction,a.animation,(0,a.annotation)(),a.limitInPlot)(t)},e.adjust=g,e.axis=d,e.legend=p,e.meta=c;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(197);function u(t){var e=t.chart,n=t.options,i=n.data,a=n.color,l=n.lineStyle,u=n.lineShape,c=n.point,f=n.area,d=n.seriesField,p=null==c?void 0:c.state;e.data(i);var h=(0,o.deepAssign)({},t,{options:{shapeField:d,line:{color:a,style:l,shape:u},point:c&&(0,r.__assign)({color:a,shape:"circle"},c),area:f&&(0,r.__assign)({color:a},f),label:void 0}}),g=(0,o.deepAssign)({},h,{options:{tooltip:!1,state:p}}),v=(0,o.deepAssign)({},h,{options:{tooltip:!1,state:p}});return(0,s.line)(h),(0,s.point)(g),(0,s.area)(v),t}function c(t){var e,n,r=t.options,i=r.xAxis,s=r.yAxis,u=r.xField,c=r.yField,f=r.data;return(0,o.flow)((0,a.scale)(((e={})[u]=i,e[c]=s,e),((n={})[u]={type:"cat"},n[c]=(0,l.adjustYMetaByZero)(f,c),n)))(t)}function f(t){var e=t.chart,n=t.options.reflect;if(n){var r=n;(0,i.isArray)(r)||(r=[r]);var a=r.map(function(t){return["reflect",t]});e.coordinate({type:"rect",actions:a})}return t}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return r&&i?e.legend(i,r):!1===r&&e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"line");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,o.transformLabel)(u))})}else s.label(!1);return t}function g(t){var e=t.chart;return t.options.isStack&&(0,i.each)(e.geometries,function(t){t.adjust("stack")}),t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.drawBackground=function(t,e,n,r){void 0===r&&(r=n);var i=e.backgroundColor,a=e.opacity;t.globalAlpha=a,t.fillStyle=i,t.beginPath(),t.fillRect(0,0,n,r),t.closePath()},e.getPixelRatio=a,e.getSymbolsPosition=function(t,e){return e?[[t*(1/4),t*(1/4)],[t*(3/4),t*(3/4)]]:[[.5*t,.5*t]]},e.getUnitPatternSize=function(t,e,n){var r=t+e;return n?2*r:r},e.initCanvas=function(t,e){void 0===e&&(e=t);var n=document.createElement("canvas"),r=a();return n.width=t*r,n.height=e*r,n.style.width=t+"px",n.style.height=e+"px",n.getContext("2d").scale(r,r),n},e.transformMatrix=function(t,e){var n=e*Math.PI/180;return{a:Math.cos(n)*(1/t),b:Math.sin(n)*(1/t),c:-Math.sin(n)*(1/t),d:Math.cos(n)*(1/t),e:0,f:0}};var i=r(n(6));function a(){return("undefined"==typeof window?"undefined":(0,i.default)(window))==="object"?null==window?void 0:window.devicePixelRatio:2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getGeometryOption=function(t,e,n){return l(n)?(0,a.deepAssign)({},{geometry:o.DualAxesGeometry.Column,label:n.label&&n.isRange?{content:function(t){var n;return null===(n=t[e])||void 0===n?void 0:n.join("-")}}:void 0},n):(0,r.__assign)({geometry:o.DualAxesGeometry.Line},n)},e.getYAxisWithDefault=function(t,e){return e===o.AxisType.Left?!1!==t&&(0,a.deepAssign)({},s.DEFAULT_LEFT_YAXIS_CONFIG,t):e===o.AxisType.Right?!1!==t&&(0,a.deepAssign)({},s.DEFAULT_RIGHT_YAXIS_CONFIG,t):t},e.isColumn=l,e.isLine=function(t){return(0,i.get)(t,"geometry")===o.DualAxesGeometry.Line},e.transformObjectToArray=function(t,e){var n=t[0],r=t[1];return(0,i.isArray)(e)?[e[0],e[1]]:[(0,i.get)(e,n),(0,i.get)(e,r)]};var r=n(1),i=n(0),a=n(7),o=n(567),s=n(568);function l(t){return(0,i.get)(t,"geometry")===o.DualAxesGeometry.Column}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,i.flow)(u,(0,a.scale)({}),c,a.animation,a.theme,(0,a.annotation)())(t)},e.geometry=u;var r=n(0),i=n(7),a=n(22),o=n(30),s=n(579),l=n(307);function u(t){var e=t.chart,n=t.options,a=n.percent,u=n.progressStyle,c=n.color,f=n.barWidthRatio;e.data((0,l.getProgressData)(a));var d=(0,i.deepAssign)({},t,{options:{xField:"1",yField:"percent",seriesField:"type",isStack:!0,widthRatio:f,interval:{style:u,color:(0,r.isString)(c)?[c,s.DEFAULT_COLOR[1]]:c},args:{zIndexReversed:!0}}});return(0,o.interval)(d),e.tooltip(!1),e.axis(!1),e.legend(!1),t}function c(t){return t.chart.coordinate("rect").transpose(),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProgressData=function(t){var e=(0,r.clamp)((0,i.isRealNumber)(t)?t:0,0,1);return[{type:"current",percent:e},{type:"target",percent:1-e}]};var r=n(0),i=n(302)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OUTLIERS_VIEW_ID=e.DEFAULT_OPTIONS=e.BOX_SYNC_NAME=e.BOX_RANGE_ALIAS=e.BOX_RANGE=void 0;var r,i=n(19),a=n(7),o="$$range$$";e.BOX_RANGE=o;var s="low-q1-median-q3-high";e.BOX_RANGE_ALIAS=s,e.BOX_SYNC_NAME="$$y_outliers$$",e.OUTLIERS_VIEW_ID="outliers_view";var l=(0,a.deepAssign)({},i.Plot.getDefaultOptions(),{meta:((r={})[o]={min:0,alias:s},r),interactions:[{type:"active-region"}],tooltip:{showMarkers:!1,shared:!0},boxStyle:{lineWidth:1}});e.DEFAULT_OPTIONS=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.placeElementsOrdered=function(t){t&&t.geometries[0].elements.forEach(function(t){t.shape.toFront()})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Y_FIELD=e.TREND_UP=e.TREND_FIELD=e.TREND_DOWN=e.DEFAULT_TOOLTIP_OPTIONS=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.Y_FIELD="$$stock-range$$",e.TREND_FIELD="trend",e.TREND_UP="up",e.TREND_DOWN="down";var a={showMarkers:!1,showCrosshairs:!0,shared:!0,crosshairs:{type:"xy",follow:!0,text:function(t,e,n){var r;if("x"===t){var i=n[0];r=i?i.title:e}else r=e;return{position:"y"===t?"start":"end",content:r,style:{fill:"#dfdfdf"}}},textBackground:{padding:[2,4],style:{fill:"#666"}}}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{tooltip:a,interactions:[{type:"tooltip"}],legend:{position:"top-left"},risingFill:"#ef5350",fallingFill:"#26a69a"});e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagComponent=function(t){return function(e){var n=e.chart,o=e.options.conversionTag,s=n.getOptions().data;if(o){var l=o.formatter;s.forEach(function(e,u){if(!(u<=0||Number.isNaN(e[a.FUNNEL_MAPPING_VALUE]))){var c=t(e,u,s,{top:!0,text:{content:(0,i.isFunction)(l)?l(e,s):l,offsetX:o.offsetX,offsetY:o.offsetY,position:"end",autoRotate:!1,style:(0,r.__assign)({textAlign:"start",textBaseline:"middle"},o.style)}});n.annotation().line(c)}})}return e}},e.transformData=function(t,e,n){var r=n.yField,o=n.maxSize,s=n.minSize,l=(0,i.get)((0,i.maxBy)(e,r),[r]),u=(0,i.isNumber)(o)?o:1,c=(0,i.isNumber)(s)?s:0;return(0,i.map)(t,function(e,n){var o=(e[r]||0)/l;return e[a.FUNNEL_PERCENT]=o,e[a.FUNNEL_MAPPING_VALUE]=(u-c)*o+c,e[a.FUNNEL_CONVERSATION]=[(0,i.get)(t,[n-1,r]),e[r]],e})};var r=n(1),i=n(0),a=n(125)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SUNBURST_Y_FIELD=e.SUNBURST_PATH_FIELD=e.SUNBURST_ANCESTOR_FIELD=e.RAW_FIELDS=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7),a=n(157);e.SUNBURST_ANCESTOR_FIELD="ancestor-node",e.SUNBURST_Y_FIELD="value";var o="path";e.SUNBURST_PATH_FIELD=o;var s=[o,a.NODE_INDEX_FIELD,a.NODE_ANCESTORS_FIELD,a.CHILD_NODE_COUNT,"name","depth","height"];e.RAW_FIELDS=s;var l=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}});e.DEFAULT_OPTIONS=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isParentNode=o;var r=n(14),i=n(0),a=n(201);function o(t){var e=(0,i.get)(t,["event","data","data"],{});return(0,i.isArray)(e.children)&&e.children.length>0}function s(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var r=t.event,i=r.x,a=r.y,o=e.center;return Math.sqrt(Math.pow(o.x-i,2)+Math.pow(o.y-a,2))=n){var i=r.parsePosition([t[s],t[o.field]]);i&&f.push(i)}if(t[s]===c)return!1}),f},e.prototype.parsePercentPosition=function(t){var e=parseFloat(t[0])/100,n=parseFloat(t[1])/100,r=this.view.getCoordinate(),i=r.start,a=r.end,o={x:Math.min(i.x,a.x),y:Math.min(i.y,a.y)};return{x:r.getWidth()*e+o.x,y:r.getHeight()*n+o.y}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),e=t.start,n=t.end,r=t.getWidth(),i=t.getHeight(),a={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y)};return{x:a.x,y:a.y,minX:a.x,minY:a.y,maxX:a.x+r,maxY:a.y+i,width:r,height:i}},e.prototype.getAnnotationCfg=function(t,e,n){var a=this,s=this.view.getCoordinate(),u=this.view.getCanvas(),c={};if((0,i.isNil)(e))return null;if("arc"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]),h=this.parsePosition(f),g=this.parsePosition(d),v=(0,l.getAngleByPoint)(s,h),y=(0,l.getAngleByPoint)(s,g);v>y&&(y=2*Math.PI+y),c=(0,r.__assign)((0,r.__assign)({},p),{center:s.getCenter(),radius:(0,l.getDistanceToCenter)(s,h),startAngle:v,endAngle:y})}else if("image"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d),src:e.src})}else if("line"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d),text:(0,i.get)(e,"text",null)})}else if("region"===t){var f=e.start,d=e.end,p=(0,r.__rest)(e,["start","end"]);c=(0,r.__assign)((0,r.__assign)({},p),{start:this.parsePosition(f),end:this.parsePosition(d)})}else if("text"===t){var m=this.view.getData(),b=e.position,x=e.content,p=(0,r.__rest)(e,["position","content"]),_=x;(0,i.isFunction)(x)&&(_=x(m)),c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},this.parsePosition(b)),p),{content:_})}else if("dataMarker"===t){var b=e.position,O=e.point,P=e.line,M=e.text,A=e.autoAdjust,S=e.direction,p=(0,r.__rest)(e,["position","point","line","text","autoAdjust","direction"]);c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},p),this.parsePosition(b)),{coordinateBBox:this.getCoordinateBBox(),point:O,line:P,text:M,autoAdjust:A,direction:S})}else if("dataRegion"===t){var f=e.start,d=e.end,w=e.region,M=e.text,E=e.lineLength,p=(0,r.__rest)(e,["start","end","region","text","lineLength"]);c=(0,r.__assign)((0,r.__assign)({},p),{points:this.getRegionPoints(f,d),region:w,text:M,lineLength:E})}else if("regionFilter"===t){var f=e.start,d=e.end,C=e.apply,T=e.color,p=(0,r.__rest)(e,["start","end","apply","color"]),I=this.view.geometries,j=[],F=function t(e){e&&(e.isGroup()?e.getChildren().forEach(function(e){return t(e)}):j.push(e))};(0,i.each)(I,function(t){C?(0,i.contains)(C,t.type)&&(0,i.each)(t.elements,function(t){F(t.shape)}):(0,i.each)(t.elements,function(t){F(t.shape)})}),c=(0,r.__assign)((0,r.__assign)({},p),{color:T,shapes:j,start:this.parsePosition(f),end:this.parsePosition(d)})}else if("shape"===t){var L=e.render,D=(0,r.__rest)(e,["render"]);c=(0,r.__assign)((0,r.__assign)({},D),{render:function(t){if((0,i.isFunction)(e.render))return L(t,a.view,{parsePosition:a.parsePosition.bind(a)})}})}else if("html"===t){var k=e.html,b=e.position,D=(0,r.__rest)(e,["html","position"]);c=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},D),this.parsePosition(b)),{parent:u.get("el").parentNode,html:function(t){return(0,i.isFunction)(k)?k(t,a.view):k}})}var R=(0,i.deepMix)({},n,(0,r.__assign)((0,r.__assign)({},c),{top:e.top,style:e.style,offsetX:e.offsetX,offsetY:e.offsetY}));return"html"!==t&&(R.container=this.getComponentContainer(R)),R.animate=this.view.getOptions().animate&&R.animate&&(0,i.get)(e,"animate",R.animate),R.animateOption=(0,i.deepMix)({},o.DEFAULT_ANIMATE_CFG,R.animateOption,e.animateOption),R},e.prototype.isTop=function(t){return(0,i.get)(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return(0,i.get)(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var e=this.cache.get(this.getCacheKey(t));if(e){var n=t.type,r=this.getAnnotationTheme(n),a=this.getAnnotationCfg(n,t,r);(0,u.omit)(a,["container"]),e.component.update(a),(0,i.includes)(d,t.type)&&e.component.render()}else(e=this.createAnnotation(t))&&(e.component.init(),(0,i.includes)(d,t.type)&&e.component.render());return e},e.prototype.syncCache=function(t){var e=this,n=new Map(this.cache);return t.forEach(function(t,e){n.set(e,t)}),n.forEach(function(t,r){(0,i.find)(e.option,function(t){return r===e.getCacheKey(t)})||(t.component.destroy(),n.delete(r))}),n},e.prototype.getCacheKey=function(t){return t},e}(f.Controller);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.positionUpdate=void 0,e.positionUpdate=function(t,e,n){var r=n.toAttrs,i=r.x,a=r.y;delete r.x,delete r.y,t.attr(r),t.animate({x:i,y:a},e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sectorPathUpdate=void 0;var r=n(1),i=n(205),a=n(0),o=n(46);function s(t,e){var n,r=(0,i.getArcParams)(t,e),o=r.startAngle,s=r.endAngle;return!(0,a.isNumberEqual)(o,-(.5*Math.PI))&&o<-(.5*Math.PI)&&(o+=2*Math.PI),!(0,a.isNumberEqual)(s,-(.5*Math.PI))&&s<-(.5*Math.PI)&&(s+=2*Math.PI),0===e[5]&&(o=(n=[s,o])[0],s=n[1]),(0,a.isNumberEqual)(o,1.5*Math.PI)&&(o=-.5*Math.PI),(0,a.isNumberEqual)(s,-.5*Math.PI)&&(s=1.5*Math.PI),{startAngle:o,endAngle:s}}function l(t){var e;return"M"===t[0]||"L"===t[0]?e=[t[1],t[2]]:("a"===t[0]||"A"===t[0]||"C"===t[0])&&(e=[t[t.length-2],t[t.length-1]]),e}function u(t){var e,n,r,i=t.filter(function(t){return"A"===t[0]||"a"===t[0]});if(0===i.length)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var o=i[0],u=i.length>1?i[1]:i[0],c=t.indexOf(o),f=t.indexOf(u),d=l(t[c-1]),p=l(t[f-1]),h=s(d,o),g=h.startAngle,v=h.endAngle,y=s(p,u),m=y.startAngle,b=y.endAngle;(0,a.isNumberEqual)(g,m)&&(0,a.isNumberEqual)(v,b)?(n=g,r=v):(n=Math.min(g,m),r=Math.max(v,b));var x=o[1],_=i[i.length-1][1];return x<_?(x=(e=[_,x])[0],_=e[1]):x===_&&(_=0),{startAngle:n,endAngle:r,radius:x,innerRadius:_}}e.sectorPathUpdate=function(t,e,n){var i=n.toAttrs,s=n.coordinate,l=i.path||[],c=l.map(function(t){return t[0]});if(!(l.length<1)){var f=u(l),d=f.startAngle,p=f.endAngle,h=f.radius,g=f.innerRadius,v=u(t.attr("path")),y=v.startAngle,m=v.endAngle,b=s.getCenter(),x=d-y,_=p-m;if(0===x&&0===_){t.attr("path",l);return}t.animate(function(t){var e=y+t*x,n=m+t*_;return(0,r.__assign)((0,r.__assign)({},i),{path:(0,a.isEqual)(c,["M","A","A","Z"])?(0,o.getArcPath)(b.x,b.y,h,e,n):(0,o.getSectorPath)(b.x,b.y,h,e,n,g)})},(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t.attr("path",l)}}))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waveIn=void 0;var r=n(1),i=n(48);e.waveIn=function(t,e,n){var a=(0,i.getCoordinateClipCfg)(n.coordinate,20),o=a.type,s=a.startState,l=a.endState,u=t.setClip({type:o,attrs:s});u.animate(l,(0,r.__assign)((0,r.__assign)({},e),{callback:function(){t&&!t.get("destroyed")&&t.set("clipShape",null),u.remove(!0)}}))}},function(t,e,n){"use strict";n.r(e);var r=n(14);for(var i in r)0>["default"].indexOf(i)&&function(t){n.d(e,t,function(){return r[t]})}(i)},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0});var a={version:!0,Shape:!0,Canvas:!0,Group:!0};Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return u.default}}),e.version=e.Shape=void 0;var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190));e.Shape=o;var s=n(26);Object.keys(s).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(a,t))&&(t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))});var l=r(n(980)),u=r(n(275));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}e.version="0.5.6"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(21),a=(0,r.__importDefault)(n(158));n(278);var o=function(t){function e(e){var n=t.call(this,e)||this;n.type="area",n.shapeType="area",n.generatePoints=!0,n.startOnZero=!0;var r=e.startOnZero,i=e.sortable,a=e.showSinglePoint;return n.startOnZero=void 0===r||r,n.sortable=void 0!==i&&i,n.showSinglePoint=void 0!==a&&a,n}return(0,r.__extends)(e,t),e.prototype.getPointsAndData=function(t){for(var e=[],n=[],r=0,a=t.length;rr&&(r=i),i=e[0]}));for(var d=this.scales[c],p=0,h=t;p0&&!(0,i.get)(n,[r,"min"])&&e.change({min:0}),o<=0&&!(0,i.get)(n,[r,"max"])&&e.change({max:0}))}},e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.background=this.background,n},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(158));n(276);var a=function(t){function e(e){var n=t.call(this,e)||this;n.type="line";var r=e.sortable;return n.sortable=void 0!==r&&r,n}return(0,r.__extends)(e,t),e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(91));n(988);var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="point",e.shapeType="point",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return(0,r.__assign)((0,r.__assign)({},n),{isStack:!!this.getAdjust("stack")})},e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(91));n(462);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.shapeType="polygon",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),a=r.x,o=r.y;if(!((0,i.isArray)(a)&&(0,i.isArray)(o))){var s=this.getXScale(),l=this.getYScale(),u=s.values.length,c=l.values.length,f=.5/u,d=.5/c;s.isCategory&&l.isCategory?(a=[a-f,a-f,a+f,a+f],o=[o-d,o+d,o+d,o-d]):(0,i.isArray)(a)?(a=[(n=a)[0],n[0],n[1],n[1]],o=[o-d/2,o+d/2,o+d/2,o-d/2]):(0,i.isArray)(o)&&(o=[(n=o)[0],n[1],n[1],n[0]],a=[a-f/2,a-f/2,a+f/2,a+f/2]),r.x=a,r.y=o}return r},e}(a.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(48),a=(0,r.__importDefault)(n(91));n(463);var o=n(279),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="schema",e.shapeType="schema",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),a=this.getAttribute("size");if(a){n=this.getAttributeValues(a,e)[0];var s=this.coordinate;n/=(0,i.getXDimensionLength)(s)}else this.defaultSize||(this.defaultSize=(0,o.getDefaultSize)(this)),n=this.defaultSize;return r.size=n,r},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.distribute=void 0;var r=n(0),i=n(46);e.distribute=function(t,e,n,a){if(t.length&&e.length){var o=t[0]?t[0].offset:0,s=e[0].get("coordinate"),l=s.getRadius(),u=s.getCenter();if(o>0){var c=2*(l+o)+28,f={start:s.start,end:s.end},d=[[],[]];t.forEach(function(t){t&&("right"===t.textAlign?d[0].push(t):d[1].push(t))}),d.forEach(function(t,n){var i=c/14;t.length>i&&(t.sort(function(t,e){return e["..percent"]-t["..percent"]}),t.splice(i,t.length-i)),t.sort(function(t,e){return t.y-e.y}),function(t,e,n,i,a,o){var s,l=!0,u=i.start,c=i.end,f=Math.min(u.y,c.y),d=Math.abs(u.y-c.y),p=0,h=Number.MIN_VALUE,g=e.map(function(t){return t.y>p&&(p=t.y),t.yd&&(d=p-f);l;)for(g.forEach(function(t){var e=(Math.min.apply(h,t.targets)+Math.max.apply(h,t.targets))/2;t.pos=Math.min(Math.max(h,e-t.size/2),d-t.size)}),l=!1,s=g.length;s--;)if(s>0){var v=g[s-1],y=g[s];v.pos+v.size>y.pos&&(v.size+=y.size,v.targets=v.targets.concat(y.targets),v.pos+v.size>d&&(v.pos=d-v.size),g.splice(s,1),l=!0)}s=0,g.forEach(function(t){var r=f+n/2;t.targets.forEach(function(){e[s].y=t.pos+r,r+=n,s++})});for(var m={},b=0;br?v=r-h:c>r&&(v-=c-r),u>o?y=o-g:f>o&&(y-=f-o),(v!==d||y!==p)&&(0,i.translate)(t,v-d,y-p)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInShape=void 0;var r=n(0);e.limitInShape=function(t,e,n,i){(0,r.each)(e,function(t,e){var r=t.getCanvasBBox(),i=n[e].getBBox();(r.minXi.maxX||r.maxY>i.maxY)&&t.remove(!0)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"circle",showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.getRegion=function(t,e){var n=2*Math.PI/t,r=-1*Math.PI/2+n*e,i=.5/(1+1/Math.sin(n/2)),a=(0,o.getAnglePoint)({x:.5,y:.5},.5-i,r),s=5*Math.PI/4,l=1*Math.PI/4;return{start:(0,o.getAnglePoint)(a,i,s),end:(0,o.getAnglePoint)(a,i,l)}},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg,r=n.fields,a=n.type,o=r[0];if(!o)throw Error("No `fields` specified!");var s=this.getFieldValues(t,o),l=s.length,u=[];return s.forEach(function(n,r){var c=[{field:o,value:n,values:s}],f={type:a,data:(0,i.filter)(t,e.getFacetDataFilter(c)),region:e.getRegion(l,r),columnValue:n,columnField:o,columnIndex:r,columnValuesLength:l,rowValue:null,rowField:null,rowIndex:0,rowValuesLength:1};u.push(f)}),u},e.prototype.getXAxisOption=function(t,e,n,r){return n},e.prototype.getYAxisOption=function(t,e,n,r){return n},e.prototype.renderTitle=function(){var t=this;(0,i.each)(this.facets,function(e){var n=e.columnValue,r=e.view,s=(0,i.get)(t.cfg.title,"formatter"),l=(0,i.deepMix)({position:["50%","0%"],content:s?s(n):n},(0,o.getFactTitleConfig)(a.DIRECTION.TOP),t.cfg.title);r.annotation().text(l)})},e}(n(105).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"list",cols:null,showTitle:!0,title:t.prototype.getDefaultTitleCfg.call(this)})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){var e=this,n=this.cfg.fields,r=this.cfg.cols,a=n[0];if(!a)throw Error("No `fields` specified!");var o=this.getFieldValues(t,a),s=o.length;r=r||s;var l=this.getPageCount(s,r),u=[];return o.forEach(function(n,c){var f=e.getRowCol(c,r),d=f.row,p=f.col,h=[{field:a,value:n,values:o}],g=(0,i.filter)(t,e.getFacetDataFilter(h)),v={type:e.cfg.type,data:g,region:e.getRegion(l,r,p,d),columnValue:n,rowValue:n,columnField:a,rowField:null,columnIndex:p,rowIndex:d,columnValuesLength:r,rowValuesLength:l,total:s};u.push(v)}),u},e.prototype.getXAxisOption=function(t,e,n,i){return i.rowIndex!==i.rowValuesLength-1&&i.columnValuesLength*i.rowIndex+i.columnIndex+1+i.columnValuesLength<=i.total?(0,r.__assign)((0,r.__assign)({},n),{label:null,title:null}):n},e.prototype.getYAxisOption=function(t,e,n,i){return 0!==i.columnIndex?(0,r.__assign)((0,r.__assign)({},n),{title:null,label:null}):n},e.prototype.renderTitle=function(){var t=this;(0,i.each)(this.facets,function(e){var n=e.columnValue,r=e.view,s=(0,i.get)(t.cfg.title,"formatter"),l=(0,i.deepMix)({position:["50%","0%"],content:s?s(n):n},(0,o.getFactTitleConfig)(a.DIRECTION.TOP),t.cfg.title);r.annotation().text(l)})},e.prototype.getPageCount=function(t,e){return Math.floor((t+e-1)/e)},e.prototype.getRowCol=function(t,e){return{row:Math.floor(t/e),col:t%e}},e}(n(105).Facet);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(116),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultCfg=function(){return(0,i.deepMix)({},t.prototype.getDefaultCfg.call(this),{type:"matrix",showTitle:!1,columnTitle:(0,r.__assign)({},t.prototype.getDefaultTitleCfg.call(this)),rowTitle:(0,r.__assign)({},t.prototype.getDefaultTitleCfg.call(this))})},e.prototype.render=function(){t.prototype.render.call(this),this.cfg.showTitle&&this.renderTitle()},e.prototype.afterEachView=function(t,e){this.processAxis(t,e)},e.prototype.beforeEachView=function(t,e){},e.prototype.generateFacets=function(t){for(var e=this.cfg,n=e.fields,r=e.type,i=n.length,a=[],o=0;o=0;a--)for(var o=this.getFacetsByLevel(t,a),s=0;s-1)||(0,u.isBetween)(n,l,c)}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(n(104).Controller);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getItemsOfView=void 0;var r=n(1),i=n(0),a=n(186),o=n(46),s=(0,r.__importDefault)(n(44)),l={fill:"#CCD6EC",opacity:.3};function u(t,e,n){var r=(0,a.findItemsFromViewRecurisive)(t,e,n);if(r.length){r=(0,i.flatten)(r);for(var o=0,s=r;o1){for(var h=r[0],g=Math.abs(e.y-h[0].y),v=0,y=r;vv.maxY&&(v=e)):(e.minXv.maxX&&(v=e)),y.x=Math.min(e.minX,y.minX),y.y=Math.min(e.minY,y.minY),y.width=Math.max(e.maxX,y.maxX)-y.x,y.height=Math.max(e.maxY,y.maxY)-y.y});var m=e.backgroundGroup,b=e.coordinateBBox,x=void 0;if(h.isRect){var _=e.getXScale(),O=t||{},P=O.appendRatio,M=O.appendWidth;(0,i.isNil)(M)&&(P=(0,i.isNil)(P)?_.isLinear?0:.25:P,M=h.isTransposed?P*v.height:P*g.width);var A=void 0,S=void 0,w=void 0,E=void 0;h.isTransposed?(A=b.minX,S=Math.min(v.minY,g.minY)-M,w=b.width,E=y.height+2*M):(A=Math.min(g.minX,v.minX)-M,S=b.minY,w=y.width+2*M,E=b.height),x=[["M",A,S],["L",A+w,S],["L",A+w,S+E],["L",A,S+E],["Z"]]}else{var C=(0,i.head)(d),T=(0,i.last)(d),I=(0,o.getAngle)(C.getModel(),h).startAngle,j=(0,o.getAngle)(T.getModel(),h).endAngle,F=h.getCenter(),L=h.getRadius(),D=h.innerRadius*L;x=(0,o.getSectorPath)(F.x,F.y,L,I,j,D)}if(this.regionPath)this.regionPath.attr("path",x),this.regionPath.show();else{var k=(0,i.get)(t,"style",l);this.regionPath=m.addShape({type:"path",name:"active-region",capture:!1,attrs:(0,r.__assign)((0,r.__assign)({},k),{path:x})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),t.prototype.destroy.call(this)},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(31),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.showTooltip=function(t,e){var n=(0,a.getSilbings)(t);(0,i.each)(n,function(n){var r=(0,a.getSiblingPoint)(t,n,e);n.showTooltip(r)})},e.prototype.hideTooltip=function(t){var e=(0,a.getSilbings)(t);(0,i.each)(e,function(t){t.hideTooltip()})},e}((0,r.__importDefault)(n(127)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(179),o=(0,r.__importDefault)(n(44)),s=n(69),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.timeStamp=0,e}return(0,r.__extends)(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context.event,e=this.timeStamp,n=+new Date;if(n-e>16){var r=this.location,a={x:t.x,y:t.y};r&&(0,i.isEqual)(r,a)||this.showTooltip(a),this.timeStamp=n,this.location=a}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var e=this.context.event.target;if(e&&e.get("tip")){this.tooltip||this.renderTooltip();var n=e.get("tip");this.tooltip.update((0,r.__assign)({title:n},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,e=this.context.view,n=e.canvas,o={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},l=e.getTheme(),u=(0,i.get)(l,["components","tooltip","domStyles"],{}),c=new s.HtmlTooltip({parent:n.get("el").parentNode,region:o,visible:!1,crosshairs:null,domStyles:(0,r.__assign)({},(0,i.deepMix)({},u,((t={})[a.TOOLTIP_CSS_CONST.CONTAINER_CLASS]={"max-width":"50%"},t[a.TOOLTIP_CSS_CONST.TITLE_CLASS]={"word-break":"break-all"},t)))});c.init(),c.setCapture(!1),this.tooltip=c},e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName="active",e}return(0,r.__extends)(e,t),e.prototype.active=function(){this.setState()},e}((0,r.__importDefault)(n(283)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(44)),a=n(31),o=n(0),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={},e}return(0,r.__extends)(e,t),e.prototype.getColorScale=function(t,e){var n=e.geometry.getAttribute("color");return n?t.getScaleByField(n.getFields()[0]):null},e.prototype.getLinkPath=function(t,e){var n=this.context.view.getCoordinate().isTransposed,r=t.shape.getCanvasBBox(),i=e.shape.getCanvasBBox();return n?[["M",r.minX,r.minY],["L",i.minX,i.maxY],["L",i.maxX,i.maxY],["L",r.maxX,r.minY],["Z"]]:[["M",r.maxX,r.minY],["L",i.minX,i.minY],["L",i.minX,i.maxY],["L",r.maxX,r.maxY],["Z"]]},e.prototype.addLinkShape=function(t,e,n,i){var a={opacity:.4,fill:e.shape.attr("fill")};t.addShape({type:"path",attrs:(0,r.__assign)((0,r.__assign)({},(0,o.deepMix)({},a,(0,o.isFunction)(i)?i(a,e):i)),{path:this.getLinkPath(e,n)})})},e.prototype.linkByElement=function(t,e){var n=this,r=this.context.view,i=this.getColorScale(r,t);if(i){var s=(0,a.getElementValue)(t,i.field);if(!this.cache[s]){var l=(0,a.getElementsByField)(r,i.field,s),u=this.linkGroup.addGroup();this.cache[s]=u;var c=l.length;(0,o.each)(l,function(t,r){if(r=u&&t<=c}),e.render(!0)}}},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(949);function i(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=i=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=i=function(t,e,n){var i=r(t,e);if(i){var a=Object.getOwnPropertyDescriptor(i,e);return a.get?a.get.call(arguments.length<3?t:n):a.value}},t.exports.__esModule=!0,t.exports.default=t.exports),i.apply(this,arguments)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(2)(n(6)),i=n(365),a="function"==typeof Symbol&&"symbol"===(0,r.default)(Symbol("foo")),o=Object.prototype.toString,s=Array.prototype.concat,l=Object.defineProperty,u=n(649)(),c=l&&u,f=function(t,e,n,r){(!(e in t)||"function"==typeof r&&"[object Function]"===o.call(r)&&r())&&(c?l(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},d=function(t,e){var n=arguments.length>2?arguments[2]:{},r=i(e);a&&(r=s.call(r,Object.getOwnPropertySymbols(e)));for(var o=0;o=0&&"[object Function]"===i.call(t.callee)),n}},function(t,e,n){"use strict";var r=n(2)(n(6));t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===(0,r.default)(Symbol.iterator))return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},function(t,e,n){"use strict";var r=n(237),i=n(236),a=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(o,a),l=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(r,o,arguments);return l&&u&&l(e,"length").configurable&&u(e,"length",{value:1+c(0,t.length-(arguments.length-1))}),e};var f=function(){return s(r,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},function(t,e,n){"use strict";var r=n(365),i=n(367)(),a=n(653),o=Object,s=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),u=i?Object.getOwnPropertySymbols:null;t.exports=function(t,e){if(null==t)throw TypeError("target must be an object");var n=o(t);if(1==arguments.length)return n;for(var a=1;a2&&(n.push([i].concat(s.splice(0,2))),l="l",i="m"===i?"l":"L"),"o"===l&&1===s.length&&n.push([i,s[0]]),"r"===l)n.push([i].concat(s));else for(;s.length>=e[l]&&(n.push([i].concat(s.splice(0,e[l]))),e[l]););return t}),n};e.parsePathString=s;var l=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var a=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?a[3]={x:+t[0],y:+t[1]}:i-2===r&&(a[2]={x:+t[0],y:+t[1]},a[3]={x:+t[2],y:+t[3]}):a[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?a[3]=a[2]:r||(a[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return n};e.catmullRomToBezier=l;var u=function(t,e,n,r,i){var a=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var o=Math.PI/180,s=t+n*Math.cos(-r*o),l=t+n*Math.cos(-i*o),u=e+n*Math.sin(-r*o),c=e+n*Math.sin(-i*o);a=[["M",s,u],["A",n,n,0,+(i-r>180),0,l,c]]}else a=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return a},c=function(t){if(!(t=s(t))||!t.length)return[["M",0,0]];var e,n,r=[],i=0,a=0,o=0,c=0,f=0;"M"===t[0][0]&&(i=+t[0][1],a=+t[0][2],o=i,c=a,f++,r[0]=["M",i,a]);for(var d=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),p=void 0,h=void 0,g=f,v=t.length;g1&&(r*=O=Math.sqrt(O),i*=O);var P=r*r,M=i*i,A=(o===s?-1:1)*Math.sqrt(Math.abs((P*M-P*_*_-M*x*x)/(P*_*_+M*x*x)));h=A*r*_/i+(e+l)/2,g=-(A*i)*x/r+(n+u)/2,d=Math.asin(((n-g)/i).toFixed(9)),p=Math.asin(((u-g)/i).toFixed(9)),d=ep&&(d-=2*Math.PI),!s&&p>d&&(p-=2*Math.PI)}var S=p-d;if(Math.abs(S)>v){var w=p,E=l,C=u;m=t(l=h+r*Math.cos(p=d+v*(s&&p>d?1:-1)),u=g+i*Math.sin(p),r,i,a,0,s,E,C,[p,w,h,g])}S=p-d;var T=Math.cos(d),I=Math.cos(p),j=Math.tan(S/4),F=4/3*r*j,L=4/3*i*j,D=[e,n],k=[e+F*Math.sin(d),n-L*T],R=[l+F*Math.sin(p),u-L*I],N=[l,u];if(k[0]=2*D[0]-k[0],k[1]=2*D[1]-k[1],c)return[k,R,N].concat(m);m=[k,R,N].concat(m).join().split(",");for(var B=[],G=0,V=m.length;G7){t[e].shift();for(var a=t[e];a.length;)s[e]="A",i&&(l[e]="A"),t.splice(e++,0,["C"].concat(a.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},y=function(t,e,a,o,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",o.x,o.y]),a.bx=0,a.by=0,a.x=t[s][1],a.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var m=0;m1?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,p=0;p<12;p++){var h=u*c[p]+u,g=y(h,t,n,i,o),v=y(h,e,r,a,s),m=g*g+v*v;d+=f[p]*Math.sqrt(m)}return u*d},b=function(t,e,n,r,i,a,o,s){for(var l,u,c,f,d,p=[],h=[[],[]],g=0;g<2;++g){if(0===g?(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*o,c=3*n-3*t):(u=6*e-12*r+6*a,l=-3*e+9*r-9*a+3*s,c=3*r-3*e),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;(f=-c/u)>0&&f<1&&p.push(f);continue}var v=u*u-4*c*l,y=Math.sqrt(v);if(!(v<0)){var m=(-u+y)/(2*l);m>0&&m<1&&p.push(m);var b=(-u-y)/(2*l);b>0&&b<1&&p.push(b)}}for(var x=p.length,_=x;x--;)d=1-(f=p[x]),h[0][x]=d*d*d*t+3*d*d*f*n+3*d*f*f*i+f*f*f*o,h[1][x]=d*d*d*e+3*d*d*f*r+3*d*f*f*a+f*f*f*s;return h[0][_]=t,h[1][_]=e,h[0][_+1]=o,h[1][_+1]=s,h[0].length=h[1].length=_+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}},x=function(t,e,n,r,i,a,o,s){if(!(Math.max(t,n)Math.max(i,o)||Math.max(e,r)Math.max(a,s))){var l=(t-n)*(a-s)-(e-r)*(i-o);if(l){var u=((t*r-e*n)*(i-o)-(t-n)*(i*s-a*o))/l,c=((t*r-e*n)*(a-s)-(e-r)*(i*s-a*o))/l,f=+u.toFixed(2),d=+c.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,o).toFixed(2)||f>+Math.max(i,o).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:u,y:c}}}},_=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},O=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var a=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return a.parsePathArray=v,a};e.rectPath=O;var P=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:O(t,e,n,r),vb:[t,e,n,r].join(" ")}},M=function(t,e,n,i,a,o,s,l){(0,r.isArray)(t)||(t=[t,e,n,i,a,o,s,l]);var u=b.apply(null,t);return P(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)},A=function(t,e,n,r,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),d=l*l,p=d*l,h=t+2*l*(n-t)+d*(i-2*n+t),g=e+2*l*(r-e)+d*(a-2*r+e),v=n+2*l*(i-n)+d*(o-2*i+n),y=r+2*l*(a-r)+d*(s-2*a+r),m=90-180*Math.atan2(h-v,g-y)/Math.PI;return{x:c*t+3*f*l*n+3*u*l*l*i+p*o,y:c*e+3*f*l*r+3*u*l*l*a+p*s,m:{x:h,y:g},n:{x:v,y:y},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*o,y:u*a+l*s},alpha:m}},S=function(t,e,n){var r,i,a=M(t),o=M(e);if(r=a,i=o,r=P(r),!(_(i=P(i),r.x,r.y)||_(i,r.x2,r.y)||_(i,r.x,r.y2)||_(i,r.x2,r.y2)||_(r,i.x,i.y)||_(r,i.x2,i.y)||_(r,i.x,i.y2)||_(r,i.x2,i.y2))&&((!(r.xi.x))&&(!(i.xr.x))||(!(r.yi.y))&&(!(i.yr.y))))return n?0:[];for(var s=m.apply(0,t),l=m.apply(0,e),u=~~(s/8),c=~~(l/8),f=[],d=[],p={},h=n?0:[],g=0;gMath.abs(O.x-b.x)?"y":"x",C=.001>Math.abs(w.x-S.x)?"y":"x",T=x(b.x,b.y,O.x,O.y,S.x,S.y,w.x,w.y);if(T){if(p[T.x.toFixed(4)]===T.y.toFixed(4))continue;p[T.x.toFixed(4)]=T.y.toFixed(4);var I=b.t+Math.abs((T[E]-b[E])/(O[E]-b[E]))*(O.t-b.t),j=S.t+Math.abs((T[C]-S[C])/(w[C]-S[C]))*(w.t-S.t);I>=0&&I<=1&&j>=0&&j<=1&&(n?h+=1:h.push({x:T.x,y:T.y,t1:I,t2:j}))}}return h},w=function(t,e,n){t=h(t),e=h(e);for(var r,i,a,o,s,l,u,c,f,d,p=n?0:[],g=0,v=t.length;g=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var a=0;a<=n-1;a++)r.push(i)}return r};e.fillPath=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,a=[];if(1===t.length&&"M"===t[0][0]){for(var o=0;o=0;l--)o=a[l].index,"add"===a[l].type?t.splice(o,0,[].concat(t[o])):t.splice(o,1)}var f=i-(r=t.length);if(r0)n=I(n,t[r-1],1);else{t[r]=e[r];break}}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(r>0)n=I(n,t[r-1],2);else{t[r]=e[r];break}}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(r>0)n=I(n,t[r-1],1);else{t[r]=e[r];break}}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();e.default=r},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(126)),o=n(102),s=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=(0,o.mix)(r,e),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,e){this.cfg[t]=e},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(393)),s=n(102),l={},u="_INDEX",c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isCanvas=function(){return!1},e.prototype.getBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],o=[],l=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return l.length>0?((0,s.each)(l,function(t){var e=t.getBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=(0,a.min)(i),e=(0,a.max)(i),n=(0,a.min)(o),r=(0,a.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],o=[],l=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return l.length>0?((0,s.each)(l,function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=(0,a.min)(i),e=(0,a.max)(i),n=(0,a.min)(o),r=(0,a.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.children=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();(0,s.each)(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e=0;a--){var o=t[a];if((0,s.isAllowCapture)(o)&&(o.isGroup()?i=o.getShape(e,n,r):o.isHit(e,n)&&(i=o)),i)break}return i},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=t.getParent();i&&(t.set("parent",null),t.set("canvas",null),(0,s.removeFromArray)(i.getChildren(),t)),t.set("parent",this),e&&function t(e,n){if(e.set("canvas",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,e),r&&function t(e,n){if(e.set("timeline",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,r),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();(0,s.each)(t,function(t,e){return t[u]=e,t}),t.sort(function(t,e){var n=t.get("zIndex")-e.get("zIndex");return 0===n?t[u]-e[u]:n}),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){return this.getChildren()[t]},e.prototype.getCount=function(){return this.getChildren().length},e.prototype.contain=function(t){return this.getChildren().indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return(0,s.each)(n,function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))}),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return(0,s.each)(n,function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1}),e},e.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(32),s=n(102),l=n(243),u=r(n(391)),c=o.ext.transform,f="matrix",d=["zIndex","capture","visible","type"],p=["repeat"],h=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var r=n.getDefaultAttrs();return(0,a.mix)(r,e.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n0?d=function(t,e){if(e.onFrame)return t;var n=e.startTime,r=e.delay,i=e.duration,o=Object.prototype.hasOwnProperty;return(0,a.each)(t,function(t){n+rt.delay&&(0,a.each)(e.toAttrs,function(e,n){o.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])})}),t}(d,P):f.addAnimator(this),d.push(P),this.set("animations",d),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");(0,a.each)(n,function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return(0,a.each)(e,function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline").getTime(),e=this.get("animations"),n=this.get("_pause").pauseTime;return(0,a.each)(e,function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",e),this},e.prototype.emitDelegation=function(t,e){var n,r=this,i=e.propagationPath;this.getEvents(),"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var o=this,l=0;l0?(n[0]=(u*s+d*r+c*o-f*a)*2/p,n[1]=(c*s+d*a+f*r-u*o)*2/p,n[2]=(f*s+d*o+u*a-c*r)*2/p):(n[0]=(u*s+d*r+c*o-f*a)*2,n[1]=(c*s+d*a+f*r-u*o)*2,n[2]=(f*s+d*o+u*a-c*r)*2),l(t,e,n),t},e.fromRotation=function(t,e,n){var r,a,o,s=n[0],l=n[1],u=n[2],c=Math.hypot(s,l,u);return c0?(m=2*Math.sqrt(y+1),t[3]=.25*m,t[0]=(p-g)/m,t[1]=(h-c)/m,t[2]=(l-f)/m):s>d&&s>v?(m=2*Math.sqrt(1+s-d-v),t[3]=(p-g)/m,t[0]=.25*m,t[1]=(l+f)/m,t[2]=(h+c)/m):d>v?(m=2*Math.sqrt(1+d-s-v),t[3]=(h-c)/m,t[0]=(l+f)/m,t[1]=.25*m,t[2]=(p+g)/m):(m=2*Math.sqrt(1+v-s-d),t[3]=(l-f)/m,t[0]=(h+c)/m,t[1]=(p+g)/m,t[2]=.25*m),t},e.getScaling=u,e.getTranslation=function(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t},e.identity=o,e.invert=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8],f=e[9],d=e[10],p=e[11],h=e[12],g=e[13],v=e[14],y=e[15],m=n*s-r*o,b=n*l-i*o,x=n*u-a*o,_=r*l-i*s,O=r*u-a*s,P=i*u-a*l,M=c*g-f*h,A=c*v-d*h,S=c*y-p*h,w=f*v-d*g,E=f*y-p*g,C=d*y-p*v,T=m*C-b*E+x*w+_*S-O*A+P*M;return T?(T=1/T,t[0]=(s*C-l*E+u*w)*T,t[1]=(i*E-r*C-a*w)*T,t[2]=(g*P-v*O+y*_)*T,t[3]=(d*O-f*P-p*_)*T,t[4]=(l*S-o*C-u*A)*T,t[5]=(n*C-i*S+a*A)*T,t[6]=(v*x-h*P-y*b)*T,t[7]=(c*P-d*x+p*b)*T,t[8]=(o*E-s*S+u*M)*T,t[9]=(r*S-n*E-a*M)*T,t[10]=(h*O-g*x+y*m)*T,t[11]=(f*x-c*O-p*m)*T,t[12]=(s*A-o*w-l*M)*T,t[13]=(n*w-r*A+i*M)*T,t[14]=(g*b-h*_-v*m)*T,t[15]=(c*_-f*b+d*m)*T,t):null},e.lookAt=function(t,e,n,r){var a,s,l,u,c,f,d,p,h,g,v=e[0],y=e[1],m=e[2],b=r[0],x=r[1],_=r[2],O=n[0],P=n[1],M=n[2];return Math.abs(v-O)0&&(c*=p=1/Math.sqrt(p),f*=p,d*=p);var h=l*d-u*f,g=u*c-s*d,v=s*f-l*c;return(p=h*h+g*g+v*v)>0&&(h*=p=1/Math.sqrt(p),g*=p,v*=p),t[0]=h,t[1]=g,t[2]=v,t[3]=0,t[4]=f*v-d*g,t[5]=d*h-c*v,t[6]=c*g-f*h,t[7]=0,t[8]=c,t[9]=f,t[10]=d,t[11]=0,t[12]=i,t[13]=a,t[14]=o,t[15]=1,t},e.translate=function(t,e,n){var r,i,a,o,s,l,u,c,f,d,p,h,g=n[0],v=n[1],y=n[2];return e===t?(t[12]=e[0]*g+e[4]*v+e[8]*y+e[12],t[13]=e[1]*g+e[5]*v+e[9]*y+e[13],t[14]=e[2]*g+e[6]*v+e[10]*y+e[14],t[15]=e[3]*g+e[7]*v+e[11]*y+e[15]):(r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],u=e[6],c=e[7],f=e[8],d=e[9],p=e[10],h=e[11],t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=f,t[9]=d,t[10]=p,t[11]=h,t[12]=r*g+s*v+f*y+e[12],t[13]=i*g+l*v+d*y+e[13],t[14]=a*g+u*v+p*y+e[14],t[15]=o*g+c*v+h*y+e[15]),t},e.transpose=function(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],a=e[6],o=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=a,t[11]=e[14],t[12]=i,t[13]=o,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=o?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i}(n(79));function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}function o(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function s(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],u=e[6],c=e[7],f=e[8],d=e[9],p=e[10],h=e[11],g=e[12],v=e[13],y=e[14],m=e[15],b=n[0],x=n[1],_=n[2],O=n[3];return t[0]=b*r+x*s+_*f+O*g,t[1]=b*i+x*l+_*d+O*v,t[2]=b*a+x*u+_*p+O*y,t[3]=b*o+x*c+_*h+O*m,b=n[4],x=n[5],_=n[6],O=n[7],t[4]=b*r+x*s+_*f+O*g,t[5]=b*i+x*l+_*d+O*v,t[6]=b*a+x*u+_*p+O*y,t[7]=b*o+x*c+_*h+O*m,b=n[8],x=n[9],_=n[10],O=n[11],t[8]=b*r+x*s+_*f+O*g,t[9]=b*i+x*l+_*d+O*v,t[10]=b*a+x*u+_*p+O*y,t[11]=b*o+x*c+_*h+O*m,b=n[12],x=n[13],_=n[14],O=n[15],t[12]=b*r+x*s+_*f+O*g,t[13]=b*i+x*l+_*d+O*v,t[14]=b*a+x*u+_*p+O*y,t[15]=b*o+x*c+_*h+O*m,t}function l(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=r+r,l=i+i,u=a+a,c=r*s,f=r*l,d=r*u,p=i*l,h=i*u,g=a*u,v=o*s,y=o*l,m=o*u;return t[0]=1-(p+g),t[1]=f+m,t[2]=d-y,t[3]=0,t[4]=f-m,t[5]=1-(c+g),t[6]=h+v,t[7]=0,t[8]=d+y,t[9]=h-v,t[10]=1-(c+p),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function u(t,e){var n=e[0],r=e[1],i=e[2],a=e[4],o=e[5],s=e[6],l=e[8],u=e[9],c=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(a,o,s),t[2]=Math.hypot(l,u,c),t}function c(t,e,n,r,i){var a,o=1/Math.tan(e/2);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(r-i),t[10]=(i+r)*a,t[14]=2*i*r*a):(t[10]=-1,t[14]=-2*r),t}function f(t,e,n,r,i,a,o){var s=1/(e-n),l=1/(r-i),u=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*l,t[14]=(o+a)*u,t[15]=1,t}function d(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}e.perspective=c,e.ortho=f,e.mul=s,e.sub=d},function(t,e,n){"use strict";var r,i,a,o,s,l,u=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.add=void 0,e.calculateW=function(t,e){var n=e[0],r=e[1],i=e[2];return t[0]=n,t[1]=r,t[2]=i,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),t},e.clone=void 0,e.conjugate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t},e.copy=void 0,e.create=v,e.exactEquals=e.equals=e.dot=void 0,e.exp=b,e.fromEuler=function(t,e,n,r){var i=.5*Math.PI/180,a=Math.sin(e*=i),o=Math.cos(e),s=Math.sin(n*=i),l=Math.cos(n),u=Math.sin(r*=i),c=Math.cos(r);return t[0]=a*l*c-o*s*u,t[1]=o*s*c+a*l*u,t[2]=o*l*u-a*s*c,t[3]=o*l*c+a*s*u,t},e.fromMat3=O,e.fromValues=void 0,e.getAngle=function(t,e){var n=C(t,e);return Math.acos(2*n*n-1)},e.getAxisAngle=function(t,e){var n=2*Math.acos(e[3]),r=Math.sin(n/2);return r>c.EPSILON?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n},e.identity=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},e.invert=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=a*s,t},e.lerp=e.length=e.len=void 0,e.ln=x,e.mul=void 0,e.multiply=m,e.normalize=void 0,e.pow=function(t,e,n){return x(t,e),E(t,t,n),b(t,t),t},e.random=function(t){var e=c.RANDOM(),n=c.RANDOM(),r=c.RANDOM(),i=Math.sqrt(1-e),a=Math.sqrt(e);return t[0]=i*Math.sin(2*Math.PI*n),t[1]=i*Math.cos(2*Math.PI*n),t[2]=a*Math.sin(2*Math.PI*r),t[3]=a*Math.cos(2*Math.PI*r),t},e.rotateX=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+o*s,t[1]=i*l+a*s,t[2]=a*l-i*s,t[3]=o*l-r*s,t},e.rotateY=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l-a*s,t[1]=i*l+o*s,t[2]=a*l+r*s,t[3]=o*l-i*s,t},e.rotateZ=function(t,e,n){n*=.5;var r=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+i*s,t[1]=i*l-r*s,t[2]=a*l+o*s,t[3]=o*l-a*s,t},e.setAxes=e.set=e.scale=e.rotationTo=void 0,e.setAxisAngle=y,e.slerp=_,e.squaredLength=e.sqrLen=e.sqlerp=void 0,e.str=function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"};var c=g(n(79)),f=g(n(394)),d=g(n(171)),p=g(n(397));function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}function g(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==u(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var o=i?Object.getOwnPropertyDescriptor(t,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=t[a]}return r.default=t,n&&n.set(t,r),r}function v(){var t=new c.ARRAY_TYPE(4);return c.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}function y(t,e,n){var r=Math.sin(n*=.5);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function m(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3],s=n[0],l=n[1],u=n[2],c=n[3];return t[0]=r*c+o*s+i*u-a*l,t[1]=i*c+o*l+a*s-r*u,t[2]=a*c+o*u+r*l-i*s,t[3]=o*c-r*s-i*l-a*u,t}function b(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=Math.sqrt(n*n+r*r+i*i),s=Math.exp(a),l=o>0?s*Math.sin(o)/o:0;return t[0]=n*l,t[1]=r*l,t[2]=i*l,t[3]=s*Math.cos(o),t}function x(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=Math.sqrt(n*n+r*r+i*i),s=o>0?Math.atan2(o,a)/o:0;return t[0]=n*s,t[1]=r*s,t[2]=i*s,t[3]=.5*Math.log(n*n+r*r+i*i+a*a),t}function _(t,e,n,r){var i,a,o,s,l,u=e[0],f=e[1],d=e[2],p=e[3],h=n[0],g=n[1],v=n[2],y=n[3];return(a=u*h+f*g+d*v+p*y)<0&&(a=-a,h=-h,g=-g,v=-v,y=-y),1-a>c.EPSILON?(o=Math.sin(i=Math.acos(a)),s=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(s=1-r,l=r),t[0]=s*u+l*h,t[1]=s*f+l*g,t[2]=s*d+l*v,t[3]=s*p+l*y,t}function O(t,e){var n,r=e[0]+e[4]+e[8];if(r>0)n=Math.sqrt(r+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[3*i+i]&&(i=2);var a=(i+1)%3,o=(i+2)%3;n=Math.sqrt(e[3*i+i]-e[3*a+a]-e[3*o+o]+1),t[i]=.5*n,n=.5/n,t[3]=(e[3*a+o]-e[3*o+a])*n,t[a]=(e[3*a+i]+e[3*i+a])*n,t[o]=(e[3*o+i]+e[3*i+o])*n}return t}var P=p.clone;e.clone=P;var M=p.fromValues;e.fromValues=M;var A=p.copy;e.copy=A;var S=p.set;e.set=S;var w=p.add;e.add=w,e.mul=m;var E=p.scale;e.scale=E;var C=p.dot;e.dot=C;var T=p.lerp;e.lerp=T;var I=p.length;e.length=I,e.len=I;var j=p.squaredLength;e.squaredLength=j,e.sqrLen=j;var F=p.normalize;e.normalize=F;var L=p.exactEquals;e.exactEquals=L;var D=p.equals;e.equals=D;var k=(r=d.create(),i=d.fromValues(1,0,0),a=d.fromValues(0,1,0),function(t,e,n){var o=d.dot(e,n);return o<-.999999?(d.cross(r,i,e),1e-6>d.len(r)&&d.cross(r,a,e),d.normalize(r,r),y(t,r,Math.PI),t):o>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):(d.cross(r,e,n),t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=1+o,F(t,t))});e.rotationTo=k;var R=(o=v(),s=v(),function(t,e,n,r,i,a){return _(o,e,i,a),_(s,n,r,a),_(t,o,s,2*a*(1-a)),t});e.sqlerp=R;var N=(l=f.create(),function(t,e,n,r){return l[0]=n[0],l[3]=n[1],l[6]=n[2],l[1]=r[0],l[4]=r[1],l[7]=r[2],l[2]=-e[0],l[5]=-e[1],l[8]=-e[2],F(t,O(t,l))});e.setAxes=N},function(t,e,n){"use strict";var r,i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t},e.ceil=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},e.clone=function(t){var e=new a.ARRAY_TYPE(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},e.create=s,e.cross=function(t,e,n,r){var i=n[0]*r[1]-n[1]*r[0],a=n[0]*r[2]-n[2]*r[0],o=n[0]*r[3]-n[3]*r[0],s=n[1]*r[2]-n[2]*r[1],l=n[1]*r[3]-n[3]*r[1],u=n[2]*r[3]-n[3]*r[2],c=e[0],f=e[1],d=e[2],p=e[3];return t[0]=f*u-d*l+p*s,t[1]=-(c*u)+d*o-p*a,t[2]=c*l-f*o+p*i,t[3]=-(c*s)+f*a-d*i,t},e.dist=void 0,e.distance=f,e.div=void 0,e.divide=c,e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},e.equals=function(t,e){var n=t[0],r=t[1],i=t[2],o=t[3],s=e[0],l=e[1],u=e[2],c=e[3];return Math.abs(n-s)<=a.EPSILON*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-l)<=a.EPSILON*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(i-u)<=a.EPSILON*Math.max(1,Math.abs(i),Math.abs(u))&&Math.abs(o-c)<=a.EPSILON*Math.max(1,Math.abs(o),Math.abs(c))},e.exactEquals=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]},e.floor=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},e.forEach=void 0,e.fromValues=function(t,e,n,r){var i=new a.ARRAY_TYPE(4);return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i},e.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},e.len=void 0,e.length=p,e.lerp=function(t,e,n,r){var i=e[0],a=e[1],o=e[2],s=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t[3]=s+r*(n[3]-s),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t},e.mul=void 0,e.multiply=u,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},e.normalize=function(t,e){var n=e[0],r=e[1],i=e[2],a=e[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o)),t[0]=n*o,t[1]=r*o,t[2]=i*o,t[3]=a*o,t},e.random=function(t,e){e=e||1;do s=(n=2*a.RANDOM()-1)*n+(r=2*a.RANDOM()-1)*r;while(s>=1);do l=(i=2*a.RANDOM()-1)*i+(o=2*a.RANDOM()-1)*o;while(l>=1);var n,r,i,o,s,l,u=Math.sqrt((1-s)/l);return t[0]=e*n,t[1]=e*r,t[2]=e*i*u,t[3]=e*o*u,t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},e.set=function(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=d,e.squaredLength=h,e.str=function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},e.sub=void 0,e.subtract=l,e.transformMat4=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,t},e.transformQuat=function(t,e,n){var r=e[0],i=e[1],a=e[2],o=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*a-l*i,f=u*i+l*r-o*a,d=u*a+o*i-s*r,p=-o*r-s*i-l*a;return t[0]=c*u+-(p*o)+-(f*l)- -(d*s),t[1]=f*u+-(p*s)+-(d*o)- -(c*l),t[2]=d*u+-(p*l)+-(c*s)- -(f*o),t[3]=e[3],t},e.zero=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(4);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function c(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function f(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1],e[2]-t[2],e[3]-t[3])}function d(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return n*n+r*r+i*i+a*a}function p(t){return Math.hypot(t[0],t[1],t[2],t[3])}function h(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}e.sub=l,e.mul=u,e.div=c,e.dist=f,e.sqrDist=d,e.len=p,e.sqrLen=h;var g=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=4),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;s0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t},e.random=function(t,e){e=e||1;var n=2*a.RANDOM()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},e.rotate=function(t,e,n,r){var i=e[0]-n[0],a=e[1]-n[1],o=Math.sin(r),s=Math.cos(r);return t[0]=i*s-a*o+n[0],t[1]=i*o+a*s+n[1],t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.sqrLen=e.sqrDist=void 0,e.squaredDistance=d,e.squaredLength=h,e.str=function(t){return"vec2("+t[0]+", "+t[1]+")"},e.sub=void 0,e.subtract=l,e.transformMat2=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t},e.transformMat2d=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t},e.transformMat3=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t},e.zero=function(t){return t[0]=0,t[1]=0,t};var a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(79));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}function s(){var t=new a.ARRAY_TYPE(2);return a.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0),t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function c(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function f(t,e){return Math.hypot(e[0]-t[0],e[1]-t[1])}function d(t,e){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}function p(t){return Math.hypot(t[0],t[1])}function h(t){var e=t[0],n=t[1];return e*e+n*n}e.len=p,e.sub=l,e.mul=u,e.div=c,e.dist=f,e.sqrDist=d,e.sqrLen=h;var g=(r=s(),function(t,e,n,i,a,o){var s,l;for(e||(e=2),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;sc&&(u=e.slice(c,u),d[f]?d[f]+=u:d[++f]=u),(s=s[0])===(l=l[0])?d[f]?d[f]+=l:d[++f]=l:(d[++f]=null,p.push({i:f,x:(0,i.default)(s,l)})),c=o.lastIndex;return c200&&(c=o/10);for(var f=1/c,d=f/10,p=0;p<=c;p++){var h=p*f,g=[a.apply(null,t.concat([h])),a.apply(null,e.concat([h]))],v=(0,r.distance)(u[0],u[1],g[0],g[1]);v=0&&v1||e<0||t.length<2)return 0;for(var n=o(t),r=n.segments,i=n.totalLength,a=0,s=0,l=0;l=a&&e<=a+d){s=Math.atan2(f[1]-c[1],f[0]-c[0]);break}a+=d}return s},e.distanceAtSegment=function(t,e,n){for(var r=1/0,a=0;a1||e<0||t.length<2)return null;var n=o(t),r=n.segments,a=n.totalLength;if(0===a)return{x:t[0][0],y:t[0][1]};for(var s=0,l=null,u=0;u=s&&e<=s+p){var h=(e-s)/p;l=i.default.pointAt(f[0],f[1],d[0],d[1],h);break}s+=p}return l};var i=r(n(174)),a=n(87);function o(t){for(var e=0,n=[],r=0;r1){var o=a(e,n);return e*i+o*(i-1)}return e},e.getTextWidth=function(t,e){var n=(0,i.getOffScreenContext)(),a=0;if((0,r.isNil)(t)||""===t)return a;if(n.save(),n.font=e,(0,r.isString)(t)&&t.includes("\n")){var o=t.split("\n");(0,r.each)(o,function(t){var e=n.measureText(t).width;a1){var i=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=i}(0,r.each)(t,function(e,n){isNaN(e)||(t[n]=+e)}),e[n]=t}),e):void 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,i){return i?[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){void 0===e&&(e=!1);for(var n,r,o=(0,i.default)(t),s={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null},l=[],u="",c=o.length,f=[],d=0;d7){t[n].shift();for(var r=t[n],i=n;r.length;)e[n]="A",t.splice(i+=1,0,["C"].concat(r.splice(0,6)));t.splice(n,1)}}(o,l,d),c=o.length,"Z"===u&&f.push(d),r=(n=o[d]).length,s.x1=+n[r-2],s.y1=+n[r-1],s.x2=+n[r-4]||s.x1,s.y2=+n[r-3]||s.y1;return e?[o,f]:o};var i=r(n(417)),a=n(807)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=(0,i.default)(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r=0){n=!0;break}}if(!n)return e;var l=[],u=0,c=0,f=0,d=0,p=0,h=e[0];("M"===h[0]||"m"===h[0])&&(u=+h[1],c=+h[2],f=u,d=c,p++,l[0]=["M",u,c]);for(var r=p,g=e.length;r2&&(n.push([r].concat(a.splice(0,2))),s="l",r="m"===r?"l":"L"),"o"===s&&1===a.length&&n.push([r,a[0]]),"r"===s)n.push([r].concat(a));else for(;a.length>=e[s]&&(n.push([r].concat(a.splice(0,e[s]))),e[s]););return""}),n};var r=n(0),i=" \n\v\f\r \xa0 ᠎              \u2028\u2029",a=RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),o=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=e[1],i=e[2],l=(0,r.mod)((0,r.toRadian)(e[3]),2*Math.PI),u=e[4],c=e[5],f=t[0],d=t[1],p=e[6],h=e[7],g=Math.cos(l)*(f-p)/2+Math.sin(l)*(d-h)/2,v=-1*Math.sin(l)*(f-p)/2+Math.cos(l)*(d-h)/2,y=g*g/(n*n)+v*v/(i*i);y>1&&(n*=Math.sqrt(y),i*=Math.sqrt(y));var m=n*n*(v*v)+i*i*(g*g),b=m?Math.sqrt((n*n*(i*i)-m)/m):1;u===c&&(b*=-1),isNaN(b)&&(b=0);var x=i?b*n*v/i:0,_=n?-(b*i)*g/n:0,O=(f+p)/2+Math.cos(l)*x-Math.sin(l)*_,P=(d+h)/2+Math.sin(l)*x+Math.cos(l)*_,M=[(g-x)/n,(v-_)/i],A=[(-1*g-x)/n,(-1*v-_)/i],S=o([1,0],M),w=o(M,A);return -1>=a(M,A)&&(w=Math.PI),a(M,A)>=1&&(w=0),0===c&&w>0&&(w-=2*Math.PI),1===c&&w<0&&(w+=2*Math.PI),{cx:O,cy:P,rx:s(t,[p,h])?0:n,ry:s(t,[p,h])?0:i,startAngle:S,endAngle:S+w,xRotation:l,arcFlag:u,sweepFlag:c}},e.isSamePoint=s;var r=n(0);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function a(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function o(t,e){return(t[0]*e[1].001*u*c){var d=(a.x*s.y-a.y*s.x)/l,p=(a.x*o.y-a.y*o.x)/l;r(d,0,1)&&r(p,0,1)&&(f={x:t.x+d*o.x,y:t.y+d*o.y})}return f};var r=function(t,e,n){return t>=e&&t<=n}},function(t,e,n){"use strict";function r(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAdjust:!0,registerAdjust:!0,Adjust:!0};Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getAdjust",{enumerable:!0,get:function(){return a.getAdjust}}),Object.defineProperty(e,"registerAdjust",{enumerable:!0,get:function(){return a.registerAdjust}});var a=n(816),o=r(n(110)),s=r(n(817)),l=r(n(818)),u=r(n(819)),c=r(n(820)),f=n(423);Object.keys(f).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===f[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))}),(0,a.registerAdjust)("Dodge",s.default),(0,a.registerAdjust)("Jitter",l.default),(0,a.registerAdjust)("Stack",u.default),(0,a.registerAdjust)("Symmetric",c.default)},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return r.Scale}});var r=n(66)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTickMethod=function(t){return r[t]},e.registerTickMethod=function(t,e){r[t]=e};var r={}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return(0,i.__extends)(e,t),e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[e]},e.prototype.getText=function(e){for(var n=[],r=1;r1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(r(n(176)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,r=this.getInvertPercent(t),i=Math.floor(r*(n-1));if(i>=n-1)return(0,a.last)(e);if(i<0)return(0,a.head)(e);var o=e[i],s=e[i+1],l=i/(n-1);return o+(r-l)/((i+1)/(n-1)-l)*(s-o)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||((0,a.last)(e)!==this.max&&e.push(this.max),(0,a.head)(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(t<(0,a.head)(e))return 0;if(t>(0,a.last)(e))return 1;var n=0;return(0,a.each)(e,function(e,r){if(!(t>=e))return!1;n=r}),n/(e.length-1)},e}(r(n(176)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.values,n=t.tickInterval,i=t.tickCount,a=t.showLast;if((0,r.isNumber)(n)){var o=(0,r.filter)(e,function(t,e){return e%n==0}),s=(0,r.last)(e);return a&&(0,r.last)(o)!==s&&o.push(s),o}var l=e.length,u=t.min,c=t.max;if((0,r.isNil)(u)&&(u=0),(0,r.isNil)(c)&&(c=e.length-1),!(0,r.isNumber)(i)||i>=l)return e.slice(u,c+1);if(i<=0||c<=0)return[];for(var f=1===i?l:Math.floor(l/(i-1)),d=[],p=u,h=0;h=c);h++)p=Math.min(u+h*f,c),h===i-1&&a?d.push(e[c]):d.push(e[p]);return d};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.prettyNumber=function(t){return 1e-15>Math.abs(t)?t:parseFloat(t.toFixed(15))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(void 0===n&&(n=5),t===e)return{max:e,min:t,ticks:[t]};var i=n<0?0:Math.round(n);if(0===i)return{max:e,min:t,ticks:[]};var a=(e-t)/i,o=Math.pow(10,Math.floor(Math.log10(a))),s=o;2*o-a<1.5*(a-s)&&(s=2*o,5*o-a<2.75*(a-s)&&(s=5*o,10*o-a<1.5*(a-s)&&(s=10*o)));for(var l=Math.ceil(e/s),u=Math.floor(t/s),c=Math.max(l*s,e),f=Math.min(u*s,t),d=Math.floor((c-f)/s)+1,p=Array(d),h=0;h=0&&s<.5*Math.PI?(r={x:c.minX,y:c.minY},a={x:c.maxX,y:c.maxY}):.5*Math.PI<=s&&s1&&(n*=Math.sqrt(v),i*=Math.sqrt(v));var y=n*n*(g*g)+i*i*(h*h),m=y?Math.sqrt((n*n*(i*i)-y)/y):1;l===u&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?-(m*i)*h/n:0,_=(c+d)/2+Math.cos(s)*b-Math.sin(s)*x,O=(f+p)/2+Math.sin(s)*b+Math.cos(s)*x,P=[(h-b)/n,(g-x)/i],M=[(-1*h-b)/n,(-1*g-x)/i],A=o([1,0],P),S=o(P,M);return -1>=a(P,M)&&(S=Math.PI),a(P,M)>=1&&(S=0),0===u&&S>0&&(S-=2*Math.PI),1===u&&S<0&&(S+=2*Math.PI),{cx:_,cy:O,rx:r.isSamePoint(t,[d,p])?0:n,ry:r.isSamePoint(t,[d,p])?0:i,startAngle:A,endAngle:A+S,xRotation:s,arcFlag:l,sweepFlag:u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26);e.default=function(t,e,n){var i=r.getOffScreenContext();return t.createPath(i),i.isPointInPath(e,n)}},function(t,e,n){"use strict";function r(t){return 1e-6>Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51);e.default=function(t,e,n,i,a,o,s,l){var u=(Math.atan2(l-e,s-t)+2*Math.PI)%(2*Math.PI);if(ua)return!1;var c={x:t+n*Math.cos(u),y:e+n*Math.sin(u)};return r.distance(c.x,c.y,s,l)<=o/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(183);e.default=function(t,e,n,i,a){var o=t.length;if(o<2)return!1;for(var s=0;s1){var i,a=Array(t.callback.length-1).fill("");i=t.mapping.apply(t,(0,r.__spreadArray)([e],a,!1)).join("")}else i=t.mapping(e).join("");return i||n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLegendThemeCfg=e.getCustomLegendItems=e.getLegendItems=e.getLegendLayout=void 0;var r=n(1),i=n(0),a=n(21),o=n(451),s=n(70),l=n(146),u=["line","cross","tick","plus","hyphen"];function c(t){var e=t.symbol;(0,i.isString)(e)&&l.MarkerSymbols[e]&&(t.symbol=l.MarkerSymbols[e])}e.getLegendLayout=function(t){return t.startsWith(a.DIRECTION.LEFT)||t.startsWith(a.DIRECTION.RIGHT)?"vertical":"horizontal"},e.getLegendItems=function(t,e,n,a,l){var f=n.getScale(n.type);if(f.isCategory){var d=f.field,p=e.getAttribute("color"),h=e.getAttribute("shape"),g=t.getTheme().defaultColor,v=e.coordinate.isPolar;return f.getTicks().map(function(n,y){var m,b,x,_=n.text,O=n.value,P=f.invert(O),M=0===t.filterFieldData(d,[((x={})[d]=P,x)]).length;(0,i.each)(t.views,function(t){var e;t.filterFieldData(d,[((e={})[d]=P,e)]).length||(M=!0)});var A=(0,o.getMappingValue)(p,P,g),S=(0,o.getMappingValue)(h,P,"point"),w=e.getShapeMarker(S,{color:A,isInPolar:v}),E=l;return(0,i.isFunction)(E)&&(E=E(_,y,(0,r.__assign)({name:_,value:P},(0,i.deepMix)({},a,w)))),function(t,e){var n=t.symbol;if((0,i.isString)(n)&&-1!==u.indexOf(n)){var r=(0,i.get)(t,"style",{}),a=(0,i.get)(r,"lineWidth",1),o=r.stroke||r.fill||e;t.style=(0,i.deepMix)({},t.style,{lineWidth:a,stroke:o,fill:null})}}(w=(0,i.deepMix)({},a,w,(0,s.omit)((0,r.__assign)({},E),["style"])),A),E&&E.style&&(w.style=(m=w.style,b=E.style,(0,i.isFunction)(b)?b(m):(0,i.deepMix)({},m,b))),c(w),{id:P,name:_,value:P,marker:w,unchecked:M}})}return[]},e.getCustomLegendItems=function(t,e,n){return n.map(function(n,r){var a=e;(0,i.isFunction)(a)&&(a=a(n.name,r,(0,i.deepMix)({},t,n)));var o=(0,i.isFunction)(n.marker)?n.marker(n.name,r,(0,i.deepMix)({},t,n)):n.marker,s=(0,i.deepMix)({},t,a,o);return c(s),n.marker=s,n})},e.getLegendThemeCfg=function(t,e){var n=(0,i.get)(t,["components","legend"],{});return(0,i.deepMix)({},(0,i.get)(n,["common"],{}),(0,i.deepMix)({},(0,i.get)(n,[e],{})))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseLineGradient=u,e.parsePattern=f,e.parseRadialGradient=c,e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return(0,r.isArray)(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,[e,n,i,a]},e.parseStyle=function(t,e,n){var i=e.getBBox();if(isNaN(i.x)||isNaN(i.y)||isNaN(i.width)||isNaN(i.height))return n;if((0,r.isString)(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return u(t,e,n);if("r"===n[0])return c(t,e,n);if("p"===n[0])return f(t,e,n)}return n}if(n instanceof CanvasPattern)return n};var r=n(53),i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,a=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,o=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,s=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function l(t,e){var n=t.match(s);(0,r.each)(n,function(t){var n=t.split(":");e.addColorStop(n[0],n[1])})}function u(t,e,n){var r,a,o=i.exec(n),s=parseFloat(o[1])%360*(Math.PI/180),u=o[2],c=e.getBBox();s>=0&&s<.5*Math.PI?(r={x:c.minX,y:c.minY},a={x:c.maxX,y:c.maxY}):.5*Math.PI<=s&&s1&&(n*=Math.sqrt(v),i*=Math.sqrt(v));var y=n*n*(g*g)+i*i*(h*h),m=y?Math.sqrt((n*n*(i*i)-y)/y):1;l===u&&(m*=-1),isNaN(m)&&(m=0);var b=i?m*n*g/i:0,x=n?-(m*i)*h/n:0,_=(c+d)/2+Math.cos(s)*b-Math.sin(s)*x,O=(f+p)/2+Math.sin(s)*b+Math.cos(s)*x,P=[(h-b)/n,(g-x)/i],M=[(-1*h-b)/n,(-1*g-x)/i],A=o([1,0],P),S=o(P,M);return -1>=a(P,M)&&(S=Math.PI),a(P,M)>=1&&(S=0),0===u&&S>0&&(S-=2*Math.PI),1===u&&S<0&&(S+=2*Math.PI),{cx:_,cy:O,rx:(0,r.isSamePoint)(t,[d,p])?0:n,ry:(0,r.isSamePoint)(t,[d,p])?0:i,startAngle:A,endAngle:A+S,xRotation:s,arcFlag:l,sweepFlag:u}};var r=n(53);function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function a(t,e){return i(t)*i(e)?(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e)):1}function o(t,e){return(t[0]*e[1]Math.abs(t)?0:t<0?-1:1}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i=!1,a=t.length;if(a<=2)return!1;for(var o=0;o0!=r(u[1]-n)>0&&0>r(e-(n-l[1])*(l[0]-u[0])/(l[1]-u[1])-l[0])&&(i=!i)}return i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i,a,o,s,l){var u=(Math.atan2(l-e,s-t)+2*Math.PI)%(2*Math.PI);if(ua)return!1;var c={x:t+n*Math.cos(u),y:e+n*Math.sin(u)};return(0,r.distance)(c.x,c.y,s,l)<=o/2};var r=n(53)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,a){var o=t.length;if(o<2)return!1;for(var s=0;s1){for(var o=e.addGroup(),s=0;s1?e[1]:n,o=e.length>3?e[3]:r,s=e.length>2?e[2]:a;return{min:n,max:r,min1:a,max1:o,median:s}}function l(t,e,n){var r,a=n/2;if((0,i.isArray)(e)){var o=s(e),l=o.min,u=o.max,c=o.median,f=o.min1,d=o.max1,p=t-a,h=t+a;r=[[p,u],[h,u],[t,u],[t,d],[p,f],[p,d],[h,d],[h,f],[t,f],[t,l],[p,l],[h,l],[p,c],[h,c]]}else{e=(0,i.isNil)(e)?.5:e;var g=s(t),l=g.min,u=g.max,c=g.median,f=g.min1,d=g.max1,v=e-a,y=e+a;r=[[l,v],[l,y],[l,e],[f,e],[f,v],[f,y],[d,y],[d,v],[d,e],[u,e],[u,v],[u,y],[c,v],[c,y]]}return r.map(function(t){return{x:t[0],y:t[1]}})}(0,a.registerShape)("schema","box",{getPoints:function(t){return l(t.x,t.y,t.size)},draw:function(t,e){var n,i=(0,o.getStyle)(t,!0,!1),a=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["M",n[4].x,n[4].y],["L",n[5].x,n[5].y],["L",n[6].x,n[6].y],["L",n[7].x,n[7].y],["L",n[4].x,n[4].y],["Z"],["M",n[8].x,n[8].y],["L",n[9].x,n[9].y],["M",n[10].x,n[10].y],["L",n[11].x,n[11].y],["M",n[12].x,n[12].y],["L",n[13].x,n[13].y]]);return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:a,name:"schema"})})},getMarker:function(t){return{symbol:function(t,e,n){var r=l(t,[e-6,e-3,e,e+3,e+6],n);return[["M",r[0].x+1,r[0].y],["L",r[1].x-1,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x+1,r[10].y],["L",r[11].x-1,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]},style:{r:6,lineWidth:1,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(70),o=n(27),s=n(33);function l(t,e,n){var r,o=(r=((0,i.isArray)(e)?e:[e]).sort(function(t,e){return e-t}),(0,a.padEnd)(r,4,r[r.length-1]));return[{x:t,y:o[0]},{x:t,y:o[1]},{x:t-n/2,y:o[2]},{x:t-n/2,y:o[1]},{x:t+n/2,y:o[1]},{x:t+n/2,y:o[2]},{x:t,y:o[2]},{x:t,y:o[3]}]}(0,o.registerShape)("schema","candle",{getPoints:function(t){return l(t.x,t.y,t.size)},draw:function(t,e){var n,i=(0,s.getStyle)(t,!0,!0),a=this.parsePath([["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["L",n[4].x,n[4].y],["L",n[5].x,n[5].y],["Z"],["M",n[6].x,n[6].y],["L",n[7].x,n[7].y]]);return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:a,name:"schema"})})},getMarker:function(t){var e=t.color;return{symbol:function(t,e,n){var r=l(t,[e+7.5,e+3,e-3,e-7.5],n);return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(33);(0,a.registerShape)("polygon","square",{draw:function(t,e){if(!(0,i.isEmpty)(t.points)){var n,a,s,l,u=(0,o.getStyle)(t,!0,!0),c=this.parsePoints(t.points);return e.addShape("rect",{attrs:(0,r.__assign)((0,r.__assign)({},u),(n=t.size,l=Math.min(a=Math.abs(c[0].x-c[2].x),s=Math.abs(c[0].y-c[2].y)),n&&(l=(0,i.clamp)(n,0,Math.min(a,s))),l/=2,{x:(c[0].x+c[2].x)/2-l,y:(c[0].y+c[2].y)/2-l,width:2*l,height:2*l})),name:"polygon"})}},getMarker:function(t){return{symbol:"square",style:{r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.antiCollision=void 0,e.antiCollision=function(t,e,n){var r,i=t.filter(function(t){return!t.invisible});i.sort(function(t,e){return t.y-e.y});var a=!0,o=n.minY,s=Math.abs(o-n.maxY),l=0,u=Number.MIN_VALUE,c=i.map(function(t){return t.y>l&&(l=t.y),t.ys&&(s=l-o);a;)for(c.forEach(function(t){var e=(Math.min.apply(u,t.targets)+Math.max.apply(u,t.targets))/2;t.pos=Math.min(Math.max(u,e-t.size/2),s-t.size),t.pos=Math.max(0,t.pos)}),a=!1,r=c.length;r--;)if(r>0){var f=c[r-1],d=c[r];f.pos+f.size>d.pos&&(f.size+=d.size,f.targets=f.targets.concat(d.targets),f.pos+f.size>s&&(f.pos=s-f.size),c.splice(r,1),a=!0)}r=0,c.forEach(function(t){var n=o+e/2;t.targets.forEach(function(){i[r].y=t.pos+n,n+=e,r++})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="rect",e}return(0,r.__extends)(e,t),e.prototype.getRegion=function(){var t=this.points;return{start:(0,i.head)(t),end:(0,i.last)(t)}},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),e=t.start,n=t.end;return{x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),width:Math.abs(n.x-e.x),height:Math.abs(n.y-e.y)}},e}((0,r.__importDefault)(n(288)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getMaskPath=function(){var t=this.points,e=[];return t.length&&((0,i.each)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},e.prototype.getMaskAttrs=function(){return{path:this.getMaskPath()}},e.prototype.addPoint=function(){this.resize()},e}((0,r.__importDefault)(n(288)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BRUSH_FILTER_EVENTS=void 0;var r,i,a=n(1),o=n(98),s=(0,a.__importDefault)(n(44)),l=n(31);function u(t,e,n,r){var i=Math.min(n[e],r[e]),a=Math.max(n[e],r[e]),o=t.range,s=o[0],l=o[1];if(il&&(a=l),i===l&&a===l)return null;var u=t.invert(i),c=t.invert(a);if(!t.isCategory)return function(t){return t>=u&&t<=c};var f=t.values.indexOf(u),d=t.values.indexOf(c),p=t.values.slice(f,d+1);return function(t){return p.includes(t)}}(r=i||(i={})).FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset",e.BRUSH_FILTER_EVENTS=i;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.startPoint=null,e.isStarted=!1,e}return(0,a.__extends)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){if((0,l.isMask)(this.context)){var t,e,n=this.context.event.target.getCanvasBBox();t={x:n.x,y:n.y},e={x:n.maxX,y:n.maxY}}else{if(!this.isStarted)return;t=this.startPoint,e=this.context.getCurrentPoint()}if(!(5>Math.abs(t.x-e.x)||5>Math.abs(t.x-e.y))){var r=this.context,a=r.view,s={view:a,event:r.event,dims:this.dims};a.emit(i.BEFORE_FILTER,o.Event.fromData(a,i.BEFORE_FILTER,s));var c=a.getCoordinate(),f=c.invert(e),d=c.invert(t);if(this.hasDim("x")){var p=a.getXScale(),h=u(p,"x",f,d);this.filterView(a,p.field,h)}if(this.hasDim("y")){var g=a.getYScales()[0],h=u(g,"y",f,d);this.filterView(a,g.field,h)}this.reRender(a,{source:i.FILTER}),a.emit(i.AFTER_FILTER,o.Event.fromData(a,i.AFTER_FILTER,s))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(i.BEFORE_RESET,o.Event.fromData(t,i.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var e=t.getXScale();this.filterView(t,e.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:i.RESET}),t.emit(i.AFTER_RESET,o.Event.fromData(t,i.AFTER_RESET,{}))},e.prototype.filterView=function(t,e,n){t.filter(e,n)},e.prototype.reRender=function(t,e){t.render(!0,e)},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dims=["x","y"],e.cfgFields=["dims"],e.cacheScaleDefs={},e}return(0,r.__extends)(e,t),e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var e=this.context.view;return"x"===t?e.getXScale():e.getYScales()[0]},e.prototype.resetDim=function(t){var e=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);e.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim("x"),this.resetDim("y"),this.context.view.render(!0)},e}(n(185).Action);e.default=i},function(t,e,n){"use strict";var r=n(482);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);ne.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(_.registerFacet)("rect",v.a),Object(_.registerFacet)("mirror",h.a),Object(_.registerFacet)("list",c.a),Object(_.registerFacet)("matrix",d.a),Object(_.registerFacet)("circle",l.a),Object(_.registerFacet)("tree",m.a),e.a=function(t){var e=Object(b.a)(),n=Object(x.a)(),r=t.type,a=t.children,s=O(t,["type","children"]);return e.facetInstance&&(e.facetInstance.destroy(),e.facetInstance=null,n.forceReRender=!0),o()(a)?e.facet(r,i()(i()({},s),{eachView:a})):e.facet(r,i()({},s)),null}},function(t,e,n){"use strict";n(3);var r=n(344),i=n.n(r),a=n(25),o=n(40);Object(a.registerComponentController)("slider",i.a),e.a=function(t){return Object(o.a)().option("slider",t),null}},function(t,e,n){"use strict";n(98),n(272)},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(332),h=n.n(p),g=n(39),v=n(8);n(463),n(474),n(473),Object(v.registerGeometry)("Schema",h.a);var y=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="schema",t}return i()(r)}(g.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r=n(10),i=n.n(r),a=n(9),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(158),h=n.n(p),g=n(162),v=n(39),y=n(8);Object(y.registerAnimation)("path-in",g.pathIn),Object(y.registerGeometry)("Path",h.a);var m=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.GemoBaseClassName="path",t}return i()(r)}(v.a)},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(128),l=n(216),u=n(217),c=n(218),f=n(129),d=n(130),p=n(219),h=n(220),g=n(17),v=n.n(g),y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},m={area:s.a,edge:l.a,heatmap:u.a,interval:c.a,line:f.a,point:d.a,polygon:p.a,"line-advance":h.a};e.a=function(t){var e=t.type,n=y(t,["type"]),r=m[e];return r?o.a.createElement(r,i()({},n)):(v()(!1,"Only support the below type: area|edge|heatmap|interval|line|point|polygon|line-advance"),null)}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(17),l=n.n(s),u=n(215);function c(t){return l()(!1,"Coord (协调) 组件将重命名为更加语义化的组件名 Coordinate(坐标),请使用Coordinate替代,我们将在5.0后删除Coord组件"),o.a.createElement(u.a,i()({},t))}},function(t,e,n){"use strict";var r=n(17),i=n.n(r),a=n(207),o=n(208),s=n(209),l=n(210),u=n(211),c=n(212),f=n(213),d=function(t){return i()(!1,"Guide组件将在5.0后不再支持,请使用Annotation替代,请查看Annotation的使用文档"),t.children};d.Arc=a.a,d.DataMarker=o.a,d.DataRegion=s.a,d.Image=l.a,d.Line=u.a,d.Region=c.a,d.Text=f.a,e.a=d},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(3),i=n.n(r),a=n(28),o=n.n(a),s=n(81),l=n(17),u=n.n(l);function c(t){var e=Object(s.a)();if(o()(t.children)){var n=t.children(e);return i.a.isValidElement(n)?n:null}return u()(!1,"Effects 的子组件应当是一个函数 (chart) => {}"),null}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(3),i=n(40);function a(t){var e=Object(i.a)(),n=t.type,a=t.config;return Object(r.useLayoutEffect)(function(){return e.interaction(n,a),function(){e.removeInteraction(n)}}),null}},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.pick=void 0,e.pick=function(t,e){var n={};return null!==t&&"object"===(0,r.default)(t)&&e.forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=e.invariant=e.LEVEL=void 0;var r,i=n(1);(r=e.LEVEL||(e.LEVEL={})).ERROR="error",r.WARN="warn",r.INFO="log";var a="AntV/G2Plot";function o(t){for(var e=[],n=1;n"},key:(0===l?"top":"bottom")+"-statistic"},a.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}})},e.renderGaugeStatistic=function(t,e,n){var l=e.statistic;[l.title,l.content].forEach(function(e){if(e){var l=i.isFunction(e.style)?e.style(n):e.style;t.annotation().html(r.__assign({position:["50%","100%"],html:function(t,a){var u=a.getCoordinate(),c=a.views[0].getCoordinate(),f=c.getCenter(),d=c.getRadius(),p=Math.max(Math.sin(c.startAngle),Math.sin(c.endAngle))*d,h=f.y+p-u.y.start-parseFloat(i.get(l,"fontSize",0)),g=u.getRadius()*u.innerRadius*2;s(t,r.__assign({width:g+"px",transform:"translate(-50%, "+h+"px)"},o(l)));var v=a.getData();if(e.customHtml)return e.customHtml(t,a,n,v);var y=e.content;return e.formatter&&(y=e.formatter(n,v)),y?i.isString(y)?y:""+y:"
    "}},a.pick(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(133),i=n.n(r),a=n(3),o=n(92);function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=Object(o.getTheme)(t);e.name=t;var n=Object(a.useState)(e),r=i()(n,2),s=r[0],l=r[1];return[s,function(t){var e=Object(o.getTheme)(t);e.name=t,l(e)}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;var r=n(1065);e.bind=function(t,e){var n=(0,r.getSensor)(t);return n.bind(e),function(){n.unbind(e)}},e.clear=function(t){var e=(0,r.getSensor)(t);(0,r.removeSensor)(e)},e.ver="1.0.1"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,a=Array(i),o=0;o1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},n.prototype.getButtonCfg=function(){var t=this.context.view,e=a.get(t,["interactions","drill-down","cfg","drillDownConfig"]);return o.deepAssign(this.breadCrumbCfg,null==e?void 0:e.breadCrumb,this.cfg)},n.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},n.prototype.drawBreadCrumbGroup=function(){var t=this,n=this.getButtonCfg(),i=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:e.BREAD_CRUMB_NAME});var o=0;i.forEach(function(s,l){var u=t.breadCrumbGroup.addShape({type:"text",id:s.id,name:e.BREAD_CRUMB_NAME+"_"+s.name+"_text",attrs:r.__assign(r.__assign({text:0!==l||a.isNil(n.rootText)?s.name:n.rootText},n.textStyle),{x:o,y:0})}),c=u.getBBox();if(o+=c.width+4,u.on("click",function(e){var n,r=e.target.get("id");if(r!==(null===(n=a.last(i))||void 0===n?void 0:n.id)){var o=i.slice(0,i.findIndex(function(t){return t.id===r})+1);t.backTo(o)}}),u.on("mouseenter",function(t){var e;t.target.get("id")!==(null===(e=a.last(i))||void 0===e?void 0:e.id)?u.attr(n.activeTextStyle):u.attr({cursor:"default"})}),u.on("mouseleave",function(){u.attr(n.textStyle)}),l(o*=o)?(r=(u+o-i)/(2*u),a=Math.sqrt(Math.max(0,o/u-r*r)),n.x=t.x-r*s-a*l,n.y=t.y-r*l+a*s):(r=(u+i-o)/(2*u),a=Math.sqrt(Math.max(0,i/u-r*r)),n.x=e.x+r*s-a*l,n.y=e.y+r*l+a*s)):(n.x=e.x+n.r,n.y=e.y)}function s(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function l(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function u(t){this._=t,this.next=null,this.previous=null}function c(t){var e,n,r,c,f,d,p,h,g,v,y;if(!(c=(t=(0,i.default)(t)).length))return 0;if((e=t[0]).x=0,e.y=0,!(c>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(c>2))return e.r+n.r;o(n,e,r=t[2]),e=new u(e),n=new u(n),r=new u(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(p=3;p0&&n*n>r*r+i*i}function o(t,e){for(var n=0;n0?n:e;return e<0?e:n;case"outer":if(n=12,r.isString(e)&&e.endsWith("%"))return .01*parseFloat(e)<0?n:e;return e>0?e:n;default:return e}},e.isAllZero=function(t,e){return r.every(i.processIllegalData(t,e),function(t){return 0===t[e]})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PIE_STATISTIC=void 0;var r=n(14),i=n(1129),a=n(1130);e.PIE_STATISTIC="pie-statistic",r.registerAction(e.PIE_STATISTIC,a.StatisticAction),r.registerInteraction("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),r.registerAction("pie-legend",i.PieLegendAction),r.registerInteraction("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0;var r=n(1),i=n(14),a=[1,0,0,0,1,0,0,0,1];e.transform=function(t,e){var n=e?r.__spreadArrays(e):r.__spreadArrays(a);return i.Util.transform(n,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSingleKeyValues=e.getFontSizeMapping=e.processImageMask=e.getSize=e.transform=void 0;var r=n(1),i=n(0),a=n(293),o=n(15),s=n(1137);function l(t){var e,n,r,i=t.width,s=t.height,l=t.container,u=t.autoFit,c=t.padding,f=t.appendPadding;if(u){var d=o.getContainerSize(l);i=d.width,s=d.height}i=i||400,s=s||400;var p=(e={padding:c,appendPadding:f},n=a.normalPadding(e.padding),r=a.normalPadding(e.appendPadding),[n[0]+r[0],n[1]+r[1],n[2]+r[2],n[3]+r[3]]),h=p[0],g=p[1],v=p[2];return[i-(p[3]+g),s-(h+v)]}function u(t,e){if(i.isFunction(t))return t;if(i.isArray(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var a=e[0],o=e[1];return o===a?function(){return(r+n)/2}:function(t){return(r-n)/(o-a)*(t.value-a)+n}}return function(){return t}}function c(t,e){return t.map(function(t){return t[e]}).filter(function(t){return!("number"!=typeof t||isNaN(t))})}e.transform=function(t){var e=t.options,n=t.chart,a=n.width,f=n.height,d=n.padding,p=n.appendPadding,h=n.ele,g=e.data,v=e.imageMask,y=e.wordField,m=e.weightField,b=e.colorField,x=e.wordStyle,_=e.timeInterval,O=e.random,P=e.spiral,M=e.autoFit,A=e.placementStrategy;if(!g||!g.length)return[];var S=x.fontFamily,w=x.fontWeight,E=x.padding,C=x.fontSize,T=c(g,m),I=[Math.min.apply(Math,T),Math.max.apply(Math,T)],j=g.map(function(t){return{text:t[y],value:t[m],color:t[b],datum:t}}),F={imageMask:v,font:S,fontSize:u(C,I),fontWeight:w,size:l({width:a,height:f,padding:d,appendPadding:p,autoFit:void 0===M||M,container:h}),padding:E,timeInterval:_,random:O,spiral:P,rotate:function(t){var e,n=((e=t.wordStyle.rotationSteps)<1&&(o.log(o.LEVEL.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}),r=n.rotation,a=n.rotationSteps;if(!i.isArray(r))return r;var s=r[0],l=r[1],u=1===a?0:(l-s)/(a-1);return function(){return l===s?l:Math.floor(Math.random()*a)*u}}(e)};if(i.isFunction(A)){var L=j.map(function(t,e,i){return r.__assign(r.__assign(r.__assign({},t),{hasText:!!t.text,font:s.functor(F.font)(t,e,i),weight:s.functor(F.fontWeight)(t,e,i),rotate:s.functor(F.rotate)(t,e,i),size:s.functor(F.fontSize)(t,e,i),style:"normal"}),A.call(n,t,e,i))});return L.push({text:"",value:0,x:0,y:0,opacity:0}),L.push({text:"",value:0,x:F.size[0],y:F.size[1],opacity:0}),L}return s.wordCloud(j,F)},e.getSize=l,e.processImageMask=function(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement){e(t);return}if(i.isString(t)){var r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},r.onerror=function(){o.log(o.LEVEL.ERROR,!1,"image %s load failed !!!",t),n()};return}o.log(o.LEVEL.WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()})},e.getFontSizeMapping=u,e.getSingleKeyValues=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.WORD_CLOUD_COLOR_FIELD=void 0;var r=n(24),i=n(15);e.WORD_CLOUD_COLOR_FIELD="color",e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",e.WORD_CLOUD_COLOR_FIELD],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.basicFunnel=void 0;var r=n(1),i=n(0),a=n(15),o=n(64),s=n(59),l=n(120),u=n(300);function c(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,a=n.yField,o=n.maxSize,s=n.minSize,l=u.transformData(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),t}function f(t){var e=t.chart,n=t.options,r=n.xField,u=n.yField,c=n.color,f=n.tooltip,d=n.label,p=n.shape,h=n.funnelStyle,g=n.state,v=o.getTooltipMapping(f,[r,u]),y=v.fields,m=v.formatter;return s.geometry({chart:e,options:{type:"interval",xField:r,yField:l.FUNNEL_MAPPING_VALUE,colorField:r,tooltipFields:i.isArray(y)&&y.concat([l.FUNNEL_PERCENT,l.FUNNEL_CONVERSATION]),mapping:{shape:void 0===p?"funnel":p,tooltip:m,color:c,style:h},label:d,state:g}}),a.findGeometry(t.chart,"interval").adjust("symmetric"),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function p(t){var e=t.options.maxSize;return u.conversionTagComponent(function(t,n,i,a){var o=e-(e-t[l.FUNNEL_MAPPING_VALUE])/2;return r.__assign(r.__assign({},a),{start:[n-.5,o],end:[n-.5,o+.05]})})(t),t}e.basicFunnel=function(t){return a.flow(c,f,d,p)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLiquidData=void 0,e.getLiquidData=function(t){return[{percent:t,type:"liquid"}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.binHistogram=void 0;var r=n(0);function i(t,e,n){if(1===n)return[0,e];var r=Math.floor(t/e);return[e*r,e*(r+1)]}e.binHistogram=function(t,e,n,a,o){var s=r.clone(t);r.sortBy(s,e);var l=r.valuesOfKey(s,e),u=r.getRange(l),c=u.max-u.min,f=n;!n&&a&&(f=a>1?c/(a-1):u.max),n||a||(f=c/(Math.ceil(Math.log(l.length)/Math.LN2)+1));var d={},p=r.groupBy(s,o);r.isEmpty(p)?r.each(s,function(t){var n=i(t[e],f,a),o=n[0]+"-"+n[1];r.hasKey(d,o)||(d[o]={range:n,count:0}),d[o].count+=1}):Object.keys(p).forEach(function(t){r.each(p[t],function(n){var s=i(n[e],f,a),l=s[0]+"-"+s[1]+"-"+t;r.hasKey(d,l)||(d[l]={range:s,count:0},d[l][o]=t),d[l].count+=1})});var h=[];return r.each(d,function(t){h.push(t)}),h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.HISTOGRAM_Y_FIELD=e.HISTOGRAM_X_FIELD=void 0;var r=n(24),i=n(15);e.HISTOGRAM_X_FIELD="range",e.HISTOGRAM_Y_FIELD="count",e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=e.processData=void 0;var r=n(1),i=n(0),a=n(15),o=n(301);function s(t,e,n,o,s){var l,u=[];if(i.reduce(t,function(t,e){a.log(a.LEVEL.WARN,i.isNumber(e[n]),e[n]+" is not a valid number");var s,l=i.isUndefined(e[n])?null:e[n];return u.push(r.__assign(r.__assign({},e),((s={})[o]=[t,t+l],s))),t+l},0),u.length&&s){var c=i.get(u,[[t.length-1],o,[1]]);u.push(((l={})[e]=s.label,l[n]=c,l[o]=[0,c],l))}return u}e.processData=s,e.transformData=function(t,e,n,a){return s(t,e,n,o.Y_FIELD,a).map(function(e,n){var a;return i.isObject(e)?r.__assign(r.__assign({},e),((a={})[o.ABSOLUTE_FIELD]=e[o.Y_FIELD][1],a[o.DIFF_FIELD]=e[o.Y_FIELD][1]-e[o.Y_FIELD][0],a[o.IS_TOTAL]=n===t.length,a)):e})}},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t){function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(t,e,n,r){t=t.filter(function(t,r){var i=e(t,r),a=n(t,r);return null!=i&&isFinite(i)&&null!=a&&isFinite(a)}),r&&t.sort(function(t,n){return e(t)-e(n)});for(var i,a,o,s=t.length,l=new Float64Array(s),u=new Float64Array(s),c=0,f=0,d=0;dr&&(t.splice(s+1,0,d),i=!0)}return i}(i)&&o<1e4;);return i}function s(t,e,n,r){var i=r-t*t,a=1e-24>Math.abs(i)?0:(n-t*e)/i;return[e-a*t,a]}function l(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function o(o){var l=0,u=0,c=0,f=0,d=0,p=t?+t[0]:1/0,h=t?+t[1]:-1/0;r(o,n,a,function(e,n){++l,u+=(e-u)/l,c+=(n-c)/l,f+=(e*n-f)/l,d+=(e*e-d)/l,!t&&(eh&&(h=e))});var g=e(s(u,c,f,d),2),v=g[0],y=g[1],m=function(t){return y*t+v},b=[[p,m(p)],[h,m(h)]];return b.a=y,b.b=v,b.predict=m,b.rSquared=i(o,n,a,c,m),b}return o.domain=function(e){return arguments.length?(t=e,o):t},o.x=function(t){return arguments.length?(n=t,o):n},o.y=function(t){return arguments.length?(a=t,o):a},o}function u(){var t,a=function(t){return t[0]},s=function(t){return t[1]};function l(l){var u,c,f,d,p=e(n(l,a,s),4),h=p[0],g=p[1],v=p[2],y=p[3],m=h.length,b=0,x=0,_=0,O=0,P=0;for(u=0;uw&&(w=e))});var E=_-b*b,C=b*E-x*x,T=(P*b-O*x)/C,I=(O*E-P*x)/C,j=-T*b,F=function(t){return T*(t-=v)*t+I*t+j+y},L=o(S,w,F);return L.a=T,L.b=I-2*T*v,L.c=j-I*v+T*v*v+y,L.predict=F,L.rSquared=i(l,a,s,M,F),L}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(a=t,l):a},l.y=function(t){return arguments.length?(s=t,l):s},l}t.regressionExp=function(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function l(l){var u=0,c=0,f=0,d=0,p=0,h=0,g=t?+t[0]:1/0,v=t?+t[1]:-1/0;r(l,n,a,function(e,n){var r=Math.log(n),i=e*n;++u,c+=(n-c)/u,d+=(i-d)/u,h+=(e*i-h)/u,f+=(n*r-f)/u,p+=(i*r-p)/u,!t&&(ev&&(v=e))});var y=e(s(d/c,f/c,p/c,h/c),2),m=y[0],b=y[1];m=Math.exp(m);var x=function(t){return m*Math.exp(b*t)},_=o(g,v,x);return _.a=m,_.b=b,_.predict=x,_.rSquared=i(l,n,a,c,x),_}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(a=t,l):a},l},t.regressionLinear=l,t.regressionLoess=function(){var t=function(t){return t[0]},r=function(t){return t[1]},i=.3;function a(a){for(var o=e(n(a,t,r,!0),4),l=o[0],u=o[1],c=o[2],f=o[3],d=l.length,p=Math.max(2,~~(i*d)),h=new Float64Array(d),g=new Float64Array(d),v=new Float64Array(d).fill(1),y=-1;++y<=2;){for(var m=[0,p-1],b=0;bl[O]-x?_:O,M=0,A=0,S=0,w=0,E=0,C=1/Math.abs(l[P]-x||1),T=_;T<=O;++T){var I,j=l[T],F=u[T],L=(I=1-(I=Math.abs(x-j)*C)*I*I)*I*I*v[T],D=j*L;M+=L,A+=D,S+=F*L,w+=F*D,E+=j*D}var k=e(s(A/M,S/M,w/M,E/M),2),R=k[0],N=k[1];h[b]=R+N*x,g[b]=Math.abs(u[b]-h[b]),function(t,e,n){var r=t[e],i=n[0],a=n[1]+1;if(!(a>=t.length))for(;e>i&&t[a]-r<=r-t[i];)n[0]=++i,n[1]=a,++a}(l,b+1,m)}if(2===y)break;var B=function(t){t.sort(function(t,e){return t-e});var e=t.length/2;return e%1==0?(t[e-1]+t[e])/2:t[Math.floor(e)]}(g);if(1e-12>Math.abs(B))break;for(var G,V,z=0;z=1?1e-12:(V=1-G*G)*V}return function(t,e,n,r){for(var i,a=t.length,o=[],s=0,l=0,u=[];sv&&(v=e))});var m=e(s(f,d,p,h),2),b=m[0],x=m[1],_=function(t){return x*Math.log(t)/y+b},O=o(g,v,_);return O.a=x,O.b=b,O.predict=_,O.rSquared=i(u,n,a,d,_),O}return u.domain=function(e){return arguments.length?(t=e,u):t},u.x=function(t){return arguments.length?(n=t,u):n},u.y=function(t){return arguments.length?(a=t,u):a},u.base=function(t){return arguments.length?(l=t,u):l},u},t.regressionPoly=function(){var t,a=function(t){return t[0]},s=function(t){return t[1]},c=3;function f(f){if(1===c){var d,p,h,g,v,y=l().x(a).y(s).domain(t)(f);return y.coefficients=[y.b,y.a],delete y.a,delete y.b,y}if(2===c){var m=u().x(a).y(s).domain(t)(f);return m.coefficients=[m.c,m.b,m.a],delete m.a,delete m.b,delete m.c,m}var b=e(n(f,a,s),4),x=b[0],_=b[1],O=b[2],P=b[3],M=x.length,A=[],S=[],w=c+1,E=0,C=0,T=t?+t[0]:1/0,I=t?+t[1]:-1/0;for(r(f,a,s,function(e,n){++C,E+=(n-E)/C,!t&&(eI&&(I=e))}),d=0;dMath.abs(t[e][i])&&(i=n);for(r=e;r=e;r--)t[r][n]-=t[r][e]*t[e][n]/t[e][e]}for(n=o-1;n>=0;--n){for(a=0,r=n+1;r=0;--i)for(o=e[i],s=1,l[i]+=o,a=1;a<=i;++a)s*=(i+1-a)/a,l[i-a]+=o*Math.pow(n,a)*s;return l[0]+=r,l}(w,j,-O,P),L.predict=F,L.rSquared=i(f,a,s,E,F),L}return f.domain=function(e){return arguments.length?(t=e,f):t},f.x=function(t){return arguments.length?(a=t,f):a},f.y=function(t){return arguments.length?(s=t,f):s},f.order=function(t){return arguments.length?(c=t,f):c},f},t.regressionPow=function(){var t,n=function(t){return t[0]},a=function(t){return t[1]};function l(l){var u=0,c=0,f=0,d=0,p=0,h=0,g=t?+t[0]:1/0,v=t?+t[1]:-1/0;r(l,n,a,function(e,n){var r=Math.log(e),i=Math.log(n);++u,c+=(r-c)/u,f+=(i-f)/u,d+=(r*i-d)/u,p+=(r*r-p)/u,h+=(n-h)/u,!t&&(ev&&(v=e))});var y=e(s(c,f,d,p),2),m=y[0],b=y[1];m=Math.exp(m);var x=function(t){return m*Math.pow(t,b)},_=o(g,v,x);return _.a=m,_.b=b,_.predict=x,_.rSquared=i(l,n,a,h,x),_}return l.domain=function(e){return arguments.length?(t=e,l):t},l.x=function(t){return arguments.length?(n=t,l):n},l.y=function(t){return arguments.length?(a=t,l):a},l},t.regressionQuad=u,Object.defineProperty(t,"__esModule",{value:!0})},"object"===(0,o.default)(e)&&void 0!==t?a(e):(r=[e],void 0!==(i=a.apply(e,r))&&(t.exports=i))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0,e.transformData=function(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,a=t.targetField,o=t.layout,s=[],l=[];e.forEach(function(t,e){var o;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,a){var o,l=0===a?r:t[i][a]-t[i][a-1];s.push(((o={rKey:i+"_"+a})[n]=n?t[n]:String(e),o[i]=l,o))}),t[r].forEach(function(i,a){var o;s.push(((o={mKey:t[r].length>1?r+"_"+a:""+r})[n]=n?t[n]:String(e),o[r]=i,o))}),s.push(((o={tKey:""+a})[n]=n?t[n]:String(e),o[a]=t[a],o)),l.push(t[i],t[r],t[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,"vertical"===o&&s.reverse(),{min:u,max:c,ds:s}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.pick=function(t,e){var n={};return null!==t&&"object"===(0,i.default)(t)&&e.forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n};var i=r(n(6))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LEVEL=void 0,e.invariant=function(t,e){for(var n=[],r=2;r"},key:(0===l?"top":"bottom")+"-statistic"},(0,a.pick)(e,["offsetX","offsetY","rotate","style","formatter"])))}})},e.renderGaugeStatistic=function(t,e,n){var l=e.statistic;[l.title,l.content].forEach(function(e){if(e){var l=(0,i.isFunction)(e.style)?e.style(n):e.style;t.annotation().html((0,r.__assign)({position:["50%","100%"],html:function(t,a){var u=a.getCoordinate(),c=a.views[0].getCoordinate(),f=c.getCenter(),d=c.getRadius(),p=Math.max(Math.sin(c.startAngle),Math.sin(c.endAngle))*d,h=f.y+p-u.y.start-parseFloat((0,i.get)(l,"fontSize",0)),g=u.getRadius()*u.innerRadius*2;s(t,(0,r.__assign)({width:g+"px",transform:"translate(-50%, "+h+"px)"},o(l)));var v=a.getData();if(e.customHtml)return e.customHtml(t,a,n,v);var y=e.content;return e.formatter&&(y=e.formatter(n,v)),y?(0,i.isString)(y)?y:""+y:"
    "}},(0,a.pick)(e,["offsetX","offsetY","rotate","style","formatter"])))}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL=void 0,e.setGlobal=function(t){(0,r.each)(t,function(t,e){return i[e]=t})};var r=n(0),i={locale:"en-US"};e.GLOBAL=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var r=n(1),i=n(19),a=n(303),o=n(1192);n(1193);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options;(0,a.meta)({chart:e,options:n}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Line=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasPattern=function(t){var e,n=t.type,o=t.cfg;switch(n){case"dot":e=(0,r.createDotPattern)(o);break;case"line":e=(0,i.createLinePattern)(o);break;case"square":e=(0,a.createSquarePattern)(o)}return e};var r=n(1183),i=n(1184),a=n(1185)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.point=function(t){var e=t.options,n=e.point,s=e.xField,l=e.yField,u=e.seriesField,c=e.sizeField,f=e.shapeField,d=e.tooltip,p=(0,i.getTooltipMapping)(d,[s,l,u,c,f]),h=p.fields,g=p.formatter;return n?(0,o.geometry)((0,a.deepAssign)({},t,{options:{type:"point",colorField:u,shapeField:f,tooltipFields:h,mapping:(0,r.__assign)({tooltip:g},n)}})):t};var r=n(1),i=n(65),a=n(7),o=n(49)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.polygon=function(t){var e=t.options,n=e.polygon,s=e.xField,l=e.yField,u=e.seriesField,c=e.tooltip,f=(0,i.getTooltipMapping)(c,[s,l,u]),d=f.fields,p=f.formatter;return n?(0,o.geometry)((0,a.deepAssign)({},t,{options:{type:"polygon",colorField:u,tooltipFields:d,mapping:(0,r.__assign)({tooltip:p},n)}})):t};var r=n(1),i=n(65),a=n(7),o=n(49)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Area=void 0;var r=n(1),i=n(19),a=n(123),o=n(549),s=n(1195),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.isPercent,r=e.xField,i=e.yField,s=this.chart,l=this.options;(0,o.meta)({chart:s,options:l}),this.chart.changeData((0,a.getDataWhetherPecentage)(t,i,r,i,n))},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Area=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(a.theme,(0,a.pattern)("areaStyle"),c,u.meta,d,u.axis,u.legend,a.tooltip,f,a.slider,(0,a.annotation)(),a.interaction,a.animation,a.limitInPlot)(t)},Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return u.meta}});var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(123),u=n(303);function c(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,u=n.color,c=n.point,f=n.line,d=n.isPercent,p=n.xField,h=n.yField,g=n.tooltip,v=n.seriesField,y=n.startOnZero,m=null==c?void 0:c.state,b=(0,l.getDataWhetherPecentage)(i,h,p,h,d);e.data(b);var x=d?(0,r.__assign)({formatter:function(t){return{name:t[v]||t[p],value:(100*Number(t[h])).toFixed(2)+"%"}}},g):g,_=(0,o.deepAssign)({},t,{options:{area:{color:u,style:a},line:f&&(0,r.__assign)({color:u},f),point:c&&(0,r.__assign)({color:u},c),tooltip:x,label:void 0,args:{startOnZero:y}}}),O=(0,o.deepAssign)({options:{line:{size:2}}},_,{options:{sizeField:v,tooltip:!1}}),P=(0,o.deepAssign)({},_,{options:{tooltip:!1,state:m}});return(0,s.area)(_),(0,s.line)(O),(0,s.point)(P),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"area");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,r.__assign)({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},(0,o.transformLabel)(u))})}else s.label(!1);return t}function d(t){var e=t.chart,n=t.options,r=n.isStack,a=n.isPercent,o=n.seriesField;return(a||r)&&o&&(0,i.each)(e.geometries,function(t){t.adjust("stack")}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Column=void 0;var r=n(1),i=n(19),a=n(123),o=n(198),s=n(1200),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="column",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options,n=e.yField,r=e.xField,i=e.isPercent,s=this.chart,l=this.options;(0,o.meta)({chart:s,options:l}),this.chart.changeData((0,a.getDataWhetherPecentage)(t,n,r,n,i))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Column=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conversionTagFormatter=function(t,e){return(0,r.isNumber)(t)&&(0,r.isNumber)(e)?t===e?"100%":0===t?"∞":0===e?"-∞":(100*e/t).toFixed(2)+"%":"-"};var r=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.brushInteraction=function(t){var e=t.options,n=e.brush,s=(0,r.filter)(e.interactions||[],function(t){return -1===o.indexOf(t.type)});return(null==n?void 0:n.enabled)&&(o.forEach(function(t){var e,r=!1;switch(n.type){case"x-rect":r=t===("highlight"===n.action?"brush-x-highlight":"brush-x");break;case"y-rect":r=t===("highlight"===n.action?"brush-y-highlight":"brush-y");break;default:r=t===("highlight"===n.action?"brush-highlight":"brush")}var a={type:t,enable:r};((null===(e=n.mask)||void 0===e?void 0:e.style)||n.type)&&(a.cfg=(0,i.getInteractionCfg)(t,n.type,n.mask)),s.push(a)}),(null==n?void 0:n.action)!=="highlight"&&s.push({type:"filter-action",cfg:{buttonConfig:n.button}})),(0,a.deepAssign)({},t,{options:{interactions:s}})};var r=n(0),i=n(1198),a=n(7),o=["brush","brush-x","brush-y","brush-highlight","brush-x-highlight","brush-y-highlight"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Bar=void 0;var r=n(1),i=n(19),a=n(123),o=n(554),s=n(1201),l=n(555),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bar",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.chart,n=this.options,i=n.xField,s=n.yField,u=n.isPercent,c=(0,r.__assign)((0,r.__assign)({},n),{xField:s,yField:i});(0,o.meta)({chart:e,options:c}),e.changeData((0,a.getDataWhetherPecentage)((0,l.transformBarData)(t),i,s,i,u))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Bar=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){var e=t.chart,n=t.options,o=n.xField,s=n.yField,l=n.xAxis,u=n.yAxis,c=n.barStyle,f=n.barWidthRatio,d=n.label,p=n.data,h=n.seriesField,g=n.isStack,v=n.minBarWidth,y=n.maxBarWidth;!d||d.position||(d.position="left",d.layout||(d.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]));var m=n.legend;h?!1!==m&&(m=(0,r.__assign)({position:g?"top-left":"right-top",reversed:!g},m||{})):m=!1,t.options.legend=m;var b=n.tooltip;return h&&!1!==b&&(b=(0,r.__assign)({reversed:!g},b||{})),t.options.tooltip=b,e.coordinate().transpose(),(0,i.adaptor)({chart:e,options:(0,r.__assign)((0,r.__assign)({},n),{label:d,xField:s,yField:o,xAxis:u,yAxis:l,columnStyle:c,columnWidthRatio:f,minColumnWidth:v,maxColumnWidth:y,columnBackground:n.barBackground,data:(0,a.transformBarData)(p)})},!0)},Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return i.meta}});var r=n(1),i=n(198),a=n(555)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformBarData=function(t){return t?t.slice().reverse():t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pie=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(557),l=n(558),u=n(559);n(560);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pie",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null));var e=this.options,n=this.options.angleField,r=(0,o.processIllegalData)(e.data,n),a=(0,o.processIllegalData)(t,n);(0,u.isAllZero)(r,n)||(0,u.isAllZero)(a,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(a),(0,s.pieAnnotation)({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.Pie=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,c.flow)((0,l.pattern)("pieStyle"),h,g,a.theme,v,a.legend,x,y,a.state,b,_,a.animation)(t)},e.interaction=_,e.pieAnnotation=b,e.transformStatisticOptions=m;var r=n(1),i=n(0),a=n(22),o=n(49),s=n(30),l=n(122),u=n(196),c=n(7),f=n(558),d=n(559),p=n(560);function h(t){var e=t.chart,n=t.options,i=n.data,a=n.angleField,o=n.colorField,l=n.color,u=n.pieStyle,f=(0,c.processIllegalData)(i,a);if((0,d.isAllZero)(f,a)){var p="$$percentage$$";f=f.map(function(t){var e;return(0,r.__assign)((0,r.__assign)({},t),((e={})[p]=1/f.length,e))}),e.data(f);var h=(0,c.deepAssign)({},t,{options:{xField:"1",yField:p,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});(0,s.interval)(h)}else{e.data(f);var h=(0,c.deepAssign)({},t,{options:{xField:"1",yField:a,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});(0,s.interval)(h)}return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,o=(0,c.deepAssign)({},i);return n.scale(o,((e={})[a]={type:"cat"},e)),t}function v(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function y(t){var e=t.chart,n=t.options,a=n.label,o=n.colorField,s=n.angleField,l=e.geometries[0];if(a){var u=a.callback,f=(0,r.__rest)(a,["callback"]),p=(0,c.transformLabel)(f);if(p.content){var h=p.content;p.content=function(t,n,a){var l=t[o],u=t[s],f=e.getScaleByField(s),d=null==f?void 0:f.scale(u);return(0,i.isFunction)(h)?h((0,r.__assign)((0,r.__assign)({},t),{percent:d}),n,a):(0,i.isString)(h)?(0,c.template)(h,{value:u,name:l,percentage:(0,i.isNumber)(d)&&!(0,i.isNil)(u)?(100*d).toFixed(2)+"%":null}):h}}var g=p.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[p.type]:"pie-outer",v=p.layout?(0,i.isArray)(p.layout)?p.layout:[p.layout]:[];p.layout=(g?[{type:g}]:[]).concat(v),l.label({fields:o?[s,o]:[s],callback:u,cfg:(0,r.__assign)((0,r.__assign)({},p),{offset:(0,d.adaptOffset)(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,r=t.angleField,a=t.colorField,o=t.meta,s=t.locale,l=(0,u.getLocale)(s);if(e&&n){var p=(0,c.deepAssign)({},f.DEFAULT_OPTIONS.statistic,n),h=p.title,g=p.content;return!1!==h&&(h=(0,c.deepAssign)({},{formatter:function(t){return t?t[a]:(0,i.isNil)(h.content)?l.get(["statistic","total"]):h.content}},h)),!1!==g&&(g=(0,c.deepAssign)({},{formatter:function(t,e){var n=t?t[r]:(0,d.getTotalValue)(e,r),a=(0,i.get)(o,[r,"formatter"])||function(t){return t};return t?a(n):(0,i.isNil)(g.content)?a(n):g.content}},g)),(0,c.deepAssign)({},{statistic:{title:h,content:g}},t)}return t}function b(t){var e=t.chart,n=m(t.options),r=n.innerRadius,i=n.statistic;return e.getController("annotation").clear(!0),(0,c.flow)((0,a.annotation)())(t),r&&i&&(0,c.renderStatistic)(e,{statistic:i,plotType:"pie"}),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip,a=n.colorField,s=n.angleField,l=n.data;if(!1===r)e.tooltip(r);else if(e.tooltip((0,c.deepAssign)({},r,{shared:!1})),(0,d.isAllZero)(l,s)){var u=(0,i.get)(r,"fields"),f=(0,i.get)(r,"formatter");(0,i.isEmpty)((0,i.get)(r,"fields"))&&(u=[a,s],f=f||function(t){return{name:t[a],value:(0,i.toString)(t[s])}}),e.geometries[0].tooltip(u.join("*"),(0,o.getMappingFunction)(u,f))}return t}function _(t){var e=t.chart,n=m(t.options),a=n.interactions,o=n.statistic,s=n.annotations;return(0,i.each)(a,function(t){var n,a;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var l=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(l=[{trigger:"element:mouseenter",action:p.PIE_STATISTIC+":change",arg:{statistic:o,annotations:s}}]),(0,i.each)(null===(a=t.cfg)||void 0===a?void 0:a.start,function(t){l.push((0,r.__assign)((0,r.__assign)({},t),{arg:{statistic:o,annotations:s}}))}),e.interaction(t.type,(0,c.deepAssign)({},t.cfg,{start:l}))}else e.interaction(t.type,t.cfg||{})}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{legend:{position:"right"},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptOffset=function(t,e){var n;switch(t){case"inner":if(n="-30%",(0,r.isString)(e)&&e.endsWith("%"))return .01*parseFloat(e)>0?n:e;return e<0?e:n;case"outer":if(n=12,(0,r.isString)(e)&&e.endsWith("%"))return .01*parseFloat(e)<0?n:e;return e>0?e:n;default:return e}},e.getTotalValue=function(t,e){var n=null;return(0,r.each)(t,function(t){"number"==typeof t[e]&&(n+=t[e])}),n},e.isAllZero=function(t,e){return(0,r.every)((0,i.processIllegalData)(t,e),function(t){return 0===t[e]})};var r=n(0),i=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PIE_STATISTIC=void 0;var r=n(14),i=n(1202),a=n(1203),o="pie-statistic";e.PIE_STATISTIC=o,(0,r.registerAction)(o,a.StatisticAction),(0,r.registerInteraction)("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]}),(0,r.registerAction)("pie-legend",i.PieLegendAction),(0,r.registerInteraction)("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transform=function(t,e){var n=e?(0,r.__spreadArrays)(e):(0,r.__spreadArrays)(a);return i.Util.transform(n,t)};var r=n(1),i=n(14),a=[1,0,0,0,1,0,0,0,1]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFontSizeMapping=u,e.getSingleKeyValues=c,e.getSize=l,e.processImageMask=function(t){return new Promise(function(e,n){if(t instanceof HTMLImageElement){e(t);return}if((0,i.isString)(t)){var r=new Image;r.crossOrigin="anonymous",r.src=t,r.onload=function(){e(r)},r.onerror=function(){(0,o.log)(o.LEVEL.ERROR,!1,"image %s load failed !!!",t),n()};return}(0,o.log)(o.LEVEL.WARN,void 0===t,"The type of imageMask option must be String or HTMLImageElement."),n()})},e.transform=function(t){var e=t.options,n=t.chart,a=n.width,f=n.height,d=n.padding,p=n.appendPadding,h=n.ele,g=e.data,v=e.imageMask,y=e.wordField,m=e.weightField,b=e.colorField,x=e.wordStyle,_=e.timeInterval,O=e.random,P=e.spiral,M=e.autoFit,A=e.placementStrategy;if(!g||!g.length)return[];var S=x.fontFamily,w=x.fontWeight,E=x.padding,C=x.fontSize,T=c(g,m),I=[Math.min.apply(Math,T),Math.max.apply(Math,T)],j=g.map(function(t){return{text:t[y],value:t[m],color:t[b],datum:t}}),F={imageMask:v,font:S,fontSize:u(C,I),fontWeight:w,size:l({width:a,height:f,padding:d,appendPadding:p,autoFit:void 0===M||M,container:h}),padding:E,timeInterval:_,random:O,spiral:P,rotate:function(t){var e,n=((e=t.wordStyle.rotationSteps)<1&&((0,o.log)(o.LEVEL.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:t.wordStyle.rotation,rotationSteps:e}),r=n.rotation,a=n.rotationSteps;if(!(0,i.isArray)(r))return r;var s=r[0],l=r[1],u=1===a?0:(l-s)/(a-1);return function(){return l===s?l:Math.floor(Math.random()*a)*u}}(e)};if((0,i.isFunction)(A)){var L=j.map(function(t,e,i){return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},t),{hasText:!!t.text,font:(0,s.functor)(F.font)(t,e,i),weight:(0,s.functor)(F.fontWeight)(t,e,i),rotate:(0,s.functor)(F.rotate)(t,e,i),size:(0,s.functor)(F.fontSize)(t,e,i),style:"normal"}),A.call(n,t,e,i))});return L.push({text:"",value:0,x:0,y:0,opacity:0}),L.push({text:"",value:0,x:F.size[0],y:F.size[1],opacity:0}),L}return(0,s.wordCloud)(j,F)};var r=n(1),i=n(0),a=n(121),o=n(7),s=n(1210);function l(t){var e,n,r,i=t.width,s=t.height,l=t.container,u=t.autoFit,c=t.padding,f=t.appendPadding;if(u){var d=(0,o.getContainerSize)(l);i=d.width,s=d.height}i=i||400,s=s||400;var p=(e={padding:c,appendPadding:f},n=(0,a.normalPadding)(e.padding),r=(0,a.normalPadding)(e.appendPadding),[n[0]+r[0],n[1]+r[1],n[2]+r[2],n[3]+r[3]]),h=p[0],g=p[1],v=p[2];return[i-(p[3]+g),s-(h+v)]}function u(t,e){if((0,i.isFunction)(t))return t;if((0,i.isArray)(t)){var n=t[0],r=t[1];if(!e)return function(){return(r+n)/2};var a=e[0],o=e[1];return o===a?function(){return(r+n)/2}:function(t){return(r-n)/(o-a)*(t.value-a)+n}}return function(){return t}}function c(t,e){return t.map(function(t){return t[e]}).filter(function(t){return!("number"!=typeof t||isNaN(t))})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WORD_CLOUD_COLOR_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7),a="color";e.WORD_CLOUD_COLOR_FIELD=a;var o=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",a],formatter:function(t){return{name:t.text,value:t.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}});e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scatter=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(565),l=n(1213);n(1214);var u=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="scatter",a.on(i.VIEW_LIFE_CIRCLE.BEFORE_RENDER,function(t){var e,n,o=a.options,l=a.chart;if((null===(e=t.data)||void 0===e?void 0:e.source)===i.BRUSH_FILTER_EVENTS.FILTER){var u=a.chart.filterData(a.chart.getData());(0,s.meta)({chart:l,options:(0,r.__assign)((0,r.__assign)({},o),{data:u})})}(null===(n=t.data)||void 0===n?void 0:n.source)===i.BRUSH_FILTER_EVENTS.RESET&&(0,s.meta)({chart:l,options:o})}),a}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption((0,s.transformOptions)((0,o.deepAssign)({},this.options,{data:t})));var e=this.options,n=this.chart;(0,s.meta)({chart:n,options:e}),this.chart.changeData(t)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Scatter=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(f,d,p,h,m,g,s.brushInteraction,l.interaction,v,l.animation,l.theme,y)(t)},e.meta=d,e.tooltip=m,e.transformOptions=c;var r=n(1),i=n(0),a=n(7),o=n(30),s=n(552),l=n(22),u=n(1212);function c(t){var e=t.data,n=void 0===e?[]:e,r=t.xField,i=t.yField;if(n.length){for(var o=!0,s=!0,l=n[0],c=void 0,f=1;f1?c/(a-1):u.max),n||a||(f=c/(Math.ceil(Math.log(l.length)/Math.LN2)+1));var d={},p=(0,r.groupBy)(s,o);(0,r.isEmpty)(p)?(0,r.each)(s,function(t){var n=i(t[e],f,a),o=n[0]+"-"+n[1];(0,r.hasKey)(d,o)||(d[o]={range:n,count:0}),d[o].count+=1}):Object.keys(p).forEach(function(t){(0,r.each)(p[t],function(n){var s=i(n[e],f,a),l=s[0]+"-"+s[1]+"-"+t;(0,r.hasKey)(d,l)||(d[l]={range:s,count:0},d[l][o]=t),d[l].count+=1})});var h=[];return(0,r.each)(d,function(t){h.push(t)}),h};var r=n(0);function i(t,e,n){if(1===n)return[0,e];var r=Math.floor(t/e);return[e*r,e*(r+1)]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(i.theme,(0,a.pattern)("columnStyle"),c,f,d,i.state,p,i.tooltip,i.interaction,i.animation)(t)};var r=n(1),i=n(22),a=n(122),o=n(7),s=n(30),l=n(575),u=n(577);function c(t){var e=t.chart,n=t.options,r=n.data,i=n.binField,a=n.binNumber,c=n.binWidth,f=n.color,d=n.stackField,p=n.legend,h=n.columnStyle,g=(0,l.binHistogram)(r,i,c,a,d);e.data(g);var v=(0,o.deepAssign)({},t,{options:{xField:u.HISTOGRAM_X_FIELD,yField:u.HISTOGRAM_Y_FIELD,seriesField:d,isStack:!0,interval:{color:f,style:h}}});return(0,s.interval)(v),p&&d&&e.legend(d,p),t}function f(t){var e,n=t.options,r=n.xAxis,a=n.yAxis;return(0,o.flow)((0,i.scale)(((e={})[u.HISTOGRAM_X_FIELD]=r,e[u.HISTOGRAM_Y_FIELD]=a,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis;return!1===r?e.axis(u.HISTOGRAM_X_FIELD,!1):e.axis(u.HISTOGRAM_X_FIELD,r),!1===i?e.axis(u.HISTOGRAM_Y_FIELD,!1):e.axis(u.HISTOGRAM_Y_FIELD,i),t}function p(t){var e=t.chart,n=t.options.label,i=(0,o.findGeometry)(e,"interval");if(n){var a=n.callback,s=(0,r.__rest)(n,["callback"]);i.label({fields:[u.HISTOGRAM_Y_FIELD],callback:a,cfg:(0,o.transformLabel)(s)})}else i.label(!1);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HISTOGRAM_Y_FIELD=e.HISTOGRAM_X_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.HISTOGRAM_X_FIELD="range",e.HISTOGRAM_Y_FIELD="count";var a=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Progress=void 0;var r=n(1),i=n(19),a=n(306),o=n(579),s=n(307),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="process",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData((0,s.getProgressData)(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Progress=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=e.DEFAULT_COLOR=void 0;var r=["#FAAD14","#E8EDF3"];e.DEFAULT_COLOR=r,e.DEFAULT_OPTIONS={percent:.2,color:r,animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RingProgress=void 0;var r=n(1),i=n(14),a=n(19),o=n(307),s=n(581),l=n(1226),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ring-process",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data((0,o.getProgressData)(t)),(0,s.statistic)({chart:this.chart,options:this.options},!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e}(a.Plot);e.RingProgress=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(s.geometry,(0,o.scale)({}),l,u,o.animation,o.theme,(0,o.annotation)())(t)},e.statistic=u;var r=n(1),i=n(0),a=n(7),o=n(22),s=n(306);function l(t){var e=t.chart,n=t.options,r=n.innerRadius,i=n.radius;return e.coordinate("theta",{innerRadius:r,radius:i}),t}function u(t,e){var n=t.chart,o=t.options,s=o.innerRadius,l=o.statistic,u=o.percent,c=o.meta;if(n.getController("annotation").clear(!0),s&&l){var f=(0,i.get)(c,["percent","formatter"])||function(t){return(100*t).toFixed(2)+"%"},d=l.content;d&&(d=(0,a.deepAssign)({},d,{content:(0,i.isNil)(d.content)?f(u):d.content})),(0,a.renderStatistic)(n,{statistic:(0,r.__assign)((0,r.__assign)({},l),{content:d}),plotType:"ring-progress"},{percent:u})}return e&&n.render(!0),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=void 0;var r=n(0),i=n(308);e.transformData=function(t,e){var n=t;if(Array.isArray(e)){var a=e[0],o=e[1],s=e[2],l=e[3],u=e[4];n=(0,r.map)(t,function(t){return t[i.BOX_RANGE]=[t[a],t[o],t[s],t[l],t[u]],t})}return n}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.transformViolinData=e.toViolinValue=e.toBoxValue=void 0;var i=n(1),a=n(0),o=r(n(1236)),s=n(1238),l=function(t){return{low:(0,a.min)(t),high:(0,a.max)(t),q1:(0,s.quantile)(t,.25),q3:(0,s.quantile)(t,.75),median:(0,s.quantile)(t,[.5]),minMax:[(0,a.min)(t),(0,a.max)(t)],quantile:[(0,s.quantile)(t,.25),(0,s.quantile)(t,.75)]}};e.toBoxValue=l;var u=function(t,e){var n=o.default.create(t,e);return{violinSize:n.map(function(t){return t.y}),violinY:n.map(function(t){return t.x})}};e.toViolinValue=u,e.transformViolinData=function(t){var e=t.xField,n=t.yField,r=t.seriesField,o=t.data,s=t.kde,c={min:s.min,max:s.max,size:s.sampleSize,width:s.width};if(!r){var f=(0,a.groupBy)(o,e);return Object.keys(f).map(function(t){var e=f[t].map(function(t){return t[n]});return(0,i.__assign)((0,i.__assign)({x:t},u(e,c)),l(e))})}var d=[],p=(0,a.groupBy)(o,r);return Object.keys(p).forEach(function(t){var o=(0,a.groupBy)(p[t],e);return Object.keys(o).forEach(function(e){var a,s=o[e].map(function(t){return t[n]});d.push((0,i.__assign)((0,i.__assign)(((a={x:e})[r]=t,a),u(s,c)),l(s)))})}),d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.X_FIELD=e.VIOLIN_Y_FIELD=e.VIOLIN_VIEW_ID=e.VIOLIN_SIZE_FIELD=e.QUANTILE_VIEW_ID=e.QUANTILE_FIELD=e.MIN_MAX_VIEW_ID=e.MIN_MAX_FIELD=e.MEDIAN_VIEW_ID=e.MEDIAN_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(19),i=n(7);e.X_FIELD="x",e.VIOLIN_Y_FIELD="violinY",e.VIOLIN_SIZE_FIELD="violinSize",e.MIN_MAX_FIELD="minMax",e.QUANTILE_FIELD="quantile",e.MEDIAN_FIELD="median",e.VIOLIN_VIEW_ID="violin_view",e.MIN_MAX_VIEW_ID="min_max_view",e.QUANTILE_VIEW_ID="quantile_view",e.MEDIAN_VIEW_ID="median_view";var a=(0,i.deepAssign)({},r.Plot.getDefaultOptions(),{syncViewPadding:!0,kde:{type:"triangular",sampleSize:32,width:3},violinStyle:{lineWidth:1,fillOpacity:.3,strokeOpacity:.75},xAxis:{grid:{line:null},tickLine:{alignTick:!1}},yAxis:{grid:{line:{style:{lineWidth:.5,lineDash:[4,4]}}}},legend:{position:"top-left"},tooltip:{showMarkers:!1}});e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t){function e(t){for(var e=Array(t),n=0;nu+s*o*c||f>=g)h=o;else{if(Math.abs(p)<=-l*c)return o;p*(h-d)>=0&&(h=d),d=o,g=f}return 0}o=o||1,s=s||1e-6,l=l||.1;for(var v=0;v<10;++v){if(a(i.x,1,r.x,o,e),f=i.fx=t(i.x,i.fxprime),p=n(i.fxprime,e),f>u+s*o*c||v&&f>=d)return g(h,o,d);if(Math.abs(p)<=-l*c)break;if(p>=0)return g(o,h,f);d=f,h=o,o*=2}return o}t.bisect=function(t,e,n,r){var i=(r=r||{}).maxIterations||100,a=r.tolerance||1e-10,o=t(e),s=t(n),l=n-e;if(o*s>0)throw"Initial bisect points must have opposite signs";if(0===o)return e;if(0===s)return n;for(var u=0;u=0&&(e=c),Math.abs(l)=g[h-1].fx){var E=!1;if(_.fx>w.fx?(a(O,1+d,x,-d,w),O.fx=t(O),O.fx=1)break;for(v=1;v=r(f.fxprime))break}return s.history&&s.history.push({x:f.x.slice(),fx:f.fx,fxprime:f.fxprime.slice(),alpha:h}),f},t.gradientDescent=function(t,e,n){for(var i=(n=n||{}).maxIterations||100*e.length,o=n.learnRate||.001,s={x:e.slice(),fx:0,fxprime:e.slice()},l=0;l=r(s.fxprime)));++l);return s},t.gradientDescentLineSearch=function(t,e,n){n=n||{};var a,s={x:e.slice(),fx:0,fxprime:e.slice()},l={x:e.slice(),fx:0,fxprime:e.slice()},u=n.maxIterations||100*e.length,c=n.learnRate||1,f=e.slice(),d=n.c1||.001,p=n.c2||.1,h=[];if(n.history){var g=t;t=function(t,e){return h.push(t.slice()),g(t,e)}}s.fx=t(s.x,s.fxprime);for(var v=0;vr(s.fxprime)));++v);return s},t.zeros=e,t.zerosM=function(t,n){return e(t).map(function(){return e(n)})},t.norm2=r,t.weightedSum=a,t.scale=i},"object"===(0,o.default)(e)&&void 0!==t?a(e):(r=[e],void 0!==(i=a.apply(e,r))&&(t.exports=i))},function(t,e,n){"use strict";function r(t,e){for(var n=0;ne[n].radius+1e-10)return!1;return!0}function i(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function a(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function o(t,e){var n=a(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];var o=(r*r-i*i+n*n)/(2*n),s=Math.sqrt(r*r-o*o),l=t.x+o*(e.x-t.x)/n,u=t.y+o*(e.y-t.y)/n,c=-(e.y-t.y)*(s/n),f=-(e.x-t.x)*(s/n);return[{x:l+c,y:u-f},{x:l-c,y:u+f}]}function s(t){for(var e={x:0,y:0},n=0;n=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);var r=t-(n*n-e*e+t*t)/(2*n),a=e-(n*n-t*t+e*e)/(2*n);return i(t,r)+i(e,a)},e.containedInCircles=r,e.distance=a,e.getCenter=s,e.intersectionArea=function(t,e){var n,l=function(t){for(var e=[],n=0;n1){var p=s(u);for(n=0;n-1){var x=t[v.parentIndex[b]],_=Math.atan2(v.x-x.x,v.y-x.y),O=Math.atan2(g.x-x.x,g.y-x.y),P=O-_;P<0&&(P+=2*Math.PI);var M=O-P/2,A=a(y,{x:x.x+x.radius*Math.sin(M),y:x.y+x.radius*Math.cos(M)});A>2*x.radius&&(A=2*x.radius),(null===m||m.width>A)&&(m={circle:x,width:A,p1:v,p2:g})}null!==m&&(d.push(m),c+=i(m.circle.radius,m.width),g=v)}}else{var S=t[0];for(n=1;nMath.abs(S.radius-t[n].radius)){w=!0;break}w?c=f=0:(c=S.radius*S.radius*Math.PI,d.push({circle:S,p1:{x:S.x,y:S.y+S.radius},p2:{x:S.x-1e-10,y:S.y+S.radius},width:2*S.radius}))}return f/=2,e&&(e.area=c+f,e.arcArea=c,e.polygonArea=f,e.arcs=d,e.innerPoints=u,e.intersectionPoints=l),c+f}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStockData=function(t,e){return(0,r.map)(t,function(t){if((0,r.isArray)(e)){var n=e[0],a=e[1],o=e[2],s=e[3];t[i.TREND_FIELD]=t[n]<=t[a]?i.TREND_UP:i.TREND_DOWN,t[i.Y_FIELD]=[t[n],t[a],t[o],t[s]]}return t})};var r=n(0),i=n(310)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FUNNEL_CONVERSATION_FIELD",{enumerable:!0,get:function(){return l.FUNNEL_CONVERSATION}}),e.Funnel=void 0;var r=n(1),i=n(0),a=n(19),o=n(7),s=n(589),l=n(125),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="funnel",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return l.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.setState=function(t,e,n){void 0===n&&(n=!0);var r=(0,o.getAllElementsRecursively)(this.chart);(0,i.each)(r,function(r){e(r.getData())&&r.setState(t,n)})},e.prototype.getStates=function(){var t=(0,o.getAllElementsRecursively)(this.chart),e=[];return(0,i.each)(t,function(t){var n=t.getData(),r=t.getStates();(0,i.each)(r,function(r){e.push({data:n,state:r,geometry:t.geometry,element:t})})}),e},e.CONVERSATION_FIELD=l.FUNNEL_CONVERSATION,e.PERCENT_FIELD=l.FUNNEL_PERCENT,e.TOTAL_PERCENT_FIELD=l.FUNNEL_TOTAL_PERCENT,e}(a.Plot);e.Funnel=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(p,h,g,v,i.tooltip,i.interaction,y,i.animation,i.theme,(0,i.annotation)())(t)},e.meta=g;var r=n(0),i=n(22),a=n(196),o=n(7),s=n(551),l=n(590),u=n(1253),c=n(1254),f=n(1255),d=n(125);function p(t){var e,n=t.options,i=n.compareField,l=n.xField,u=n.yField,c=n.locale,f=n.funnelStyle,p=n.data,h=(0,a.getLocale)(c),g={label:i?{fields:[l,u,i,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],formatter:function(t){return""+t[u]}}:{fields:[l,u,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],offset:0,position:"middle",formatter:function(t){return t[l]+" "+t[u]}},tooltip:{title:l,formatter:function(t){return{name:t[l],value:t[u]}}},conversionTag:{formatter:function(t){return h.get(["conversionTag","label"])+": "+s.conversionTagFormatter.apply(void 0,t[d.FUNNEL_CONVERSATION])}}};return(i||f)&&(e=function(t){return(0,o.deepAssign)({},i&&{lineWidth:1,stroke:"#fff"},(0,r.isFunction)(f)?f(t):f)}),(0,o.deepAssign)({options:g},t,{options:{funnelStyle:e,data:(0,r.clone)(p)}})}function h(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?(0,c.facetFunnel)(t):n?(0,u.compareFunnel)(t):r?(0,f.dynamicHeightFunnel)(t):(0,l.basicFunnel)(t)}function g(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return(0,o.flow)((0,i.scale)(((e={})[s]=r,e[l]=a,e)))(t)}function v(t){return t.chart.axis(!1),t}function y(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.basicFunnel=function(t){return(0,a.flow)(c,f,d,p)(t)};var r=n(1),i=n(0),a=n(7),o=n(65),s=n(49),l=n(125),u=n(311);function c(t){var e=t.chart,n=t.options,r=n.data,i=void 0===r?[]:r,a=n.yField,o=n.maxSize,s=n.minSize,l=(0,u.transformData)(i,i,{yField:a,maxSize:o,minSize:s});return e.data(l),t}function f(t){var e=t.chart,n=t.options,r=n.xField,u=n.yField,c=n.color,f=n.tooltip,d=n.label,p=n.shape,h=n.funnelStyle,g=n.state,v=(0,o.getTooltipMapping)(f,[r,u]),y=v.fields,m=v.formatter;return(0,s.geometry)({chart:e,options:{type:"interval",xField:r,yField:l.FUNNEL_MAPPING_VALUE,colorField:r,tooltipFields:(0,i.isArray)(y)&&y.concat([l.FUNNEL_PERCENT,l.FUNNEL_CONVERSATION]),mapping:{shape:void 0===p?"funnel":p,tooltip:m,color:c,style:h},label:d,state:g}}),(0,a.findGeometry)(t.chart,"interval").adjust("symmetric"),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[]:[["transpose"],["scale",1,-1]]}),t}function p(t){var e=t.options.maxSize;return(0,u.conversionTagComponent)(function(t,n,i,a){var o=e-(e-t[l.FUNNEL_MAPPING_VALUE])/2;return(0,r.__assign)((0,r.__assign)({},a),{start:[n-.5,o],end:[n-.5,o+.05]})})(t),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLiquidData=function(t){return[{percent:t,type:"liquid"}]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformData=function(t){var e=t.data,n=t.xField,r=t.measureField,i=t.rangeField,a=t.targetField,o=t.layout,s=[],l=[];e.forEach(function(t,e){var o;t[i].sort(function(t,e){return t-e}),t[i].forEach(function(r,a){var o,l=0===a?r:t[i][a]-t[i][a-1];s.push(((o={rKey:i+"_"+a})[n]=n?t[n]:String(e),o[i]=l,o))}),t[r].forEach(function(i,a){var o;s.push(((o={mKey:t[r].length>1?r+"_"+a:""+r})[n]=n?t[n]:String(e),o[r]=i,o))}),s.push(((o={tKey:""+a})[n]=n?t[n]:String(e),o[a]=t[a],o)),l.push(t[i],t[r],t[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,"vertical"===o&&s.reverse(),{min:u,max:c,ds:s}}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.getTileMethod=u,e.treemap=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||2!==r.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=u(e.tile,e.ratio),c=i.treemap().tile(s).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(i.hierarchy(t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[n]}).sort(e.sort)),f=r[0],d=r[1];return c.each(function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),(0,o.getAllNodes)(c)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function u(t,e){return"treemapSquarify"===t?i[t].ratio(e):i[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gauge=void 0;var r=n(1),i=n(14),a=n(19),o=n(595),s=n(314),l=n(596);n(1268),n(1269);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="gauge",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t});var e=this.chart.views.find(function(t){return t.id===s.INDICATEOR_VIEW_ID});e&&e.data((0,l.getIndicatorData)(t));var n=this.chart.views.find(function(t){return t.id===s.RANGE_VIEW_ID});n&&n.data((0,l.getRangeData)(t,this.options.range)),(0,o.statistic)({chart:this.chart,options:this.options},!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(a.Plot);e.Gauge=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,l.flow)(a.theme,a.animation,f,d,p,a.interaction,(0,a.annotation)(),h)(t)},e.statistic=p;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(99),l=n(7),u=n(314),c=n(596);function f(t){var e=t.chart,n=t.options,r=n.percent,a=n.range,f=n.radius,d=n.innerRadius,p=n.startAngle,h=n.endAngle,g=n.axis,v=n.indicator,y=n.gaugeStyle,m=n.type,b=n.meter,x=a.color,_=a.width;if(v){var O=(0,c.getIndicatorData)(r),P=e.createView({id:u.INDICATEOR_VIEW_ID});P.data(O),P.point().position(u.PERCENT+"*1").shape(v.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:v}),P.coordinate("polar",{startAngle:p,endAngle:h,radius:d*f}),P.axis(u.PERCENT,g),P.scale(u.PERCENT,(0,l.pick)(g,s.AXIS_META_CONFIG_KEYS))}var M=(0,c.getRangeData)(r,n.range),A=e.createView({id:u.RANGE_VIEW_ID});A.data(M);var S=(0,i.isString)(x)?[x,u.DEFAULT_COLOR]:x;return(0,o.interval)({chart:A,options:{xField:"1",yField:u.RANGE_VALUE,seriesField:u.RANGE_TYPE,rawFields:[u.PERCENT],isStack:!0,interval:{color:S,style:y,shape:"meter"===m?"meter-gauge":null},args:{zIndexReversed:!0},minColumnWidth:_,maxColumnWidth:_}}).ext.geometry.customInfo({meter:b}),A.coordinate("polar",{innerRadius:d,radius:f,startAngle:p,endAngle:h}).transpose(),t}function d(t){var e;return(0,l.flow)((0,a.scale)(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[u.PERCENT]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,a=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),a){var s=a.content,u=void 0;s&&(u=(0,l.deepAssign)({},{content:(100*o).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),(0,l.renderGaugeStatistic)(n,{statistic:(0,r.__assign)((0,r.__assign)({},a),{content:u})},{percent:o})}return e&&n.render(!0),t}function h(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIndicatorData=function(t){var e;return[((e={})[i.PERCENT]=(0,r.clamp)(t,0,1),e)]},e.getRangeData=function(t,e){var n=(0,r.get)(e,["ticks"],[]);return a((0,r.size)(n)?n:[0,(0,r.clamp)(t,0,1),1],t)},e.processRangeData=a;var r=n(0),i=n(314);function a(t,e){return t.map(function(n,r){var a;return(a={})[i.RANGE_VALUE]=n-(t[r-1]||0),a[i.RANGE_TYPE]=""+r,a[i.PERCENT]=e,a}).filter(function(t){return!!t[i.RANGE_VALUE]})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processData=s,e.transformData=function(t,e,n,a){return s(t,e,n,o.Y_FIELD,a).map(function(e,n){var a;return(0,i.isObject)(e)?(0,r.__assign)((0,r.__assign)({},e),((a={})[o.ABSOLUTE_FIELD]=e[o.Y_FIELD][1],a[o.DIFF_FIELD]=e[o.Y_FIELD][1]-e[o.Y_FIELD][0],a[o.IS_TOTAL]=n===t.length,a)):e})};var r=n(1),i=n(0),a=n(7),o=n(315);function s(t,e,n,o,s){var l,u=[];if((0,i.reduce)(t,function(t,e){(0,a.log)(a.LEVEL.WARN,(0,i.isNumber)(e[n]),e[n]+" is not a valid number");var s,l=(0,i.isUndefined)(e[n])?null:e[n];return u.push((0,r.__assign)((0,r.__assign)({},e),((s={})[o]=[t,t+l],s))),t+l},0),u.length&&s){var c=(0,i.get)(u,[[t.length-1],o,[1]]);u.push(((l={})[e]=s.label,l[n]=c,l[o]=[0,c],l))}return u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SERIES_FIELD_KEY=e.SECOND_AXES_VIEW=e.FIRST_AXES_VIEW=void 0,e.FIRST_AXES_VIEW="first-axes-view",e.SECOND_AXES_VIEW="second-axes-view",e.SERIES_FIELD_KEY="series-field-key"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isHorizontal=i,e.syncViewPadding=function(t,e,n){var r=e[0],a=e[1],o=r.autoPadding,s=a.autoPadding,l=t.__axisPosition,u=l.layout,c=l.position;if(i(u)&&"top"===c&&(r.autoPadding=n.instance(o.top,0,o.bottom,o.left),a.autoPadding=n.instance(s.top,o.left,s.bottom,0)),i(u)&&"bottom"===c&&(r.autoPadding=n.instance(o.top,o.right/2+5,o.bottom,o.left),a.autoPadding=n.instance(s.top,s.right,s.bottom,o.right/2+5)),!i(u)&&"bottom"===c){var f=o.left>=s.left?o.left:s.left;r.autoPadding=n.instance(o.top,o.right,o.bottom/2+5,f),a.autoPadding=n.instance(o.bottom/2+5,s.right,s.bottom,f)}if(!i(u)&&"top"===c){var f=o.left>=s.left?o.left:s.left;r.autoPadding=n.instance(o.top,o.right,0,f),a.autoPadding=n.instance(0,s.right,o.top,f)}},e.transformData=function(t,e,n,i,a){var o=[];e.forEach(function(e){i.forEach(function(r){var i,a=((i={})[t]=r[t],i[n]=e,i[e]=r[e],i);o.push(a)})});var s=Object.values((0,r.groupBy)(o,n)),l=s[0],u=void 0===l?[]:l,c=s[1],f=void 0===c?[]:c;return a?[u.reverse(),f.reverse()]:[u,f]};var r=n(0);function i(t){return"vertical"!==t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enableDrillInteraction=function(t){var e=t.interactions,n=t.drilldown;return(0,i.get)(n,"enabled")||l(e,"treemap-drill-down")},e.enableInteraction=l,e.findInteraction=s,e.resetDrillDown=function(t){var e=t.interactions["drill-down"];e&&e.context.actions.find(function(t){return"drill-down-action"===t.name}).reset()},e.transformData=function(t){var e=t.data,n=t.colorField,s=t.enableDrillDown,l=t.hierarchyConfig,u=(0,o.treemap)(e,(0,r.__assign)((0,r.__assign)({},l),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),c=[];return u.forEach(function(t){if(0===t.depth||s&&1!==t.depth||!s&&t.children)return null;var o=t.ancestors().map(function(t){return{data:t.data,height:t.height,value:t.value}}),u=s&&(0,i.isArray)(e.path)?o.concat(e.path.slice(1)):o,f=Object.assign({},t.data,(0,r.__assign)({x:t.x,y:t.y,depth:t.depth,value:t.value,path:u},t));if(!t.data[n]&&t.parent){var d=t.ancestors().find(function(t){return t.data[n]});f[n]=null==d?void 0:d.data[n]}else f[n]=t.data[n];f[a.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:l,colorField:n,enableDrillDown:s},c.push(f)}),c};var r=n(1),i=n(0),a=n(201),o=n(593);function s(t,e){if((0,i.isArray)(t))return t.find(function(t){return t.type===e})}function l(t,e){var n=s(t,e);return n&&!1!==n.enable}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNodePaddingRatio=u,e.getNodeWidthRatio=l,e.transformToViewsData=function(t,e,n){var c=t.data,f=t.sourceField,d=t.targetField,p=t.weightField,h=t.nodeAlign,g=t.nodeSort,v=t.nodePadding,y=t.nodePaddingRatio,m=t.nodeWidth,b=t.nodeWidthRatio,x=t.nodeDepth,_=t.rawFields,O=void 0===_?[]:_,P=(0,a.transformDataToNodeLinkData)((0,s.cutoffCircle)(c,f,d),f,d,p,O),M=(0,o.sankeyLayout)({nodeAlign:h,nodePadding:u(v,y,n),nodeWidth:l(m,b,e),nodeSort:g,nodeDepth:x},P),A=M.nodes,S=M.links;return{nodes:A.map(function(t){return(0,r.__assign)((0,r.__assign)({},(0,i.pick)(t,(0,r.__spreadArrays)(["x","y","name"],O))),{isNode:!0})}),edges:S.map(function(t){return(0,r.__assign)((0,r.__assign)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},(0,i.pick)(t,(0,r.__spreadArrays)(["x","y","value"],O))),{isNode:!1})})}};var r=n(1),i=n(7),a=n(197),o=n(1285),s=n(1289);function l(t,e,n){return(0,i.isRealNumber)(t)?t/n:e}function u(t,e,n){return(0,i.isRealNumber)(t)?t/n:e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.center=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,r.minBy)(t.sourceLinks,i)-1:0},e.justify=function(t,e){return t.sourceLinks.length?t.depth:e-1},e.left=function(t){return t.depth},e.right=function(t,e){return e-1-t.height};var r=n(0);function i(t){return t.target.depth}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Y_FIELD=e.X_FIELD=e.NODE_COLOR_FIELD=e.EDGE_COLOR_FIELD=e.DEFAULT_OPTIONS=void 0;var r=n(0);e.X_FIELD="x",e.Y_FIELD="y",e.NODE_COLOR_FIELD="name",e.EDGE_COLOR_FIELD="source",e.DEFAULT_OPTIONS={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(t,e){return{labelEmit:!0,style:{fill:"#8c8c8c"},offsetX:(t[0]+t[1])/2>.5?-4:4,content:e}}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(t){return!(0,r.get)(t,[0,"data","isNode"])},formatter:function(t){return{name:t.source+" -> "+t.target,value:t.value}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RAW_FIELDS=e.DEFAULT_OPTIONS=void 0,e.RAW_FIELDS=["x","y","r","name","value","path","depth"],e.DEFAULT_OPTIONS={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mix=void 0;var r=n(1),i=n(19),a=n(1302);n(1303);var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="mix",e}return(0,r.__extends)(e,t),e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Mix=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execPlotAdaptor=function(t,e,n){var a=L[t];if(!a){console.error("could not find "+t+" plot");return}(0,F[t])({chart:e,options:(0,i.deepAssign)({},a.getDefaultOptions(),(0,r.get)(D,t,{}),n)})};var r=n(0),i=n(7),a=n(303),o=n(557),s=n(198),l=n(554),u=n(549),c=n(595),f=n(570),d=n(572),p=n(199),h=n(581),g=n(306),v=n(565),y=n(576),m=n(589),b=n(544),x=n(556),_=n(553),O=n(550),P=n(548),M=n(594),A=n(569),S=n(573),w=n(571),E=n(580),C=n(578),T=n(564),I=n(574),j=n(588),F={line:a.adaptor,pie:o.adaptor,column:s.adaptor,bar:l.adaptor,area:u.adaptor,gauge:c.adaptor,"tiny-line":f.adaptor,"tiny-column":d.adaptor,"tiny-area":p.adaptor,"ring-progress":h.adaptor,progress:g.adaptor,scatter:v.adaptor,histogram:y.adaptor,funnel:m.adaptor},L={line:b.Line,pie:x.Pie,column:O.Column,bar:_.Bar,area:P.Area,gauge:M.Gauge,"tiny-line":A.TinyLine,"tiny-column":w.TinyColumn,"tiny-area":S.TinyArea,"ring-progress":E.RingProgress,progress:C.Progress,scatter:T.Scatter,histogram:I.Histogram,funnel:j.Funnel},D={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRangeData=e.getIndicatorData=e.processRangeData=void 0;var r=n(0),i=n(317);function a(t,e){return t.map(function(n,r){var a;return(a={})[i.RANGE_VALUE]=n-(t[r-1]||0),a[i.RANGE_TYPE]=""+r,a[i.PERCENT]=e,a}).filter(function(t){return!!t[i.RANGE_VALUE]})}e.processRangeData=a,e.getIndicatorData=function(t){var e;return[((e={})[i.PERCENT]=r.clamp(t,0,1),e)]},e.getRangeData=function(t,e){var n=r.get(e,["ticks"],[]);return a(r.size(n)?n:[0,r.clamp(t,0,1),1],t)}},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),e.DualAxesGeometry=e.AxisType=void 0,(r=e.AxisType||(e.AxisType={})).Left="Left",r.Right="Right",(i=e.DualAxesGeometry||(e.DualAxesGeometry={})).Line="line",i.Column="column"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_RIGHT_YAXIS_CONFIG=e.DEFAULT_LEFT_YAXIS_CONFIG=e.DEFAULT_YAXIS_CONFIG=e.RIGHT_AXES_VIEW=e.LEFT_AXES_VIEW=void 0;var r=n(1);e.LEFT_AXES_VIEW="left-axes-view",e.RIGHT_AXES_VIEW="right-axes-view",e.DEFAULT_YAXIS_CONFIG={nice:!0,label:{autoHide:!0,autoRotate:!1}},e.DEFAULT_LEFT_YAXIS_CONFIG=r.__assign(r.__assign({},e.DEFAULT_YAXIS_CONFIG),{position:"left"}),e.DEFAULT_RIGHT_YAXIS_CONFIG=r.__assign(r.__assign({},e.DEFAULT_YAXIS_CONFIG),{position:"right",grid:null})},function(t,e,n){"use strict";n.d(e,"x",function(){return f}),n.d(e,"B",function(){return p}),n.d(e,"K",function(){return b}),n.d(e,"J",function(){return O}),n.d(e,"L",function(){return S}),n.d(e,"q",function(){return C}),n.d(e,"M",function(){return L}),n.d(e,"I",function(){return D}),n.d(e,"b",function(){return B}),n.d(e,"F",function(){return G}),n.d(e,"l",function(){return W}),n.d(e,"t",function(){return Y}),n.d(e,"z",function(){return H}),n.d(e,"a",function(){return q}),n.d(e,"E",function(){return Z}),n.d(e,"s",function(){return K}),n.d(e,"f",function(){return te}),n.d(e,"m",function(){return tr}),n.d(e,"G",function(){return ti}),n.d(e,"A",function(){return ta}),n.d(e,"u",function(){return to}),n.d(e,"v",function(){return tl}),n.d(e,"g",function(){return tc}),n.d(e,"o",function(){return td}),n.d(e,"O",function(){return tv}),n.d(e,"C",function(){return tb}),n.d(e,"j",function(){return t_}),n.d(e,"H",function(){return tP}),n.d(e,"n",function(){return tA}),n.d(e,"y",function(){return tF}),n.d(e,"r",function(){return tk}),n.d(e,"p",function(){return tN}),n.d(e,"h",function(){return tB}),n.d(e,"N",function(){return tV}),n.d(e,"D",function(){return tW}),n.d(e,"c",function(){return tY}),n.d(e,"d",function(){return tq}),n.d(e,"e",function(){return tK}),n.d(e,"k",function(){return tJ}),n.d(e,"i",function(){return t1}),n.d(e,"w",function(){return t4});var r={};n.r(r),n.d(r,"ProgressChart",function(){return f}),n.d(r,"RingProgressChart",function(){return p}),n.d(r,"TinyColumnChart",function(){return b}),n.d(r,"TinyAreaChart",function(){return O}),n.d(r,"TinyLineChart",function(){return S});var i={};n.r(i),n.d(i,"LineChart",function(){return C}),n.d(i,"TreemapChart",function(){return L}),n.d(i,"StepLineChart",function(){return D}),n.d(i,"BarChart",function(){return B}),n.d(i,"StackedBarChart",function(){return G}),n.d(i,"GroupedBarChart",function(){return W}),n.d(i,"PercentStackedBarChart",function(){return Y}),n.d(i,"RangeBarChart",function(){return H}),n.d(i,"AreaChart",function(){return q}),n.d(i,"StackedAreaChart",function(){return Z}),n.d(i,"PercentStackedAreaChart",function(){return K}),n.d(i,"ColumnChart",function(){return te}),n.d(i,"GroupedColumnChart",function(){return tr}),n.d(i,"StackedColumnChart",function(){return ti}),n.d(i,"RangeColumnChart",function(){return ta}),n.d(i,"PercentStackedColumnChart",function(){return to}),n.d(i,"PieChart",function(){return tl}),n.d(i,"DensityHeatmapChart",function(){return tc}),n.d(i,"HeatmapChart",function(){return td}),n.d(i,"WordCloudChart",function(){return tv}),n.d(i,"RoseChart",function(){return tb}),n.d(i,"FunnelChart",function(){return t_}),n.d(i,"StackedRoseChart",function(){return tP}),n.d(i,"GroupedRoseChart",function(){return tA}),n.d(i,"RadarChart",function(){return tF}),n.d(i,"LiquidChart",function(){return tk}),n.d(i,"HistogramChart",function(){return tN}),n.d(i,"DonutChart",function(){return tB}),n.d(i,"WaterfallChart",function(){return tV}),n.d(i,"ScatterChart",function(){return tW}),n.d(i,"BubbleChart",function(){return tY}),n.d(i,"BulletChart",function(){return tq}),n.d(i,"CalendarChart",function(){return tK}),n.d(i,"GaugeChart",function(){return tJ}),n.d(i,"DualAxesChart",function(){return t1});var a=n(4),o=n.n(a),s=n(3),l=n.n(s),u=n(629),c=n(11),f=Object(c.a)(u.Progress,"ProgressChart",function(t){return o()({data:t.percent,color:"#5B8FF9"},t)}),d=n(630),p=Object(c.a)(d.RingProgress,"RingProgressChart",function(t){return o()({data:t.percent,color:"#5B8FF9"},t)}),h=n(631),g=n(20),v=n.n(g),y=n(16),m=n(0),b=Object(c.a)(h.TinyColumn,"TinyColumnChart",function(t){var e=Object(y.c)(t);if(!Object(m.isNil)(e.yField)){var n=e.data.map(function(t){return t[e.yField]}).filter(function(t){return!Object(m.isNil)(t)});n&&n.length&&v()(e,"data",n)}return v()(e,"tooltip",!1),e}),x=n(632),_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},O=Object(c.a)(x.TinyArea,"TinyAreaChart",function(t){var e=Object(y.c)(t),n=e.xField,r=e.yField,i=e.data,a=_(e,["xField","yField","data"]);return n&&r&&i&&(a.data=i.map(function(t){return t[r]})),o()({},a)}),P=n(633),M=n(18),A=n.n(M),S=Object(c.a)(P.TinyLine,"TinyLineChart",function(t){var e=Object(y.c)(t);if(!Object(m.isNil)(e.yField)){var n=e.data.map(function(t){return t[e.yField]}).filter(function(t){return!Object(m.isNil)(t)});n&&n.length&&v()(e,"data",n)}var r=A()(e,"size");if(!Object(m.isNil)(r)){var i=A()(e,"lineStyle",{});v()(e,"lineStyle",o()(o()({},i),{lineWidth:r}))}return v()(e,"tooltip",!1),e}),w=n(232),E=function(t){var e=Object(y.c)(t);return Object(y.e)(e,"point"),!0===e.point&&(e.point={}),e},C=Object(c.a)(w.Line,"LineChart",E),T=n(634),I=n(17),j=n.n(I),F=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(r>n)delete e.children;else{var i=e.children;i&&i.length&&i.forEach(function(e){t(e,n,r+1)})}},L=Object(c.a)(T.Treemap,"TreemapChart",function(t){var e=Object(y.c)(t),n=Object(m.get)(e,"maxLevel",2);if(!Object(m.isNil)(n)){if(n<1)j()(!1,"maxLevel 必须大于等于1");else{var r=Object(m.get)(e,"data",{});F(r,n),Object(m.set)(e,"data",r),Object(m.set)(e,"maxLevel",n)}}return e}),D=Object(c.a)(w.Line,"StepLineChart",function(t){return j()(!1,"即将在5.0后废弃,请使用替代。"),t.stepType=t.stepType||t.step||"hv",E(t)}),k=n(83),R=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},N=function(t){var e=Object(y.c)(t),n=e.barSize,r=R(e,["barSize"]);return Object(y.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField是旧版API,即将废弃 请使用seriesField替代"},{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField是旧版API,即将废弃 请使用seriesField替代"}],r),Object(m.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),r},B=Object(c.a)(k.Bar,"BarChart",N),G=Object(c.a)(k.Bar,"StackedBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代,"),Object(m.deepMix)(t,{isStack:!0}),N(t)}),V=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},z=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"}],W=Object(c.a)(k.Bar,"GroupedBarChart",function(t){j()(!1," 在5.0后即将被废弃,请使用 替代");var e=Object(y.c)(t),n=e.barSize,r=V(e,["barSize"]);return Object(y.f)(z,r),Object(m.isNil)(n)||(r.minBarWidth=n,r.maxBarWidth=n),Object(m.deepMix)(t,{isGroup:!0}),r}),Y=Object(c.a)(k.Bar,"PercentStackedBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isPercent:!0,isStack:!0}),N(t)}),H=Object(c.a)(k.Bar,"RangeBarChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isRange:!0}),N(t)}),X=n(134),U=function(t){var e=Object(y.c)(t);return Object(y.e)(e,"line"),Object(y.e)(e,"point"),e.isStack=!Object(m.isNil)(e.isStack)&&e.isStack,Object(y.f)([{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField是旧版api,即将废弃 请使用seriesField替代"}],e),e},q=Object(c.a)(X.Area,"AreaChart",U),Z=Object(c.a)(X.Area,"StackedAreaChart",function(t){return j()(!1," 即将在5.0后废弃,请使用 替代。"),Object(m.deepMix)(t,{isStack:!0}),U(t)}),K=Object(c.a)(X.Area,"PercentStackedAreaChart",function(t){return j()(!1," 即将在5.0后废弃,请使用 替代。"),Object(m.deepMix)(t,{isPercent:!0}),U(t)}),$=n(84),Q=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},J=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"stackField",targetKey:"seriesField",notice:"colorField是旧版API,即将废弃 请使用seriesField替代"}],tt=function(t){var e=Object(y.c)(t),n=e.columnSize,r=Q(e,["columnSize"]);return Object(y.f)(J,r),Object(m.isNil)(n)||(r.minColumnWidth=n,r.maxColumnWidth=n),r},te=Object(c.a)($.Column,"ColumnChart",tt),tn=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tr=Object(c.a)($.Column,"GroupedColumnChart",function(t){j()(!1," 在5.0后即将被废弃,请使用 替代");var e=Object(y.c)(t),n=e.columnSize,r=tn(e,["columnSize"]);return Object(m.isNil)(n)||(r.minColumnWidth=n,r.maxColumnWidth=n),Object(m.deepMix)(t,{isGroup:!0}),r}),ti=Object(c.a)($.Column,"StackedColumnChart",function(t){return j()(!1,"即将在5.0中废弃,请使用替代。"),Object(m.deepMix)(t,{isStack:!0}),tt(t)}),ta=Object(c.a)($.Column,"RangeColumnChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isRange:!0}),tt(t)}),to=Object(c.a)($.Column,"PercentStackedColumnChart",function(t){return j()(!1," 即将在5.0后废弃,请使用替代。"),Object(m.deepMix)(t,{isPercent:!0,isStack:!0}),tt(t)}),ts=n(233),tl=Object(c.a)(ts.Pie,"PieChart",y.c),tu=n(135),tc=Object(c.a)(tu.Heatmap,"DensityHeatmapChartChart",function(t){var e=Object(y.c)(t);return Object(y.f)([{sourceKey:"radius",targetKey:"sizeRatio",notice:"radius 请使用sizeRatio替代"}],e),Object(m.set)(e,"type","density"),e}),tf=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},td=Object(c.a)(tu.Heatmap,"HeatmapChart",function(t){var e=Object(y.c)(t),n=e.shapeType,r=tf(e,["shapeType"]);return n&&(r.heatmapStyle=n,Object(I.warn)(!1,"shapeType是g2plot@1.0的属性,即将废弃,请使用 `heatmapStyle` 替代")),!r.shape&&r.sizeField&&(r.shape="square"),r}),tp=n(635),th=n(14),tg=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tv=Object(c.a)(tp.WordCloud,"WordCloudChart",function(t){var e=t.maskImage,n=t.wordField,r=t.weightField,i=t.colorField,a=t.selected,s=t.shuffle,l=t.interactions,u=t.onGetG2Instance,c=t.tooltip,f=t.wordStyle,d=t.onWordCloudHover,p=t.onWordCloudClick,h=tg(t,["maskImage","wordField","weightField","colorField","selected","shuffle","interactions","onGetG2Instance","tooltip","wordStyle","onWordCloudHover","onWordCloudClick"]),g=f.active,v=tg(f,["active"]);return o()({colorField:void 0===i?"word":i,wordField:void 0===n?"word":n,weightField:void 0===r?"weight":r,imageMask:e,random:s,interactions:void 0===l?[{type:"element-active"}]:l,wordStyle:v,tooltip:(!c||!!c.visible)&&c,onGetG2Instance:function(t){if(u&&u(t),a>=0){var e=t.chart,n=Object(th.getTheme)();g&&o()(n.geometries.point["hollow-circle"].active.style,g),e.on("afterrender",function(){e.geometries.length&&e.geometries[0].elements.forEach(function(t,e){e===a&&t.setState("active",!0)})}),e.on("plot:mousemove",function(t){if(!t.data){d&&d(void 0,void 0,t.event);return}var e=t.data.data,n=e.datum,r=e.x,i=e.y,a=e.width,o=e.height;d&&d(n,{x:r,y:i,w:a,h:o},t.event)}),e.on("plot:click",function(t){if(!t.data){p&&p(void 0,void 0,t.event);return}var e=t.data.data,n=e.datum,r=e.x,i=e.y,a=e.width,o=e.height;p&&p(n,{x:r,y:i,w:a,h:o},t.event)})}}},h)}),ty=n(136),tm=[{sourceKey:"colorField",targetKey:"seriesField",notice:"colorField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tb=Object(c.a)(ty.Rose,"RoseChart",function(t){var e=Object(y.c)(t);return Object(y.f)(tm,e),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"inner"===A()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===A()(e,"label.type")&&delete e.label.type,e}),tx=n(636),t_=Object(c.a)(tx.Funnel,"FunnelChart",function(t){var e=Object(y.c)(t);return Object(y.f)([{sourceKey:"transpose",targetKey:"isTransposed",notice:"transpose 即将废弃 请使用isTransposed替代"}],e),e}),tO=[{sourceKey:"stackField",targetKey:"seriesField",notice:"stackField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tP=Object(c.a)(ty.Rose,"StackedRoseChart",function(t){j()(!1," 即将在5.0后废弃,请使用替代,");var e=Object(y.c)(t);return Object(y.f)(tO,e),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"inner"===A()(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===A()(e,"label.type")&&delete e.label.type,o()(o()({},e),{isStack:!0})}),tM=[{sourceKey:"groupField",targetKey:"seriesField",notice:"groupField 是 g2@1.0的属性,即将废弃,请使用seriesField替代"},{sourceKey:"categoryField",targetKey:"xField",notice:"categoryField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tA=Object(c.a)(ty.Rose,"GroupedRoseChart",function(t){j()(!1," 即将在5.0后废弃,请使用。");var e=Object(y.c)(t);return Object(y.f)(tM,e),"inner"===Object(m.get)(e,"label.type")&&(e.label.offset=-15,delete e.label.type),"outer"===Object(m.get)(e,"label.type")&&delete e.label.type,o()(o()({},e),{isGroup:!0})}),tS=n(37),tw=n.n(tS),tE=n(61),tC=n.n(tE),tT=n(637),tI=[{sourceKey:"angleField",targetKey:"xField",notice:"angleField 是 g2@1.0的属性,即将废弃,请使用xField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"},{sourceKey:"angleAxis",targetKey:"xAxis",notice:"angleAxis 是 g2@1.0的属性,即将废弃,请使用xAxis替代"},{sourceKey:"radiusAxis",targetKey:"yAxis",notice:"radiusAxis 是 g2@1.0的属性,即将废弃,请使用yAxis替代"}],tj=function(t){var e=A()(t,"line",{}),n=e.visible,r=e.size,i=e.style;v()(t,"lineStyle",o()(o()(o()({},i),{opacity:1,lineWidth:"number"==typeof r?r:2}),tw()(n)||n?{fillOpacity:1,strokeOpacity:1}:{fillOpacity:0,strokeOpacity:0}))},tF=Object(c.a)(tT.Radar,"RadarChart",function(t){Object(y.f)(tI,t);var e=Object(y.c)(t);return!1===A()(e,"area.visible")&&v()(e,"area",!1),!1===A()(e,"point.visible")&&v()(e,"point",!1),tj(e),(tC()(e.angleAxis)||tC()(e.radiusAxis))&&(e.angleAxis||(e.angleAxis={}),e.angleAxis.line=A()(e,"angleAxis.line",null),e.angleAxis.tickLine=A()(e,"angleAxis.tickLine",null)),!1===A()(e,"tooltip.visible")&&v()(e,"tooltip",!1),!1===A()(e,"label.visible")&&v()(e,"label",!1),"line"===A()(e,"yAxis.grid.line.type")&&Object(m.deepMix)(e,{xAxis:{line:null,tickLine:null}},e),e}),tL=n(638),tD=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tk=Object(c.a)(tL.Liquid,"LiquidChart",function(t){var e=Object(y.c)(t),n=(e.range,e.min),r=e.max,i=e.value,a=tD(e,["range","min","max","value"]);if(!Object(m.isNil)(i)){a.percent=i/((void 0===r?1:r)-(void 0===n?0:n));var s=Object(m.get)(a,"statistic.content.formatter");null!==a.statistic&&!1!==a.statistic&&Object(m.deepMix)(a,{statistic:{content:{formatter:function(){return Object(m.isFunction)(s)&&s(i),i}}}})}Object(y.e)(a,"statistic"),Object(y.e)(a,"statistic.title"),Object(y.e)(a,"statistic.content");var l=a.percent;return o()({data:l},a)}),tR=n(639),tN=Object(c.a)(tR.Histogram,"HistogramChart"),tB=Object(c.a)(ts.Pie,"DonutChart",function(t){var e=Object(y.c)(t);return Object(y.e)(e,"statistic"),Object(y.e)(e,"statistic.title"),Object(y.e)(e,"statistic.content"),o()({innerRadius:.8},e)}),tG=n(640),tV=Object(c.a)(tG.Waterfall,"WaterfallChart"),tz=n(234),tW=Object(c.a)(tz.Scatter,"ScatterChart",function(t){var e=Object(y.c)(t);A()(e,"pointSize")&&v()(e,"size",A()(e,"pointSize")),Object(y.e)(e,"quadrant");var n=A()(e,"quadrant.label");if(!A()(e,"quadrant.labels")&&n){var r=n.text,i=n.style;if(r&&r.length&&i){var a=r.map(function(t){return{style:i,content:t}});v()(e,"quadrant.labels",a)}}if(!A()(e,"regressionLine")){var o=A()(e,"trendline");Object(m.isObject)(o)&&!1===A()(o,"visible")?v()(e,"regressionLine",null):v()(e,"regressionLine",o)}return e}),tY=Object(c.a)(tz.Scatter,"BubbleChart",function(t){var e=Object(y.c)(t);return tw()(A()(e,"pointSize"))||v()(e,"size",A()(e,"pointSize")),j()(!1,"BubbleChart 图表类型命名已变更为Scatter,请修改为"),e}),tH=n(641),tX=n(23),tU=n.n(tX),tq=Object(c.a)(tH.Bullet,"BulletChart",function(t){var e=Object(y.c)(t);return tw()(A()(t,"measureSize"))||(j()(!1,"measureSize已废弃,请使用size.measure替代"),v()(e,"size.measure",A()(t,"measureSize"))),tw()(A()(t,"rangeSize"))||(j()(!1,"rangeSize已废弃,请使用size.range替代"),v()(e,"size.range",A()(t,"rangeSize"))),tw()(A()(t,"markerSize"))||(j()(!1,"markerSizee已废弃,请使用size.target替代"),v()(e,"size.target",A()(t,"markerSize"))),tw()(A()(t,"measureColors"))||(j()(!1,"measureColors已废弃,请使用color.measure替代"),v()(e,"color.measure",A()(t,"measureColors"))),tw()(A()(t,"rangeColors"))||(j()(!1,"rangeColors已废弃,请使用color.range替代"),v()(e,"color.range",A()(t,"rangeColors"))),tw()(A()(t,"markerColors"))||(j()(!1,"markerColors已废弃,请使用color.target替代"),v()(e,"color.target",A()(t,"markerColors"))),tw()(A()(t,"markerStyle"))||(j()(!1,"markerStyle已废弃,请使用bulletStyle.target替代"),v()(e,"bulletStyle.target",A()(t,"markerStyle"))),tw()(A()(t,"xAxis.line"))&&v()(e,"xAxis.line",!1),tw()(A()(t,"yAxis"))&&v()(e,"yAxis",!1),tw()(A()(t,"measureField"))&&v()(e,"measureField","measures"),tw()(A()(t,"rangeField"))&&v()(e,"rangeField","ranges"),tw()(A()(t,"targetField"))&&v()(e,"targetField","target"),j()(!tw()(A()(t,"rangeMax")),"该属性已废弃,请在数据中配置range,并配置rangeField"),tU()(A()(t,"data"))&&v()(e,"data",t.data.map(function(e){var n={};return(tw()(A()(t,"rangeMax"))||(n={ranges:[A()(t,"rangeMax")]}),tU()(e.targets))?o()(o()(o()({},n),{target:e.targets[0]}),e):o()(o()({},n),e)})),e});n(642).G2.registerShape("polygon","boundary-polygon",{draw:function(t,e){var n=e.addGroup(),r={stroke:"#fff",lineWidth:1,fill:t.color,paht:[]},i=t.points,a=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["L",i[2].x,i[2].y],["L",i[3].x,i[3].y],["Z"]];if(r.path=this.parsePath(a),n.addShape("path",{attrs:r}),Object(m.get)(t,"data.lastWeek")){var o=[["M",i[2].x,i[2].y],["L",i[3].x,i[3].y]];n.addShape("path",{attrs:{path:this.parsePath(o),lineWidth:4,stroke:"#404040"}}),Object(m.get)(t,"data.lastDay")&&n.addShape("path",{attrs:{path:this.parsePath([["M",i[1].x,i[1].y],["L",i[2].x,i[2].y]]),lineWidth:4,stroke:"#404040"}})}return n}});var tZ=[{sourceKey:"colors",targetKey:"color",notice:"colors 是 g2Plot@1.0 的属性,请使用 color 属性替代"},{sourceKey:"valueField",targetKey:"colorField",notice:"valueField 是 g2@1.0的属性,即将废弃,请使用colorField替代"},{sourceKey:"radiusField",targetKey:"yField",notice:"radiusField 是 g2@1.0的属性,即将废弃,请使用yFeild替代"}],tK=Object(c.a)(tu.Heatmap,"CalendarChart",function(t){var e=Object(y.c)(t);return Object(y.f)(tZ,e),Object(m.isNil)(Object(m.get)(t,"shape"))&&Object(m.set)(e,"shape","boundary-polygon"),Object(m.isNil)(Object(m.get)(e,"xField"))&&Object(m.isNil)(Object(m.get)(e,"yField"))&&(Object(m.set)(e,"xField","week"),Object(m.set)(e,"meta.week",o()({type:"cat"},Object(m.get)(e,"meta.week",{}))),Object(m.set)(e,"yField","day"),Object(m.set)(e,"meta.day",{type:"cat",values:["Sun.","Mon.","Tues.","Wed.","Thur.","Fri.","Sat."]}),Object(m.set)(e,"reflect","y"),Object(m.set)(e,"xAxis",o()({tickLine:null,line:null,title:null,label:{offset:20,style:{fontSize:12,fill:"#bbb",textBaseline:"top"},formatter:function(t){return"2"==t?"MAY":"6"===t?"JUN":"10"==t?"JUL":"14"===t?"AUG":"18"==t?"SEP":"24"===t?"OCT":""}}},Object(m.get)(e,"xAxis",{})))),e}),t$=n(643),tQ=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},tJ=Object(c.a)(t$.Gauge,"GaugeChart",function(t){var e=Object(y.c)(t),n=e.range,r=e.min,i=void 0===r?0:r,a=e.max,s=void 0===a?1:a,l=e.value,u=tQ(e,["range","min","max","value"]);Object(m.isArray)(n)?(j()(!1,"range 应当是个对象,请修改配置。"),u.range={ticks:n.map(function(t){return(t-i)/(s-i)}),color:Object(th.getTheme)().colors10}):u.range=n||{};var c=Object(m.get)(u,"color");if(Object(m.isNil)(c)||(j()(!1,"请通过配置属性range.color来配置颜色"),u.range.color=c),Object(m.isNil)(Object(m.get)(u,"indicator"))&&Object(m.set)(u,"indicator",{pointer:{style:{stroke:"#D0D0D0"}},pin:{style:{stroke:"#D0D0D0"}}}),Object(m.get)(u,"statistic.visible")&&Object(m.set)(u,"statistic.title",Object(m.get)(u,"statistic")),!Object(m.isNil)(i)&&!Object(m.isNil)(s)&&!Object(m.isNil)(l)){u.percent=(l-i)/(s-i);var f=Object(m.get)(u,"axis.label.formatter");Object(m.set)(u,"axis",{label:{formatter:function(t){var e=t*(s-i)+i;return Object(m.isFunction)(f)?f(e):e}}})}j()(!(Object(m.get)(u,"min")||Object(m.get)(u,"max")),"属性 `max` 和 `min` 不推荐使用, 请直接配置属性range.ticks"),j()((Object(m.get)(u,"rangeSize")||Object(m.get)(u,"rangeStyle"),!1),"不再支持rangeSize、rangeStyle、rangeBackgroundStyle属性, 请查看新版仪表盘配置文档。");var d=Object(m.isNil)(u.percent)?l:u.percent;return o()({data:d},u)}),t0=n(644),t1=Object(c.a)(t0.DualAxes,"DualAxesChart"),t2=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},t3=o()(o()({},i),r),t5=function(t){var e=t.chartName,n=(t.adapter||function(e){return{plotType:t.plotType||"Line",options:e}})(t2(t,["chartName","adapter"]))||{},r=n.plotType,i=n.options,a=t3[r];return(a.displayName=e,a)?l.a.createElement(a,o()({},i)):l.a.createElement("div",{style:{color:"#aaa"}},"不存在plotName=:","".concat(r),"的Plot组件")};t5.registerPlot=function(t,e){j()(!t3[t],"%s的plot已存在",t),t3[t]=e};var t4=t5},function(t,e,n){"use strict";n.r(e),n.d(e,"Canvas",function(){return T}),n.d(e,"Group",function(){return X}),n.d(e,"Circle",function(){return tt}),n.d(e,"Ellipse",function(){return tn}),n.d(e,"Image",function(){return ti}),n.d(e,"Line",function(){return to}),n.d(e,"Marker",function(){return tl}),n.d(e,"Path",function(){return tc}),n.d(e,"Polygon",function(){return td}),n.d(e,"Polyline",function(){return th}),n.d(e,"Rect",function(){return tv}),n.d(e,"Text",function(){return tm}),n.d(e,"render",function(){return tb});var r=n(621),i=n.n(r),a=n(3),o=n.n(a),s=n(29),l={},u=i()({getRootHostContext:function(){},getChildHostContext:function(){},createInstance:function(){},finalizeInitialChildren:function(){return!1},hideTextInstance:function(){},getPublicInstance:function(t){return t},hideInstance:function(){},unhideInstance:function(){},createTextInstance:function(){},prepareUpdate:function(){return l},shouldDeprioritizeSubtree:function(){return!1},appendInitialChild:function(){},appendChildToContainer:function(){},removeChildFromContainer:function(){},prepareForCommit:function(){},resetAfterCommit:function(){},shouldSetTextContent:function(){return!1},supportsMutation:!0,appendChild:function(){}}),c=n(12),f=n.n(c),d=n(13),p=n.n(d),h=n(5),g=n.n(h),v=n(4),y=n.n(v),m=n(9),b=n.n(m),x=n(10),_=n.n(x),O=n(205),P=n(324),M=n(132),A=n(67),S=o.a.createContext(null);S.displayName="CanvasContext";var w=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},E=function(){function t(){b()(this,t)}return _()(t,[{key:"createInstance",value:function(t){t.children;var e=t.renderer,n=w(t,["children","renderer"]);"svg"===e?this.instance=new P.Canvas(y()({},n)):this.instance=new O.Canvas(y()({},n))}},{key:"update",value:function(t){this.instance||this.createInstance(t)}},{key:"draw",value:function(){this.instance&&this.instance.draw()}},{key:"destory",value:function(){this.instance&&(this.instance.remove(),this.instance=null)}}]),t}(),C=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new E,e}return _()(r,[{key:"componentDidMount",value:function(){this.helper.draw()}},{key:"componentWillUnmount",value:function(){this.helper.destory()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),o.a.createElement(A.b,y()({},this.props.ErrorBoundaryProps),o.a.createElement(S.Provider,{value:this.helper},o.a.createElement(s.a.Provider,{value:this.helper.instance},o.a.createElement(o.a.Fragment,null,this.props.children))))}}]),r}(o.a.Component),T=Object(M.a)(C),I=n(45),j=n.n(I),F=n(77),L=n.n(F),D=n(28),k=n.n(D),R=n(228),N=n.n(R),B=n(23),G=n.n(B),V=n(93),z=n.n(V),W={onClick:"click",onMousedown:"mousedown",onMouseup:"mouseup",onDblclick:"dblclick",onMouseout:"mouseout",onMouseover:"mouseover",onMousemove:"mousemove",onMouseleave:"mouseleave",onMouseenter:"mouseenter",onTouchstart:"touchstart",onTouchmove:"touchmove",onTouchend:"touchend",onDragenter:"dragenter",onDragover:"dragover",onDragleave:"dragleave",onDrop:"drop",onContextmenu:"contextmenu"},Y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},H=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){b()(this,r),(e=n.call(this,t)).state={isReady:!1},e.handleRender=N()(function(){if(e.instance)e.forceUpdate();else{var t=e.props,n=t.group,r=t.zIndex,i=t.name;e.instance=n.chart.canvas.addGroup({zIndex:r,name:i}),n.chart.canvas.sort(),e.setState({isReady:!0})}},300),e.configGroup=function(t){var n,r=t.rotate,i=t.animate,a=t.rotateAtPoint,o=t.scale,s=t.translate,l=t.move;if(r&&e.instance.rotate(r),G()(a)&&(n=e.instance).rotateAtPoint.apply(n,j()(a)),o&&e.instance.rotate(o),s&&e.instance.translate(s[0],s[1]),l&&e.instance.move(l.x,l.y),i){var u=i.toAttrs,c=Y(i,["toAttrs"]);e.instance.animate(u,c)}},e.bindEvents=function(){e.instance.off(),L()(W,function(t,n){k()(e.props[n])&&e.instance.on(t,e.props[n])})};var e,i=t.group,a=t.zIndex,o=t.name;return e.id=z()("group"),i.isChartCanvas?i.chart.on("afterrender",e.handleRender):(e.instance=i.addGroup({zIndex:a,name:o}),e.configGroup(t)),e}return _()(r,[{key:"componentWillUnmount",value:function(){var t=this.props.group;t.isChartCanvas&&t.chart.off("afterrender",this.handleRender),this.instance&&this.instance.remove(!0)}},{key:"getInstance",value:function(){return this.instance}},{key:"render",value:function(){var t=this.props.group;return this.instance&&(this.instance.clear(),this.bindEvents()),t.isChartCanvas&&this.state.isReady||!t.isChartCanvas?o.a.createElement(s.a.Provider,{value:this.instance},o.a.createElement(o.a.Fragment,{key:z()(this.id)},this.props.children)):o.a.createElement(o.a.Fragment,null)}}]),r}(o.a.Component);H.defaultProps={zIndex:3};var X=Object(s.b)(H),U=n(78),q=n(94),Z=n(75),K=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},$=function(){function t(e){b()(this,t),this.shape=e}return _()(t,[{key:"createInstance",value:function(t){this.instance=t.group.addShape(this.shape,Object(U.a)(t,["group","ctx"]))}},{key:"destroy",value:function(){this.instance&&(this.instance.remove(!0),this.instance=null)}},{key:"update",value:function(t){var e=this,n=Object(U.a)(t,j()(q.a));this.destroy(),this.createInstance(n);var r=n.attrs,i=n.animate,a=n.isClipShape,o=n.visible,s=n.matrix,l=K(n,["attrs","animate","isClipShape","visible","matrix"]);if(this.instance.attr(r),i){var u=i.toAttrs,c=K(i,["toAttrs"]);this.instance.animate(u,c)}a&&this.instance.isClipShape(),!1===o&&this.instance.hide(),s&&this.instance.setMatrix(s),L()(W,function(t,n){k()(l[n])&&e.instance.on(t,l[n])}),this.config=Object(Z.a)(n)}}]),t}(),Q=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(){return b()(this,r),n.apply(this,arguments)}return _()(r,[{key:"componentWillUnmount",value:function(){this.helper.destroy()}},{key:"getInstance",value:function(){return this.helper.instance}},{key:"render",value:function(){return this.helper.update(this.props),null}}]),r}(o.a.Component),J=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("circle"),e}return _()(r)}(Q),tt=Object(s.b)(J),te=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("ellipse"),e}return _()(r)}(Q),tn=Object(s.b)(te),tr=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("image"),e}return _()(r)}(Q),ti=Object(s.b)(tr),ta=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("line"),e}return _()(r)}(Q),to=Object(s.b)(ta),ts=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("marker"),e}return _()(r)}(Q),tl=Object(s.b)(ts),tu=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("path"),e}return _()(r)}(Q),tc=Object(s.b)(tu),tf=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("polygon"),e}return _()(r)}(Q),td=Object(s.b)(tf),tp=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("polyline"),e}return _()(r)}(Q),th=Object(s.b)(tp),tg=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("rect"),e}return _()(r)}(Q),tv=Object(s.b)(tg),ty=function(t){f()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=g()(r);if(e){var i=g()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return p()(this,t)});function r(t){var e;return b()(this,r),(e=n.call(this,t)).helper=new $("text"),e}return _()(r)}(Q),tm=Object(s.b)(ty),tb=function(t,e){e.clear&&e.clear();var n=u.createContainer(e,0,!1);return u.updateContainer(o.a.createElement(s.a.Provider,{value:e},o.a.createElement(o.a.Fragment,null,t)),n,null,function(){}),u.getPublicRootInstance(n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"Base",function(){return r.a}),n.d(e,"Arc",function(){return i.a}),n.d(e,"DataMarker",function(){return a.a}),n.d(e,"DataRegion",function(){return o.a}),n.d(e,"RegionFilter",function(){return y}),n.d(e,"Html",function(){return m}),n.d(e,"ReactElement",function(){return b}),n.d(e,"Image",function(){return x.a}),n.d(e,"Line",function(){return _.a}),n.d(e,"Region",function(){return O.a}),n.d(e,"Text",function(){return P.a});var r=n(35),i=n(207),a=n(208),o=n(209),s=n(10),l=n.n(s),u=n(9),c=n.n(u),f=n(12),d=n.n(f),p=n(13),h=n.n(p),g=n(5),v=n.n(g),y=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="regionFilter",t}return l()(r)}(r.a),m=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="html",t}return l()(r)}(r.a),b=function(t){d()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=v()(r);if(e){var i=v()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return h()(this,t)});function r(){var t;return c()(this,r),t=n.apply(this,arguments),t.annotationType="ReactElement",t}return l()(r)}(r.a),x=n(210),_=n(211),O=n(212),P=n(213)},function(t,e,n){"use strict";n.d(e,"a",function(){return J});var r=n(4),i=n.n(r),a=n(3),o=n.n(a),s=n(28),l=n.n(s),u=n(204),c=n.n(u),f=n(93),d=n.n(f),p=n(23),h=n.n(p),g=n(50),v=n.n(g),y=n(8),m=n(40),b=n(9),x=n.n(b),_=n(10),O=n.n(_),P=n(12),M=n.n(P),A=n(13),S=n.n(A),w=n(5),E=n.n(w),C=n(221),T=n.n(C),I=n(18),j=n.n(I),F=n(625),L=n.n(F),D=n(47),k=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},R="g2-tooltip",N=function(t){M()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=E()(r);if(e){var i=E()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return S()(this,t)});function r(){var t;return x()(this,r),t=n.apply(this,arguments),t.renderInnder=function(e){var n=e.data,r=n.title,i=n.items,a=n.x,o=n.y;T.a.render(t.props.children(r,i,a,o,e),t.getElement())},t}return O()(r,[{key:"componentWillUnmount",value:function(){var t=this.props.chartView;this.element&&this.element.remove(),t.getController("tooltip").clear(),t.off("tooltip:change",this.renderInnder)}},{key:"getElement",value:function(){return this.element||(this.element=document.createElement("div"),this.element.classList.add("bizcharts-tooltip"),this.element.classList.add("g2-tooltip"),this.element.style.width="auto",this.element.style.height="auto"),this.element}},{key:"overwriteCfg",value:function(){var t=this,e=this.props,n=e.chartView,r=(e.children,e.domStyles),a=void 0===r?{}:r,o=k(e,["chartView","children","domStyles"]);n.tooltip(i()(i()({inPlot:!1,domStyles:a},o),{customContent:function(){return t.getElement()}})),n.on("tooltip:change",this.renderInnder);var s=j()(Object(y.getTheme)(),["components","tooltip","domStyles",R],{});L()(this.element,i()(i()({},s),a[R]))}},{key:"render",value:function(){return this.overwriteCfg(),null}}]),r}(o.a.Component),B=Object(D.b)(N),G=n(166),V=n(345),z=n.n(V),W=n(346),Y=n.n(W),H=n(127),X=n.n(H),U=n(347),q=n.n(U);Object(y.registerAction)("tooltip",X.a),Object(y.registerAction)("sibling-tooltip",Y.a),Object(y.registerAction)("active-region",z.a),Object(y.registerAction)("ellipsis-text",q.a),Object(y.registerInteraction)("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(y.registerInteraction)("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]}),Object(y.registerInteraction)("tooltip-click",{start:[{trigger:"plot:click",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchstart",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:leave",action:"tooltip:hide"}]});var Z=function(t){t.view.isTooltipLocked()?t.view.unlockTooltip():t.view.lockTooltip()};Object(y.registerInteraction)("tooltip-lock",{start:[{trigger:"plot:click",action:Z},{trigger:"plot:touchstart",action:Z},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:mousemove",action:"tooltip:show"}],end:[{trigger:"plot:click",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]}),Object(y.registerInteraction)("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});var K=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(y.registerComponentController)("tooltip",c.a);var $=function(t){var e=t.visible,n=t.children;return(void 0===e||e)&&l()(n)},Q=function(t){var e=t.visible,n=(t.children,K(t,["visible","children"])),r=Object(m.a)();return r.getController("tooltip").clear(),!0===(void 0===e||e)?r.tooltip(i()({customContent:null,showMarkers:!1},n)):r.tooltip(!1),null};function J(t){var e=t.children,n=t.triggerOn,r=t.onShow,s=t.onChange,u=t.onHide,c=t.lock,f=t.linkage,p=K(t,["children","triggerOn","onShow","onChange","onHide","lock","linkage"]),g=Object(m.a)();g.removeInteraction("tooltip"),g.removeInteraction("tooltip-click"),g.removeInteraction("tooltip-lock"),"click"===n?g.interaction("tooltip-click"):c?g.interaction("tooltip-lock"):g.interaction("tooltip");var y=Object(a.useRef)(d()("tooltip"));Object(a.useEffect)(function(){h()(f)?Object(G.b)(f[0],y.current,g,p.shared,f[1]):v()(f)&&Object(G.b)(f,y.current,g,p.shared)},[f,g]);var b=Object(a.useCallback)(function(t){l()(r)&&r(t,g)},[]),x=Object(a.useCallback)(function(t){l()(s)&&s(t,g)},[]),_=Object(a.useCallback)(function(t){l()(u)&&u(t,g)},[]);return g.off("tooltip:show",b),g.on("tooltip:show",b),g.off("tooltip:change",x),g.on("tooltip:change",x),g.off("tooltip:hide",_),g.on("tooltip:hide",_),$(t)?o.a.createElement(B,i()({},p),e):o.a.createElement(Q,i()({},t))}J.defaultProps={showMarkers:!1,triggerOn:"hover"}},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a=n(9),o=n.n(a),s=n(10),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(3),v=n.n(g),y=n(228),m=n.n(y),b=n(160),x=n(231),_=n(67),O=n(132),P=n(76),M=n(47),A=n(29),S=n(45),w=n.n(S),E=n(93),C=n.n(E),T=n(55),I=n.n(T),j=n(28),F=n.n(j),L=n(23),D=n.n(L),k=n(624),R=n.n(k),N=n(8),B=n(17),G=n.n(B),V=n(82),z=n(78),W=n(75),Y=n(94),H=n(21),X=n(126),U=n.n(X),q=n(137),Z=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},K=function(t){c()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=h()(r);if(e){var i=h()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return d()(this,t)});function r(){var t;return o()(this,r),t=n.apply(this,arguments),t.config={},t}return l()(r,[{key:"createInstance",value:function(t){this.chart=new N.Chart(i()({},t)),this.key=C()("bx-chart"),this.chart.emit("initialed"),this.isNewInstance=!0,this.extendGroup={isChartCanvas:!0,chart:this.chart}}},{key:"render",value:function(){if(this.chart)try{this.isNewInstance?(this.chart.render(),this.onGetG2Instance(),this.chart.unbindAutoFit(),this.isNewInstance=!1):this.chart.forceReRender?this.chart.render():this.chart.render(!0),this.chart.emit("processElemens")}catch(t){this.emit("renderError",t),this.destory(),console&&console.error(null==t?void 0:t.stack)}}},{key:"onGetG2Instance",value:function(){F()(this.config.onGetG2Instance)&&this.config.onGetG2Instance(this.chart)}},{key:"shouldReCreateInstance",value:function(t){if(!this.chart||t.forceUpdate)return!0;var e=this.config,n=e.data,r=Z(e,["data"]),i=t.data,a=Z(t,["data"]);if(D()(this.config.data)&&0===n.length&&D()(i)&&0!==i.length)return!0;var o=[].concat(w()(Y.a),["scale","width","height","container","_container","_interactions","placeholder",/^on/,/^\_on/]);return!R()(Object(z.a)(r,w()(o)),Object(z.a)(a,w()(o)))}},{key:"update",value:function(t){var e=this,n=Object(W.a)(this.adapterOptions(t));this.shouldReCreateInstance(n)&&(this.destory(),this.createInstance(n)),n.pure&&(this.chart.axis(!1),this.chart.tooltip(!1),this.chart.legend(!1),this.chart.isPure=!0);var r=Object(q.a)(this.config),i=Object(q.a)(n),a=n.data,o=n.interactions,s=Z(n,["data","interactions"]),l=this.config,u=l.data,c=l.interactions;if(this.isNewInstance||r.forEach(function(t){e.chart.off(t[1],e.config["_".concat(t[0])])}),i.forEach(function(t){n["_".concat(t[0])]=function(r){n[t[0]](r,e.chart)},e.chart.on(t[1],n["_".concat(t[0])])}),D()(u)&&u.length){var f=!0;if(n.notCompareData&&(f=!1),u.length!==a.length?f=!1:u.forEach(function(t,e){Object(V.a)(t,a[e])||(f=!1)}),!f){this.chart.isDataChanged=!0,this.chart.emit(H.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA),this.chart.data(a);for(var d=this.chart.views,p=0,h=d.length;p=0&&e!==this.chartHelper.chart.width||n>=0&&n!==this.chartHelper.chart.height){var r=e||this.chartHelper.chart.width,i=n||this.chartHelper.chart.height;this.chartHelper.chart.changeSize(r,i),this.chartHelper.chart.emit("resize")}else this.chartHelper.render()}else this.chartHelper.render()}},{key:"componentWillUnmount",value:function(){this.chartHelper.destory(),this.resizeObserver.unobserve(this.props.container)}},{key:"getG2Instance",value:function(){return this.chartHelper.chart}},{key:"render",value:function(){var t=this,e=this.props,n=e.placeholder,r=e.data,a=e.errorContent,o=this.props.ErrorBoundaryProps;if((void 0===r||0===r.length)&&n){this.chartHelper.destory();var s=!0===n?v.a.createElement("div",{style:{position:"relative",top:"48%",color:"#aaa",textAlign:"center"}},"暂无数据"):n;return v.a.createElement(_.b,i()({},o),s)}return this.chartHelper.update(this.props),o=a?i()({fallback:a},o):{FallbackComponent:_.a},v.a.createElement(_.b,i()({},o,{key:this.chartHelper.key,onError:function(){var e;t.isError=!0,Object($.isFunction)(o.onError)&&(e=o).onError.apply(e,arguments)},onReset:function(){var e;t.isError=!1,Object($.isFunction)(o.onReset)&&(e=o).onReset.apply(e,arguments)},resetKeys:[this.chartHelper.key],fallback:a}),v.a.createElement(P.a.Provider,{value:this.chartHelper},v.a.createElement(M.a.Provider,{value:this.chartHelper.chart},v.a.createElement(A.a.Provider,{value:this.chartHelper.extendGroup},this.props.children))))}}]),r}(v.a.Component);Q.defaultProps={placeholder:!1,visible:!0,interactions:[],filter:[]},e.a=Object(O.a)(Q)},function(t,e,n){"use strict";var r=n(9),i=n.n(r),a=n(10),o=n.n(a),s=n(12),l=n.n(s),u=n(13),c=n.n(u),f=n(5),d=n.n(f),p=n(3),h=n.n(p),g=n(76),v=n(47),y=n(4),m=n.n(y),b=n(23),x=n.n(b),_=n(168),O=n.n(_),P=n(55),M=n.n(P),A=n(17),S=n.n(A),w=n(82),E=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},C=function(){function t(e){i()(this,t),this.config={},this.isRootView=!1,this.chart=e}return o()(t,[{key:"creatViewInstance",value:function(t){this.view=this.chart.createView(this.processOptions(t)),this.view.rootChart=this.chart}},{key:"getView",value:function(){return this.view}},{key:"update",value:function(t){var e=this,n=this.config.data,r=t.scale,i=t.animate,a=t.filter,o=t.visible,s=t.data,l=void 0===s?[]:s;if(l.rows&&(S()(!l.rows,"bizcharts@4不支持 dataset数据格式,请使用data={dv.rows}"),l=l.rows),(!this.view||x()(n)&&0===n.length)&&(this.destroy(),this.creatViewInstance(t)),x()(n)){this.view.changeData(l);var u=!0;n.length!==l.length?u=!1:n.forEach(function(t,e){Object(w.a)(t,l[e])||(u=!1)}),u||this.view.changeData(l)}else this.view.data(l);this.view.scale(r),this.view.animate(i),M()(this.config.filter,function(t,n){x()(t)?e.view.filter(t[0],null):e.view.filter(n,null)}),M()(a,function(t,n){x()(t)?e.view.filter(t[0],t[1]):e.view.filter(n,t)}),o?this.view.show():this.view.hide(),this.config=m()(m()({},t),{data:l})}},{key:"destroy",value:function(){this.view&&(this.view.destroy(),this.view=null),this.config={}}},{key:"processOptions",value:function(t){var e=t.region,n=t.start,r=t.end,i=E(t,["region","start","end"]);S()(!n,"start 属性将在5.0后废弃,请使用 region={{ start: {x:0,y:0}}} 替代"),S()(!r,"end 属性将在5.0后废弃,请使用 region={{ end: {x:0,y:0}}} 替代");var a=O()({start:{x:0,y:0},end:{x:1,y:1}},{start:n,end:r},e);return m()(m()({},i),{region:a})}}]),t}(),T=function(t){l()(r,t);var e,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=d()(r);if(e){var i=d()(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c()(this,t)});function r(){var t;return i()(this,r),t=n.apply(this,arguments),t.name="view",t}return o()(r,[{key:"componentWillUnmount",value:function(){this.viewHelper.destroy(),this.viewHelper=null}},{key:"render",value:function(){return this.viewHelper||(this.viewHelper=new C(this.context.chart)),this.viewHelper.update(this.props),h.a.createElement(v.a.Provider,{value:this.viewHelper.view},h.a.createElement(h.a.Fragment,null,this.props.children))}}]),r}(h.a.Component);T.defaultProps={visible:!0,preInteractions:[],filter:[]},T.contextType=g.a,e.a=T},function(t,e,n){"use strict";n.d(e,"a",function(){return _});var r=n(3),i=n(343),a=n.n(i),o=n(28),s=n.n(o),l=n(8),u=n(40),c=n(227),f=n.n(c),d=n(358),p=n.n(d),h=n(360),g=n.n(h),v=n(362),y=n.n(v),m=n(359),b=n.n(m);Object(l.registerAction)("list-active",p.a),Object(l.registerAction)("list-selected",b.a),Object(l.registerAction)("list-highlight",f.a),Object(l.registerAction)("list-unchecked",g.a),Object(l.registerAction)("data-filter",y.a),Object(l.registerAction)("legend-item-highlight",f.a,{componentNames:["legend"]}),Object(l.registerInteraction)("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]}),Object(l.registerInteraction)("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]}),Object(l.registerInteraction)("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:"list-unchecked:toggle"},{trigger:"legend-item:click",action:"data-filter:filter"}]});var x=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function _(t){var e=t.name,n=t.visible,i=void 0===n||n,a=(t.onChange,t.filter),o=x(t,["name","visible","onChange","filter"]),l=Object(u.a)();return void 0===e?i?l.legend(o):l.legend(!1):i?l.legend(e,o):l.legend(e,!1),s()(a)&&e&&l.filter(e,a),Object(r.useEffect)(function(){l.on("legend:valuechanged",function(e){s()(t.onChange)&&t.onChange(e,l)}),l.on("legend-item:click",function(e){if(s()(t.onChange)){var n=e.target.get("delegateObject").item;e.item=n,t.onChange(e,l)}})},[]),null}Object(l.registerComponentController)("legend",a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n(342),i=n.n(r),a=n(40),o=n(626),s=n.n(o),l=function(t,e){var n=s()(t);return e.forEach(function(t){!0===n[t]?n[t]={}:!1===n[t]&&(n[t]=null)}),n},u=n(8),c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};Object(u.registerComponentController)("axis",i.a);var f=function(t){return void 0===t};function d(t){var e=t.name,n=t.visible,r=c(t,["name","visible"]),i=Object(a.a)(),o=l(r,["title","line","tickLine","subTickLine","label","grid"]);return void 0===n||n?f(e)?i.axis(!0):i.axis(e,o):f(e)?i.axis(!1):i.axis(e,!1),null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(96),a=n(0),o=n(742),s=n(202),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.__assign(r.__assign({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
    ',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");s.clearDom(t);var n=a.isFunction(e)?e(t):e;if(a.isElement(n))t.appendChild(n);else if(a.isString(n)||a.isNumber(n)){var r=i.createDom(""+n);r&&t.appendChild(r)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,a=this.get("alignX"),o=this.get("alignY"),s=this.get("offsetX"),l=this.get("offsetY"),u=i.getOuterWidth(t),c=i.getOuterHeight(t),f={x:n,y:r};"middle"===a?f.x-=Math.round(u/2):"right"===a&&(f.x-=Math.round(u)),"middle"===o?f.y-=Math.round(c/2):"bottom"===o&&(f.y-=Math.round(c)),s&&(f.x+=s),l&&(f.y+=l),i.modifyCSS(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.Shape=void 0;var r=n(1),i=n(184);e.Shape=i,r.__exportStar(n(26),e);var a=n(928);Object.defineProperty(e,"Canvas",{enumerable:!0,get:function(){return a.default}});var o=n(262);Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return o.default}}),e.version="0.5.6"},function(t,e,n){"use strict";var r,i,a,o=n(2)(n(6));a=function(t,e){var n=e&&"object"===(0,o.default)(e)&&"default"in e?e:{default:e},r={error:null},i=function(t){function e(){for(var e,n=arguments.length,i=Array(n),a=0;a2&&void 0!==arguments[2]?arguments[2]:[],i=t;return r&&r.length&&(i=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return v()(n)?e=n:h()(n)?e=function(t,e){for(var r=0;re[i])return 1}return 0}:m()(n)&&(e=function(t,e){return t[n]e[n]?1:0}),t.sort(e)}(t,r)),v()(e)?n=e:h()(e)?n=function(t){return"_".concat(e.map(function(e){return t[e]}).join("-"))}:m()(e)&&(n=function(t){return"_".concat(t[e])}),x()(i,n)},O=function(t,e,n,r){var i=[],a=r?_(t,r):{_data:t};return u()(a,function(t){var r=Object(c.a)(t.map(function(t){return t[e]}));d()(0!==r,"Invalid data: total sum of field ".concat(e," is 0!")),u()(t,function(t){var a=o()({},t);0===r?a[n]=0:a[n]=t[e]/r,i.push(a)})}),i},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t>=1e8?"".concat((t/1e8).toFixed(e).replace(/\.?0*$/,""),"亿"):t>=1e4?"".concat((t/1e4).toFixed(e).replace(/\.?0*$/,""),"万"):t.toFixed(e).replace(/\.?0*$/,"")},M=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return"number"==typeof t?t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e):t},A=n(165),S=n(75),w=n(82)},function(t,e,n){t.exports=n(647)},function(t,e,n){"use strict";n.r(e),n.d(e,"Util",function(){return H});var r=n(4),i=n.n(r),a=n(0),o=n(612);n.d(e,"Annotation",function(){return o});var s=n(323);n.d(e,"G2",function(){return s});var l=n(611);n.d(e,"GComponents",function(){return l});var u=n(645),c=n(614);n.d(e,"Chart",function(){return c.a});var f=n(615);n.d(e,"View",function(){return f.a});var d=n(613);n.d(e,"Tooltip",function(){return d.a});var p=n(616);n.d(e,"Legend",function(){return p.a});var h=n(215);n.d(e,"Coordinate",function(){return h.a});var g=n(617);n.d(e,"Axis",function(){return g.a});var v=n(489);n.d(e,"Facet",function(){return v.a});var y=n(490);n.d(e,"Slider",function(){return y.a});var m=n(128);n.d(e,"Area",function(){return m.a});var b=n(216);n.d(e,"Edge",function(){return b.a});var x=n(217);n.d(e,"Heatmap",function(){return x.a});var _=n(218);n.d(e,"Interval",function(){return _.a});var O=n(129);n.d(e,"Line",function(){return O.a});var P=n(130);n.d(e,"Point",function(){return P.a});var M=n(219);n.d(e,"Polygon",function(){return M.a});var A=n(492);n.d(e,"Schema",function(){return A.a});var S=n(39);n.d(e,"BaseGeom",function(){return S.a});var w=n(290);n.d(e,"Label",function(){return w.a});var E=n(493);n.d(e,"Path",function(){return E.a});var C=n(220);n.d(e,"LineAdvance",function(){return C.a});var T=n(494);n.d(e,"Geom",function(){return T.a});var I=n(495);n.d(e,"Coord",function(){return I.a});var j=n(496);n.d(e,"Guide",function(){return j.a});var F=n(497);n.d(e,"Effects",function(){return F.a});var L=n(498);n.d(e,"Interaction",function(){return L.a});var D=n(11);n.d(e,"createPlot",function(){return D.a});var k=n(166);n.d(e,"createTooltipConnector",function(){return k.a});var R=n(40);n.d(e,"useView",function(){return R.a});var N=n(81);n.d(e,"useRootChart",function(){return N.a}),n.d(e,"useChartInstance",function(){return N.a});var B=n(504);n.d(e,"useTheme",function(){return B.a});var G=n(47);n.d(e,"withView",function(){return G.b});var V=n(76);n.d(e,"withChartInstance",function(){return V.b});var z=n(8);for(var W in z)0>["default","Util","Annotation","G2","GComponents","Chart","View","Tooltip","Legend","Coordinate","Axis","Facet","Slider","Area","Edge","Heatmap","Interval","Line","Point","Polygon","Schema","BaseGeom","Label","Path","LineAdvance","Geom","Coord","Guide","Effects","Interaction","createPlot","createTooltipConnector","useView","useRootChart","useChartInstance","useTheme","withView","withChartInstance"].indexOf(W)&&function(t){n.d(e,t,function(){return z[t]})}(W);var Y=n(610);n.d(e,"ProgressChart",function(){return Y.x}),n.d(e,"RingProgressChart",function(){return Y.B}),n.d(e,"TinyColumnChart",function(){return Y.K}),n.d(e,"TinyAreaChart",function(){return Y.J}),n.d(e,"TinyLineChart",function(){return Y.L}),n.d(e,"LineChart",function(){return Y.q}),n.d(e,"TreemapChart",function(){return Y.M}),n.d(e,"StepLineChart",function(){return Y.I}),n.d(e,"BarChart",function(){return Y.b}),n.d(e,"StackedBarChart",function(){return Y.F}),n.d(e,"GroupedBarChart",function(){return Y.l}),n.d(e,"PercentStackedBarChart",function(){return Y.t}),n.d(e,"RangeBarChart",function(){return Y.z}),n.d(e,"AreaChart",function(){return Y.a}),n.d(e,"StackedAreaChart",function(){return Y.E}),n.d(e,"PercentStackedAreaChart",function(){return Y.s}),n.d(e,"ColumnChart",function(){return Y.f}),n.d(e,"GroupedColumnChart",function(){return Y.m}),n.d(e,"StackedColumnChart",function(){return Y.G}),n.d(e,"RangeColumnChart",function(){return Y.A}),n.d(e,"PercentStackedColumnChart",function(){return Y.u}),n.d(e,"PieChart",function(){return Y.v}),n.d(e,"DensityHeatmapChart",function(){return Y.g}),n.d(e,"HeatmapChart",function(){return Y.o}),n.d(e,"WordCloudChart",function(){return Y.O}),n.d(e,"RoseChart",function(){return Y.C}),n.d(e,"FunnelChart",function(){return Y.j}),n.d(e,"StackedRoseChart",function(){return Y.H}),n.d(e,"GroupedRoseChart",function(){return Y.n}),n.d(e,"RadarChart",function(){return Y.y}),n.d(e,"LiquidChart",function(){return Y.r}),n.d(e,"HistogramChart",function(){return Y.p}),n.d(e,"DonutChart",function(){return Y.h}),n.d(e,"WaterfallChart",function(){return Y.N}),n.d(e,"ScatterChart",function(){return Y.D}),n.d(e,"BubbleChart",function(){return Y.c}),n.d(e,"BulletChart",function(){return Y.d}),n.d(e,"CalendarChart",function(){return Y.e}),n.d(e,"GaugeChart",function(){return Y.k}),n.d(e,"DualAxesChart",function(){return Y.i}),n.d(e,"PlotAdapter",function(){return Y.w});var H=i()(i()(i()({},a),u),s.Util)},function(t,e,n){"use strict";var r,i=n(2)(n(6));if(!Object.keys){var a=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=n(366),l=Object.prototype.propertyIsEnumerable,u=!l.call({toString:null},"toString"),c=l.call(function(){},"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(t){var e=t.constructor;return e&&e.prototype===t},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},h=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&a.call(window,t)&&null!==window[t]&&"object"===(0,i.default)(window[t]))try{d(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),g=function(t){if("undefined"==typeof window||!h)return d(t);try{return d(t)}catch(t){return!1}};r=function(t){var e=null!==t&&"object"===(0,i.default)(t),n="[object Function]"===o.call(t),r=s(t),l=e&&"[object String]"===o.call(t),d=[];if(!e&&!n&&!r)throw TypeError("Object.keys called on a non-object");var p=c&&n;if(l&&t.length>0&&!a.call(t,0))for(var h=0;h0)for(var v=0;v-1?i(n):n}},function(t,e,n){"use strict";var r=n(364),i=n(370);t.exports=function(){var t=i();return r(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(371)),a=r(n(238));e.default=function(t,e){return void 0===e&&(e=[]),(0,i.default)(t,function(t){return!(0,a.default)(e,t)})}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(57)),a=r(n(372)),o=r(n(36)),s=r(n(138));e.default=function(t,e){if(!(0,o.default)(t))return null;if((0,i.default)(e)&&(n=e),(0,s.default)(e)&&(n=function(t){return(0,a.default)(t,e)}),n){for(var n,r=0;r-1;)i.call(t,s,1);return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56)),a=r(n(376));e.default=function(t,e){var n=[];if(!(0,i.default)(t))return n;for(var r=-1,o=[],s=t.length;++re[i])return 1;if(t[i]n?n:t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t%1!=0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t%2==0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86)),a=Number.isInteger?Number.isInteger:function(t){return(0,i.default)(t)&&t%1==0};e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(86));e.default=function(t){return(0,i.default)(t)&&t<0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)0}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(36)),a=r(n(57));e.default=function(t,e){if((0,i.default)(t)){for(var n,r=-1/0,o=0;or&&(n=s,r=l)}return n}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(36)),a=r(n(57));e.default=function(t,e){if((0,i.default)(t)){for(var n,r=1/0,o=0;oe?(r&&(clearTimeout(r),r=null),s=u,o=t.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(l,c)),o};return u.cancel=function(){clearTimeout(r),s=0,r=i=a=null},u}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(56));e.default=function(t){return(0,i.default)(t)?Array.prototype.slice.call(t):[]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={};e.default=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)?0:(0,a.default)(t)?t.length:Object.keys(t).length};var i=r(n(95)),a=r(n(56))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(85)),a=r(n(108)),o=r(n(386));e.default=function(t,e,n,r){void 0===r&&(r="...");var s,l,u=(0,o.default)(r,n),c=(0,i.default)(t)?t:(0,a.default)(t),f=e,d=[];if((0,o.default)(t,n)<=e)return t;for(;s=c.substr(0,16),!((l=(0,o.default)(s,n))+u>f)||!(l>f);)if(d.push(s),f-=l,!(c=c.substr(16)))return d.join("");for(;s=c.substr(0,1),!((l=(0,o.default)(s,n))+u>f);)if(d.push(s),f-=l,!(c=c.substr(1)))return d.join("");return""+d.join("")+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.default=r},function(t,e,n){"use strict";function r(e,n){return t.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e,n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";t.exports=function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(t){if("function"==typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"==typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}},function(t,e,n){"use strict";var r,i,a,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){r||(r=document.createElement("table"),i=document.createElement("tr"),a=/^\s*<(\w+|!)[^>]*>/,o={tr:document.createElement("tbody"),tbody:r,thead:r,tfoot:r,td:i,th:i,"*":document.createElement("div")});var e=a.test(t)&&RegExp.$1;e&&e in o||(e="*");var n=o[e];t="string"==typeof t?t.replace(/(^\s*)|(\s*$)/g,""):t,n.innerHTML=""+t;var s=n.childNodes[0];return s&&n.contains(s)&&n.removeChild(s),s}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,a.default)(t,e),r=parseFloat((0,i.default)(t,"borderTopWidth"))||0,o=parseFloat((0,i.default)(t,"paddingTop"))||0,s=parseFloat((0,i.default)(t,"paddingBottom"))||0;return n+r+(parseFloat((0,i.default)(t,"borderBottomWidth"))||0)+o+s+(parseFloat((0,i.default)(t,"marginTop"))||0)+(parseFloat((0,i.default)(t,"marginBottom"))||0)};var i=r(n(139)),a=r(n(387))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,a.default)(t,e),r=parseFloat((0,i.default)(t,"borderLeftWidth"))||0,o=parseFloat((0,i.default)(t,"paddingLeft"))||0,s=parseFloat((0,i.default)(t,"paddingRight"))||0,l=parseFloat((0,i.default)(t,"borderRightWidth"))||0,u=parseFloat((0,i.default)(t,"marginRight"))||0;return n+r+l+o+s+(parseFloat((0,i.default)(t,"marginLeft"))||0)+u};var i=r(n(139)),a=r(n(388))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return window.devicePixelRatio?window.devicePixelRatio:2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(96),a=n(0),o=n(202),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.__assign(r.__assign({},e),{container:null,containerTpl:"
    ",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){this.get("container").style.display="",this.set("visible",!0)},e.prototype.hide=function(){this.get("container").style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var e=this.getContainer(),n=t?"auto":"none";e.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),e=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return o.createBBox(e,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");o.clearDom(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),t.prototype.destroy.call(this)},e.prototype.init=function(){t.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(a.isNil(t)){t=this.createDom();var e=this.get("parent");a.isString(e)&&(e=document.getElementById(e),this.set("parent",e)),e.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else a.isString(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),e=this.get("defaultStyles");t=t?a.deepMix({},e,t):e,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var e=this.getContainer();this.applyChildrenStyles(e,t);var n=this.get("containerClassName");if(n&&o.hasClass(e,n)){var r=t[n];i.modifyCSS(e,r)}}},e.prototype.applyChildrenStyles=function(t,e){a.each(e,function(e,n){var r=t.getElementsByClassName(n);a.each(r,function(t){i.modifyCSS(t,e)})})},e.prototype.applyStyle=function(t,e){var n=this.get("domStyles");i.modifyCSS(e,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return i.createDom(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){a.hasKey(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(n(743).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(0),o={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},s=function(t){function e(e){var n=t.call(this,e)||this;return n.initCfg(),n}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var e=this,n=this.get("defaultCfg")||{};a.each(t,function(t,r){var i=e.get(r),o=t;i!==t&&(a.isObject(t)&&n[r]&&(o=a.deepMix({},n[r],t)),e.set(r,o))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){a.hasKey(t,"visible")&&(t.visible?this.show():this.hide()),a.hasKey(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,e){this.update({offsetX:t,offsetY:e})},e.prototype.setLocation=function(t){var e=r.__assign({},t);this.update(e)},e.prototype.getLocation=function(){var t=this,e={},n=o[this.get("locationType")];return a.each(n,function(n){e[n]=t.get(n)}),e},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,e=this.get("defaultCfg");a.each(e,function(e,n){var r=t.get(n);if(a.isObject(r)){var i=a.deepMix({},e,r);t.set(n,i)}})},e}(i.Base);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(242),o=r(n(392)),s=n(102),l=r(n(752)),u=r(n(784)),c=(0,a.detect)(),f=c&&"firefox"===c.name,d=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.cursor="default",e.supportCSSTransform=!1,e},e.prototype.initContainer=function(){var t=this.get("container");(0,s.isString)(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t),this.get("container").appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new u.default({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new l.default(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");s.isBrowser&&(n.style.width=t+"px",n.style.height=e+"px")},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");s.isBrowser&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){if(this.get("supportCSSTransform")){if(f&&!(0,s.isNil)(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!(0,s.isNil)(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var e=this.getClientByEvent(t),n=e.x,r=e.y;return this.getPointByClient(n,r)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t-n.left,y:e-n.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t+n.left,y:e+n.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){this.get("eventController").destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(o.default);e.default=d},function(t,e,n){"use strict";var r,i,a,o=t.exports={};function s(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}function u(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(t){r=s}try{i="function"==typeof clearTimeout?clearTimeout:l}catch(t){i=l}}();var c=[],f=!1,d=-1;function p(){f&&a&&(f=!1,a.length?c=a.concat(c):d=-1,c.length&&h())}function h(){if(!f){var t=u(p);f=!0;for(var e=c.length;e;){for(a=c,c=[];++d1)for(var n=1;nh(e,n)&&(r=-r),t[0]=e[0]*i+n[0]*r,t[1]=e[1]*i+n[1]*r,t[2]=e[2]*i+n[2]*r,t[3]=e[3]*i+n[3]*r,t[4]=e[4]*i+n[4]*r,t[5]=e[5]*i+n[5]*r,t[6]=e[6]*i+n[6]*r,t[7]=e[7]*i+n[7]*r,t},e.mul=void 0,e.multiply=p,e.normalize=function(t,e){var n=v(e);if(n>0){n=Math.sqrt(n);var r=e[0]/n,i=e[1]/n,a=e[2]/n,o=e[3]/n,s=e[4],l=e[5],u=e[6],c=e[7],f=r*s+i*l+a*u+o*c;t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=(s-r*f)/n,t[5]=(l-i*f)/n,t[6]=(u-a*f)/n,t[7]=(c-o*f)/n}return t},e.rotateAroundAxis=function(t,e,n,r){if(Math.abs(r)=0;return n?a?2*Math.PI-i:i:a?i:2*Math.PI-i},e.direction=s,e.leftRotate=a,e.leftScale=o,e.leftTranslate=i,e.transform=function(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],s=0,l=e.length;s0){for(var c=r.animators.length-1;c>=0;c--){if((t=r.animators[c]).destroyed){r.removeAnimator(c);continue}if(!t.isAnimatePaused()){e=t.get("animations");for(var f=e.length-1;f>=0;f--)(function(t,e,n){var r,a=e.startTime;if(nh.length?(p=l.parsePathString(c[f]),h=l.parsePathString(s[f]),h=l.fillPathByDiff(h,p),h=l.formatPath(h,p),e.fromAttrs.path=h,e.toAttrs.path=p):e.pathFormatted||(p=l.parsePathString(c[f]),h=l.parsePathString(s[f]),h=l.formatPath(h,p),e.fromAttrs.path=h,e.toAttrs.path=p,e.pathFormatted=!0),a[f]=[];for(var g=0;gf?Math.pow(t,1/3):t/c+l}function v(t){return t>u?t*t*t:c*(t-l)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function b(t){if(t instanceof _)return new _(t.h,t.c,t.l,t.opacity);if(t instanceof h||(t=d(t)),0===t.a&&0===t.b)return new _(NaN,0180?u+=360:u-l>180&&(l+=360),p.push({i:d.push(a(d)+"rotate(",null,r)-2,x:(0,i.default)(l,u)})):u&&d.push(a(d)+"rotate("+u+r),(c=o.skewX)!==(f=s.skewX)?p.push({i:d.push(a(d)+"skewX(",null,r)-2,x:(0,i.default)(c,f)}):f&&d.push(a(d)+"skewX("+f+r),function(t,e,n,r,o,s){if(t!==n||e!==r){var l=o.push(a(o)+"scale(",null,",",null,")");s.push({i:l-4,x:(0,i.default)(t,n)},{i:l-2,x:(0,i.default)(e,r)})}else(1!==n||1!==r)&&o.push(a(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,d,p),o=s=null,function(t){for(var e,n=-1,r=p.length;++n120||u*u+c*c>40?s&&s.get("draggable")?((a=this.mousedownShape).set("capture",!1),this.draggingShape=a,this.dragging=!0,this._emitEvent("dragstart",n,t,a),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var l=this._getEventObj(t,e,n,r,i,o);if(r){l.shape=r,s(r,t,l);for(var u=r.getParent();u;)u.emitDelegation(t,l),l.propagationStopped||function(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),!t.isCanvas()||!i){if(r&&(0,a.isParent)(t,r)){n.bubbles=!1;return}n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}}(u,t,l),l.propagationPath.push(u),u=u.getParent()}else s(this.canvas,t,l)},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}();e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;r=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,r=t.minY,i=t.maxX,a=t.maxY;if(e){var s=(0,o.multiplyVec2)(e,[t.minX,t.minY]),l=(0,o.multiplyVec2)(e,[t.maxX,t.minY]),u=(0,o.multiplyVec2)(e,[t.minX,t.maxY]),c=(0,o.multiplyVec2)(e,[t.maxX,t.maxY]);n=Math.min(s[0],l[0],u[0],c[0]),i=Math.max(s[0],l[0],u[0],c[0]),r=Math.min(s[1],l[1],u[1],c[1]),a=Math.max(s[1],l[1],u[1],c[1])}var f=this.attrs;if(f.shadowColor){var d=f.shadowBlur,p=void 0===d?0:d,h=f.shadowOffsetX,g=void 0===h?0:h,v=f.shadowOffsetY,y=void 0===v?0:v,m=n-p+g,b=i+p+g,x=r-p+y,_=a+p+y;n=Math.min(n,m),i=Math.max(i,b),r=Math.min(r,x),a=Math.max(a,_)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:a,width:i-n,height:a-r}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[t,e,1],a=(i=this.invertFromMatrix(i))[0],o=i[1],s=this._isInBBox(a,o);return this.isOnlyHitBox()?s:!!(s&&!this.isClipped(a,o)&&(this.isInShape(a,o)||n&&n.isHit(a,o)||r&&r.isHit(a,o)))},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getBBoxMethod",{enumerable:!0,get:function(){return i.getMethod}}),Object.defineProperty(e,"registerBBox",{enumerable:!0,get:function(){return i.register}});var i=n(788),a=r(n(789)),o=r(n(790)),s=r(n(791)),l=r(n(797)),u=r(n(798)),c=r(n(799)),f=r(n(814)),d=r(n(815));(0,i.register)("rect",a.default),(0,i.register)("image",a.default),(0,i.register)("circle",o.default),(0,i.register)("marker",o.default),(0,i.register)("polyline",s.default),(0,i.register)("polygon",l.default),(0,i.register)("text",u.default),(0,i.register)("path",c.default),(0,i.register)("line",f.default),(0,i.register)("ellipse",d.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMethod=function(t){return r.get(t)},e.register=function(t,e){r.set(t,e)};var r=new Map},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr();return{x:e.x,y:e.y,width:e.width,height:e.height}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.r;return{x:n-i,y:r-i,width:2*i,height:2*i}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=t.attr().points,n=[],a=[],o=0;o=0?[i]:[]}function u(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function c(t,e,n,r,a,o,l){var u=s(t,n,a,l),c=s(e,r,o,l),f=i.default.pointAt(t,e,n,r,l),d=i.default.pointAt(n,r,a,o,l);return[[t,e,f.x,f.y,u,c],[u,c,d.x,d.y,a,o]]}e.default={box:function(t,e,n,r,i,o){var u=l(t,n,i)[0],c=l(e,r,o)[0],f=[t,i],d=[e,o];return void 0!==u&&f.push(s(t,n,i,u)),void 0!==c&&d.push(s(e,r,o,c)),(0,a.getBBoxByArray)(f,d)},length:function(t,e,n,r,i,o){return function t(e,n,r,i,o,s,l){if(0===l)return((0,a.distance)(e,n,r,i)+(0,a.distance)(r,i,o,s)+(0,a.distance)(e,n,o,s))/2;var u=c(e,n,r,i,o,s,.5),f=u[0],d=u[1];return f.push(l-1),d.push(l-1),t.apply(null,f)+t.apply(null,d)}(t,e,n,r,i,o,3)},nearestPoint:function(t,e,n,r,i,a,l,u){return(0,o.nearestPoint)([t,n,i],[e,r,a],l,u,s)},pointDistance:function(t,e,n,r,i,o,s,l){var u=this.nearestPoint(t,e,n,r,i,o,s,l);return(0,a.distance)(u.x,u.y,s,l)},interpolationAt:s,pointAt:function(t,e,n,r,i,a,o){return{x:s(t,n,i,o),y:s(e,r,a,o)}},divide:function(t,e,n,r,i,a,o){return c(t,e,n,r,i,a,o)},tangentAngle:function(t,e,n,r,i,o,s){var l=u(t,n,i,s),c=Math.atan2(u(e,r,o,s),l);return(0,a.piMod)(c)}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(87),a=r(n(174)),o=n(409);function s(t,e,n,r,i){var a=1-i;return a*a*a*t+3*e*i*a*a+3*n*i*i*a+r*i*i*i}function l(t,e,n,r,i){var a=1-i;return 3*(a*a*(e-t)+2*a*i*(n-e)+i*i*(r-n))}function u(t,e,n,r){var a,o,s,l=-3*t+9*e-9*n+3*r,u=6*t-12*e+6*n,c=3*e-3*t,f=[];if((0,i.isNumberEqual)(l,0))!(0,i.isNumberEqual)(u,0)&&(a=-c/u)>=0&&a<=1&&f.push(a);else{var d=u*u-4*l*c;(0,i.isNumberEqual)(d,0)?f.push(-u/(2*l)):d>0&&(a=(-u+(s=Math.sqrt(d)))/(2*l),o=(-u-s)/(2*l),a>=0&&a<=1&&f.push(a),o>=0&&o<=1&&f.push(o))}return f}function c(t,e,n,r,i,o,l,u,c){var f=s(t,n,i,l,c),d=s(e,r,o,u,c),p=a.default.pointAt(t,e,n,r,c),h=a.default.pointAt(n,r,i,o,c),g=a.default.pointAt(i,o,l,u,c),v=a.default.pointAt(p.x,p.y,h.x,h.y,c),y=a.default.pointAt(h.x,h.y,g.x,g.y,c);return[[t,e,p.x,p.y,v.x,v.y,f,d],[f,d,y.x,y.y,g.x,g.y,l,u]]}e.default={extrema:u,box:function(t,e,n,r,a,o,l,c){for(var f=[t,l],d=[e,c],p=u(t,n,a,l),h=u(e,r,o,c),g=0;gf&&(f=g)}for(var v=Math.atan(r/(n*Math.tan(i))),y=1/0,m=-1/0,b=[a,l],p=-(2*Math.PI);p<=2*Math.PI;p+=Math.PI){var x=v+p;am&&(m=_)}return{x:c,y:y,width:f-c,height:m-y}},length:function(t,e,n,r,i,a,o){},nearestPoint:function(t,e,n,r,i,o,s,c,f){var d,p=u(c-t,f-e,-i),h=p[0],g=p[1],v=a.default.nearestPoint(0,0,n,r,h,g),y=(d=v.x,(Math.atan2(v.y*n,d*r)+2*Math.PI)%(2*Math.PI));ys&&(v=l(n,r,s));var m=u(v.x,v.y,i);return{x:m[0]+t,y:m[1]+e}},pointDistance:function(t,e,n,r,a,o,s,l,u){var c=this.nearestPoint(t,e,n,r,l,u);return(0,i.distance)(c.x,c.y,l,u)},pointAt:function(t,e,n,r,i,a,l,u){var c=(l-a)*u+a;return{x:o(t,e,n,r,i,c),y:s(t,e,n,r,i,c)}},tangentAngle:function(t,e,n,r,a,o,s,l){var u=(s-o)*l+o,c=-1*n*Math.cos(a)*Math.sin(u)-r*Math.sin(a)*Math.cos(u),f=-1*n*Math.sin(a)*Math.sin(u)+r*Math.cos(a)*Math.cos(u);return(0,i.piMod)(Math.atan2(f,c))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(87);function i(t,e){var n=Math.abs(t);return e>0?n:-1*n}e.default={box:function(t,e,n,r){return{x:t-n,y:e-r,width:2*n,height:2*r}},length:function(t,e,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(t,e,n,r,a,o){if(0===n||0===r)return{x:t,y:e};for(var s,l,u=a-t,c=o-e,f=Math.abs(u),d=Math.abs(c),p=n*n,h=r*r,g=Math.PI/4,v=0;v<4;v++){s=n*Math.cos(g),l=r*Math.sin(g);var y=(p-h)*Math.pow(Math.cos(g),3)/n,m=(h-p)*Math.pow(Math.sin(g),3)/r,b=s-y,x=l-m,_=f-y,O=d-m,P=Math.hypot(x,b),M=Math.hypot(O,_);g+=P*Math.asin((b*O-x*_)/(P*M))/Math.sqrt(p+h-s*s-l*l),g=Math.min(Math.PI/2,Math.max(0,g))}return{x:t+i(s,u),y:e+i(l,c)}},pointDistance:function(t,e,n,i,a,o){var s=this.nearestPoint(t,e,n,i,a,o);return(0,r.distance)(s.x,s.y,a,o)},pointAt:function(t,e,n,r,i){var a=2*Math.PI*i;return{x:t+n*Math.cos(a),y:e+r*Math.sin(a)}},tangentAngle:function(t,e,n,i,a){var o=2*Math.PI*a,s=Math.atan2(i*Math.cos(o),-n*Math.sin(o));return(0,r.piMod)(s)}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(410),a=r(n(411));function o(t){var e=t.slice(0);return t.length&&e.push(t[0]),e}e.default={box:function(t){return a.default.box(t)},length:function(t){return(0,i.lengthOfSegment)(o(t))},pointAt:function(t,e){return(0,i.pointAtSegments)(o(t),e)},pointDistance:function(t,e,n){return(0,i.distanceAtSegment)(o(t),e,n)},tangentAngle:function(t,e){return(0,i.angleAtSegments)(o(t),e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=t.attr().points,n=[],i=[],a=0;aMath.PI/2?Math.PI-u:u))*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos((c=c>Math.PI/2?Math.PI-c:c)-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(801);e.default=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=[[0,0],[1,1]]);for(var i,a,o,s=!!e,l=[],u=0,c=t.length;u=0;return n?a?2*Math.PI-i:i:a?i:2*Math.PI-i},e.direction=s,e.leftRotate=a,e.leftScale=o,e.leftTranslate=i,e.transform=function(t,e){for(var n=t?[].concat(t):[1,0,0,0,1,0,0,0,1],s=0,l=e.length;s=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var a=0;a<=n-1;a++)r.push(i)}return r}(t[i],t[i+1],r))},[]);return l.unshift(t[0]),("Z"===e[r]||"z"===e[r])&&l.push("Z"),l}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=i(t,e),r=t.length,a=e.length,o=[],s=1,l=1;if(n[r][a]!==r){for(var u=1;u<=r;u++){var c=n[u][u].min;l=u;for(var f=s;f<=a;f++)n[u][f].min=0;u--)s=o[u].index,"add"===o[u].type?t.splice(s,0,[].concat(t[s])):t.splice(s,1)}if((r=t.length)0)n=i(n,t[a-1],1);else{t[a]=e[a];break}}t[a]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[a]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(a>0)n=i(n,t[a-1],2);else{t[a]=e[a];break}}t[a]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(a>0)n=i(n,t[a-1],1);else{t[a]=e[a];break}}t[a]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[a]=e[a]}return t}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return v(t,e)};var i=n(0),a=r(n(415)),o=r(n(416)),s=function(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n},l=function(t,e,n,r,i,a,o,l,u){null===u&&(u=1);for(var c=(u=u>1?1:u<0?0:u)/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,h=0;h<12;h++){var g=c*f[h]+c,v=s(g,t,n,i,o),y=s(g,e,r,a,l),m=v*v+y*y;p+=d[h]*Math.sqrt(m)}return c*p},u=function(t,e,n,r,i,a,o,s){for(var l,u,c,f,d,p=[],h=[[],[]],g=0;g<2;++g){if(0===g?(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*o,c=3*n-3*t):(u=6*e-12*r+6*a,l=-3*e+9*r-9*a+3*s,c=3*r-3*e),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;(f=-c/u)>0&&f<1&&p.push(f);continue}var v=u*u-4*c*l,y=Math.sqrt(v);if(!(v<0)){var m=(-u+y)/(2*l);m>0&&m<1&&p.push(m);var b=(-u-y)/(2*l);b>0&&b<1&&p.push(b)}}for(var x=p.length,_=x;x--;)d=1-(f=p[x]),h[0][x]=d*d*d*t+3*d*d*f*n+3*d*f*f*i+f*f*f*o,h[1][x]=d*d*d*e+3*d*d*f*r+3*d*f*f*a+f*f*f*s;return h[0][_]=t,h[1][_]=e,h[0][_+1]=o,h[1][_+1]=s,h[0].length=h[1].length=_+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}},c=function(t,e,n,r,i,a,o,s){if(!(Math.max(t,n)Math.max(i,o)||Math.max(e,r)Math.max(a,s))){var l=(t-n)*(a-s)-(e-r)*(i-o);if(l){var u=((t*r-e*n)*(i-o)-(t-n)*(i*s-a*o))/l,c=((t*r-e*n)*(a-s)-(e-r)*(i*s-a*o))/l,f=+u.toFixed(2),d=+c.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,o).toFixed(2)||f>+Math.max(i,o).toFixed(2)||d<+Math.min(e,r).toFixed(2)||d>+Math.max(e,r).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:u,y:c}}}},f=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},d=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:(0,a.default)(t,e,n,r),vb:[t,e,n,r].join(" ")}},p=function(t,e,n,r,a,o,s,l){(0,i.isArray)(t)||(t=[t,e,n,r,a,o,s,l]);var c=u.apply(null,t);return d(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)},h=function(t,e,n,r,i,a,o,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),d=l*l,p=d*l,h=t+2*l*(n-t)+d*(i-2*n+t),g=e+2*l*(r-e)+d*(a-2*r+e),v=n+2*l*(i-n)+d*(o-2*i+n),y=r+2*l*(a-r)+d*(s-2*a+r),m=90-180*Math.atan2(h-v,g-y)/Math.PI;return{x:c*t+3*f*l*n+3*u*l*l*i+p*o,y:c*e+3*f*l*r+3*u*l*l*a+p*s,m:{x:h,y:g},n:{x:v,y:y},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*o,y:u*a+l*s},alpha:m}},g=function(t,e,n){var r,i,a=p(t),o=p(e);if(r=a,i=o,r=d(r),!(f(i=d(i),r.x,r.y)||f(i,r.x2,r.y)||f(i,r.x,r.y2)||f(i,r.x2,r.y2)||f(r,i.x,i.y)||f(r,i.x2,i.y)||f(r,i.x,i.y2)||f(r,i.x2,i.y2))&&((!(r.xi.x))&&(!(i.xr.x))||(!(r.yi.y))&&(!(i.yr.y))))return n?0:[];for(var s=l.apply(0,t),u=l.apply(0,e),g=~~(s/8),v=~~(u/8),y=[],m=[],b={},x=n?0:[],_=0;_Math.abs(A.x-M.x)?"y":"x",C=.001>Math.abs(w.x-S.x)?"y":"x",T=c(M.x,M.y,A.x,A.y,S.x,S.y,w.x,w.y);if(T){if(b[T.x.toFixed(4)]===T.y.toFixed(4))continue;b[T.x.toFixed(4)]=T.y.toFixed(4);var I=M.t+Math.abs((T[E]-M[E])/(A[E]-M[E]))*(A.t-M.t),j=S.t+Math.abs((T[C]-S[C])/(w[C]-S[C]))*(w.t-S.t);I>=0&&I<=1&&j>=0&&j<=1&&(n?x++:x.push({x:T.x,y:T.y,t1:I,t2:j}))}}return x},v=function(t,e,n){t=(0,o.default)(t),e=(0,o.default)(e);for(var r,i,a,s,l,u,c,f,d,p,h=n?0:[],v=0,y=t.length;v"TQ".indexOf(t[0])&&(e.qx=null,e.qy=null);var n=t.slice(1),o=n[0],s=n[1];switch(t[0]){case"M":e.x=o,e.y=s;break;case"A":return["C"].concat(r.arcToCubic.apply(0,[e.x1,e.y1].concat(t.slice(1))));case"Q":return e.qx=o,e.qy=s,["C"].concat(i.quadToCubic.apply(0,[e.x1,e.y1].concat(t.slice(1))));case"L":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,t[1],t[2]));case"H":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,t[1],e.y1));case"V":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,e.x1,t[1]));case"Z":return["C"].concat((0,a.lineToCubic)(e.x1,e.y1,e.x,e.y))}return t};var r=n(808),i=n(809),a=n(810)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arcToCubic=function(t,e,n,r,i,a,o,s,u){return l({px:t,py:e,cx:s,cy:u,rx:n,ry:r,xAxisRotation:i,largeArcFlag:a,sweepFlag:o}).reduce(function(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.x,s=e.y;return t.push(n,r,i,a,o,s),t},[])};var r=2*Math.PI,i=function(t,e,n,r,i,a,o){var s=t.x,l=t.y;return{x:r*(s*=e)-i*(l*=n)+a,y:i*s+r*l+o}},a=function(t,e){var n=1.5707963267948966===e?.551915024494:-1.5707963267948966===e?-.551915024494:4/3*Math.tan(e/4),r=Math.cos(t),i=Math.sin(t),a=Math.cos(t+e),o=Math.sin(t+e);return[{x:r-i*n,y:i+r*n},{x:a+o*n,y:o-a*n},{x:a,y:o}]},o=function(t,e,n,r){var i=t*n+e*r;return i>1&&(i=1),i<-1&&(i=-1),(t*r-e*n<0?-1:1)*Math.acos(i)},s=function(t,e,n,i,a,s,l,u,c,f,d,p){var h=Math.pow(a,2),g=Math.pow(s,2),v=Math.pow(d,2),y=Math.pow(p,2),m=h*g-h*y-g*v;m<0&&(m=0),m/=h*y+g*v;var b=(m=Math.sqrt(m)*(l===u?-1:1))*a/s*p,x=-(m*s)/a*d,_=(d-b)/a,O=(p-x)/s,P=o(1,0,_,O),M=o(_,O,(-d-b)/a,(-p-x)/s);return 0===u&&M>0&&(M-=r),1===u&&M<0&&(M+=r),[f*b-c*x+(t+n)/2,c*b+f*x+(e+i)/2,P,M]},l=function(t){var e=t.px,n=t.py,o=t.cx,l=t.cy,u=t.rx,c=t.ry,f=t.xAxisRotation,d=void 0===f?0:f,p=t.largeArcFlag,h=void 0===p?0:p,g=t.sweepFlag,v=void 0===g?0:g,y=[];if(0===u||0===c)return[{x1:0,y1:0,x2:0,y2:0,x:o,y:l}];var m=Math.sin(d*r/360),b=Math.cos(d*r/360),x=b*(e-o)/2+m*(n-l)/2,_=-m*(e-o)/2+b*(n-l)/2;if(0===x&&0===_)return[{x1:0,y1:0,x2:0,y2:0,x:o,y:l}];var O=Math.pow(x,2)/Math.pow(u=Math.abs(u),2)+Math.pow(_,2)/Math.pow(c=Math.abs(c),2);O>1&&(u*=Math.sqrt(O),c*=Math.sqrt(O));var P=s(e,n,o,l,u,c,h,v,m,b,x,_),M=P[0],A=P[1],S=P[2],w=P[3],E=Math.abs(w)/(r/4);1e-7>Math.abs(1-E)&&(E=1);var C=Math.max(Math.ceil(E),1);w/=C;for(var T=0;Tn.maxX||r.maxXn.maxY||r.maxY1){var o=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function l(t){var e=t.map(function(t){return t[0]}),n=t.map(function(t){return t[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x1,i=e.y1,a=e.x2,o=e.y2,s={minX:Math.min(n,a),maxX:Math.max(n,a),minY:Math.min(i,o),maxY:Math.max(i,o)};return{x:(s=(0,r.mergeArrowBBox)(t,s)).minX,y:s.minY,width:s.maxX-s.minX,height:s.maxY-s.minY}};var r=n(249)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;return{x:n-i,y:r-a,width:2*i,height:2*a}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAdjust:!0,registerAdjust:!0,Adjust:!0};Object.defineProperty(e,"Adjust",{enumerable:!0,get:function(){return a.default}}),e.registerAdjust=e.getAdjust=void 0;var a=r(n(110)),o=n(423);Object.keys(o).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var s={},l=function(t){return s[t.toLowerCase()]};e.getAdjust=l,e.registerAdjust=function(t,e){if(l(t))throw Error("Adjust type '"+t+"' existed.");s[t.toLowerCase()]=e}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=n(250);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=function(t){function e(e){var n=t.call(this,e)||this;n.cacheMap={},n.adjustDataArray=[],n.mergeData=[];var r=e.marginRatio,i=void 0===r?s.MARGIN_RATIO:r,a=e.dodgeRatio,o=void 0===a?s.DODGE_RATIO:a,l=e.dodgeBy,u=e.intervalPadding,c=e.dodgePadding,f=e.xDimensionLength,d=e.groupNum,p=e.defaultSize,h=e.maxColumnWidth,g=e.minColumnWidth,v=e.columnWidthRatio,y=e.customOffset;return n.marginRatio=i,n.dodgeRatio=o,n.dodgeBy=l,n.intervalPadding=u,n.dodgePadding=c,n.xDimensionLegenth=f,n.groupNum=d,n.defaultSize=p,n.maxColumnWidth=h,n.minColumnWidth=g,n.columnWidthRatio=v,n.customOffset=y,n}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.clone(t),n=o.flatten(e),r=this.dodgeBy,i=r?o.group(n,r):e;return this.cacheMap={},this.adjustDataArray=i,this.mergeData=n,this.adjustData(i,n),this.adjustDataArray=[],this.mergeData=[],e},e.prototype.adjustDim=function(t,e,n,r){var i=this,a=this.customOffset,s=this.getDistribution(t),l=this.groupData(n,t);return o.each(l,function(n,l){var u;u=1===e.length?{pre:e[0]-1,next:e[0]+1}:i.getAdjustRange(t,parseFloat(l),e),o.each(n,function(e){var n=s[e[t]],l=n.indexOf(r);if(o.isNil(a))e[t]=i.getDodgeOffset(u,l,n.length);else{var c=u.pre,f=u.next;e[t]=o.isFunction(a)?a(e,u):(c+f)/2+a}})}),[]},e.prototype.getDodgeOffset=function(t,e,n){var r,i=this.dodgeRatio,a=this.marginRatio,s=this.intervalPadding,l=this.dodgePadding,u=t.pre,c=t.next,f=c-u;if(!o.isNil(s)&&o.isNil(l)&&s>=0){var d=this.getIntervalOnlyOffset(n,e);r=u+d}else if(!o.isNil(l)&&o.isNil(s)&&l>=0){var d=this.getDodgeOnlyOffset(n,e);r=u+d}else if(!o.isNil(s)&&!o.isNil(l)&&s>=0&&l>=0){var d=this.getIntervalAndDodgeOffset(n,e);r=u+d}else{var p=f*i/n,h=a*p,d=.5*(f-n*p-(n-1)*h)+((e+1)*p+e*h)-.5*p-.5*f;r=(u+c)/2+d}return r},e.prototype.getIntervalOnlyOffset=function(t,e){var n=this.defaultSize,r=this.intervalPadding,i=this.xDimensionLegenth,a=this.groupNum,s=this.dodgeRatio,l=this.maxColumnWidth,u=this.minColumnWidth,c=this.columnWidthRatio,f=r/i,d=(1-(a-1)*f)/a*s/(t-1),p=((1-f*(a-1))/a-d*(t-1))/t;return p=o.isNil(c)?p:1/a/t*c,o.isNil(l)||(p=Math.min(p,l/i)),o.isNil(u)||(p=Math.max(p,u/i)),d=((1-(a-1)*f)/a-t*(p=n?n/i:p))/(t-1),((.5+e)*p+e*d+.5*f)*a-f/2},e.prototype.getDodgeOnlyOffset=function(t,e){var n=this.defaultSize,r=this.dodgePadding,i=this.xDimensionLegenth,a=this.groupNum,s=this.marginRatio,l=this.maxColumnWidth,u=this.minColumnWidth,c=this.columnWidthRatio,f=r/i,d=1*s/(a-1),p=((1-d*(a-1))/a-f*(t-1))/t;return p=c?1/a/t*c:p,o.isNil(l)||(p=Math.min(p,l/i)),o.isNil(u)||(p=Math.max(p,u/i)),d=(1-((p=n?n/i:p)*t+f*(t-1))*a)/(a-1),((.5+e)*p+e*f+.5*d)*a-d/2},e.prototype.getIntervalAndDodgeOffset=function(t,e){var n=this.intervalPadding,r=this.dodgePadding,i=this.xDimensionLegenth,a=this.groupNum,o=n/i,s=r/i;return((.5+e)*(((1-o*(a-1))/a-s*(t-1))/t)+e*s+.5*o)*a-o/2},e.prototype.getDistribution=function(t){var e=this.adjustDataArray,n=this.cacheMap,r=n[t];return r||(r={},o.each(e,function(e,n){var i=o.valuesOfKey(e,t);i.length||i.push(0),o.each(i,function(t){r[t]||(r[t]=[]),r[t].push(n)})}),n[t]=r),r},e}(r(n(110)).default);e.default=u},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=n(250);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.clone(t),n=o.flatten(e);return this.adjustData(e,n),e},e.prototype.adjustDim=function(t,e,n){var r=this,i=this.groupData(n,t);return o.each(i,function(n,i){return r.adjustGroup(n,t,parseFloat(i),e)})},e.prototype.getAdjustOffset=function(t){var e,n=t.pre,r=t.next,i=(r-n)*s.GAP;return e=n+i,(r-i-e)*Math.random()+e},e.prototype.adjustGroup=function(t,e,n,r){var i=this,a=this.getAdjustRange(e,n,r);return o.each(t,function(t){t[e]=i.getAdjustOffset(a)}),t},e}(r(n(110)).default);e.default=u},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0)),s=r(n(110));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=o.Cache,c=function(t){function e(e){var n=t.call(this,e)||this,r=e.adjustNames,i=e.height,a=void 0===i?NaN:i,o=e.size,s=e.reverseOrder;return n.adjustNames=void 0===r?["y"]:r,n.height=a,n.size=void 0===o?10:o,n.reverseOrder=void 0!==s&&s,n}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=this.yField,n=this.reverseOrder,r=e?this.processStack(t):this.processOneDimStack(t);return n?this.reverse(r):r},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var e=this.xField,n=this.yField,r=this.reverseOrder?this.reverse(t):t,i=new u,s=new u;return r.map(function(t){return t.map(function(t){var r,l=o.get(t,e,0),u=o.get(t,[n]),c=l.toString();if(u=o.isArray(u)?u[1]:u,!o.isNil(u)){var f=u>=0?i:s;f.has(c)||f.set(c,0);var d=f.get(c),p=u+d;return f.set(c,p),(0,a.__assign)((0,a.__assign)({},t),((r={})[n]=[d,p],r))}return t})})},e.prototype.processOneDimStack=function(t){var e=this,n=this.xField,r=this.height,i=this.reverseOrder?this.reverse(t):t,o=new u;return i.map(function(t){return t.map(function(t){var i,s=e.size,l=t[n],u=2*s/r;o.has(l)||o.set(l,u/2);var c=o.get(l);return o.set(l,c+u),(0,a.__assign)((0,a.__assign)({},t),((i={}).y=c,i))})})},e}(s.default);e.default=c},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(89),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(0));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.process=function(t){var e=o.flatten(t),n=this.xField,r=this.yField,i=this.getXValuesMaxMap(e),s=Math.max.apply(Math,Object.keys(i).map(function(t){return i[t]}));return o.map(t,function(t){return o.map(t,function(t){var e,l,u=t[r],c=t[n];if(o.isArray(u)){var f=(s-i[c])/2;return(0,a.__assign)((0,a.__assign)({},t),((e={})[r]=o.map(u,function(t){return f+t}),e))}var d=(s-u)/2;return(0,a.__assign)((0,a.__assign)({},t),((l={})[r]=[d,u+d],l))})})},e.prototype.getXValuesMaxMap=function(t){var e=this,n=this.xField,r=this.yField,i=o.groupBy(t,function(t){return t[n]});return o.mapValues(i,function(t){return e.getDimMaxValue(t,r)})},e.prototype.getDimMaxValue=function(t,e){var n=o.map(t,function(t){return o.get(t,e,[])}),r=o.flatten(n);return Math.max.apply(Math,r)},e}(r(n(110)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=r(n(140)),o=n(0),s=function(t){function e(e){var n=t.call(this,e)||this;return n.type="color",n.names=["color"],(0,o.isString)(n.values)&&(n.linear=!0),n.gradient=a.default.gradient(n.values),n}return(0,i.__extends)(e,t),e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(r(n(103)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="opacity",n.names=["opacity"],n}return(0,i.__extends)(e,t),e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=n(0),o=function(t){function e(e){var n=t.call(this,e)||this;return n.names=["x","y"],n.type="position",n}return(0,i.__extends)(e,t),e.prototype.mapping=function(t,e){var n=this.scales,r=n[0],i=n[1];return(0,a.isNil)(t)||(0,a.isNil)(e)?[]:[(0,a.isArray)(t)?t.map(function(t){return r.scale(t)}):r.scale(t),(0,a.isArray)(e)?e.map(function(t){return i.scale(t)}):i.scale(e)]},e}(r(n(103)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="shape",n.names=["shape"],n}return(0,i.__extends)(e,t),e.prototype.getLinearValue=function(t){var e=Math.round((this.values.length-1)*t);return this.values[e]},e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(89),a=function(t){function e(e){var n=t.call(this,e)||this;return n.type="size",n.names=["size"],n}return(0,i.__extends)(e,t),e}(r(n(103)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0});var i={getAttribute:!0,registerAttribute:!0,Attribute:!0};Object.defineProperty(e,"Attribute",{enumerable:!0,get:function(){return a.default}}),e.registerAttribute=e.getAttribute=void 0;var a=r(n(103)),o=n(424);Object.keys(o).forEach(function(t){!("default"===t||"__esModule"===t||Object.prototype.hasOwnProperty.call(i,t))&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var s={},l=function(t){return s[t.toLowerCase()]};e.getAttribute=l,e.registerAttribute=function(t,e){if(l(t))throw Error("Attribute type '"+t+"' existed.");s[t.toLowerCase()]=e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(175),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return(0,i.__extends)(e,t),e.prototype.translate=function(t){t=(0,o.toTimeStamp)(t);var e=this.values.indexOf(t);return -1===e&&(e=(0,a.isNumber)(t)&&t-1){var r=this.values[n],i=this.formatter;return i?i(r,e):(0,o.timeFormat)(r,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;(0,a.each)(e,function(t,n){e[n]=(0,o.toTimeStamp)(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(r(n(426)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assign=c,e.format=e.defaultI18n=e.default=void 0,e.parse=C,e.setGlobalDateMasks=e.setGlobalDateI18n=void 0;var r=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,i="\\d\\d?",a="\\d\\d",o="[^\\s]+",s=/\[([^]*?)\]/gm;function l(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function c(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}};e.defaultI18n=h;var g=c({},h),v=function(t){return g=c(g,t)};e.setGlobalDateI18n=v;var y=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},m=function(t,e){for(void 0===e&&(e=2),t=String(t);t.lengtht.getHours()?e.amPm[0]:e.amPm[1]},A:function(t,e){return 12>t.getHours()?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+m(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+m(Math.floor(Math.abs(e)/60),2)+":"+m(Math.abs(e)%60,2)}},x=function(t){return+t-1},_=[null,i],O=[null,o],P=["isPm",o,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],M=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],A={D:["day",i],DD:["day",a],Do:["day",i+o,function(t){return parseInt(t,10)}],M:["month",i,x],MM:["month",a,x],YY:["year",a,function(t){var e=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour",i,void 0,"isPm"],hh:["hour",a,void 0,"isPm"],H:["hour",i],HH:["hour",a],m:["minute",i],mm:["minute",a],s:["second",i],ss:["second",a],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond",a,function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:_,dd:_,ddd:O,dddd:O,MMM:["month",o,u("monthNamesShort")],MMMM:["month",o,u("monthNames")],a:P,A:P,ZZ:M,Z:M},S={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},w=function(t){return c(S,t)};e.setGlobalDateMasks=w;var E=function(t,e,n){if(void 0===e&&(e=S.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw Error("Invalid Date pass to format");e=S[e]||e;var i=[];e=e.replace(s,function(t,e){return i.push(e),"@@@"});var a=c(c({},g),n);return(e=e.replace(r,function(e){return b[e](t,a)})).replace(/@@@/g,function(){return i.shift()})};function C(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw Error("Invalid format in fecha parse");if(e=S[e]||e,t.length>1e3)return null;var i,a={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},o=[],l=[],u=e.replace(s,function(t,e){return l.push(y(e)),"@@@"}),f={},d={};u=y(u).replace(r,function(t){var e=A[t],n=e[0],r=e[1],i=e[3];if(f[n])throw Error("Invalid format. "+n+" specified twice in format");return f[n]=!0,i&&(d[i]=!0),o.push(e),"("+r+")"}),Object.keys(d).forEach(function(t){if(!f[t])throw Error("Invalid format. "+t+" is required in specified format")}),u=u.replace(/@@@/g,function(){return l.shift()});var p=t.match(RegExp(u,"i"));if(!p)return null;for(var h=c(c({},g),n),v=1;v11||a.month<0||a.day>31||a.day<1||a.hour>23||a.hour<0||a.minute>59||a.minute<0||a.second>59||a.second<0)return null;return i}e.format=E,e.default={format:E,parse:C,defaultI18n:h,setGlobalDateI18n:v,setGlobalDateMasks:w}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e,n,i,a){for(var o=(0,r.isNil)(i)?0:i,s=(0,r.isNil)(a)?e.length:a;o>>1;t(e[l])>n?s=l:o=l+1}return o}};var r=n(0)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(177),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return(0,i.__extends)(e,t),e.prototype.invert=function(t){var e,n=this.base,r=(0,a.log)(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,s=this.positiveMin;if(s){if(0===t)return 0;var l=1/(r-(e=(0,a.log)(n,s/n)))*o;if(t=0?1:-1)},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent;return((0,a.calBase)(r,t)-(0,a.calBase)(r,n))/((0,a.calBase)(r,e)-(0,a.calBase)(r,n))},e}(r(n(176)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(175),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return(0,i.__extends)(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):(0,o.timeFormat)(n,this.mask)},e.prototype.scale=function(e){var n=e;return((0,a.isString)(n)||(0,a.isDate)(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return(0,o.toTimeStamp)(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if((0,a.isNil)(e)&&(0,a.isNumber)(e)||(this.min=this.translate(this.min)),(0,a.isNil)(n)&&(0,a.isNumber)(n)||(this.max=this.translate(this.max)),t&&t.length){var r=[],i=1/0,s=1/0,l=0;(0,a.each)(t,function(t){var e=(0,o.toTimeStamp)(t);if(isNaN(e))throw TypeError("Invalid Time: "+t+" in time scale!");i>e?(s=i,i=e):s>e&&(s=e),l1&&(this.minTickInterval=s-i),(0,a.isNil)(e)&&(this.min=i),(0,a.isNil)(n)&&(this.max=l)}},e}(r(n(427)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return(0,i.__extends)(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(r(n(428)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Scale",{enumerable:!0,get:function(){return i.default}}),e.getScale=function(t){return a[t]},e.registerScale=function(t,e){if(a[t])throw Error("type '"+t+"' existed.");a[t]=e};var i=r(n(141)),a={}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return(0,i.__extends)(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&(0,a.isNumber)(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(r(n(141)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getTickMethod",{enumerable:!0,get:function(){return f.getTickMethod}}),Object.defineProperty(e,"registerTickMethod",{enumerable:!0,get:function(){return f.registerTickMethod}});var i=r(n(429)),a=r(n(837)),o=r(n(839)),s=r(n(841)),l=r(n(842)),u=r(n(843)),c=r(n(844)),f=n(425),d=r(n(845)),p=r(n(846)),h=r(n(847));(0,f.registerTickMethod)("cat",i.default),(0,f.registerTickMethod)("time-cat",p.default),(0,f.registerTickMethod)("wilkinson-extended",o.default),(0,f.registerTickMethod)("r-pretty",c.default),(0,f.registerTickMethod)("time",d.default),(0,f.registerTickMethod)("time-pretty",h.default),(0,f.registerTickMethod)("log",s.default),(0,f.registerTickMethod)("pow",l.default),(0,f.registerTickMethod)("quantile",u.default),(0,f.registerTickMethod)("d3-linear",a.default)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.min,n=t.max,r=t.tickInterval,l=t.minLimit,u=t.maxLimit,c=(0,a.default)(t);return(0,i.isNil)(l)&&(0,i.isNil)(u)?r?(0,o.default)(e,n,r).ticks:c:(0,s.default)(t,(0,i.head)(c),(0,i.last)(c))};var i=n(0),a=r(n(838)),o=r(n(252)),s=r(n(253))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.D3Linear=void 0,e.default=function(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,a=new o;return a.domain([e,n]),r&&a.nice(i),a.ticks(i)};var r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2),o=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){void 0===t&&(t=5);var e,n,r,i=this._domain.slice(),a=0,o=this._domain.length-1,l=this._domain[a],u=this._domain[o];return u0?r=s(l=Math.floor(l/r)*r,u=Math.ceil(u/r)*r,t):r<0&&(r=s(l=Math.ceil(l*r)/r,u=Math.floor(u*r)/r,t)),r>0?(i[a]=Math.floor(l/r)*r,i[o]=Math.ceil(u/r)*r,this.domain(i)):r<0&&(i[a]=Math.ceil(l*r)/r,i[o]=Math.floor(u*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var r,i,a,o,l=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0)for(t=Math.ceil(t/o),a=Array(i=Math.ceil((e=Math.floor(e/o))-t+1));++l=0?(l>=r?10:l>=i?5:l>=a?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(l>=r?10:l>=i?5:l>=a?2:1)}e.D3Linear=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.min,n=t.max,r=t.tickCount,l=t.nice,u=t.tickInterval,c=t.minLimit,f=t.maxLimit,d=(0,a.default)(e,n,r,l).ticks;return(0,i.isNil)(c)&&(0,i.isNil)(f)?u?(0,o.default)(e,n,u).ticks:d:(0,s.default)(t,(0,i.head)(d),(0,i.last)(d))};var i=n(0),a=r(n(840)),o=r(n(252)),s=r(n(253))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_Q=e.ALL_Q=void 0,e.default=function(t,e,n,s,l,u){void 0===n&&(n=5),void 0===s&&(s=!0),void 0===l&&(l=a),void 0===u&&(u=[.25,.2,.5,.05]);var c=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!c)return{min:0,max:0,ticks:[]};if(e-t<1e-15||1===c)return{min:t,max:e,ticks:[t]};if(e-t>1e148){var f=n||5,d=(e-t)/f;return{min:t,max:e,ticks:Array(f).fill(null).map(function(e,n){return(0,i.prettyNumber)(t+d*n)})}}for(var p={score:-2,lmin:0,lmax:0,lstep:0},h=1;h<1/0;){for(var g=0;g=c?2-(S-1)/(c-1):1;if(u[0]*y+u[1]+u[2]*b+u[3]r?1-Math.pow((n-r)/2,2)/Math.pow(.1*r,2):1}(t,e,_*(m-1));if(u[0]*y+u[1]*O+u[2]*b+u[3]=0&&(c=1),1-u/(l-1)-n+c}(v,l,h,w,E,_),T=1-.5*(Math.pow(e-E,2)+Math.pow(t-w,2))/Math.pow(.1*(e-t),2),I=function(t,e,n,r,i,a){var o=(t-1)/(a-i),s=(e-1)/(Math.max(a,r)-Math.min(n,i));return 2-Math.max(o/s,s/o)}(m,c,t,e,w,E),j=u[0]*C+u[1]*T+u[2]*I+1*u[3];j>p.score&&(!s||w<=t&&E>=e)&&(p.lmin=w,p.lmax=E,p.lstep=_,p.score=j)}x+=1}m+=1}}h+=1}var F=(0,i.prettyNumber)(p.lmax),L=(0,i.prettyNumber)(p.lmin),D=(0,i.prettyNumber)(p.lstep),k=Math.floor(Math.round(1e12*((F-L)/D))/1e12)+1,R=Array(k);R[0]=(0,i.prettyNumber)(L);for(var g=1;g0)e=Math.floor((0,r.log)(n,a));else{var u=(0,r.getLogPositiveMin)(s,n,o);e=Math.floor((0,r.log)(n,u))}for(var c=Math.ceil((l-e)/i),f=[],d=e;d=0?1:-1)})};var i=n(177),a=r(n(431))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort(function(t,e){return t-e}),i=[],a=0;a1&&(a*=Math.ceil(s)),i&&ar.YEAR)for(var f,d=i(n),p=Math.ceil(l/r.YEAR),h=c;h<=d+p;h+=p)u.push((f=h,new Date(f,0,1).getTime()));else if(l>r.MONTH)for(var g,v,y,m,b=Math.ceil(l/r.MONTH),x=a(e),_=(g=i(e),v=i(n),y=a(e),(v-g)*12+(a(n)-y)%12),h=0;h<=_+b;h+=b)u.push((m=h+x,new Date(c,m,1).getTime()));else if(l>r.DAY)for(var O=new Date(e),P=O.getFullYear(),M=O.getMonth(),A=O.getDate(),S=Math.ceil(l/r.DAY),w=Math.ceil((n-e)/r.DAY),h=0;hr.HOUR)for(var O=new Date(e),P=O.getFullYear(),M=O.getMonth(),S=O.getDate(),E=O.getHours(),C=Math.ceil(l/r.HOUR),T=Math.ceil((n-e)/r.HOUR),h=0;h<=T+C;h+=C)u.push(new Date(P,M,S,E+h).getTime());else if(l>r.MINUTE)for(var I=Math.ceil((n-e)/6e4),j=Math.ceil(l/r.MINUTE),h=0;h<=I+j;h+=j)u.push(e+h*r.MINUTE);else{var F=l;F=512&&console.warn("Notice: current ticks length("+u.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+l+") is too small, increase the value to solve the problem!"),u};var r=n(175);function i(t){return new Date(t).getFullYear()}function a(t){return new Date(t).getMonth()}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Coordinate",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getCoordinate",{enumerable:!0,get:function(){return l.getCoordinate}}),Object.defineProperty(e,"registerCoordinate",{enumerable:!0,get:function(){return l.registerCoordinate}});var i=r(n(178)),a=r(n(849)),o=r(n(850)),s=r(n(851)),l=n(852);(0,l.registerCoordinate)("rect",a.default),(0,l.registerCoordinate)("cartesian",a.default),(0,l.registerCoordinate)("polar",s.default),(0,l.registerCoordinate)("helix",o.default)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(e){var n=t.call(this,e)||this;return n.isRect=!0,n.type="cartesian",n.initial(),n}return(0,i.__extends)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=this.start,n=this.end;this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:this.convertDim(n,"x"),y:this.convertDim(r,"y")}},e.prototype.invertPoint=function(t){var e,n=this.invertDim(t.x,"x"),r=this.invertDim(t.y,"y");return this.isTransposed&&(n=(e=[r,n])[0],r=e[1]),{x:n,y:r}},e}(r(n(178)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(32),o=n(0),s=function(t){function e(e){var n=t.call(this,e)||this;n.isHelix=!0,n.type="helix";var r=e.startAngle,i=void 0===r?1.25*Math.PI:r,a=e.endAngle,o=void 0===a?7.25*Math.PI:a,s=e.innerRadius,l=e.radius;return n.startAngle=i,n.endAngle=o,n.innerRadius=void 0===s?0:s,n.radius=l,n.initial(),n}return(0,i.__extends)(e,t),e.prototype.initial=function(){t.prototype.initial.call(this);var e=(this.endAngle-this.startAngle)/(2*Math.PI)+1,n=Math.min(this.width,this.height)/2;this.radius&&this.radius>=0&&this.radius<=1&&(n*=this.radius),this.d=Math.floor(n*(1-this.innerRadius)/e),this.a=this.d/(2*Math.PI),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*n,end:this.innerRadius*n+.99*this.d}},e.prototype.convertPoint=function(t){var e,n=t.x,r=t.y;this.isTransposed&&(n=(e=[r,n])[0],r=e[1]);var i=this.convertDim(n,"x"),a=this.a*i,o=this.convertDim(r,"y");return{x:this.center.x+Math.cos(i)*(a+o),y:this.center.y+Math.sin(i)*(a+o)}},e.prototype.invertPoint=function(t){var e,n=this.d+this.y.start,r=a.vec2.subtract([0,0],[t.x,t.y],[this.center.x,this.center.y]),i=a.ext.angleTo(r,[1,0],!0),s=i*this.a;a.vec2.length(r)this.width/r?(e=this.width/r,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*e*i}):(e=this.height/i,this.circleCenter={x:this.center.x-(.5-a)*e*r,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=e*this.radius:(this.radius<=0||this.radius>e)&&(this.polarRadius=e):this.polarRadius=e,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var e,n=this.getCenter(),r=t.x,i=t.y;return this.isTransposed&&(r=(e=[i,r])[0],i=e[1]),r=this.convertDim(r,"x"),i=this.convertDim(i,"y"),{x:n.x+Math.cos(r)*i,y:n.y+Math.sin(r)*i}},e.prototype.invertPoint=function(t){var e,n=this.getCenter(),r=[t.x-n.x,t.y-n.y],i=this.startAngle,s=this.endAngle;this.isReflect("x")&&(i=(e=[s,i])[0],s=e[1]);var l=[1,0,0,0,1,0,0,0,1];a.ext.leftRotate(l,l,i);var u=[1,0,0];a.vec3.transformMat3(u,u,l);var c=[u[0],u[1]],f=a.ext.angleTo(c,r,s0?p:-p;var h=this.invertDim(d,"y"),g={x:0,y:0};return g.x=this.isTransposed?h:p,g.y=this.isTransposed?p:h,g},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);i1||r<0)&&(r=1),{x:(0,u.getValueByPercent)(t.x,e.x,r),y:(0,u.getValueByPercent)(t.y,e.y,r)}},e.prototype.renderLabel=function(t){var e=this.get("text"),n=this.get("start"),r=this.get("end"),i=e.position,a=e.content,o=e.style,l=e.offsetX,u=e.offsetY,c=e.autoRotate,f=e.maxLength,d=e.autoEllipsis,p=e.ellipsisPosition,h=e.background,g=e.isVertical,v=this.getLabelPoint(n,r,i),y=v.x+l,m=v.y+u,b={id:this.getElementId("line-text"),name:"annotation-line-text",x:y,y:m,content:a,style:o,maxLength:f,autoEllipsis:d,ellipsisPosition:p,background:h,isVertical:void 0!==g&&g};if(c){var x=[r.x-n.x,r.y-n.y];b.rotate=Math.atan2(x[1],x[0])}(0,s.renderTag)(t,b)},e}(o.default);e.default=c},function(t,e,n){"use strict";function r(t,e){return t.charCodeAt(e)>0&&128>t.charCodeAt(e)?1:2}Object.defineProperty(e,"__esModule",{value:!0}),e.charAtLength=r,e.ellipsisString=function(t,e,n){void 0===n&&(n="tail");var i=t.length,a="";if("tail"===n){for(var o=0,s=0;oMath.PI?1:0,u=[["M",a.x,a.y]];if(i-r==2*Math.PI){var c=(0,o.getCirclePoint)(e,n,r+Math.PI);u.push(["A",n,n,0,l,1,c.x,c.y]),u.push(["A",n,n,0,l,1,s.x,s.y])}else u.push(["A",n,n,0,l,1,s.x,s.y]);return u},e.prototype.renderArc=function(t){var e=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:(0,i.__assign)({path:e},n)})},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=r(n(58)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:o.default.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var e=this.get("start"),n=this.get("end"),r=this.get("style"),a=(0,s.regionToBBox)({start:e,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:(0,i.__assign)({x:a.x,y:a.y,width:a.width,height:a.height},r)})},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(41)),o=n(42),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),e=this.get("end"),n=this.get("style"),r=(0,o.regionToBBox)({start:t,end:e}),a=this.get("src");return(0,i.__assign)({x:r.x,y:r.y,img:a,width:r.width,height:r.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(180),l=n(90),u=r(n(58)),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:u.default.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:u.default.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:u.default.fontFamily}}}})},e.prototype.renderInner=function(t){(0,a.get)(this.get("line"),"display")&&this.renderLine(t),(0,a.get)(this.get("text"),"display")&&this.renderText(t),(0,a.get)(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var e=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:e})},e.prototype.renderLine=function(t){var e=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:e})},e.prototype.renderText=function(t){var e=this.getShapeAttrs().text,n=e.x,r=e.y,a=e.text,o=(0,i.__rest)(e,["x","y","text"]),l=this.get("text"),u=l.background,c=l.maxLength,f=l.autoEllipsis,d=l.isVertival,p=l.ellipsisPosition,h={x:n,y:r,id:this.getElementId("text"),name:"annotation-text",content:a,style:o,background:u,maxLength:c,autoEllipsis:f,isVertival:d,ellipsisPosition:p};(0,s.renderTag)(t,h)},e.prototype.autoAdjust=function(t){var e=this.get("direction"),n=this.get("x"),r=this.get("y"),i=(0,a.get)(this.get("line"),"length",0),o=this.get("coordinateBBox"),s=t.getBBox(),u=s.minX,c=s.maxX,f=s.minY,d=s.maxY,p=t.findById(this.getElementId("text-group")),h=t.findById(this.getElementId("text")),g=t.findById(this.getElementId("line"));if(o){if(p){if(n+u<=o.minX){var v=o.minX-(n+u);(0,l.applyTranslate)(p,p.attr("x")+v,p.attr("y"))}if(n+c>=o.maxX){var v=n+c-o.maxX;(0,l.applyTranslate)(p,p.attr("x")-v,p.attr("y"))}}if("upward"===e&&r+f<=o.minY||"upward"!==e&&r+d>=o.maxY){var y=void 0,m=void 0;"upward"===e&&r+f<=o.minY?(y="top",m=1):(y="bottom",m=-1),h.attr("textBaseline",y),g&&g.attr("path",[["M",0,0],["L",0,i*m]]),(0,l.applyTranslate)(p,p.attr("x"),(i+2)*m)}}},e.prototype.getShapeAttrs=function(){var t=(0,a.get)(this.get("line"),"display"),e=(0,a.get)(this.get("point"),"style",{}),n=(0,a.get)(this.get("line"),"style",{}),r=(0,a.get)(this.get("text"),"style",{}),o=this.get("direction"),s=t?(0,a.get)(this.get("line"),"length",0):0,l="upward"===o?-1:1;return{point:(0,i.__assign)({x:0,y:0},e),line:(0,i.__assign)({path:[["M",0,0],["L",0,s*l]]},n),text:(0,i.__assign)({x:0,y:(s+2)*l,text:(0,a.get)(this.get("text"),"content",""),textBaseline:"upward"===o?"bottom":"top"},r)}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=r(n(58)),l=n(42),u=n(180),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:s.default.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:s.default.textColor,fontFamily:s.default.fontFamily}}}})},e.prototype.renderInner=function(t){var e=(0,a.get)(this.get("region"),"style",{});(0,a.get)(this.get("text"),"style",{});var n=this.get("lineLength")||0,r=this.get("points");if(r.length){var o=(0,l.pointsToBBox)(r),s=[];s.push(["M",r[0].x,o.minY-n]),r.forEach(function(t){s.push(["L",t.x,t.y])}),s.push(["L",r[r.length-1].x,r[r.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:(0,i.__assign)({path:s},e)});var c=(0,i.__assign)({id:this.getElementId("text"),name:"annotation-text",x:(o.minX+o.maxX)/2,y:o.minY-n},this.get("text"));(0,u.renderTag)(t,c)}},e}(o.default);e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var e=this,n=this.get("start"),r=this.get("end"),i=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});(0,a.each)(this.get("shapes"),function(t,n){var r=t.get("type"),o=(0,a.clone)(t.attr());e.adjustShapeAttrs(o),e.addShape(i,{id:e.getElementId("shape-"+r+"-"+n),capture:!1,type:r,attrs:o})});var o=(0,s.regionToBBox)({start:n,end:r});i.setClip({type:"rect",attrs:{x:o.minX,y:o.minY,width:o.width,height:o.height}})},e.prototype.adjustShapeAttrs=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},e}(o.default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"shape",draw:a.noop})},e.prototype.renderInner=function(t){var e=this.get("render");(0,a.isFunction)(e)&&e(t)},e}(r(n(41)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(96),o=n(0),s=r(n(181)),l=n(42),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
    ',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),e=this.get("html");(0,l.clearDom)(t);var n=(0,o.isFunction)(e)?e(t):e;if((0,o.isElement)(n))t.appendChild(n);else if((0,o.isString)(n)||(0,o.isNumber)(n)){var r=(0,a.createDom)(""+n);r&&t.appendChild(r)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),e=this.getLocation(),n=e.x,r=e.y,i=this.get("alignX"),o=this.get("alignY"),s=this.get("offsetX"),l=this.get("offsetY"),u=(0,a.getOuterWidth)(t),c=(0,a.getOuterHeight)(t),f={x:n,y:r};"middle"===i?f.x-=Math.round(u/2):"right"===i&&(f.x-=Math.round(u)),"middle"===o?f.y-=Math.round(c/2):"bottom"===o&&(f.y-=Math.round(c)),s&&(f.x+=s),l&&(f.y+=l),(0,a.modifyCSS)(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(s.default);e.default=u},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return i.default}});var i=r(n(867)),a=r(n(871)),o=r(n(255))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(32),s=n(0),l=r(n(255)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(434));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},e.prototype.getInnerLayoutBBox=function(){var e=this.get("start"),n=this.get("end"),r=t.prototype.getInnerLayoutBBox.call(this),i=Math.min(e.x,n.x,r.x),a=Math.min(e.y,n.y,r.y),o=Math.max(e.x,n.x,r.maxX),s=Math.max(e.y,n.y,r.maxY);return{x:i,y:a,minX:i,minY:a,maxX:o,maxY:s,width:o-i,height:s-a}},e.prototype.isVertical=function(){var t=this.get("start"),e=this.get("end");return(0,s.isNumberEqual)(t.x,e.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),e=this.get("end");return(0,s.isNumberEqual)(t.y,e.y)},e.prototype.getTickPoint=function(t){var e=this.get("start"),n=this.get("end"),r=n.x-e.x,i=n.y-e.y;return{x:e.x+r*t,y:e.y+i*t}},e.prototype.getSideVector=function(t){var e=this.getAxisVector(),n=o.vec2.normalize([0,0],e),r=this.get("verticalFactor"),i=[n[1],-1*n[0]];return o.vec2.scale([0,0],i,t*r)},e.prototype.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},e.prototype.processOverlap=function(t){var e=this,n=this.isVertical(),r=this.isHorizontal();if(n||r){var i=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),l=i.offset,u=o,c=0,f=0;a&&(c=a.style.fontSize,f=a.spacing),u&&(u=u-l-f-c);var d=this.get("overlapOrder");if((0,s.each)(d,function(n){i[n]&&e.canProcessOverlap(n)&&e.autoProcessOverlap(n,i[n],t,u)}),a&&(0,s.isNil)(a.offset)){var p=t.getCanvasBBox(),h=n?p.width:p.height;a.offset=l+h+f+c/2}}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,s.isNil)(e.rotate)},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,a=this.isVertical(),o=!1,l=u[t];if(!0===e?(this.get("label"),o=l.getDefault()(a,n,r)):(0,s.isFunction)(e)?o=e(a,n,r):(0,s.isObject)(e)?l[e.type]&&(o=l[e.type](a,n,r,e.cfg)):l[e]&&(o=l[e](a,n,r)),"autoRotate"===t){if(o){var c=n.getChildren(),f=this.get("verticalFactor");(0,s.each)(c,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",f>0?"end":"start")})}}else if("autoHide"===t){var d=n.getChildren().slice(0);(0,s.each)(d,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(l.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsisHead=function(t,e,n){return a(t,e,n,"head")},e.ellipsisMiddle=function(t,e,n){return a(t,e,n,"middle")},e.ellipsisTail=o,e.getDefault=function(){return o};var r=n(0),i=n(142);function a(t,e,n,a){var o=e.getChildren(),s=!1;return(0,r.each)(o,function(e){var r=(0,i.ellipsisLabel)(t,e,n,a);s=s||r}),s}function o(t,e,n){return a(t,e,n,"tail")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.equidistance=c,e.equidistanceWithReverseBoth=function(t,e,n,r){var i=e.getChildren().slice(),a=u(t,e,r);if(i.length>2){var o=i[0],s=i[i.length-1];!o.get("visible")&&(o.show(),l(t,e,!1,r)&&(a=!0)),!s.get("visible")&&(s.show(),l(t,e,!0,r)&&(a=!0))}return a},e.getDefault=function(){return c},e.reserveBoth=function(t,e,n,r){var i=(null==r?void 0:r.minGap)||0,a=e.getChildren().slice();if(a.length<=2)return!1;for(var o=!1,l=a.length,u=a[0],c=a[l-1],f=u,d=1;de.attr("y"):n.attr("x")>e.attr("x"))?e.getBBox():n.getBBox();if(t){var c=Math.abs(Math.cos(s));i=(0,a.near)(c,0,Math.PI/180)?u.width+r>l:u.height/c+r>l}else{var c=Math.abs(Math.sin(s));i=(0,a.near)(c,0,Math.PI/180)?u.width+r>l:u.height/c+r>l}return i}function l(t,e,n,r){var i=(null==r?void 0:r.minGap)||0,a=e.getChildren().slice().filter(function(t){return t.get("visible")});if(!a.length)return!1;var o=!1;n&&a.reverse();for(var l=a.length,u=a[0],c=1;c1){g=Math.ceil(g);for(var m=0;mn?r=Math.PI/4:(r=Math.asin(e/n))>Math.PI/4&&(r=Math.PI/4),r})};var i=n(0),a=n(142),o=n(90),s=r(n(58));function l(t,e,n,r){var s=e.getChildren();if(!s.length||!t&&s.length<2)return!1;var l=(0,a.getMaxLabelWidth)(s),u=!1;if(u=t?!!n&&l>n:l>Math.abs(s[1].attr("x")-s[0].attr("x"))){var c=r(n,l);(0,i.each)(s,function(t){var e=t.attr("x"),n=t.attr("y"),r=(0,o.getMatrixByAngle)({x:e,y:n},c);t.attr("matrix",r)})}return u}function u(t,e,n,r){return l(t,e,n,function(){return(0,i.isNumber)(r)?r:t?s.default.verticalAxisRotate:s.default.horizontalAxisRotate})}},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(0),s=n(32),l=r(n(255)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(434));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,r=this.get("radius"),i=this.get("startAngle"),a=this.get("endAngle"),o=[];if(Math.abs(a-i)===2*Math.PI)o=[["M",e,n-r],["A",r,r,0,1,1,e,n+r],["A",r,r,0,1,1,e,n-r],["Z"]];else{var s=this.getCirclePoint(i),l=this.getCirclePoint(a),u=Math.abs(a-i)>Math.PI?1:0,c=i>a?0:1;o=[["M",e,n],["L",s.x,s.y],["A",r,r,0,u,c,l.x,l.y],["L",e,n]]}return o},e.prototype.getTickPoint=function(t){var e=this.get("startAngle"),n=this.get("endAngle");return this.getCirclePoint(e+(n-e)*t)},e.prototype.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y],i=this.get("verticalFactor"),a=s.vec2.length(r);return s.vec2.scale(r,r,i*t/a),r},e.prototype.getAxisVector=function(t){var e=this.get("center"),n=[t.x-e.x,t.y-e.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},e.prototype.canProcessOverlap=function(t){var e=this.get("label");return"autoRotate"!==t||(0,o.isNil)(e.rotate)},e.prototype.processOverlap=function(t){var e=this,n=this.get("label"),r=this.get("title"),i=this.get("verticalLimitLength"),a=n.offset,s=i,l=0,u=0;r&&(l=r.style.fontSize,u=r.spacing),s&&(s=s-a-u-l);var c=this.get("overlapOrder");if((0,o.each)(c,function(r){n[r]&&e.canProcessOverlap(r)&&e.autoProcessOverlap(r,n[r],t,s)}),r&&(0,o.isNil)(r.offset)){var f=t.getCanvasBBox().height;r.offset=a+f+u+l/2}},e.prototype.autoProcessOverlap=function(t,e,n,r){var i=this,a=!1,s=u[t];if(r>0&&(!0===e?a=s.getDefault()(!1,n,r):(0,o.isFunction)(e)?a=e(!1,n,r):(0,o.isObject)(e)?s[e.type]&&(a=s[e.type](!1,n,r,e.cfg)):s[e]&&(a=s[e](!1,n,r))),"autoRotate"===t){if(a){var l=n.getChildren(),c=this.get("verticalFactor");(0,o.each)(l,function(t){"center"===t.attr("textAlign")&&t.attr("textAlign",c>0?"end":"start")})}}else if("autoHide"===t){var f=n.getChildren().slice(0);(0,o.each)(f,function(t){t.get("visible")||(i.get("isRegister")&&i.unregisterElement(t),t.remove())})}},e}(l.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Html",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return i.default}});var i=r(n(873)),a=r(n(874)),o=r(n(256)),s=r(n(875))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(42),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text").position,i=Math.atan2(n.y-e.y,n.x-e.x);return"start"===r?i-Math.PI/2:i+Math.PI/2},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,o=r.offset;return(0,a.getTextPoint)(e,n,i,o)},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.start,n=t.end;return[["M",e.x,e.y],["L",n.x,n.y]]},e}(r(n(256)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(42),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:3*Math.PI/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),e=t.startAngle,n=t.endAngle;return"start"===this.get("text").position?e+Math.PI/2:n-Math.PI/2},e.prototype.getTextPoint=function(){var t=this.get("text"),e=t.position,n=t.offset,r=this.getLocation(),i=r.center,o=r.radius,s=r.startAngle,l=r.endAngle,u=this.getRotateAngle()-Math.PI,c=(0,a.getCirclePoint)(i,o,"start"===e?s:l),f=Math.cos(u)*n,d=Math.sin(u)*n;return{x:c.x+f,y:c.y+d}},e.prototype.getLinePath=function(){var t=this.getLocation(),e=t.center,n=t.radius,r=t.startAngle,i=t.endAngle,o=null;if(i-r==2*Math.PI){var s=e.x,l=e.y;o=[["M",s,l-n],["A",n,n,0,1,1,s,l+n],["A",n,n,0,1,1,s,l-n],["Z"]]}else{var u=(0,a.getCirclePoint)(e,n,r),c=(0,a.getCirclePoint)(e,n,i),f=Math.abs(i-r)>Math.PI?1:0,d=r>i?0:1;o=[["M",u.x,u.y],["A",n,n,0,f,d,c.x,c.y]]}return o},e}(r(n(256)).default);e.default=o},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(96),s=n(0),l=n(42),u=r(n(181)),c=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(435)),f=r(n(876));function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
    ',crosshairTpl:'
    ',textTpl:'{content}',domStyles:null,containerClassName:c.CONTAINER_CLASS,defaultStyles:f.default,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),e=this.get("crosshairTpl"),n=(0,o.createDom)(e);t.appendChild(n),this.applyStyle(c.CROSSHAIR_LINE,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),e=t.start,n=t.end,r=this.get("text"),i=r.position,a=r.offset;return(0,l.getTextPoint)(e,n,i,a)},e.prototype.resetText=function(){var t=this.get("text"),e=this.get("textEl");if(t){var n=t.content;if(!e){var r=this.getContainer(),i=(0,s.substitute)(this.get("textTpl"),t);e=(0,o.createDom)(i),r.appendChild(e),this.applyStyle(c.CROSSHAIR_TEXT,e),this.set("textEl",e)}e.innerHTML=n}else e&&e.remove()},e.prototype.isVertical=function(t,e){return t.x===e.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var e=this.get("start"),n=this.get("end"),r=Math.min(e.x,n.x),i=Math.min(e.y,n.y);this.isVertical(e,n)?(0,o.modifyCSS)(t,{width:"1px",height:(0,l.toPx)(Math.abs(n.y-e.y))}):(0,o.modifyCSS)(t,{height:"1px",width:(0,l.toPx)(Math.abs(n.x-e.x))}),(0,o.modifyCSS)(t,{top:(0,l.toPx)(i),left:(0,l.toPx)(r)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var e=this.get("text").align,n=t.clientWidth,r=this.getTextPoint();switch(e){case"center":r.x=r.x-n/2;break;case"right":r.x=r.x-n}(0,o.modifyCSS)(t,{top:(0,l.toPx)(r.y),left:(0,l.toPx)(r.x)})}},e.prototype.updateInner=function(e){(0,s.hasKey)(e,"text")&&this.resetText(),t.prototype.updateInner.call(this,e)},e}(u.default);e.default=p},function(t,e,n){"use strict";var r,i=n(2),a=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(58)),s=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(435));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=((r={})[""+s.CONTAINER_CLASS]={position:"relative"},r[""+s.CROSSHAIR_LINE]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+s.CROSSHAIR_TEXT]={position:"absolute",color:o.default.textColor,fontFamily:o.default.fontFamily},r);e.default=u},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Line",{enumerable:!0,get:function(){return o.default}});var i=r(n(257)),a=r(n(878)),o=r(n(879))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,e){var n=this.getLineType(),r=this.get("closed"),i=[];if(t.length){if("circle"===n){var o,s,l,u,c,f,d=this.get("center"),p=t[0],h=(o=d.x,s=d.y,l=p.x,u=p.y,Math.sqrt((c=l-o)*c+(f=u-s)*f)),g=e?0:1;r?(i.push(["M",d.x,d.y-h]),i.push(["A",h,h,0,0,g,d.x,d.y+h]),i.push(["A",h,h,0,0,g,d.x,d.y-h]),i.push(["Z"])):(0,a.each)(t,function(t,e){0===e?i.push(["M",t.x,t.y]):i.push(["A",h,h,0,0,g,t.x,t.y])})}else(0,a.each)(t,function(t,e){0===e?i.push(["M",t.x,t.y]):i.push(["L",t.x,t.y])}),r&&i.push(["Z"])}return i},e}(r(n(257)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"line"})},e.prototype.getGridPath=function(t){var e=[];return(0,a.each)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},e}(r(n(257)).default);e.default=o},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Base",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Category",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Continuous",{enumerable:!0,get:function(){return a.default}});var i=r(n(881)),a=r(n(882)),o=r(n(258))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(142),s=n(90),l=n(433),u=r(n(58)),c=r(n(258)),f={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},d={fill:u.default.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:u.default.fontFamily,fontWeight:"normal",lineHeight:12},p="navigation-arrow-right",h="navigation-arrow-left",g={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPageIndex=1,e.totalPagesCnt=1,e.pageWidth=0,e.pageHeight=0,e.startX=0,e.startY=0,e.onNavigationBack=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndex>1){e.currentPageIndex-=1,e.updateNavigation();var n=e.getCurrentNavigationMatrix();e.get("animate")?t.animate({matrix:n},100):t.attr({matrix:n})}},e.onNavigationAfter=function(){var t=e.getElementByLocalId("item-group");if(e.currentPageIndexg&&(g=m),"horizontal"===d?(v&&vx&&(x=e.width)}),_=x,x+=d,l&&(x=Math.min(l,x),_=Math.min(l,_)),this.pageWidth=x,this.pageHeight=u-Math.max(v.height,p+O);var A=Math.floor(this.pageHeight/(p+O));(0,a.each)(s,function(t,e){0!==e&&e%A==0&&(m+=1,y.x+=x,y.y=i),n.moveElementTo(t,y),t.getParent().setClip({type:"rect",attrs:{x:y.x,y:y.y,width:x,height:p}}),y.y+=p+O}),this.totalPagesCnt=m,this.moveElementTo(g,{x:r+_/2-v.width/2-v.minX,y:u-v.height-v.minY})}this.pageHeight&&this.pageWidth&&e.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),"horizontal"===o&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(m/this.get("maxRow")):this.totalPagesCnt=m,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(g),e.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,e,n,r){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=(0,a.get)(r.marker,"style",{}),u=l.size,c=void 0===u?12:u,f=(0,i.__rest)(l,["size"]),d=this.drawArrow(s,o,h,"horizontal"===e?"up":"left",c,f);d.on("click",this.onNavigationBack);var g=d.getBBox();o.x+=g.width+2;var v=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:(0,i.__assign)({x:o.x,y:o.y+c/2,text:n,textBaseline:"middle"},(0,a.get)(r.text,"style"))}).getBBox();return o.x+=v.width+2,this.drawArrow(s,o,p,"horizontal"===e?"down":"right",c,f).on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var e=(0,a.deepMix)({},f,this.get("pageNavigator")).marker.style,n=e.fill,r=e.opacity,i=e.inactiveFill,o=e.inactiveOpacity,s=this.currentPageIndex+"/"+this.totalPagesCnt,l=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),u=t?t.findById(this.getElementId(h)):this.getElementByLocalId(h),c=t?t.findById(this.getElementId(p)):this.getElementByLocalId(p);l.attr("text",s),u.attr("opacity",1===this.currentPageIndex?o:r),u.attr("fill",1===this.currentPageIndex?i:n),u.attr("cursor",1===this.currentPageIndex?"not-allowed":"pointer"),c.attr("opacity",this.currentPageIndex===this.totalPagesCnt?o:r),c.attr("fill",this.currentPageIndex===this.totalPagesCnt?i:n),c.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var d=u.getBBox().maxX+2;l.attr("x",d),d+=l.getBBox().width+2,this.updateArrowPath(c,{x:d,y:0})},e.prototype.drawArrow=function(t,e,n,r,a,o){var l=e.x,u=e.y,c=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:(0,i.__assign)({size:a,direction:r,path:[["M",l+a/2,u],["L",l,u+a],["L",l+a,u+a],["Z"]],cursor:"pointer"},o)});return c.attr("matrix",(0,s.getMatrixByAngle)({x:l+a/2,y:u+a/2},g[r])),c},e.prototype.updateArrowPath=function(t,e){var n=e.x,r=e.y,i=t.attr(),a=i.size,o=i.direction,l=(0,s.getMatrixByAngle)({x:n+a/2,y:r+a/2},g[o]);t.attr("path",[["M",n+a/2,r],["L",n,r+a],["L",n+a,r+a],["Z"]]),t.attr("matrix",l)},e.prototype.getCurrentNavigationMatrix=function(){var t=this.currentPageIndex,e=this.pageWidth,n=this.pageHeight,r=this.get("layout");return(0,s.getMatrixByTranslate)("horizontal"===r?{x:0,y:n*(1-t)}:{x:e*(1-t),y:0})},e.prototype.applyItemStates=function(t,e){if(this.getItemStates(t).length>0){var n=e.getChildren(),r=this.get("itemStates");(0,a.each)(n,function(e){var n=e.get("name").split("-")[2],i=(0,l.getStatesStyle)(t,n,r);i&&(e.attr(i),"marker"===n&&!(e.get("isStroke")&&e.get("isFill"))&&(e.get("isStroke")&&e.attr("fill",null),e.get("isFill")&&e.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),e=this.get("maxItemWidth");return e?t&&(e=t<=e?t:e):t&&(e=t),e},e}(c.default);e.default=v},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(58)),s=n(42),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:o.default.textColor,textBaseline:"middle",fontFamily:o.default.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:o.default.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,e){this.update({min:t,max:e})},e.prototype.setValue=function(t){var e=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:e,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var e=this;t.on("legend-handler-min:drag",function(t){var n=e.getValueByCanvasPoint(t.x,t.y),r=e.getCurrentValue()[1];rn&&(r=n),e.setValue([r,n])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var e=this,n=null;t.on("legend-track:dragstart",function(t){n={x:t.x,y:t.y}}),t.on("legend-track:drag",function(t){if(n){var r=e.getValueByCanvasPoint(n.x,n.y),i=e.getValueByCanvasPoint(t.x,t.y),a=e.getCurrentValue(),o=a[1]-a[0],s=e.getRange(),l=i-r;l<0?a[0]+l>s.min?e.setValue([a[0]+l,a[1]+l]):e.setValue([s.min,s.min+o]):l>0&&(l>0&&a[1]+la&&(c=a),c0&&this.changeRailLength(r,i,n[i]-c)}},e.prototype.changeRailLength=function(t,e,n){var r,i=t.getBBox();r="height"===e?this.getRailPath(i.x,i.y,i.width,n):this.getRailPath(i.x,i.y,n,i.height),t.attr("path",r)},e.prototype.changeRailPosition=function(t,e,n){var r=t.getBBox(),i=this.getRailPath(e,n,r.width,r.height);t.attr("path",i)},e.prototype.fixedHorizontal=function(t,e,n,r){var i=this.get("label"),a=i.align,o=i.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox(),c=s.height;this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===a?(t.attr({x:r.x,y:r.y+c/2}),this.changeRailPosition(n,r.x+l.width+o,r.y),e.attr({x:r.x+l.width+s.width+2*o,y:r.y+c/2})):"top"===a?(t.attr({x:r.x,y:r.y}),e.attr({x:r.x+s.width,y:r.y}),this.changeRailPosition(n,r.x,r.y+l.height+o)):(this.changeRailPosition(n,r.x,r.y),t.attr({x:r.x,y:r.y+s.height+o}),e.attr({x:r.x+s.width,y:r.y+s.height+o}))},e.prototype.fixedVertail=function(t,e,n,r){var i=this.get("label"),a=i.align,o=i.spacing,s=n.getBBox(),l=t.getBBox(),u=e.getBBox();if(this.fitRailLength(l,u,s,n),s=n.getBBox(),"rail"===a)t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x,r.y+l.height+o),e.attr({x:r.x,y:r.y+l.height+s.height+2*o});else if("right"===a)t.attr({x:r.x+s.width+o,y:r.y}),this.changeRailPosition(n,r.x,r.y),e.attr({x:r.x+s.width+o,y:r.y+s.height});else{var c=Math.max(l.width,u.width);t.attr({x:r.x,y:r.y}),this.changeRailPosition(n,r.x+c+o,r.y),e.attr({x:r.x,y:r.y+s.height})}},e}(r(n(258)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Html",{enumerable:!0,get:function(){return i.default}});var i=r(n(884))},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=r(n(140)),s=n(96),l=n(0),u=r(n(181)),c=n(42),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(259)),d=r(n(885)),p=n(886);function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,a.__assign)((0,a.__assign)({},e),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
      ',itemTpl:'
    • \n \n {name}:\n {value}\n
    • ',xCrosshairTpl:'
      ',yCrosshairTpl:'
      ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:f.CONTAINER_CLASS,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:d.default})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!0),(0,s.modifyCSS)(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();t&&!this.destroyed&&(this.set("visible",!1),(0,s.modifyCSS)(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var e=t?"":"none",n=this.get("xCrosshairDom"),r=this.get("yCrosshairDom");n&&(0,s.modifyCSS)(n,{display:e}),r&&(0,s.modifyCSS)(r,{display:e})},e.prototype.initContainer=function(){if(t.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var e=this.getHtmlContentNode();this.get("parent").appendChild(e),this.set("container",e),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(e){if(this.get("customContent"))this.renderCustomContent();else{var n;n=!1,(0,l.each)(["title","showTitle"],function(t){if((0,l.hasKey)(e,t))return n=!0,!1}),n&&this.resetTitle(),(0,l.hasKey)(e,"items")&&this.renderItems()}t.prototype.updateInner.call(this,e)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){t.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t,e=this.get("x"),n=this.get("y"),r=this.get("offset"),i=this.getOffset(),a=i.offsetX,o=i.offsetY,l=this.get("position"),u=this.get("region"),f=this.getContainer(),d=this.getBBox(),h=d.width,g=d.height;u&&(t=(0,c.regionToBBox)(u));var v=(0,p.getAlignPoint)(e,n,r,h,g,l,t);(0,s.modifyCSS)(f,{left:(0,c.toPx)(v.x+a),top:(0,c.toPx)(v.y+o)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),e=this.get("parent"),n=this.get("container");n&&n.parentNode===e?e.replaceChild(t,n):e.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,e=this.get("customContent");if(e){var n=e(this.get("title"),this.get("items"));t=(0,l.isElement)(n)?n:(0,s.createDom)(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),e=t.getElementsByClassName(f.TITLE_CLASS)[0],n=t.getElementsByClassName(f.LIST_CLASS)[0];this.set("titleDom",e),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title");this.get("showTitle")&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var e=this.get("titleDom");e&&(e.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),e=this.get("crosshairs");if(t&&e){var n=(0,c.regionToBBox)(t),r=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");"x"===e?(this.resetCrosshair("x",n),i&&(i.remove(),this.set("yCrosshairDom",null))):"y"===e?(this.resetCrosshair("y",n),r&&(r.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}else this.clearCrosshairs()},e.prototype.resetCrosshair=function(t,e){var n=this.checkCrosshair(t),r=this.get(t);"x"===t?(0,s.modifyCSS)(n,{left:(0,c.toPx)(r),top:(0,c.toPx)(e.y),height:(0,c.toPx)(e.height)}):(0,s.modifyCSS)(n,{top:(0,c.toPx)(r),left:(0,c.toPx)(e.x),width:(0,c.toPx)(e.width)})},e.prototype.checkCrosshair=function(t){var e=t+"CrosshairDom",n=f["CROSSHAIR_"+t.toUpperCase()],r=this.get(e),i=this.get("parent");return r||(r=(0,s.createDom)(this.get(t+"CrosshairTpl")),this.applyStyle(n,r),i.appendChild(r),this.set(e,r)),r},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),e=this.get("itemTpl"),n=this.get("listDom");n&&((0,l.each)(t,function(t){var r=o.default.toCSSGradient(t.color),i=(0,a.__assign)((0,a.__assign)({},t),{color:r}),u=(0,l.substitute)(e,i),c=(0,s.createDom)(u);n.appendChild(c)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&(0,c.clearDom)(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),e=this.get("yCrosshairDom");t&&t.remove(),e&&e.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(u.default);e.default=g},function(t,e,n){"use strict";var r,i=n(2),a=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(58)),s=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(259));function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}var u=((r={})[""+s.CONTAINER_CLASS]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:o.default.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},r[""+s.TITLE_CLASS]={marginBottom:"4px"},r[""+s.LIST_CLASS]={margin:"0px",listStyleType:"none",padding:"0px"},r[""+s.LIST_ITEM_CLASS]={listStyleType:"none",marginBottom:"4px"},r[""+s.MARKER_CLASS]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},r[""+s.VALUE_CLASS]={display:"inline-block",float:"right",marginLeft:"30px"},r[""+s.CROSSHAIR_X]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r[""+s.CROSSHAIR_Y]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},r);e.default=u},function(t,e,n){"use strict";function r(t,e,n,r,i){return{left:ti.x+i.width,top:ei.y+i.height}}function i(t,e,n,r,i,a){var o=t,s=e;switch(a){case"left":o=t-r-n,s=e-i/2;break;case"right":o=t+n,s=e-i/2;break;case"top":o=t-r/2,s=e-i-n;break;case"bottom":o=t-r/2,s=e+n;break;default:o=t+n,s=e-i-n}return{x:o,y:s}}Object.defineProperty(e,"__esModule",{value:!0}),e.getAlignPoint=function(t,e,n,a,o,s,l){var u=i(t,e,n,a,o,s);if(l){var c=r(u.x,u.y,a,o,l);"auto"===s?(c.right&&(u.x=Math.max(0,t-a-n)),c.top&&(u.y=Math.max(0,e-o-n))):"top"===s||"bottom"===s?(c.left&&(u.x=l.x),c.right&&(u.x=l.x+l.width-a),"top"===s&&c.top&&(u.y=e+n),"bottom"===s&&c.bottom&&(u.y=e-o-n)):(c.top&&(u.y=l.y),c.bottom&&(u.y=l.y+l.height-o),"left"===s&&c.left&&(u.x=t+n),"right"===s&&c.right&&(u.x=t-a-n))}return u},e.getOutSides=r,e.getPointByPosition=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return r.Slider}});var r=n(888)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Slider=void 0;var i=n(1),a=n(0),o=r(n(41)),s=n(889),l=n(892),u=n(893),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){return function(n){e.currentTarget=t;var r=n.originalEvent;r.stopPropagation(),r.preventDefault(),e.prevX=(0,a.get)(r,"touches.0.pageX",r.pageX),e.prevY=(0,a.get)(r,"touches.0.pageY",r.pageY);var i=e.getContainerDOM();i.addEventListener("mousemove",e.onMouseMove),i.addEventListener("mouseup",e.onMouseUp),i.addEventListener("mouseleave",e.onMouseUp),i.addEventListener("touchmove",e.onMouseMove),i.addEventListener("touchend",e.onMouseUp),i.addEventListener("touchcancel",e.onMouseUp)}},e.onMouseMove=function(t){var n=e.cfg.width,r=[e.get("start"),e.get("end")];t.stopPropagation(),t.preventDefault();var i=(0,a.get)(t,"touches.0.pageX",t.pageX),o=(0,a.get)(t,"touches.0.pageY",t.pageY),s=i-e.prevX,l=e.adjustOffsetRange(s/n);e.updateStartEnd(l),e.updateUI(e.getElementByLocalId("foreground"),e.getElementByLocalId("minText"),e.getElementByLocalId("maxText")),e.prevX=i,e.prevY=o,e.draw(),e.emit(u.SLIDER_CHANGE,[e.get("start"),e.get("end")].sort()),e.delegateEmit("valuechanged",{originValue:r,value:[e.get("start"),e.get("end")]})},e.onMouseUp=function(){e.currentTarget&&(e.currentTarget=void 0);var t=e.getContainerDOM();t&&(t.removeEventListener("mousemove",e.onMouseMove),t.removeEventListener("mouseup",e.onMouseUp),t.removeEventListener("mouseleave",e.onMouseUp),t.removeEventListener("touchmove",e.onMouseMove),t.removeEventListener("touchend",e.onMouseUp),t.removeEventListener("touchcancel",e.onMouseUp))},e}return(0,i.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.get("start"),r=this.get("end"),i=(0,a.clamp)(n,t,e),o=(0,a.clamp)(r,t,e);this.get("isInit")||n===i&&r===o||this.setValue([i,o])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange();if((0,a.isArray)(t)&&2===t.length){var n=[this.get("start"),this.get("end")];this.update({start:(0,a.clamp)(t[0],e.min,e.max),end:(0,a.clamp)(t[1],e.min,e.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:u.BACKGROUND_STYLE,foregroundStyle:u.FOREGROUND_STYLE,handlerStyle:u.HANDLER_STYLE,textStyle:u.TEXT_STYLE}})},e.prototype.update=function(e){var n=e.start,r=e.end,o=(0,i.__assign)({},e);(0,a.isNil)(n)||(o.start=(0,a.clamp)(n,0,1)),(0,a.isNil)(r)||(o.end=(0,a.clamp)(r,0,1)),t.prototype.update.call(this,o),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",(0,a.clamp)(this.get("start"),0,1)),this.set("end",(0,a.clamp)(this.get("end"),0,1)),t.prototype.init.call(this)},e.prototype.render=function(){t.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var e=this.cfg,n=(e.start,e.end,e.width),r=e.height,o=e.trendCfg,c=void 0===o?{}:o,f=e.minText,d=e.maxText,p=e.backgroundStyle,h=void 0===p?{}:p,g=e.foregroundStyle,v=void 0===g?{}:g,y=e.textStyle,m=void 0===y?{}:y,b=(0,a.deepMix)({},l.DEFAULT_HANDLER_STYLE,this.cfg.handlerStyle);(0,a.size)((0,a.get)(c,"data"))&&(this.trend=this.addComponent(t,(0,i.__assign)({component:s.Trend,id:this.getElementId("trend"),x:0,y:0,width:n,height:r},c))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,i.__assign)({x:0,y:0,width:n,height:r},h)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:(0,i.__assign)({y:r/2,textAlign:"right",text:f,silent:!1},m)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:(0,i.__assign)({y:r/2,textAlign:"left",text:d,silent:!1},m)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:(0,i.__assign)({y:0,height:r},v)});var x=(0,a.get)(b,"width",u.DEFAULT_HANDLER_WIDTH),_=(0,a.get)(b,"height",24);this.minHandler=this.addComponent(t,{component:l.Handler,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(r-_)/2,width:x,height:_,cursor:"ew-resize",style:b}),this.maxHandler=this.addComponent(t,{component:l.Handler,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(r-_)/2,width:x,height:_,cursor:"ew-resize",style:b})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,e,n){var r=this.cfg,i=r.start,o=r.end,s=r.width,l=r.minText,c=r.maxText,f=r.handlerStyle,d=r.height,p=i*s,h=o*s;this.trend&&(this.trend.update({width:s,height:d}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",p),t.attr("width",h-p);var g=(0,a.get)(f,"width",u.DEFAULT_HANDLER_WIDTH);e.attr("text",l),n.attr("text",c);var v=this._dodgeText([p,h],e,n),y=v[0],m=v[1];this.minHandler&&(this.minHandler.update({x:p-g/2}),this.get("updateAutoRender")||this.minHandler.render()),(0,a.each)(y,function(t,n){return e.attr(n,t)}),this.maxHandler&&(this.maxHandler.update({x:h-g/2}),this.get("updateAutoRender")||this.maxHandler.render()),(0,a.each)(m,function(t,e){return n.attr(e,t)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var e=t.findById(this.getElementId("foreground"));e.on("mousedown",this.onMouseDown("foreground")),e.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":var i=0-n,a=1-n;return Math.min(a,Math.max(i,t));case"maxHandler":var i=0-r,a=1-r;return Math.min(a,Math.max(i,t));case"foreground":var i=0-n,a=1-r;return Math.min(a,Math.max(i,t))}},e.prototype.updateStartEnd=function(t){var e=this.cfg,n=e.start,r=e.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":r+=t;break;case"foreground":n+=t,r+=t}this.set("start",n),this.set("end",r)},e.prototype._dodgeText=function(t,e,n){var r,i,o=this.cfg,s=o.handlerStyle,l=o.width,c=(0,a.get)(s,"width",u.DEFAULT_HANDLER_WIDTH),f=t[0],d=t[1],p=!1;f>d&&(f=(r=[d,f])[0],d=r[1],e=(i=[n,e])[0],n=i[1],p=!0);var h=e.getBBox(),g=n.getBBox(),v=h.width>f-2?{x:f+c/2+2,textAlign:"left"}:{x:f-c/2-2,textAlign:"right"},y=g.width>l-d-2?{x:d-c/2-2,textAlign:"right"}:{x:d+c/2+2,textAlign:"left"};return p?[y,v]:[v,y]},e.prototype.draw=function(){var t=this.get("container"),e=t&&t.get("canvas");e&&e.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e}(o.default);e.Slider=c,e.default=c},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Trend=void 0;var i=n(1),a=r(n(41)),o=n(890),s=n(891),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:o.BACKGROUND_STYLE,lineStyle:o.LINE_STYLE,areaStyle:o.AREA_STYLE})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,a=e.data,o=e.smooth,l=e.isArea,u=e.backgroundStyle,c=e.lineStyle,f=e.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:(0,i.__assign)({x:0,y:0,width:n,height:r},u)});var d=(0,s.dataToPath)(a,n,r,o);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:(0,i.__assign)({path:d},c)}),l){var p=(0,s.linePathToAreaPath)(d,n,r,a);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:(0,i.__assign)({path:p},f)})}},e.prototype.applyOffset=function(){var t=this.cfg,e=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:e,y:n})},e}(a.default);e.Trend=l,e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LINE_STYLE=e.BACKGROUND_STYLE=e.AREA_STYLE=void 0,e.BACKGROUND_STYLE={opacity:0},e.LINE_STYLE={stroke:"#C5C5C5",strokeOpacity:.85},e.AREA_STYLE={fill:"#CACED4",opacity:.85}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dataToPath=function(t,e,n,r){void 0===r&&(r=!0);var i=new a.Linear({values:t}),u=new a.Category({values:(0,o.map)(t,function(t,e){return e})}),c=(0,o.map)(t,function(t,r){return[u.scale(r)*e,n-i.scale(t)*n]});return r?l(c):s(c)},e.getAreaLineY=u,e.getLinePath=s,e.getSmoothLinePath=l,e.linePathToAreaPath=function(t,e,n,i){var a=(0,r.__spreadArrays)(t),o=u(i,n);return a.push(["L",e,o]),a.push(["L",0,o]),a.push(["Z"]),a};var r=n(1),i=n(88),a=n(66),o=n(0);function s(t){return(0,o.map)(t,function(t,e){return[0===e?"M":"L",t[0],t[1]]})}function l(t){if(t.length<=2)return s(t);var e=[];(0,o.each)(t,function(t){(0,o.isEqual)(t,e.slice(e.length-2))||e.push(t[0],t[1])});var n=(0,i.catmullRom2Bezier)(e,!1),r=(0,o.head)(t),a=r[0],l=r[1];return n.unshift(["M",a,l]),n}function u(t,e){var n=new a.Linear({values:t}),r=n.max<0?n.max:Math.max(0,n.min);return e-n.scale(r)*e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Handler=e.DEFAULT_HANDLER_STYLE=void 0;var i=n(1),a=r(n(41)),o={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"};e.DEFAULT_HANDLER_STYLE=o;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"handler",x:0,y:0,width:10,height:24,style:o})},e.prototype.renderInner=function(t){var e=this.cfg,n=e.width,r=e.height,i=e.style,a=i.fill,o=i.stroke,s=i.radius,l=i.opacity,u=i.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:r,fill:a,stroke:o,radius:s,opacity:l,cursor:u}});var c=1/3*n,f=2/3*n,d=1/4*r,p=3/4*r;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:c,y1:d,x2:c,y2:p,stroke:o,cursor:u}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:f,y1:d,x2:f,y2:p,stroke:o,cursor:u}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var e=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",e),t.draw()}),this.get("group").on("mouseleave",function(){var e=t.get("style").fill;t.getElementByLocalId("background").attr("fill",e),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(a.default);e.Handler=s,e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEXT_STYLE=e.SLIDER_CHANGE=e.HANDLER_STYLE=e.FOREGROUND_STYLE=e.DEFAULT_HANDLER_WIDTH=e.BACKGROUND_STYLE=void 0,e.BACKGROUND_STYLE={fill:"#416180",opacity:.05},e.FOREGROUND_STYLE={fill:"#5B8FF9",opacity:.15,cursor:"move"},e.DEFAULT_HANDLER_WIDTH=10,e.HANDLER_STYLE={width:10,height:24},e.TEXT_STYLE={textBaseline:"middle",fill:"#000",opacity:.45},e.SLIDER_CHANGE="sliderchange"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(895);Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))})},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbar=e.DEFAULT_THEME=void 0;var i=n(1),a=n(96),o=n(0),s=r(n(41)),l={default:{trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},hover:{thumbColor:"rgba(0,0,0,0.2)"}};e.DEFAULT_THEME=l;var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clearEvents=o.noop,e.onStartEvent=function(t){return function(n){e.isMobile=t,n.originalEvent.preventDefault();var r=t?(0,o.get)(n.originalEvent,"touches.0.clientX"):n.clientX,i=t?(0,o.get)(n.originalEvent,"touches.0.clientY"):n.clientY;e.startPos=e.cfg.isHorizontal?r:i,e.bindLaterEvent()}},e.bindLaterEvent=function(){var t=e.getContainerDOM(),n=[];n=e.isMobile?[(0,a.addEventListener)(t,"touchmove",e.onMouseMove),(0,a.addEventListener)(t,"touchend",e.onMouseUp),(0,a.addEventListener)(t,"touchcancel",e.onMouseUp)]:[(0,a.addEventListener)(t,"mousemove",e.onMouseMove),(0,a.addEventListener)(t,"mouseup",e.onMouseUp),(0,a.addEventListener)(t,"mouseleave",e.onMouseUp)],e.clearEvents=function(){n.forEach(function(t){t.remove()})}},e.onMouseMove=function(t){var n=e.cfg,r=n.isHorizontal,i=n.thumbOffset;t.preventDefault();var a=e.isMobile?(0,o.get)(t,"touches.0.clientX"):t.clientX,s=e.isMobile?(0,o.get)(t,"touches.0.clientY"):t.clientY,l=r?a:s,u=l-e.startPos;e.startPos=l,e.updateThumbOffset(i+u)},e.onMouseUp=function(t){t.preventDefault(),e.clearEvents()},e.onTrackClick=function(t){var n=e.cfg,r=n.isHorizontal,i=n.x,a=n.y,o=n.thumbLen,s=e.getContainerDOM().getBoundingClientRect(),l=t.clientX,u=t.clientY,c=r?l-s.left-i-o/2:u-s.top-a-o/2,f=e.validateRange(c);e.updateThumbOffset(f)},e.onThumbMouseOver=function(){var t=e.cfg.theme.hover.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e.onThumbMouseOut=function(){var t=e.cfg.theme.default.thumbColor;e.getElementByLocalId("thumb").attr("stroke",t),e.draw()},e}return(0,i.__extends)(e,t),e.prototype.setRange=function(t,e){this.set("minLimit",t),this.set("maxLimit",e);var n=this.getValue(),r=(0,o.clamp)(n,t,e);n===r||this.get("isInit")||this.setValue(r)},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var e=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*(0,o.clamp)(t,e.min,e.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return(0,o.clamp)(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return(0,i.__assign)((0,i.__assign)({},e),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:l})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var e=this.cfg,n=e.trackLen,r=e.theme,i=(0,o.deepMix)({},l,void 0===r?{default:{}}:r).default,a=i.lineCap,s=i.trackColor,u=i.size,c=(0,o.get)(this.cfg,"size",u),f=this.get("isHorizontal")?{x1:0+c/2,y1:c/2,x2:n-c/2,y2:c/2,lineWidth:c,stroke:s,lineCap:a}:{x1:c/2,y1:0+c/2,x2:c/2,y2:n-c/2,lineWidth:c,stroke:s,lineCap:a};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:f})},e.prototype.renderThumbShape=function(t){var e=this.cfg,n=e.thumbOffset,r=e.thumbLen,i=e.theme,a=(0,o.deepMix)({},l,i).default,s=a.size,u=a.lineCap,c=a.thumbColor,f=(0,o.get)(this.cfg,"size",s),d=this.get("isHorizontal")?{x1:n+f/2,y1:f/2,x2:n+r-f/2,y2:f/2,lineWidth:f,stroke:c,lineCap:u,cursor:"default"}:{x1:f/2,y1:n+f/2,x2:f/2,y2:n+r-f/2,lineWidth:f,stroke:c,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:d})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp),t.findById(this.getElementId("track")).on("click",this.onTrackClick);var e=t.findById(this.getElementId("thumb"));e.on("mouseover",this.onThumbMouseOver),e.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),e=t&&t.get("canvas");return e&&e.get("container")},e.prototype.validateRange=function(t){var e=this.cfg,n=e.thumbLen,r=e.trackLen,i=t;return t+n>r?i=r-n:t+n=u-c&&f<=u+c},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a,o,s,l,u,c,f=this.attr(),d=i/2,p=f.x,h=f.y,g=f.rx,v=f.ry,y=(t-p)*(t-p),m=(e-h)*(e-h);return r&&n?1>=y/((a=g+d)*a)+m/((o=v+d)*o):r?1>=y/(g*g)+m/(v*v):!!n&&y/((s=g-d)*s)+m/((l=v-d)*l)>=1&&1>=y/((u=g+d)*u)+m/((c=v+d)*c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,a,0,0,2*Math.PI,!1);else{var o=i>a?i:a,s=i>a?1:i/a,l=i>a?a/i:1;t.save(),t.translate(n,r),t.scale(s,l),t.arc(0,0,o,0,2*Math.PI),t.restore(),t.closePath()}},e}(n(71).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(51);function o(t){return t instanceof HTMLElement&&a.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(a.isString(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):o(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,t.getAttribute("height")))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var e=this.attr(),n=e.x,r=e.y,i=e.width,s=e.height,l=e.sx,u=e.sy,c=e.swidth,f=e.sheight,d=e.img;(d instanceof Image||o(d))&&(a.isNil(l)||a.isNil(u)||a.isNil(c)||a.isNil(f)?t.drawImage(d,n,r,i,s):t.drawImage(d,l,u,c,f,n,r,i,s))},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(71),o=n(183),s=n(182),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,a=t.startArrow,o=t.endArrow;a&&s.addStartArrow(this,t,r,i,e,n),o&&s.addEndArrow(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var a=this.attr(),s=a.x1,l=a.y1,u=a.x2,c=a.y2;return o.default(s,l,u,c,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.startArrow,l=e.endArrow,u={dx:0,dy:0},c={dx:0,dy:0};o&&o.d&&(u=s.getShortenOffset(n,r,i,a,e.startArrow.d)),l&&l.d&&(c=s.getShortenOffset(n,r,i,a,e.endArrow.d)),t.beginPath(),t.moveTo(n+u.dx,r+u.dy),t.lineTo(i-c.dx,a-c.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,a=t.y2;return i.Line.length(e,n,r,a)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,a=e.x2,o=e.y2;return i.Line.pointAt(n,r,a,o,t)},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(88),o=n(71),s=n(51),l=n(144),u={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return i.isNil(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,l=r.symbol||"circle",u=this._getR(r);if(s.isFunction(l))n=(t=l)(i,o,u),n=a.path2Absolute(n);else{if(!(t=e.Symbols[l]))return console.warn(l+" marker is not supported."),null;n=t(i,o,u)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");l.drawPath(this,t,{path:e},n)},e.Symbols=u,e}(o.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(0),o=n(71),s=n(88),l=n(144),u=n(439),c=n(440),f=n(906),d=n(182);function p(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var s=o[n];if(a.isNil(s)||a.isNil(n))return null;var l=s.length,u=o[n+1];return i.Cubic.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",f.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r=0,o=0,s=[],l=this.get("curve");if(l){if(a.each(l,function(t,a){e=l[a+1],n=t.length,e&&(r+=i.Cubic.length(t[n-2],t[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0)}),this.set("totalLength",r),0===r){this.set("tCache",[]);return}a.each(l,function(a,u){e=l[u+1],n=a.length,e&&((t=[])[0]=o/r,o+=i.Cubic.length(a[n-2],a[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0,t[1]=o/r,s.push(t))}),this.set("tCache",s)}},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,a=e[n-1].endTangent;t=[],a?(t.push([i[0]-a[0],i[1]-a[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(o.default);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(38),o=n(38),s=n(32),l=n(171),u=n(51),c=n(183),f=n(441),d=s.ext.transform;e.default=r.__assign({hasArc:function(t){for(var e=!1,n=t.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var s=!1,p=e/2,h=0;hM?P:M,T=d(null,[["t",-_,-O],["r",-w],["s",1/(P>M?1:P/M),1/(P>M?M/P:1)]]);l.transformMat3(E,E,T),s=f.default(0,0,C,A,S,e,E[0],E[1])}if(s)break}}return s}},i.PathUtil)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(442),o=n(440),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var s=this.attr().points,l=!1;return n&&(l=a.default(s,i,t,e,!0)),!l&&r&&(l=o.default(s,t,e)),l},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),i.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,a=[];o.each(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=i.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,a.push(t))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(s.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(437),o=n(51),s=n(910),l=n(911),u=n(439),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),c=a.x,f=a.y,d=a.width,p=a.height,h=a.radius;if(h){var g=!1;return n&&(g=l.default(c,f,d,p,h,i,t,e)),!g&&r&&(g=u.default(this,t,e)),g}var v=i/2;return r&&n?o.inBox(c-v,f-v,d+v,p+v,t,e):r?o.inBox(c,f,d,p,t,e):n?s.default(c,f,d,p,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,r,i,o);else{var l=a.parseRadius(s),u=l[0],c=l[1],f=l[2],d=l[3];t.moveTo(n+u,r),t.lineTo(n+i-c,r),0!==c&&t.arc(n+i-c,r+c,c,-Math.PI/2,0),t.lineTo(n+i,r+o-f),0!==f&&t.arc(n+i-f,r+o-f,f,0,Math.PI/2),t.lineTo(n+d,r+o),0!==d&&t.arc(n+d,r+o-d,d,Math.PI/2,Math.PI),t.lineTo(n,r+u),0!==u&&t.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),t.closePath()}},e}(i.default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51);e.default=function(t,e,n,i,a,o,s){var l=a/2;return r.inBox(t-l,e-l,n,a,o,s)||r.inBox(t+n-l,e-l,a,i,o,s)||r.inBox(t+l,e+i-l,n,a,o,s)||r.inBox(t-l,e+l,a,i,o,s)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(183),i=n(441);e.default=function(t,e,n,a,o,s,l,u){return r.default(t+o,e,t+n-o,e,s,l,u)||r.default(t+n,e+o,t+n,e+a-o,s,l,u)||r.default(t+n-o,e+a,t+o,e+a,s,l,u)||r.default(t,e+a-o,t,e+o,s,l,u)||i.default(t+n-o,e+o,o,1.5*Math.PI,2*Math.PI,s,l,u)||i.default(t+n-o,e+a-o,o,0,.5*Math.PI,s,l,u)||i.default(t+o,e+a-o,o,.5*Math.PI,Math.PI,s,l,u)||i.default(t+o,e+o,o,Math.PI,1.5*Math.PI,s,l,u)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(71),a=n(51),o=n(26),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=o.assembleFont(t)},e.prototype._setText=function(t){var e=null;a.isString(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,s=i.textBaseline,l=i.x,u=i.y,c=1*i.fontSize,f=this._getSpaceingY(),d=o.getTextHeight(i.text,i.fontSize,i.lineHeight);a.each(e,function(e,i){r=u+i*(f+c)-d+c,"middle"===s&&(r+=d-c-(d-c)/2),"top"===s&&(r+=d-c),a.isNil(e)||(n?t.fillText(e,l,r):t.strokeText(e,l,r))})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var s=n.text;a.isNil(s)||(e?t.fillText(s,r,i):t.strokeText(s,r,i))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(a.isNil(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(a.isNil(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(i.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(914),o=n(143),s=n(260),l=n(51),u=n(144),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){("attr"===t||"sort"===t||"changeSize"===t)&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return o},e.prototype.getGroupBase=function(){return s.default},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||l.getPixelRatio();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),a=this.getPixelRatio();i.width=a*e,i.height=a*n,a>1&&r.scale(a,a)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?a.getShape(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=u.getMergedRegion(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=u.mergeView(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(l.clearAnimationFrame(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),u.applyAttrsToContext(t,this),u.drawChildren(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),u.applyAttrsToContext(t,this),u.checkRefresh(this,n,r),u.drawChildren(t,n,r),t.restore()):e.length&&u.clearChanged(e),l.each(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=l.requestAnimationFrame(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(i.AbstractCanvas);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShape=void 0;var r=n(26);function i(t,e,n){var i=t.getTotalMatrix();if(i){var a=function(t,e){if(e){var n=r.invert(e);return r.multiplyVec2(n,t)}return t}([e,n,1],i);return[a[0],a[1]]}return[e,n]}function a(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!r.isAllowCapture(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var a=i(t,e,n),o=a[0],s=a[1];if(t.isClipped(o,s))return!1}var l=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=l.minX&&e<=l.maxX&&n>=l.minY&&n<=l.maxY}e.getShape=function t(e,n,r){if(!a(e,n,r))return null;for(var o=null,s=e.getChildren(),l=s.length,u=l-1;u>=0;u--){var c=s[u];if(c.isGroup())o=t(c,n,r);else if(a(c,n,r)){var f=i(c,n,r),d=f[0],p=f[1];c.isInShape(d,p)&&(o=c)}if(o)break}return o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(i.each(e||n,function(t,e){a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)}),"function"==typeof n.html){var o=n.html.call(this,n);if(o instanceof Element||o instanceof HTMLDocument){for(var s=r.childNodes,l=s.length-1;l>=0;l--)r.removeChild(s[l]);r.appendChild(o)}else r.innerHTML=o}else r.innerHTML=n.html},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el");i.each(e||r,function(t,e){"img"===e?n._setImage(r.img):a.SVG_ATTR_MAP[e]&&o.setAttribute(a.SVG_ATTR_MAP[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(i.isString(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&i.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(0),o=n(52),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");a.each(e||n,function(e,i){if("startArrow"===i||"endArrow"===i){if(e){var s=a.isObject(e)?t.addArrow(n,o.SVG_ATTR_MAP[i]):t.getDefaultArrow(n,o.SVG_ATTR_MAP[i]);r.setAttribute(o.SVG_ATTR_MAP[i],"url(#"+s+")")}else r.removeAttribute(o.SVG_ATTR_MAP[i])}else o.SVG_ATTR_MAP[i]&&r.setAttribute(o.SVG_ATTR_MAP[i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,a=t.y2;return i.Line.length(e,n,r,a)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,a=e.x2,o=e.y2;return i.Line.pointAt(n,r,a,o,t)},e}(n(62).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(62),o=n(921),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return i.isArray(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,a=e.r||e.radius,s=e.symbol||"circle";return(t=i.isFunction(s)?s:o.default.get(s))?t(n,r,a):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=o.default,e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,-(2*n),0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}};e.default={get:function(t){return r[t]},register:function(t,e){r[t]=e},remove:function(t){delete r[t]},getAll:function(){return r}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),o=this.get("el");i.each(e||r,function(e,s){if("path"===s&&i.isArray(e))o.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s){if(e){var l=i.isObject(e)?t.addArrow(r,a.SVG_ATTR_MAP[s]):t.getDefaultArrow(r,a.SVG_ATTR_MAP[s]);o.setAttribute(a.SVG_ATTR_MAP[s],"url(#"+l+")")}else o.removeAttribute(a.SVG_ATTR_MAP[s])}else a.SVG_ATTR_MAP[s]&&o.setAttribute(a.SVG_ATTR_MAP[s],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(52),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");i.each(e||n,function(t,e){"points"===e&&i.isArray(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):a.SVG_ATTR_MAP[e]&&r.setAttribute(a.SVG_ATTR_MAP[e],t)})},e}(n(62).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(38),a=n(38),o=n(0),s=n(52),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");o.each(e||n,function(t,e){"points"===e&&o.isArray(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):s.SVG_ATTR_MAP[e]&&r.setAttribute(s.SVG_ATTR_MAP[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return o.isNil(e)?(this.set("totalLength",i.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),o.each(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),a.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];o.each(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=a.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(n(62).default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(62),o=n(52),s=n(926),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el"),s=!1,l=["x","y","width","height","radius"];i.each(e||r,function(t,e){-1===l.indexOf(e)||s?-1===l.indexOf(e)&&o.SVG_ATTR_MAP[e]&&a.setAttribute(o.SVG_ATTR_MAP[e],t):(a.setAttribute("d",n._assembleRect(r)),s=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,a=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+a+" l"+-r+" 0 z";var l=s.parseRadius(o);return i.isArray(o)?1===o.length?l.r1=l.r2=l.r3=l.r4=o[0]:2===o.length?(l.r1=l.r3=o[0],l.r2=l.r4=o[1]):3===o.length?(l.r1=o[0],l.r2=l.r4=o[1],l.r3=o[2]):(l.r1=o[0],l.r2=o[1],l.r3=o[2],l.r4=o[3]):l.r1=l.r2=l.r3=l.r4=o,[["M "+(e+l.r1)+","+n],["l "+(r-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(a-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-r)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-a)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]].join(" ")},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=e.parseRadius=void 0;var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi;e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return r.isArray(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,{r1:e,r2:n,r3:i,r4:a}},e.parsePath=function(t){return(t=t||[],r.isArray(t))?t:r.isString(t)?(t=t.match(i),r.each(t,function(e,n){if((e=e.match(a))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}r.each(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(242),o=n(145),s=n(52),l=n(62),u={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},c={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},f={left:"left",start:"left",center:"middle",right:"end",end:"end"},d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return r.__extends(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),a=this.get("el");this._setFont(),i.each(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?o.setTransform(n):s.SVG_ATTR_MAP[e]&&a.setAttribute(s.SVG_ATTR_MAP[e],t)}),a.setAttribute("paint-order","stroke"),a.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=a.detect();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",c[n]||"alphabetic"):t.setAttribute("alignment-baseline",u[n]||"baseline"),t.setAttribute("text-anchor",f[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,a=n.textBaseline,o=void 0===a?"bottom":a;if(t){if(~t.indexOf("\n")){var s=t.split("\n"),l=s.length-1,u="";i.each(s,function(t,e){0===e?"alphabetic"===o?u+=''+t+"":"top"===o?u+=''+t+"":"middle"===o?u+=''+t+"":"bottom"===o?u+=''+t+"":"hanging"===o&&(u+=''+t+""):u+=''+t+""}),e.innerHTML=u}else e.innerHTML=t}else e.innerHTML=""},e}(l.default);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(26),a=n(52),o=n(261),s=n(145),l=n(72),u=n(184),c=n(262),f=n(929),d=function(t){function e(e){return t.call(this,r.__assign(r.__assign({},e),{autoDraw:!0,renderer:"svg"}))||this}return r.__extends(e,t),e.prototype.getShapeBase=function(){return u},e.prototype.getGroupBase=function(){return c.default},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!a.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!a.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find(function(t){return t.get("el")===r})},e.prototype.createDom=function(){var t=l.createSVGElement("svg"),e=new f.default(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&l.sortDom(this,function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0})}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?s.setTransform(this):"clip"===t?s.setClip(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();s.setClip(this,t),e.length&&o.drawChildren(t,e)},e}(i.AbstractCanvas);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(930),a=n(931),o=n(932),s=n(933),l=n(934),u=n(72),c=function(){function t(t){var e=u.createSVGElement("defs"),n=r.uniqueId("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i'}),n}var u=function(){function t(t){this.cfg={};var e,n,s,u,c,f,d,p,h,g,v,y,m,b,x,_,O=null,P=r.uniqueId("gradient_");return"l"===t.toLowerCase()[0]?(e=O=i.createSVGElement("linearGradient"),u=a.exec(t),c=r.mod(r.toRadian(parseFloat(u[1])),2*Math.PI),f=u[2],c>=0&&c<.5*Math.PI?(n={x:0,y:0},s={x:1,y:1}):.5*Math.PI<=c&&c';e.innerHTML=n},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=function(){function t(t,e){this.cfg={};var n=i.createSVGElement("marker"),a=r.uniqueId("marker_");n.setAttribute("id",a);var o=i.createSVGElement("path");o.setAttribute("stroke",t.stroke||"none"),o.setAttribute("fill",t.fill||"none"),n.appendChild(o),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=o,this.id=a;var s=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===s?this._setDefaultPath(e,o):(this.cfg=s,this._setMarker(t.lineWidth,o)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,a=this.cfg.d;r.isArray(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),a&&n.setAttribute("refX",""+a/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=function(){function t(t){this.type="clip",this.cfg={};var e=i.createSVGElement("clipPath");this.el=e,this.id=r.uniqueId("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(72),a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,o=function(){function t(t){this.cfg={};var e=i.createSVGElement("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=i.createSVGElement("image");e.appendChild(n);var o=r.uniqueId("pattern_");e.id=o,this.el=e,this.id=o,this.cfg=t;var s=a.exec(t)[2];n.setAttribute("href",s);var l=new Image;function u(){e.setAttribute("width",""+l.width),e.setAttribute("height",""+l.height)}return s.match(/^data:/i)||(l.crossOrigin="Anonymous"),l.src=s,l.complete?u():(l.onload=u,l.src=l.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(443),s=n(160),l=function(t){function e(e){var n=this,l=e.container,u=e.width,c=e.height,f=e.autoFit,d=void 0!==f&&f,p=e.padding,h=e.appendPadding,g=e.renderer,v=void 0===g?"canvas":g,y=e.pixelRatio,m=e.localRefresh,b=void 0===m||m,x=e.visible,_=e.supportCSSTransform,O=e.defaultInteractions,P=void 0===O?["tooltip","legend-filter","legend-active","continuous-filter","ellipsis-text"]:O,M=e.options,A=e.limitInPlot,S=e.theme,w=e.syncViewPadding,E=(0,i.isString)(l)?document.getElementById(l):l,C=(0,s.createDom)('
      ');E.appendChild(C);var T=(0,s.getChartSize)(E,d,u,c),I=new((0,o.getEngine)(v)).Canvas((0,r.__assign)({container:C,pixelRatio:y,localRefresh:b,supportCSSTransform:void 0!==_&&_},T));return(n=t.call(this,{parent:null,canvas:I,backgroundGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.BG}),middleGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.MID}),foregroundGroup:I.addGroup({zIndex:a.GROUP_Z_INDEX.FORE}),padding:p,appendPadding:h,visible:void 0===x||x,options:M,limitInPlot:A,theme:S,syncViewPadding:w})||this).onResize=(0,i.debounce)(function(){n.forceFit()},300),n.ele=E,n.canvas=I,n.width=T.width,n.height=T.height,n.autoFit=d,n.localRefresh=b,n.renderer=v,n.wrapperElement=C,n.updateCanvasStyle(),n.bindAutoFit(),n.initDefaultInteractions(P),n}return(0,r.__extends)(e,t),e.prototype.initDefaultInteractions=function(t){var e=this;(0,i.each)(t,function(t){e.interaction(t)})},e.prototype.aria=function(t){var e="aria-label";!1===t?this.ele.removeAttribute(e):this.ele.setAttribute(e,t.label)},e.prototype.changeSize=function(t,e){return this.width===t&&this.height===e||(this.emit(a.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE),this.width=t,this.height=e,this.canvas.changeSize(t,e),this.render(!0),this.emit(a.VIEW_LIFE_CIRCLE.AFTER_CHANGE_SIZE)),this},e.prototype.clear=function(){t.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),(0,s.removeDom)(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(e){return t.prototype.changeVisible.call(this,e),this.wrapperElement.style.display=e?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=(0,s.getChartSize)(this.ele,!0,this.width,this.height),e=t.width,n=t.height;this.changeSize(e,n)}},e.prototype.updateCanvasStyle=function(){(0,s.modifyCSS)(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}((0,r.__importDefault)(n(444)).default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseAction=void 0;var r=n(1),i=n(0),a=n(203),o=(0,r.__importDefault)(n(938)),s=(0,r.__importDefault)(n(445));function l(t,e,n){var r=t.split(":"),i=r[0],o=e.getAction(i)||(0,a.createAction)(i,e);if(!o)throw Error("There is no action named "+i);return{action:o,methodName:r[1],arg:n}}function u(t){var e=t.action,n=t.methodName,r=t.arg;if(e[n])e[n](r);else throw Error("Action("+e.name+") doesn't have a method called "+n)}e.parseAction=l;var c={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},f=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.callbackCaches={},r.emitCaches={},r.steps=n,r}return(0,r.__extends)(e,t),e.prototype.init=function(){this.initContext(),t.prototype.init.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;(0,i.each)(this.steps,function(e,n){(0,i.each)(e,function(e){var r=t.getActionCallback(n,e);r&&t.bindEvent(e.trigger,r)})})},e.prototype.clearEvents=function(){var t=this;(0,i.each)(this.steps,function(e,n){(0,i.each)(e,function(e){var r=t.getActionCallback(n,e);r&&t.offEvent(e.trigger,r)})})},e.prototype.initContext=function(){var t=this.view,e=new o.default(t);this.context=e;var n=this.steps;(0,i.each)(n,function(t){(0,i.each)(t,function(t){if((0,i.isFunction)(t.action))t.actionObject={action:(0,a.createCallbackAction)(t.action,e),methodName:"execute"};else if((0,i.isString)(t.action))t.actionObject=l(t.action,e,t.arg);else if((0,i.isArray)(t.action)){var n=t.action,r=(0,i.isArray)(t.arg)?t.arg:[t.arg];t.actionObject=[],(0,i.each)(n,function(n,i){t.actionObject.push(l(n,e,r[i]))})}})})},e.prototype.isAllowStep=function(t){var e=this.currentStepName,n=this.steps;if(e===t||t===c.SHOW_ENABLE)return!0;if(t===c.PROCESSING)return e===c.START;if(t===c.START)return e!==c.PROCESSING;if(t===c.END)return e===c.PROCESSING||e===c.START;if(t===c.ROLLBACK){if(n[c.END])return e===c.END;if(e===c.START)return!0}return!1},e.prototype.isAllowExecute=function(t,e){if(this.isAllowStep(t)){var n=this.getKey(t,e);return(!e.once||!this.emitCaches[n])&&(!e.isEnable||e.isEnable(this.context))}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,e){t!==c.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,e);this.emitCaches[n]=!0},e.prototype.getKey=function(t,e){return t+e.trigger+e.action},e.prototype.getActionCallback=function(t,e){var n=this,r=this.context,a=this.callbackCaches,o=e.actionObject;if(e.action&&o){var s=this.getKey(t,e);if(!a[s]){var l=function(a){r.event=a,n.isAllowExecute(t,e)?((0,i.isArray)(o)?(0,i.each)(o,function(t){r.event=a,u(t)}):(r.event=a,u(o)),n.afterExecute(t,e),e.callback&&(r.event=a,e.callback(r))):r.event=null};e.debounce?a[s]=(0,i.debounce)(l,e.debounce.wait,e.debounce.immediate):e.throttle?a[s]=(0,i.throttle)(l,e.throttle.wait,{leading:e.throttle.leading,trailing:e.throttle.trailing}):a[s]=l}return a[s]}return null},e.prototype.bindEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.addEventListener(n[1],e):"document"===n[0]?document.addEventListener(n[1],e):this.view.on(t,e)},e.prototype.offEvent=function(t,e){var n=t.split(":");"window"===n[0]?window.removeEventListener(n[1],e):"document"===n[0]?document.removeEventListener(n[1],e):this.view.off(t,e)},e}(s.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.callback=null},e}((0,r.__importDefault)(n(44)).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(31),a=function(){function t(t){this.actions=[],this.event=null,this.cacheMap={},this.view=t}return t.prototype.cache=function(){for(var t=[],e=0;e=0&&e.splice(n,1)},t.prototype.getCurrentPoint=function(){var t=this.event;return t?t.target instanceof HTMLElement?this.view.getCanvas().getPointByClient(t.clientX,t.clientY):{x:t.x,y:t.y}:null},t.prototype.getCurrentShape=function(){return(0,r.get)(this.event,["gEvent","shape"])},t.prototype.isInPlot=function(){var t=this.getCurrentPoint();return!!t&&this.view.isPointInPlot(t)},t.prototype.isInShape=function(t){var e=this.getCurrentShape();return!!e&&e.get("name")===t},t.prototype.isInComponent=function(t){var e=(0,i.getComponents)(this.view),n=this.getCurrentPoint();return!!n&&!!e.find(function(e){var r=e.getBBox();return t?e.get("name")===t&&(0,i.isInBox)(r,n):(0,i.isInBox)(r,n)})},t.prototype.destroy=function(){(0,r.each)(this.actions.slice(),function(t){t.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createTheme=void 0;var r=n(1),i=n(0),a=n(106),o=n(161);e.createTheme=function(t){var e=t.styleSheet,n=(0,r.__rest)(t,["styleSheet"]),s=(0,o.createLightStyleSheet)(void 0===e?{}:e);return(0,i.deepMix)({},(0,a.createThemeByStyleSheet)(s),n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(69),o=function(){function t(t){this.option=this.wrapperOption(t)}return t.prototype.update=function(t){return this.option=this.wrapperOption(t),this},t.prototype.hasAction=function(t){var e=this.option.actions;return(0,i.some)(e,function(e){return e[0]===t})},t.prototype.create=function(t,e){var n=this.option,i=n.type,o=n.cfg,s="theta"===i,l=(0,r.__assign)({start:t,end:e},o),u=(0,a.getCoordinate)(s?"polar":i);return this.coordinate=new u(l),this.coordinate.type=i,s&&!this.hasAction("transpose")&&this.transpose(),this.execActions(),this.coordinate},t.prototype.adjust=function(t,e){return this.coordinate.update({start:t,end:e}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},t.prototype.rotate=function(t){return this.option.actions.push(["rotate",t]),this},t.prototype.reflect=function(t){return this.option.actions.push(["reflect",t]),this},t.prototype.scale=function(t,e){return this.option.actions.push(["scale",t,e]),this},t.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},t.prototype.getOption=function(){return this.option},t.prototype.getCoordinate=function(){return this.coordinate},t.prototype.wrapperOption=function(t){return(0,r.__assign)({type:"rect",actions:[],cfg:{}},t)},t.prototype.execActions=function(t){var e=this,n=this.option.actions;(0,i.each)(n,function(n){var r,a=n[0],o=n.slice(1);((0,i.isNil)(t)||t.includes(a))&&(r=e.coordinate)[a].apply(r,o)})},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getController("axis"),n=t.getController("legend"),r=t.getController("annotation");[e,t.getController("slider"),t.getController("scrollbar"),n,r].forEach(function(t){t&&t.layout()})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScalePool=void 0;var r=n(0),i=n(111),a=function(){function t(){this.scales=new Map,this.syncScales=new Map}return t.prototype.createScale=function(t,e,n,a){var o=n,s=this.getScaleMeta(a);if(0===e.length&&s){var l=s.scale,u={type:l.type};l.isCategory&&(u.values=l.values),o=(0,r.deepMix)(u,s.scaleDef,n)}var c=(0,i.createScaleByField)(t,e,o);return this.cacheScale(c,n,a),c},t.prototype.sync=function(t,e){var n=this;this.syncScales.forEach(function(a,o){var s=Number.MAX_SAFE_INTEGER,l=Number.MIN_SAFE_INTEGER,u=[];(0,r.each)(a,function(t){var e=n.getScale(t);l=(0,r.isNumber)(e.max)?Math.max(l,e.max):l,s=(0,r.isNumber)(e.min)?Math.min(s,e.min):s,(0,r.each)(e.values,function(t){u.includes(t)||u.push(t)})}),(0,r.each)(a,function(a){var o=n.getScale(a);if(o.isContinuous)o.change({min:s,max:l,values:u});else if(o.isCategory){var c=o.range,f=n.getScaleMeta(a);u&&!(0,r.get)(f,["scaleDef","range"])&&(c=(0,i.getDefaultCategoryScaleRange)((0,r.deepMix)({},o,{values:u}),t,e)),o.change({values:u,range:c})}})})},t.prototype.cacheScale=function(t,e,n){var r=this.getScaleMeta(n);r&&r.scale.type===t.type?((0,i.syncScale)(r.scale,t),r.scaleDef=e):(r={key:n,scale:t,scaleDef:e},this.scales.set(n,r));var a=this.getSyncKey(r);if(r.syncKey=a,this.removeFromSyncScales(n),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(n)}},t.prototype.getScale=function(t){var e=this.getScaleMeta(t);if(!e){var n=(0,r.last)(t.split("-")),i=this.syncScales.get(n);i&&i.length&&(e=this.getScaleMeta(i[0]))}return e&&e.scale},t.prototype.deleteScale=function(t){var e=this.getScaleMeta(t);if(e){var n=e.syncKey,r=this.syncScales.get(n);if(r&&r.length){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}}this.scales.delete(t)},t.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},t.prototype.removeFromSyncScales=function(t){var e=this;this.syncScales.forEach(function(n,r){var i=n.indexOf(t);if(-1!==i)return n.splice(i,1),0===n.length&&e.syncScales.delete(r),!1})},t.prototype.getSyncKey=function(t){var e=t.scale,n=t.scaleDef,i=e.field,a=(0,r.get)(n,["sync"]);return!0===a?i:!1===a?void 0:a},t.prototype.getScaleMeta=function(t){return this.scales.get(t)},t}();e.ScalePool=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calculatePadding=void 0;var r=n(1),i=n(0),a=n(21),o=n(80),s=n(267),l=n(448);e.calculatePadding=function(t){var e=t.padding;if(!(0,s.isAutoPadding)(e))return new(l.PaddingCal.bind.apply(l.PaddingCal,(0,r.__spreadArray)([void 0],(0,s.parsePadding)(e),!1)));var n=t.viewBBox,u=new l.PaddingCal,c=[],f=[],d=[];return(0,i.each)(t.getComponents(),function(t){var e=t.type;e===a.COMPONENT_TYPE.AXIS?c.push(t):[a.COMPONENT_TYPE.LEGEND,a.COMPONENT_TYPE.SLIDER,a.COMPONENT_TYPE.SCROLLBAR].includes(e)?f.push(t):e!==a.COMPONENT_TYPE.GRID&&e!==a.COMPONENT_TYPE.TOOLTIP&&d.push(t)}),(0,i.each)(c,function(t){var e=t.component.getLayoutBBox(),r=new o.BBox(e.x,e.y,e.width,e.height).exceed(n);u.max(r)}),(0,i.each)(f,function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=e.get("padding"),a=new o.BBox(r.x,r.y,r.width,r.height).expand(i);u.inc(a,n)}),(0,i.each)(d,function(t){var e=t.component,n=t.direction,r=e.getLayoutBBox(),i=new o.BBox(r.x,r.y,r.width,r.height);u.inc(i,n)}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultSyncViewPadding=void 0,e.defaultSyncViewPadding=function(t,e,n){var r=n.instance();e.forEach(function(t){t.autoPadding=r.max(t.autoPadding.getPadding())})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.group=void 0;var r=n(0);e.group=function(t,e,n){if(void 0===n&&(n={}),!e)return[t];var i=(0,r.groupToMap)(t,e),a=[];if(1===e.length&&n[e[0]])for(var o=n[e[0]],s=0;s=e.getCount()&&!t.destroyed&&e.add(t)})}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(222),i=n(167),a=n(162),o=n(320),s=n(223),l=n(321),u=n(322),c=n(224),f=n(25);Object(f.registerAnimation)("fade-in",r.fadeIn),Object(f.registerAnimation)("fade-out",r.fadeOut),Object(f.registerAnimation)("grow-in-x",i.growInX),Object(f.registerAnimation)("grow-in-xy",i.growInXY),Object(f.registerAnimation)("grow-in-y",i.growInY),Object(f.registerAnimation)("scale-in-x",s.scaleInX),Object(f.registerAnimation)("scale-in-y",s.scaleInY),Object(f.registerAnimation)("wave-in",u.waveIn),Object(f.registerAnimation)("zoom-in",c.zoomIn),Object(f.registerAnimation)("zoom-out",c.zoomOut),Object(f.registerAnimation)("position-update",o.positionUpdate),Object(f.registerAnimation)("sector-path-update",l.sectorPathUpdate),Object(f.registerAnimation)("path-in",a.pathIn)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doScaleAnimate=e.transformShape=void 0;var r=n(32);function i(t,e,n){var i,a=e[0],o=e[1];return t.applyToMatrix([a,o,1]),"x"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):"y"===n?(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):"xy"===n&&(t.setMatrix(r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),i=r.ext.transform(t.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),i}e.transformShape=i,e.doScaleAnimate=function(t,e,n,r,a){var o,s,l=n.start,u=n.end,c=n.getWidth(),f=n.getHeight();"y"===a?(o=l.x+c/2,s=r.yl.x?r.x:l.x,s=l.y+f/2):"xy"===a&&(n.isPolar?(o=n.getCenter().x,s=n.getCenter().y):(o=(l.x+u.x)/2,s=(l.y+u.y)/2));var d=i(t,[o,s],a);t.animate({matrix:d},e)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),s=a.x,l=a.y,u=a.r,c=i/2,f=(0,o.distance)(s,l,t,e);return r&&n?f<=u+c:r?f<=u:!!n&&f>=u-c&&f<=u+c},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(a.default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a,o,s,l,u,c,f=this.attr(),d=i/2,p=f.x,h=f.y,g=f.rx,v=f.ry,y=(t-p)*(t-p),m=(e-h)*(e-h);return r&&n?1>=y/((a=g+d)*a)+m/((o=v+d)*o):r?1>=y/(g*g)+m/(v*v):!!n&&y/((s=g-d)*s)+m/((l=v-d)*l)>=1&&1>=y/((u=g+d)*u)+m/((c=v+d)*c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,a=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,a,0,0,2*Math.PI,!1);else{var o=i>a?i:a,s=i>a?1:i/a,l=i>a?a/i:1;t.save(),t.translate(n,r),t.scale(s,l),t.arc(0,0,o,0,2*Math.PI),t.restore(),t.closePath()}},e}(r(n(73)).default);e.default=a},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53);function s(t){return t instanceof HTMLElement&&(0,o.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if((0,o.isString)(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):s(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,t.getAttribute("height")))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var e=this.attr(),n=e.x,r=e.y,i=e.width,a=e.height,l=e.sx,u=e.sy,c=e.swidth,f=e.sheight,d=e.img;(d instanceof Image||s(d))&&((0,o.isNil)(l)||(0,o.isNil)(u)||(0,o.isNil)(c)||(0,o.isNil)(f)?t.drawImage(d,n,r,i,a):t.drawImage(d,l,u,c,f,n,r,i,a))},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(38),s=r(n(73)),l=r(n(189)),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,a.__assign)((0,a.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,a=t.startArrow,o=t.endArrow;a&&u.addStartArrow(this,t,r,i,e,n),o&&u.addEndArrow(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var a=this.attr(),o=a.x1,s=a.y1,u=a.x2,c=a.y2;return(0,l.default)(o,s,u,c,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.startArrow,s=e.endArrow,l={dx:0,dy:0},c={dx:0,dy:0};o&&o.d&&(l=u.getShortenOffset(n,r,i,a,e.startArrow.d)),s&&s.d&&(c=u.getShortenOffset(n,r,i,a,e.endArrow.d)),t.beginPath(),t.moveTo(n+l.dx,r+l.dy),t.lineTo(i-c.dx,a-c.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return o.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,a=e.y2;return o.Line.pointAt(n,r,i,a,t)},e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(88),s=r(n(73)),l=n(53),u=n(148),c={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return(0,a.isNil)(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,a=r.y,s=r.symbol||"circle",u=this._getR(r);if((0,l.isFunction)(s))n=(t=s)(i,a,u),n=(0,o.path2Absolute)(n);else{if(!(t=e.Symbols[s]))return console.warn(s+" marker is not supported."),null;n=t(i,a,u)}return n},e.prototype.createPath=function(t){var e=this._getPath(),n=this.get("paramsCache");(0,u.drawPath)(this,t,{path:e},n)},e.Symbols=c,e}(s.default);e.default=f},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(38),s=n(0),l=r(n(73)),u=n(88),c=n(148),f=r(n(455)),d=r(n(456)),p=r(n(958)),h=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=g(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(188));function g(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(g=function(t){return t?n:e})(t)}function v(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var a=i[n];if((0,s.isNil)(a)||(0,s.isNil)(n))return null;var l=a.length,u=i[n+1];return o.Cubic.pointAt(a[l-2],a[l-1],u[1],u[2],u[3],u[4],u[5],u[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",p.default.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r=0,i=0,a=[],l=this.get("curve");if(l){if((0,s.each)(l,function(t,i){e=l[i+1],n=t.length,e&&(r+=o.Cubic.length(t[n-2],t[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0)}),this.set("totalLength",r),0===r){this.set("tCache",[]);return}(0,s.each)(l,function(s,u){e=l[u+1],n=s.length,e&&((t=[])[0]=i/r,i+=o.Cubic.length(s[n-2],s[n-1],e[1],e[2],e[3],e[4],e[5],e[6])||0,t[1]=i/r,a.push(t))}),this.set("tCache",a)}},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,a=e[n-1].endTangent;t=[],a?(t.push([i[0]-a[0],i[1]-a[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(l.default);e.default=y},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(38),l=n(32),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=p(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(171)),c=n(53),f=r(n(189)),d=r(n(457));function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(p=function(t){return t?n:e})(t)}var h=l.ext.transform,g=(0,a.__assign)({hasArc:function(t){for(var e=!1,n=t.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var a=!1,o=e/2,l=0;lP?O:P,C=h(null,[["t",-x,-_],["r",-S],["s",1/(O>P?1:O/P),1/(O>P?P/O:1)]]);u.transformMat3(w,w,C),a=(0,d.default)(0,0,E,M,A,e,w[0],w[1])}if(a)break}}return a}},o.PathUtil);e.default=g},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=r(n(458)),s=r(n(456)),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr().points,l=!1;return n&&(l=(0,o.default)(a,i,t,e,!0)),!l&&r&&(l=(0,s.default)(a,t,e)),l},e.prototype.createPath=function(t){var e=this.attr().points;if(!(e.length<2)){t.beginPath();for(var n=0;n=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),o.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];(0,s.each)(e,function(a,s){e[s+1]&&((t=[])[0]=r/n,r+=o.Line.length(a[0],a[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(l.default);e.default=d},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(453),s=n(53),l=r(n(962)),u=r(n(963)),c=r(n(455)),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var a=this.attr(),o=a.x,f=a.y,d=a.width,p=a.height,h=a.radius;if(h){var g=!1;return n&&(g=(0,u.default)(o,f,d,p,h,i,t,e)),!g&&r&&(g=(0,c.default)(this,t,e)),g}var v=i/2;return r&&n?(0,s.inBox)(o-v,f-v,d+v,p+v,t,e):r?(0,s.inBox)(o,f,d,p,t,e):n?(0,l.default)(o,f,d,p,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,a=e.height,s=e.radius;if(t.beginPath(),0===s)t.rect(n,r,i,a);else{var l=(0,o.parseRadius)(s),u=l[0],c=l[1],f=l[2],d=l[3];t.moveTo(n+u,r),t.lineTo(n+i-c,r),0!==c&&t.arc(n+i-c,r+c,c,-Math.PI/2,0),t.lineTo(n+i,r+a-f),0!==f&&t.arc(n+i-f,r+a-f,f,0,Math.PI/2),t.lineTo(n+d,r+a),0!==d&&t.arc(n+d,r+a-d,d,Math.PI/2,Math.PI),t.lineTo(n,r+u),0!==u&&t.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),t.closePath()}},e}(a.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i,a,o,s){var l=a/2;return(0,r.inBox)(t-l,e-l,n,a,o,s)||(0,r.inBox)(t+n-l,e-l,a,i,o,s)||(0,r.inBox)(t+l,e+i-l,n,a,o,s)||(0,r.inBox)(t-l,e+l,a,i,o,s)};var r=n(53)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o,s,l,u){return(0,i.default)(t+o,e,t+n-o,e,s,l,u)||(0,i.default)(t+n,e+o,t+n,e+r-o,s,l,u)||(0,i.default)(t+n-o,e+r,t+o,e+r,s,l,u)||(0,i.default)(t,e+r-o,t,e+o,s,l,u)||(0,a.default)(t+n-o,e+o,o,1.5*Math.PI,2*Math.PI,s,l,u)||(0,a.default)(t+n-o,e+r-o,o,0,.5*Math.PI,s,l,u)||(0,a.default)(t+o,e+r-o,o,.5*Math.PI,Math.PI,s,l,u)||(0,a.default)(t+o,e+o,o,Math.PI,1.5*Math.PI,s,l,u)};var i=r(n(189)),a=r(n(457))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=r(n(73)),o=n(53),s=n(26),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=(0,s.assembleFont)(t)},e.prototype._setText=function(t){var e=null;(0,o.isString)(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,a=i.textBaseline,l=i.x,u=i.y,c=1*i.fontSize,f=this._getSpaceingY(),d=(0,s.getTextHeight)(i.text,i.fontSize,i.lineHeight);(0,o.each)(e,function(e,i){r=u+i*(f+c)-d+c,"middle"===a&&(r+=d-c-(d-c)/2),"top"===a&&(r+=d-c),(0,o.isNil)(e)||(n?t.fillText(e,l,r):t.strokeText(e,l,r))})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,a=this.get("textArr");if(a)this._drawTextArr(t,a,e);else{var s=n.text;(0,o.isNil)(s)||(e?t.fillText(s,r,i):t.strokeText(s,r,i))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,a=e.fillOpacity;this.isStroke()&&n>0&&((0,o.isNil)(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&((0,o.isNil)(a)||1===a?this.fill(t):(t.globalAlpha=a,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(966),l=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=d(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(147)),u=r(n(273)),c=n(53),f=n(148);function d(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(d=function(t){return t?n:e})(t)}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){("attr"===t||"sort"===t||"changeSize"===t)&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return l},e.prototype.getGroupBase=function(){return u.default},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||(0,c.getPixelRatio)();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),a=this.getPixelRatio();i.width=a*e,i.height=a*n,a>1&&r.scale(a,a)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?(0,s.getShape)(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();return e.length&&e[0]===this?t=n:(t=(0,f.getMergedRegion)(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=(0,f.mergeView)(t,n))),t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&((0,c.clearAnimationFrame)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),(0,f.applyAttrsToContext)(t,this),(0,f.drawChildren)(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),(0,f.applyAttrsToContext)(t,this),(0,f.checkRefresh)(this,n,r),(0,f.drawChildren)(t,n,r),t.restore()):e.length&&(0,f.clearChanged)(e),(0,c.each)(e,function(t){t.get("hasChanged")&&t.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,e=this.get("drawFrame");e||(e=(0,c.requestAnimationFrame)(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(o.AbstractCanvas);e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShape=function t(e,n,r){if(!a(e,n,r))return null;for(var o=null,s=e.getChildren(),l=s.length,u=l-1;u>=0;u--){var c=s[u];if(c.isGroup())o=t(c,n,r);else if(a(c,n,r)){var f=i(c,n,r),d=f[0],p=f[1];c.isInShape(d,p)&&(o=c)}if(o)break}return o};var r=n(26);function i(t,e,n){var i=t.getTotalMatrix();if(i){var a=function(t,e){if(e){var n=(0,r.invert)(e);return(0,r.multiplyVec2)(n,t)}return t}([e,n,1],i);return[a[0],a[1]]}return[e,n]}function a(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!(0,r.isAllowCapture)(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var a=i(t,e,n),o=a[0],s=a[1];if(t.isClipped(o,s))return!1}var l=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=l.minX&&e<=l.maxX&&n>=l.minY&&n<=l.maxY}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if((0,a.each)(e||n,function(t,e){o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)}),"function"==typeof n.html){var i=n.html.call(this,n);if(i instanceof Element||i instanceof HTMLDocument){for(var s=r.childNodes,l=s.length-1;l>=0;l--)r.removeChild(s[l]);r.appendChild(i)}else r.innerHTML=i}else r.innerHTML=n.html},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");(0,a.each)(e||r,function(t,e){"img"===e?n._setImage(r.img):o.SVG_ATTR_MAP[e]&&i.setAttribute(o.SVG_ATTR_MAP[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if((0,a.isString)(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&(0,a.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(38),o=n(0),s=n(54),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,o.each)(e||n,function(e,i){if("startArrow"===i||"endArrow"===i){if(e){var a=(0,o.isObject)(e)?t.addArrow(n,s.SVG_ATTR_MAP[i]):t.getDefaultArrow(n,s.SVG_ATTR_MAP[i]);r.setAttribute(s.SVG_ATTR_MAP[i],"url(#"+a+")")}else r.removeAttribute(s.SVG_ATTR_MAP[i])}else s.SVG_ATTR_MAP[i]&&r.setAttribute(s.SVG_ATTR_MAP[i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return a.Line.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return a.Line.pointAt(n,r,i,o,t)},e}(r(n(63)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(63)),s=r(n(973)),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return(0,a.isArray)(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return(t=(0,a.isFunction)(o)?o:s.default.get(o))?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=s.default,e}(o.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,-(2*n),0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}};e.default={get:function(t){return r[t]},register:function(t,e){r[t]=e},remove:function(t){delete r[t]},getAll:function(){return r}}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");(0,a.each)(e||r,function(e,s){if("path"===s&&(0,a.isArray)(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===s||"endArrow"===s){if(e){var l=(0,a.isObject)(e)?t.addArrow(r,o.SVG_ATTR_MAP[s]):t.getDefaultArrow(r,o.SVG_ATTR_MAP[s]);i.setAttribute(o.SVG_ATTR_MAP[s],"url(#"+l+")")}else i.removeAttribute(o.SVG_ATTR_MAP[s])}else o.SVG_ATTR_MAP[s]&&i.setAttribute(o.SVG_ATTR_MAP[s],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(54),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,a.each)(e||n,function(t,e){"points"===e&&(0,a.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):o.SVG_ATTR_MAP[e]&&r.setAttribute(o.SVG_ATTR_MAP[e],t)})},e}(r(n(63)).default);e.default=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(38),o=n(0),s=n(54),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");(0,o.each)(e||n,function(t,e){"points"===e&&(0,o.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):s.SVG_ATTR_MAP[e]&&r.setAttribute(s.SVG_ATTR_MAP[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return(0,o.isNil)(e)?(this.set("totalLength",a.Polyline.length(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),(0,o.each)(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),a.Line.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t,e=this.attr().points;if(e&&0!==e.length){var n=this.getTotalLength();if(!(n<=0)){var r=0,i=[];(0,o.each)(e,function(o,s){e[s+1]&&((t=[])[0]=r/n,r+=a.Line.length(o[0],o[1],e[s+1][0],e[s+1][1]),t[1]=r/n,i.push(t))}),this.set("tCache",i)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(r(n(63)).default);e.default=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=r(n(63)),s=n(54),l=n(978),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,l=["x","y","width","height","radius"];(0,a.each)(e||r,function(t,e){-1===l.indexOf(e)||o?-1===l.indexOf(e)&&s.SVG_ATTR_MAP[e]&&i.setAttribute(s.SVG_ATTR_MAP[e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var s=(0,l.parseRadius)(o);return(0,a.isArray)(o)?1===o.length?s.r1=s.r2=s.r3=s.r4=o[0]:2===o.length?(s.r1=s.r3=o[0],s.r2=s.r4=o[1]):3===o.length?(s.r1=o[0],s.r2=s.r4=o[1],s.r3=o[2]):(s.r1=o[0],s.r2=o[1],s.r3=o[2],s.r4=o[3]):s.r1=s.r2=s.r3=s.r4=o,[["M "+(e+s.r1)+","+n],["l "+(r-s.r1-s.r2)+",0"],["a "+s.r2+","+s.r2+",0,0,1,"+s.r2+","+s.r2],["l 0,"+(i-s.r2-s.r3)],["a "+s.r3+","+s.r3+",0,0,1,"+-s.r3+","+s.r3],["l "+(s.r3+s.r4-r)+",0"],["a "+s.r4+","+s.r4+",0,0,1,"+-s.r4+","+-s.r4],["l 0,"+(s.r4+s.r1-i)],["a "+s.r1+","+s.r1+",0,0,1,"+s.r1+","+-s.r1],["z"]].join(" ")},e}(o.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePath=function(t){return(t=t||[],(0,r.isArray)(t))?t:(0,r.isString)(t)?(t=t.match(i),(0,r.each)(t,function(e,n){if((e=e.match(a))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}(0,r.each)(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0},e.parseRadius=function(t){var e=0,n=0,i=0,a=0;return(0,r.isArray)(t)?1===t.length?e=n=i=a=t[0]:2===t.length?(e=i=t[0],n=a=t[1]):3===t.length?(e=t[0],n=a=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],a=t[3]):e=n=i=a=t,{r1:e,r2:n,r3:i,r4:a}};var r=n(0),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(1),a=n(0),o=n(242),s=n(149),l=n(54),u=r(n(63)),c={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},f={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},d={left:"left",start:"left",center:"middle",right:"end",end:"end"},p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return(0,i.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return(0,i.__assign)((0,i.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),(0,a.each)(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?(0,s.setTransform)(n):l.SVG_ATTR_MAP[e]&&i.setAttribute(l.SVG_ATTR_MAP[e],t)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=(0,o.detect)();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",f[n]||"alphabetic"):t.setAttribute("alignment-baseline",c[n]||"baseline"),t.setAttribute("text-anchor",d[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t){if(~t.indexOf("\n")){var s=t.split("\n"),l=s.length-1,u="";(0,a.each)(s,function(t,e){0===e?"alphabetic"===o?u+=''+t+"":"top"===o?u+=''+t+"":"middle"===o?u+=''+t+"":"bottom"===o?u+=''+t+"":"hanging"===o&&(u+=''+t+""):u+=''+t+""}),e.innerHTML=u}else e.innerHTML=t}else e.innerHTML=""},e}(u.default);e.default=p},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(1),o=n(26),s=n(54),l=n(274),u=n(149),c=n(74),f=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=h(e);if(n&&n.has(t))return n.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=a?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(190)),d=r(n(275)),p=r(n(981));function h(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(h=function(t){return t?n:e})(t)}var g=function(t){function e(e){return t.call(this,(0,a.__assign)((0,a.__assign)({},e),{autoDraw:!0,renderer:"svg"}))||this}return(0,a.__extends)(e,t),e.prototype.getShapeBase=function(){return f},e.prototype.getGroupBase=function(){return d.default},e.prototype.getShape=function(t,e,n){var r=n.target||n.srcElement;if(!s.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!s.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find(function(t){return t.get("el")===r})},e.prototype.createDom=function(){var t=(0,c.createSVGElement)("svg"),e=new p.default(t);return t.setAttribute("width",""+this.get("width")),t.setAttribute("height",""+this.get("height")),this.set("context",e),t},e.prototype.onCanvasChange=function(t){var e=this.get("context"),n=this.get("el");if("sort"===t){var r=this.get("children");r&&r.length&&(0,c.sortDom)(this,function(t,e){return r.indexOf(t)-r.indexOf(e)?1:0})}else if("clear"===t){if(n){n.innerHTML="";var i=e.el;i.innerHTML="",n.appendChild(i)}}else"matrix"===t?(0,u.setTransform)(this):"clip"===t?(0,u.setClip)(this,e):"changeSize"===t&&(n.setAttribute("width",""+this.get("width")),n.setAttribute("height",""+this.get("height")))},e.prototype.draw=function(){var t=this.get("context"),e=this.getChildren();(0,u.setClip)(this,t),e.length&&(0,l.drawChildren)(t,e)},e}(o.AbstractCanvas);e.default=g},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(0),a=r(n(982)),o=r(n(983)),s=r(n(984)),l=r(n(985)),u=r(n(986)),c=n(74),f=function(){function t(t){var e=(0,c.createSVGElement)("defs"),n=(0,i.uniqueId)("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i'}),n}var u=function(){function t(t){this.cfg={};var e,n,s,u,c,f,d,p,h,g,v,y,m,b,x,_,O=null,P=(0,r.uniqueId)("gradient_");return"l"===t.toLowerCase()[0]?(e=O=(0,i.createSVGElement)("linearGradient"),u=a.exec(t),c=(0,r.mod)((0,r.toRadian)(parseFloat(u[1])),2*Math.PI),f=u[2],c>=0&&c<.5*Math.PI?(n={x:0,y:0},s={x:1,y:1}):.5*Math.PI<=c&&c';e.innerHTML=n},t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=function(){function t(t,e){this.cfg={};var n=(0,i.createSVGElement)("marker"),a=(0,r.uniqueId)("marker_");n.setAttribute("id",a);var o=(0,i.createSVGElement)("path");o.setAttribute("stroke",t.stroke||"none"),o.setAttribute("fill",t.fill||"none"),n.appendChild(o),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=o,this.id=a;var s=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===s?this._setDefaultPath(e,o):(this.cfg=s,this._setMarker(t.lineWidth,o)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,i=this.cfg.path,a=this.cfg.d;(0,r.isArray)(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),a&&n.setAttribute("refX",""+a/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=function(){function t(t){this.type="clip",this.cfg={};var e=(0,i.createSVGElement)("clipPath");this.el=e,this.id=(0,r.uniqueId)("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(0),i=n(74),a=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,o=function(){function t(t){this.cfg={};var e=(0,i.createSVGElement)("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=(0,i.createSVGElement)("image");e.appendChild(n);var o=(0,r.uniqueId)("pattern_");e.id=o,this.el=e,this.id=o,this.cfg=t;var s=a.exec(t)[2];n.setAttribute("href",s);var l=new Image;function u(){e.setAttribute("width",""+l.width),e.setAttribute("height",""+l.height)}return s.match(/^data:/i)||(l.crossOrigin="Anonymous"),l.src=s,l.complete?u():(l.onload=u,l.src=l.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(270),o=n(33),s=n(150),l=(0,i.registerShapeFactory)("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return(0,s.getRectPoints)(t)}});(0,i.registerShape)("interval","rect",{draw:function(t,e){var n,i=(0,o.getStyle)(t,!1,!0),l=e,u=null==t?void 0:t.background;if(u){l=e.addGroup();var c=(0,o.getBackgroundRectStyle)(t),f=(0,s.getBackgroundRectPath)(t,this.parsePoints(t.points),this.coordinate);l.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},c),{path:f}),zIndex:-1,name:a.BACKGROUND_SHAPE})}n=i.radius&&this.coordinate.isRect?(0,s.getRectWithCornerRadius)(this.parsePoints(t.points),this.coordinate,i.radius):this.parsePath((0,s.getIntervalRectPath)(t.points,i.lineCap,this.coordinate));var d=l.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},i),{path:n}),name:"interval"});return u?l:d},getMarker:function(t){var e=t.color;return t.isInPolar?{symbol:"circle",style:{r:4.5,fill:e}}:{symbol:"square",style:{r:4,fill:e}}}}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(146),a=n(27),o=n(277),s=n(280),l=(0,a.registerShapeFactory)("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(t){return(0,o.splitPoints)(t)}});(0,r.each)(s.SHAPES,function(t){(0,a.registerShape)("point","hollow-"+t,{draw:function(e,n){return(0,s.drawPoints)(this,e,n,t,!0)},getMarker:function(e){var n=e.color;return{symbol:i.MarkerSymbols[t]||t,style:{r:4.5,stroke:n,fill:null}}}})}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(21),o=n(48),s=n(279),l=(0,r.__importDefault)(n(91));n(990);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="violin",e.shapeType="violin",e.generatePoints=!0,e}return(0,r.__extends)(e,t),e.prototype.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),l=this.getAttribute("size");if(l){n=this.getAttributeValues(l,e)[0];var u=this.coordinate;n/=(0,o.getXDimensionLength)(u)}else this.defaultSize||(this.defaultSize=(0,s.getDefaultSize)(this)),n=this.defaultSize;return r.size=n,r._size=(0,i.get)(e[a.FIELD_ORIGIN],[this._sizeField]),r},e.prototype.initAttributes=function(){var e=this.attributeOption,n=e.size?e.size.fields[0]:this._sizeField?this._sizeField:"size";this._sizeField=n,delete e.size,t.prototype.initAttributes.call(this)},e}(l.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(115),s=n(33),l=(0,a.registerShapeFactory)("violin",{defaultShapeType:"violin",getDefaultPoints:function(t){var e=t.size/2,n=[],r=function(t){if(!(0,i.isArray)(t))return[];var e=(0,i.max)(t);return(0,i.map)(t,function(t){return t/e})}(t._size);return(0,i.each)(t.y,function(i,a){var o=r[a]*e,s=0===a,l=a===t.y.length-1;n.push({isMin:s,isMax:l,x:t.x-o,y:i}),n.unshift({isMin:s,isMax:l,x:t.x+o,y:i})}),n}});(0,a.registerShape)("violin","violin",{draw:function(t,e){var n=(0,s.getStyle)(t,!0,!0),i=this.parsePath((0,o.getViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i}),name:"violin"})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:t.color}}}}),e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","line",{draw:function(t,e){var n=(0,i.getShapeAttrs)(t,!0,!1,this);return e.addShape({type:"path",attrs:n,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","smooth",{draw:function(t,e){var n=this.coordinate,r=(0,i.getShapeAttrs)(t,!1,!0,this,(0,i.getConstraint)(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=n(101);(0,r.registerShape)("area","smooth-line",{draw:function(t,e){var n=this.coordinate,r=(0,i.getShapeAttrs)(t,!0,!0,this,(0,i.getConstraint)(n));return e.addShape({type:"path",attrs:r,name:"area"})},getMarker:function(t){return{symbol:function(t,e,n){return void 0===n&&(n=5.5),[["M",t-n,e-4],["L",t+n,e-4],["L",t+n,e+4],["L",t-n,e+4],["Z"]]},style:{r:5,stroke:t.color,fill:null}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(46),a=n(27),o=n(33),s=n(464);(0,a.registerShape)("edge","arc",{draw:function(t,e){var n,a=(0,o.getStyle)(t,!0,!1,"lineWidth"),l=t.points,u=l.length>2?"weight":"normal";if(t.isInCircle){var c,f,d,p,h,g,v,y,m={x:0,y:1};return"normal"===u?(c=l[0],f=l[1],d=(0,s.getQPath)(f,m),(p=[["M",c.x,c.y]]).push(d),n=p):(a.fill=a.stroke,h=l,g=(0,s.getQPath)(h[1],m),v=(0,s.getQPath)(h[3],m),(y=[["M",h[0].x,h[0].y]]).push(v),y.push(["L",h[3].x,h[3].y]),y.push(["L",h[2].x,h[2].y]),y.push(g),y.push(["L",h[1].x,h[1].y]),y.push(["L",h[0].x,h[0].y]),y.push(["Z"]),n=y),n=this.parsePath(n),e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})})}if("normal"===u)return l=this.parsePoints(l),n=(0,i.getArcPath)((l[1].x+l[0].x)/2,l[0].y,Math.abs(l[1].x-l[0].x)/2,Math.PI,2*Math.PI),e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})});var b=(0,s.getCPath)(l[1],l[3]),x=(0,s.getCPath)(l[2],l[0]);return n=[["M",l[0].x,l[0].y],["L",l[1].x,l[1].y],b,["L",l[3].x,l[3].y],["L",l[2].x,l[2].y],x,["Z"]],n=this.parsePath(n),a.fill=a.stroke,e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},a),{path:n})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(33),o=n(464);(0,i.registerShape)("edge","smooth",{draw:function(t,e){var n,i,s,l,u=(0,a.getStyle)(t,!0,!1,"lineWidth"),c=t.points,f=this.parsePath((n=c[0],i=c[1],s=(0,o.getCPath)(n,i),(l=[["M",n.x,n.y]]).push(s),l));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},u),{path:f})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(27),o=n(33),s=1/3;(0,a.registerShape)("edge","vhv",{draw:function(t,e){var n,a,l,u,c=(0,o.getStyle)(t,!0,!1,"lineWidth"),f=t.points,d=this.parsePath((n=f[0],a=f[1],(l=[]).push({x:n.x,y:n.y*(1-s)+a.y*s}),l.push({x:a.x,y:n.y*(1-s)+a.y*s}),l.push(a),u=[["M",n.x,n.y]],(0,i.each)(l,function(t){u.push(["L",t.x,t.y])}),u));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},c),{path:d})})},getMarker:function(t){return{symbol:"circle",style:{r:4.5,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(115),o=n(33);(0,i.registerShape)("violin","smooth",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!0),i=this.parsePath((0,a.getSmoothViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{stroke:null,r:4,fill:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(27),a=n(115),o=n(33);(0,i.registerShape)("violin","hollow",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!1),i=this.parsePath((0,a.getViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:null,stroke:t.color}}}}),(0,i.registerShape)("violin","hollow-smooth",{draw:function(t,e){var n=(0,o.getStyle)(t,!0,!1),i=this.parsePath((0,a.getSmoothViolinPath)(t.points));return e.addShape("path",{attrs:(0,r.__assign)((0,r.__assign)({},n),{path:i})})},getMarker:function(t){return{symbol:"circle",style:{r:4,fill:null,stroke:t.color}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieOuterLabelLayout=void 0;var r=n(0),i=n(46),a=n(476);e.pieOuterLabelLayout=function(t,e,n,o){var s=(0,r.filter)(t,function(t){return!(0,r.isNil)(t)}),l=e[0]&&e[0].get("coordinate");if(l){for(var u=l.getCenter(),c=l.getRadius(),f={},d=0;dn&&(t.sort(function(t,e){return e.percent-t.percent}),(0,r.each)(t,function(t,e){e+1>n&&(f[t.id].set("visible",!1),t.invisible=!0)})),(0,a.antiCollision)(t,h,O)}),(0,r.each)(y,function(t,e){(0,r.each)(t,function(t){var n=e===v,a=f[t.id].getChildByIndex(0);if(a){var o=c+g,s=t.y-u.y,d=Math.pow(o,2),p=Math.pow(s,2),h=Math.sqrt(d-p>0?d-p:0),y=Math.abs(Math.cos(t.angle)*o);n?t.x=u.x+Math.max(h,y):t.x=u.x-Math.max(h,y)}a&&(a.attr("y",t.y),a.attr("x",t.x)),function(t,e){var n=e.getCenter(),a=e.getRadius();if(t&&t.labelLine){var o=t.angle,s=t.offset,l=(0,i.polarToCartesian)(n.x,n.y,a,o),u=t.x+(0,r.get)(t,"offsetX",0)*(Math.cos(o)>0?1:-1),c=t.y+(0,r.get)(t,"offsetY",0)*(Math.sin(o)>0?1:-1),f={x:u-4*Math.cos(o),y:c-4*Math.sin(o)},d=t.labelLine.smooth,p=[],h=f.x-n.x,g=Math.atan((f.y-n.y)/h);if(h<0&&(g+=Math.PI),!1===d){(0,r.isObject)(t.labelLine)||(t.labelLine={});var v=0;(o<0&&o>-Math.PI/2||o>1.5*Math.PI)&&f.y>l.y&&(v=1),o>=0&&ol.y&&(v=1),o>=Math.PI/2&&of.y&&(v=1),(o<-Math.PI/2||o>=Math.PI&&o<1.5*Math.PI)&&l.y>f.y&&(v=1);var y=s/2>4?4:Math.max(s/2-1,0),m=(0,i.polarToCartesian)(n.x,n.y,a+y,o),b=(0,i.polarToCartesian)(n.x,n.y,a+s/2,g);p.push("M "+l.x+" "+l.y),p.push("L "+m.x+" "+m.y),p.push("A "+n.x+" "+n.y+" 0 0 "+v+" "+b.x+" "+b.y),p.push("L "+f.x+" "+f.y)}else{var m=(0,i.polarToCartesian)(n.x,n.y,a+(s/2>4?4:Math.max(s/2-1,0)),o),x=l.x11253517471925921e-23&&p.push.apply(p,["C",f.x+4*x,f.y,2*m.x-l.x,2*m.y-l.y,l.x,l.y]),p.push("L "+l.x+" "+l.y)}t.labelLine.path=p.join(" ")}}(t,l)})})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieSpiderLabelLayout=void 0;var r=n(0),i=n(46),a=n(476),o=n(114);e.pieSpiderLabelLayout=function(t,e,n,s){var l=e[0]&&e[0].get("coordinate");if(l){for(var u=l.getCenter(),c=l.getRadius(),f={},d=0;du.x||t.x===u.x&&t.y>u.y,n=(0,r.isNil)(t.offsetX)?4:t.offsetX,a=(0,i.polarToCartesian)(u.x,u.y,c+4,t.angle);t.x=u.x+(e?1:-1)*(c+(g+n)),t.y=a.y}});var v=l.start,y=l.end,m="right",b=(0,r.groupBy)(t,function(t){return t.xx&&(x=Math.min(e,Math.abs(v.y-y.y)))});var _={minX:v.x,maxX:y.x,minY:u.y-x/2,maxY:u.y+x/2};(0,r.each)(b,function(t,e){var n=x/h;t.length>n&&(t.sort(function(t,e){return e.percent-t.percent}),(0,r.each)(t,function(t,e){e>n&&(f[t.id].set("visible",!1),t.invisible=!0)})),(0,a.antiCollision)(t,h,_)});var O=_.minY,P=_.maxY;(0,r.each)(b,function(t,e){var n=e===m;(0,r.each)(t,function(t){var e=(0,r.get)(f,t&&[t.id]);if(e){if(t.yP){e.set("visible",!1);return}var a=e.getChildByIndex(0),s=a.getCanvasBBox(),u={x:n?s.x:s.maxX,y:s.y+s.height/2};(0,o.translate)(a,t.x-u.x,t.y-u.y),t.labelLine&&function(t,e,n){var a=e.getCenter(),o=e.getRadius(),s={x:t.x-(n?4:-4),y:t.y},l=(0,i.polarToCartesian)(a.x,a.y,o+4,t.angle),u={x:s.x,y:s.y},c={x:l.x,y:l.y},f=(0,i.polarToCartesian)(a.x,a.y,o,t.angle),d="";if(s.y!==l.y){var p=n?4:-4;u.y=s.y,t.angle<0&&t.angle>=-Math.PI/2&&(u.x=Math.max(l.x,s.x-p),s.y0&&t.anglel.y?c.y=u.y:(c.y=l.y,c.x=Math.max(c.x,u.x-p))),t.angle>Math.PI/2&&(u.x=Math.min(l.x,s.x-p),s.y>l.y?c.y=u.y:(c.y=l.y,c.x=Math.min(c.x,u.x-p))),t.angle<-Math.PI/2&&(u.x=Math.min(l.x,s.x-p),s.y4)return[];var e=function(t,e){return[e.x-t.x,e.y-t.y]};return[e(t[0],t[1]),e(t[1],t[2])]}function s(t,e,n){void 0===e&&(e=0),void 0===n&&(n={x:0,y:0});var r=t.x,i=t.y;return{x:(r-n.x)*Math.cos(-e)+(i-n.y)*Math.sin(-e)+n.x,y:(n.x-r)*Math.sin(-e)+(i-n.y)*Math.cos(-e)+n.y}}function l(t){var e=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=t.rotation;return n?[s(e[0],n,e[0]),s(e[1],n,e[0]),s(e[2],n,e[0]),s(e[3],n,e[0])]:e}function u(t,e){if(t.length>4)return{min:0,max:0};var n=[];return t.forEach(function(t){n.push(a([t.x,t.y],e))}),{min:Math.min.apply(Math,n),max:Math.max.apply(Math,n)}}function c(t){return(0,i.isNumber)(t)&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0}function f(t){return Object.values(t).every(c)}function d(t,e,n){return void 0===n&&(n=0),!(e.x>t.x+t.width+n||e.x+e.widtht.y+t.height+n||e.y+e.heighth.min)||!(p.min=l.height:u.width>=l.width}))&&n.forEach(function(t,n){var a,o,l,u=e[n];a=s.coordinate,o=r.BBox.fromObject(t.getBBox()),l=(0,i.findLabelTextShape)(u),a.isTransposed?l.attr({x:o.minX+o.width/2,textAlign:"center"}):l.attr({y:o.minY+o.height/2,textBaseline:"middle"})})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intervalHideOverlap=void 0;var r=n(0),i=n(113);e.intervalHideOverlap=function(t,e,n){if(0!==n.length){var a,o,s,l=null===(s=n[0])||void 0===s?void 0:s.get("element"),u=null==l?void 0:l.geometry;if(u&&"interval"===u.type){var c=(a=[],o=Math.max(Math.floor(e.length/500),1),(0,r.each)(e,function(t,e){e%o==0?a.push(t):t.set("visible",!1)}),a),f=u.getXYFields()[0],d=[],p=[],h=(0,r.groupBy)(c,function(t){return t.get("data")[f]}),g=(0,r.uniq)((0,r.map)(c,function(t){return t.get("data")[f]}));c.forEach(function(t){t.set("visible",!0)});var v=function(t){t&&(t.length&&p.push(t.pop()),p.push.apply(p,t))};for((0,r.size)(g)>0&&v(h[g.shift()]),(0,r.size)(g)>0&&v(h[g.pop()]),(0,r.each)(g.reverse(),function(t){v(h[t])});p.length>0;){var y=p.shift();y.get("visible")&&((0,i.checkShapeOverlap)(y,d)?y.set("visible",!1):d.push(y))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pointAdjustPosition=void 0;var r=n(0),i=n(113);function a(t,e,n){return t.some(function(t){return n(t,e)})}function o(t,e){return a(t,e,function(t,e){var n,r,a=(0,i.findLabelTextShape)(t),o=(0,i.findLabelTextShape)(e);return n=a.getCanvasBBox(),r=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,r.x+r.width+2)-Math.max(n.x-2,r.x-2))*Math.max(0,Math.min(n.y+n.height+2,r.y+r.height+2)-Math.max(n.y-2,r.y-2))>0})}e.pointAdjustPosition=function(t,e,n,s,l){if(0!==n.length){var u,c,f=null===(u=n[0])||void 0===u?void 0:u.get("element"),d=null==f?void 0:f.geometry;if(d&&"point"===d.type){var p=d.getXYFields(),h=p[0],g=p[1],v=(0,r.groupBy)(e,function(t){return t.get("data")[h]}),y=[],m=l&&l.offset||(null===(c=t[0])||void 0===c?void 0:c.offset)||12;(0,r.map)((0,r.keys)(v).reverse(),function(t){for(var e,n,r,s,l=(e=v[t],n=d.getXYFields()[1],r=[],(s=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&r.push(s.shift()),s.length>0&&r.push(s.pop()),r.push.apply(r,s),r);l.length;){var u=l.shift(),c=(0,i.findLabelTextShape)(u);if(a(y,u,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[g]===e.get("data")[g]})){c.set("visible",!1);continue}var f=o(y,u),p=!1;if(f&&(c.attr("y",c.attr("y")+2*m),p=o(y,u)),p){c.set("visible",!1);continue}y.push(u)}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pathAdjustPosition=void 0;var r=n(0),i=n(113);function a(t,e,n){return t.some(function(t){return n(t,e)})}function o(t,e){return a(t,e,function(t,e){var n,r,a=(0,i.findLabelTextShape)(t),o=(0,i.findLabelTextShape)(e);return n=a.getCanvasBBox(),r=o.getCanvasBBox(),Math.max(0,Math.min(n.x+n.width+2,r.x+r.width+2)-Math.max(n.x-2,r.x-2))*Math.max(0,Math.min(n.y+n.height+2,r.y+r.height+2)-Math.max(n.y-2,r.y-2))>0})}e.pathAdjustPosition=function(t,e,n,s,l){if(0!==n.length){var u,c,f=null===(u=n[0])||void 0===u?void 0:u.get("element"),d=null==f?void 0:f.geometry;if(!(!d||0>["path","line","area"].indexOf(d.type))){var p=d.getXYFields(),h=p[0],g=p[1],v=(0,r.groupBy)(e,function(t){return t.get("data")[h]}),y=[],m=l&&l.offset||(null===(c=t[0])||void 0===c?void 0:c.offset)||12;(0,r.map)((0,r.keys)(v).reverse(),function(t){for(var e,n,r,s,l=(e=v[t],n=d.getXYFields()[1],r=[],(s=e.sort(function(t,e){return t.get("data")[n]-t.get("data")[n]})).length>0&&r.push(s.shift()),s.length>0&&r.push(s.pop()),r.push.apply(r,s),r);l.length;){var u=l.shift(),c=(0,i.findLabelTextShape)(u);if(a(y,u,function(t,e){return t.get("data")[h]===e.get("data")[h]&&t.get("data")[g]===e.get("data")[g]})){c.set("visible",!1);continue}var f=o(y,u),p=!1;if(f&&(c.attr("y",c.attr("y")+2*m),p=o(y,u)),p){c.set("visible",!1);continue}y.push(u)}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limitInPlot=void 0;var r=n(0),i=n(48),a=n(1010),o=n(114);e.limitInPlot=function(t,e,n,s,l){if(!(e.length<=0)){var u=(null==l?void 0:l.direction)||["top","right","bottom","left"],c=(null==l?void 0:l.action)||"translate",f=(null==l?void 0:l.margin)||0,d=e[0].get("coordinate");if(d){var p=(0,i.getCoordinateBBox)(d,f),h=p.minX,g=p.minY,v=p.maxX,y=p.maxY;(0,r.each)(e,function(t){var e=t.getCanvasBBox(),n=e.minX,i=e.minY,s=e.maxX,l=e.maxY,f=e.x,d=e.y,p=e.width,m=e.height,b=f,x=d;if(u.indexOf("left")>=0&&(n=0&&(i=0&&(n>v?b=v-p:s>v&&(b-=s-v)),u.indexOf("bottom")>=0&&(i>y?x=y-m:l>y&&(x-=l-y)),b!==f||x!==d){var _=b-f;"translate"===c?(0,o.translate)(t,_,x-d):"ellipsis"===c?t.findAll(function(t){return"text"===t.get("type")}).forEach(function(t){var e=(0,r.pick)(t.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),n=t.getCanvasBBox(),i=(0,a.getEllipsisText)(t.attr("text"),n.width-Math.abs(_),e);t.attr("text",i)}):t.hide()}})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEllipsisText=e.measureTextWidth=void 0;var r=n(1),i=n(0),a=n(1011);e.measureTextWidth=(0,i.memoize)(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,o=e.fontWeight,s=e.fontStyle,l=e.fontVariant,u=(0,a.getCanvasContext)();return u.font=[s,l,o,n+"px",r].join(" "),u.measureText((0,i.isString)(t)?t:"").width},function(t,e){return void 0===e&&(e={}),(0,r.__spreadArray)([t],(0,i.values)(e),!0).join("")}),e.getEllipsisText=function(t,n,r){var a,o,s,l=(0,e.measureTextWidth)("...",r);a=(0,i.isString)(t)?t:(0,i.toString)(t);var u=n,c=[];if((0,e.measureTextWidth)(t,r)<=n)return t;for(;o=a.substr(0,16),!((s=(0,e.measureTextWidth)(o,r))+l>u)||!(s>u);)if(c.push(o),u-=s,!(a=a.substr(16)))return c.join("");for(;o=a.substr(0,1),!((s=(0,e.measureTextWidth)(o,r))+l>u);)if(c.push(o),u-=s,!(a=a.substr(1)))return c.join("");return c.join("")+"..."}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.getCanvasContext=void 0,e.getCanvasContext=function(){return r||(r=document.createElement("canvas").getContext("2d")),r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showGrid=e.getCircleGridItems=e.getLineGridItems=e.getGridThemeCfg=void 0;var r=n(0);e.getGridThemeCfg=function(t,e){var n=(0,r.deepMix)({},(0,r.get)(t,["components","axis","common"]),(0,r.get)(t,["components","axis",e]));return(0,r.get)(n,["grid"],{})},e.getLineGridItems=function(t,e,n,r){var i=[],a=e.getTicks();return t.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(e,a,o){var s=a.value;if(r)i.push({points:[t.convert("y"===n?{x:0,y:s}:{x:s,y:0}),t.convert("y"===n?{x:1,y:s}:{x:s,y:1})]});else if(o){var l=(e.value+s)/2;i.push({points:[t.convert("y"===n?{x:0,y:l}:{x:l,y:0}),t.convert("y"===n?{x:1,y:l}:{x:l,y:1})]})}return a},a[0]),i},e.getCircleGridItems=function(t,e,n,i,a){var o=e.values.length,s=[],l=n.getTicks();return l.reduce(function(e,n){var l=e?e.value:n.value,u=n.value,c=(l+u)/2;return"x"===a?s.push({points:[t.convert({x:i?u:c,y:0}),t.convert({x:i?u:c,y:1})]}):s.push({points:(0,r.map)(Array(o+1),function(e,n){return t.convert({x:n/o,y:i?u:c})})}),n},l[0]),s},e.showGrid=function(t,e){var n=(0,r.get)(e,"grid");if(null===n)return!1;var i=(0,r.get)(t,"grid");return!(void 0===n&&null===i)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(104),a=n(69),o=n(80),s=n(282),l=n(21),u=n(0),c=n(70),f=function(t){function e(e){var n=t.call(this,e)||this;return n.onChangeFn=u.noop,n.resetMeasure=function(){n.clear()},n.onValueChange=function(t){var e=t.ratio,r=n.getValidScrollbarCfg().animate;n.ratio=(0,u.clamp)(e,0,1);var i=n.view.getOptions().animate;r||n.view.animate(!1),n.changeViewData(n.getScrollRange(),!0),n.view.animate(i)},n.container=n.view.getLayer(l.LAYER.FORE).addGroup(),n.onChangeFn=(0,u.throttle)(n.onValueChange,20,{leading:!0}),n.trackLen=0,n.thumbLen=0,n.ratio=0,n.view.on(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,n.resetMeasure),n.view.on(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,n.resetMeasure),n}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.view.off(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(l.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var e=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),i=this.scrollbar.component.getLayoutBBox(),a=new o.BBox(i.x,i.y,Math.min(i.width,e),i.height).expand(n),u=this.getScrollbarComponentCfg(),c=void 0,f=void 0;if(u.isHorizontal){var d=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.BOTTOM),p=d[0],h=d[1],g=(0,s.directionToPosition)(this.view.coordinateBBox,a,l.DIRECTION.BOTTOM),v=g[0],y=g[1];c=v,f=h}else{var m=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.RIGHT),p=m[0],h=m[1],b=(0,s.directionToPosition)(this.view.viewBBox,a,l.DIRECTION.RIGHT),v=b[0],y=b[1];c=v,f=h}c+=n[3],f+=n[0],this.trackLen?this.scrollbar.component.update((0,r.__assign)((0,r.__assign)({},u),{x:c,y:f,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update((0,r.__assign)((0,r.__assign)({},u),{x:c,y:f})),this.view.viewBBox=this.view.viewBBox.cut(a,u.isHorizontal?l.DIRECTION.BOTTOM:l.DIRECTION.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return(0,u.get)(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var e=(0,u.get)(this.view.getTheme(),["components","scrollbar"]),n=t||{},i=n.thumbHighlightColor,a=(0,r.__rest)(n,["thumbHighlightColor"]);return{default:(0,u.deepMix)({},(0,u.get)(e,["default","style"],{}),a),hover:(0,u.deepMix)({},(0,u.get)(e,["hover","style"],{}),{thumbColor:i})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),e=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),r=n.trackLen,i=n.thumbLen;this.trackLen=r,this.thumbLen=i,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=e},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*(0,u.clamp)(this.ratio,0,1)),e=Math.min(t+this.step-1,this.cnt-1);return[t,e]},e.prototype.changeViewData=function(t,e){var n=this,r=t[0],i=t[1],a=this.getValidScrollbarCfg().type,o=(0,u.valuesOfKey)(this.data,this.xScaleCfg.field),s="vertical"!==a?o:o.reverse();this.yScalesCfg.forEach(function(t){n.view.scale(t.field,{formatter:t.formatter,type:t.type,min:t.min,max:t.max})}),this.view.filter(this.xScaleCfg.field,function(t){var e=s.indexOf(t);return!(e>-1)||(0,c.isBetween)(e,r,i)}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,e=new a.Scrollbar((0,r.__assign)((0,r.__assign)({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return e.init(),{component:e,layer:l.LAYER.FORE,direction:"vertical"!==t?l.DIRECTION.BOTTOM:l.DIRECTION.RIGHT,type:l.COMPONENT_TYPE.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),e=this.trackLen?(0,r.__assign)((0,r.__assign)({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):(0,r.__assign)({},t);return this.scrollbar.component.update(e),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,e=this.getValidScrollbarCfg(),n=e.type,r=e.categorySize;return Math.floor(("vertical"!==n?t.width:t.height)/r)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),e=this.getScrollbarData(),n=(0,u.valuesOfKey)(e,t.field);return(0,u.size)(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,e=t.coordinateBBox,n=t.viewBBox,i=this.getValidScrollbarCfg(),a=i.type,o=i.padding,s=i.width,l=i.height,c=i.style,f="vertical"!==a,d=o[0],p=o[1],h=o[2],g=o[3],v=f?{x:e.minX+g,y:n.maxY-l-h}:{x:n.maxX-s-p,y:e.minY+d},y=this.getStep(),m=this.getCnt(),b=f?e.width-g-p:e.height-d-h,x=Math.max(b*(0,u.clamp)(y/m,0,1),20);return(0,r.__assign)((0,r.__assign)({},this.getThemeOptions()),{x:v.x,y:v.y,size:f?l:s,isHorizontal:f,trackLen:b,thumbLen:x,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:32,width:8,height:8,padding:[0,0,0,0],animate:!0,style:{}};return(0,u.isObject)(this.option)&&(t=(0,r.__assign)((0,r.__assign)({},t),this.option)),(0,u.isObject)(this.option)&&this.option.padding||(t.padding=(t.type,[0,0,0,0])),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),e=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect("y")&&"vertical"===e.type&&(n=(0,r.__spreadArray)([],n,!0).reverse()),n},e}(i.Controller);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearList=void 0;var r=n(0),i="inactive",a="active";e.clearList=function(t){var e=t.getItems();(0,r.each)(e,function(e){t.hasState(e,a)&&t.setItemState(e,a,!1),t.hasState(e,i)&&t.setItemState(e,i,!1)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(151)),o="unchecked",s="checked",l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stateName=s,e}return(0,r.__extends)(e,t),e.prototype.setItemState=function(t,e,n){this.setCheckedBy(t,function(t){return t===e},n)},e.prototype.setCheckedBy=function(t,e,n){var r=t.getItems();n&&(0,i.each)(r,function(n){e(n)?(t.hasState(n,o)&&t.setItemState(n,o,!1),t.setItemState(n,s,!0)):t.hasState(n,s)||t.setItemState(n,o,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var e=t.list,n=t.item;!(0,i.some)(e.getItems(),function(t){return e.hasState(t,o)})||e.hasState(n,o)?this.setItemState(e,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();(0,i.each)(t,function(t){t.clearItemsState(s),t.clearItemsState(o)})},e}(a.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=n(31),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.shapeType="circle",e}return(0,r.__extends)(e,t),e.prototype.getMaskAttrs=function(){var t=this.points,e=(0,i.last)(this.points),n=0,r=0,o=0;if(t.length){var s=t[0];n=(0,a.distance)(s,e)/2,r=(e.x+s.x)/2,o=(e.y+s.y)/2}return{x:r,y:o,r:n}},e}((0,r.__importDefault)(n(288)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0);function a(t){t.x=(0,i.clamp)(t.x,0,1),t.y=(0,i.clamp)(t.y,0,1)}var o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dim="x",e.inPlot=!0,e}return(0,r.__extends)(e,t),e.prototype.getRegion=function(){var t=null,e=null,n=this.points,r=this.dim,o=this.context.view.getCoordinate(),s=o.invert((0,i.head)(n)),l=o.invert((0,i.last)(n));return this.inPlot&&(a(s),a(l)),"x"===r?(t=o.convert({x:s.x,y:0}),e=o.convert({x:l.x,y:1})):(t=o.convert({x:0,y:s.y}),e=o.convert({x:1,y:l.y})),{start:t,end:e}},e}((0,r.__importDefault)(n(477)).default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(31),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getMaskPath=function(){var t=this.points;return(0,i.getSpline)(t,!0)},e}((0,r.__importDefault)(n(478)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(479)),o=n(31),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.filterView=function(t,e,n){var r=(0,o.getSilbings)(t);(0,i.each)(r,function(t){t.filter(e,n)})},e.prototype.reRender=function(t){var e=(0,o.getSilbings)(t);(0,i.each)(e,function(t){t.render(!0)})},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.filter=function(){var t=(0,o.getDelegationObject)(this.context),e=this.context.view,n=(0,o.getElements)(e);if((0,o.isMask)(this.context)){var r=(0,o.getMaskedElements)(this.context,10);r&&(0,i.each)(n,function(t){r.includes(t)?t.show():t.hide()})}else if(t){var a=t.component,s=a.get("field");if((0,o.isList)(t)){if(s){var l=a.getItemsByState("unchecked"),u=(0,o.getScaleByField)(e,s),c=l.map(function(t){return t.name});(0,i.each)(n,function(t){var e=(0,o.getElementValue)(t,s),n=u.getText(e);c.indexOf(n)>=0?t.hide():t.show()})}}else if((0,o.isSlider)(t)){var f=a.getValue(),d=f[0],p=f[1];(0,i.each)(n,function(t){var e=(0,o.getElementValue)(t,s);e>=d&&e<=p?t.show():t.hide()})}}},e.prototype.clear=function(){var t=(0,o.getElements)(this.context.view);(0,i.each)(t,function(t){t.show()})},e.prototype.reset=function(){this.clear()},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=(0,r.__importDefault)(n(44)),o=n(31),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.byRecord=!1,e}return(0,r.__extends)(e,t),e.prototype.filter=function(){(0,o.isMask)(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,e=(0,o.getMaskedElements)(this.context,10);if(e){var n=t.getXScale().field,r=t.getYScales()[0].field,a=e.map(function(t){return t.getModel().data}),s=(0,o.getSilbings)(t);(0,i.each)(s,function(t){var e=(0,o.getElements)(t);(0,i.each)(e,function(t){var e=t.getModel().data;(0,o.isInRecords)(a,e,n,r)?t.show():t.hide()})})}},e.prototype.filterByBBox=function(){var t=this,e=this.context.view,n=(0,o.getSilbings)(e);(0,i.each)(n,function(e){var n=(0,o.getSiblingMaskElements)(t.context,e,10),r=(0,o.getElements)(e);n&&(0,i.each)(r,function(t){n.includes(t)?t.show():t.hide()})})},e.prototype.reset=function(){var t=(0,o.getSilbings)(this.context.view);(0,i.each)(t,function(t){var e=(0,o.getElements)(t);(0,i.each)(e,function(t){t.show()})})},e}(a.default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(32),a=n(0),o=n(267),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},e}return(0,r.__extends)(e,t),e.prototype.getButtonCfg=function(){return(0,a.deepMix)(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=e.addShape({type:"text",name:"button-text",attrs:(0,r.__assign)({text:t.text},t.textStyle)}).getBBox(),i=(0,o.parsePadding)(t.padding),a=e.addShape({type:"rect",name:"button-rect",attrs:(0,r.__assign)({x:n.x-i[3],y:n.y-i[0],width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},t.style)});a.toBack(),e.on("mouseenter",function(){a.attr(t.activeStyle)}),e.on("mouseleave",function(){a.attr(t.style)}),this.buttonGroup=e},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.ext.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}((0,r.__importDefault)(n(44)).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(0,r.__importDefault)(n(44)),a=n(31),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.dragStart=!1,e}return(0,r.__extends)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),e=this.context.view,n=this.context.event;this.dragStart?e.emit("drag",{target:n.target,x:n.x,y:n.y}):(0,a.distance)(t,this.startPoint)>4&&(e.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,e=this.context.event;t.emit("dragend",{target:e.target,x:e.x,y:e.y})}this.starting=!1,this.dragStart=!1},e}(i.default);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(32),a=n(185),o=n(31),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.starting=!1,e.isMoving=!1,e.startPoint=null,e.startMatrix=null,e}return(0,r.__extends)(e,t),e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,e=this.context.getCurrentPoint();if((0,o.distance)(t,e)>5&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var n=this.context.view,r=i.ext.transform(this.startMatrix,[["t",e.x-t.x,e.y-t.y]]);n.backgroundGroup.setMatrix(r),n.foregroundGroup.setMatrix(r),n.middleGroup.setMatrix(r)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(a.Action);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.startPoint=null,e.starting=!1,e.startCache={},e}return(0,r.__extends)(e,t),e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var e=this.dims;(0,i.each)(e,function(e){var n=t.getScale(e),r=n.min,i=n.max,a=n.values;t.startCache[e]={min:r,max:i,values:a}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var e=this.startPoint,n=this.context.view.getCoordinate(),r=this.context.getCurrentPoint(),a=n.invert(e),o=n.invert(r),s=o.x-a.x,l=o.y-a.y,u=this.context.view,c=this.dims;(0,i.each)(c,function(e){t.translateDim(e,{x:-1*s,y:-1*l})}),u.render(!0)}},e.prototype.translateDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,e)}},e.prototype.translateLinear=function(t,e,n){var r=this.context.view,i=this.startCache[t],a=i.min,o=i.max,s=n[t]*(o-a);this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:a,max:o}),r.scale(e.field,{nice:!1,min:a+s,max:o+s})},e.prototype.reset=function(){t.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}((0,r.__importDefault)(n(480)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.zoomRatio=.05,e}return(0,r.__extends)(e,t),e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var e=this,n=this.dims;(0,i.each)(n,function(n){e.zoomDim(n,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,e){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,e)}},e.prototype.zoomLinear=function(t,e,n){var r=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:e.nice,min:e.min,max:e.max});var i=this.cacheScaleDefs[t],a=i.max-i.min,o=e.min,s=e.max,l=n*a,u=o-l,c=s+l,f=(c-u)/a;c>u&&f<100&&f>.01&&r.scale(e.field,{nice:!1,min:o-l,max:s+l})},e}((0,r.__importDefault)(n(480)).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.scroll=function(t){var e=this.context,n=e.view,r=e.event;if(n.getOptions().scrollbar){var a=(null==t?void 0:t.wheelDelta)||1,o=n.getController("scrollbar"),s=n.getXScale(),l=n.getOptions().data,u=(0,i.size)((0,i.valuesOfKey)(l,s.field)),c=(0,i.size)(s.values),f=Math.floor((u-c)*o.getValue())+(r.gEvent.originalEvent.deltaY>0?a:-a),d=a/(u-c)/1e4,p=(0,i.clamp)(f/(u-c)+d,0,1);o.setValue(p)}},e}(n(185).Action);e.default=a},function(t,e,n){"use strict";(function(t){var e=n(2)(n(6));/** @license React v0.25.1 - * react-reconciler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */t.exports=function r(i){var a,o,s,l,u,c=n(1030),f=n(3),d=n(1031);function p(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;ntR||(t.current=tk[tR],tk[tR]=null,tR--)}function tB(t,e){tk[++tR]=t.current,t.current=e}var tG={},tV={current:tG},tz={current:!1},tW=tG;function tY(t,e){var n=t.type.contextTypes;if(!n)return tG;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=a),a}function tH(t){return null!=(t=t.childContextTypes)}function tX(){tN(tz),tN(tV)}function tU(t,e,n){if(tV.current!==tG)throw Error(p(168));tB(tV,e),tB(tz,n)}function tq(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(p(108,j(e)||"Unknown",i));return c({},n,{},r)}function tZ(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||tG,tW=tV.current,tB(tV,t),tB(tz,tz.current),!0}function tK(t,e,n){var r=t.stateNode;if(!r)throw Error(p(169));n?(t=tq(t,e,tW),r.__reactInternalMemoizedMergedChildContext=t,tN(tz),tN(tV),tB(tV,t)):tN(tz),tB(tz,n)}var t$=d.unstable_runWithPriority,tQ=d.unstable_scheduleCallback,tJ=d.unstable_cancelCallback,t0=d.unstable_requestPaint,t1=d.unstable_now,t2=d.unstable_getCurrentPriorityLevel,t3=d.unstable_ImmediatePriority,t5=d.unstable_UserBlockingPriority,t4=d.unstable_NormalPriority,t6=d.unstable_LowPriority,t7=d.unstable_IdlePriority,t8={},t9=d.unstable_shouldYield,et=void 0!==t0?t0:function(){},ee=null,en=null,er=!1,ei=t1(),ea=1e4>ei?t1:function(){return t1()-ei};function eo(){switch(t2()){case t3:return 99;case t5:return 98;case t4:return 97;case t6:return 96;case t7:return 95;default:throw Error(p(332))}}function es(t){switch(t){case 99:return t3;case 98:return t5;case 97:return t4;case 96:return t6;case 95:return t7;default:throw Error(p(332))}}function el(t,e){return t$(t=es(t),e)}function eu(t){return null===ee?(ee=[t],en=tQ(t3,ef)):ee.push(t),t8}function ec(){if(null!==en){var t=en;en=null,tJ(t)}ef()}function ef(){if(!er&&null!==ee){er=!0;var t=0;try{var e=ee;el(99,function(){for(;t=e&&(nz=!0),t.firstContext=null)}function eS(t,e){if(ex!==t&&!1!==e&&0!==e){if(("number"!=typeof e||1073741823===e)&&(ex=t,e=1073741823),e={context:t,observedBits:e,next:null},null===eb){if(null===em)throw Error(p(308));eb=e,em.dependencies={expirationTime:0,firstContext:e,responders:null}}else eb=eb.next=e}return Q?t._currentValue:t._currentValue2}var ew=!1;function eE(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function eC(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function eT(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function eI(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function ej(t,e){var n=t.alternate;null!==n&&eC(n,t),null===(n=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=n.next,n.next=e)}function eF(t,e,n,r){var i=t.updateQueue;ew=!1;var a=i.baseQueue,o=i.shared.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}a=o,i.shared.pending=null,null!==(s=t.alternate)&&null!==(s=s.updateQueue)&&(s.baseQueue=o)}if(null!==a){s=a.next;var l=i.baseState,u=0,f=null,d=null,p=null;if(null!==s)for(var h=s;;){if((o=h.expirationTime)u&&(u=o)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),rJ(o,h.suspenseConfig);e:{var v=t,y=h;switch(o=e,g=n,y.tag){case 1:if("function"==typeof(v=y.payload)){l=v.call(g,l,o);break e}l=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(o="function"==typeof(v=y.payload)?v.call(g,l,o):v))break e;l=c({},l,o);break e;case 2:ew=!0}}null!==h.callback&&(t.effectTag|=32,null===(o=i.effects)?i.effects=[h]:o.push(h))}if(null===(h=h.next)||h===s){if(null===(o=i.shared.pending))break;h=a.next=o.next,o.next=s,i.baseQueue=a=o,i.shared.pending=null}}null===p?f=l:p.next=d,i.baseState=f,i.baseQueue=p,r0(u),t.expirationTime=u,t.memoizedState=l}}function eL(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;ep?(v=f,f=null):v=f.sibling;var y=h(e,f,s[p],l);if(null===y){null===f&&(f=v);break}t&&f&&null===y.alternate&&n(e,f),a=o(y,a,p),null===c?u=y:c.sibling=y,c=y,f=v}if(p===s.length)return r(e,f),u;if(null===f){for(;pv?(y=f,f=null):y=f.sibling;var b=h(e,f,m.value,l);if(null===b){null===f&&(f=y);break}t&&f&&null===b.alternate&&n(e,f),a=o(b,a,v),null===c?u=b:c.sibling=b,c=b,f=y}if(m.done)return r(e,f),u;if(null===f){for(;!m.done;v++,m=s.next())null!==(m=d(e,m.value,l))&&(a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return u}for(f=i(e,f);!m.done;v++,m=s.next())null!==(m=g(f,e,v,m.value,l))&&(t&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return t&&f.forEach(function(t){return n(e,t)}),u}(l,u,c,f);if(x&&eH(l,c),void 0===c&&!b)switch(l.tag){case 1:case 0:throw Error(p(152,(l=l.type).displayName||l.name||"Component"))}return r(l,u)}}var eU=eX(!0),eq=eX(!1),eZ={},eK={current:eZ},e$={current:eZ},eQ={current:eZ};function eJ(t){if(t===eZ)throw Error(p(174));return t}function e0(t,e){tB(eQ,e),tB(e$,t),tB(eK,eZ),t=N(e),tN(eK),tB(eK,t)}function e1(){tN(eK),tN(e$),tN(eQ)}function e2(t){var e=eJ(eQ.current),n=eJ(eK.current);e=B(n,t.type,e),n!==e&&(tB(e$,t),tB(eK,e))}function e3(t){e$.current===t&&(tN(eK),tN(e$))}var e5={current:0};function e4(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||tA(n)||tS(n)))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!=(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function e6(t,e){return{responder:t,props:e}}var e7=h.ReactCurrentDispatcher,e8=h.ReactCurrentBatchConfig,e9=0,nt=null,ne=null,nn=null,nr=!1;function ni(){throw Error(p(321))}function na(t,e){if(null===e)return!1;for(var n=0;na))throw Error(p(301));a+=1,nn=ne=null,e.updateQueue=null,e7.current=nI,t=n(r,i)}while(e.expirationTime===e9)}if(e7.current=nE,e=null!==ne&&null!==ne.next,e9=0,nn=ne=nt=null,nr=!1,e)throw Error(p(300));return t}function ns(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===nn?nt.memoizedState=nn=t:nn=nn.next=t,nn}function nl(){if(null===ne){var t=nt.alternate;t=null!==t?t.memoizedState:null}else t=ne.next;var e=null===nn?nt.memoizedState:nn.next;if(null!==e)nn=e,ne=t;else{if(null===t)throw Error(p(310));t={memoizedState:(ne=t).memoizedState,baseState:ne.baseState,baseQueue:ne.baseQueue,queue:ne.queue,next:null},null===nn?nt.memoizedState=nn=t:nn=nn.next=t}return nn}function nu(t,e){return"function"==typeof e?e(t):e}function nc(t){var e=nl(),n=e.queue;if(null===n)throw Error(p(311));n.lastRenderedReducer=t;var r=ne,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var s=o=a=null,l=i;do{var u=l.expirationTime;if(unt.expirationTime&&(nt.expirationTime=u,r0(u))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),rJ(u,l.suspenseConfig),r=l.eagerReducer===t?l.eagerState:t(r,l.action);l=l.next}while(null!==l&&l!==i);null===s?a=r:s.next=o,ep(r,e.memoizedState)||(nz=!0),e.memoizedState=r,e.baseState=a,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function nf(t){var e=nl(),n=e.queue;if(null===n)throw Error(p(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,a=e.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do a=t(a,o.action),o=o.next;while(o!==i);ep(a,e.memoizedState)||(nz=!0),e.memoizedState=a,null===e.baseQueue&&(e.baseState=a),n.lastRenderedState=a}return[a,r]}function nd(t){var e=ns();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:nu,lastRenderedState:t}).dispatch=nw.bind(null,nt,t),[e.memoizedState,t]}function np(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=nt.updateQueue)?(e={lastEffect:null},nt.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function nh(){return nl().memoizedState}function ng(t,e,n,r){var i=ns();nt.effectTag|=t,i.memoizedState=np(1|e,n,void 0,void 0===r?null:r)}function nv(t,e,n,r){var i=nl();r=void 0===r?null:r;var a=void 0;if(null!==ne){var o=ne.memoizedState;if(a=o.destroy,null!==r&&na(r,o.deps)){np(e,n,a,r);return}}nt.effectTag|=t,i.memoizedState=np(1|e,n,a,r)}function ny(t,e){return ng(516,4,t,e)}function nm(t,e){return nv(516,4,t,e)}function nb(t,e){return nv(4,2,t,e)}function nx(t,e){return"function"==typeof e?(e(t=t()),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function n_(t,e,n){return n=null!=n?n.concat([t]):null,nv(4,2,nx.bind(null,e,t),n)}function nO(){}function nP(t,e){return ns().memoizedState=[t,void 0===e?null:e],t}function nM(t,e){var n=nl();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&na(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function nA(t,e){var n=nl();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&na(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function nS(t,e,n){var r=eo();el(98>r?98:r,function(){t(!0)}),el(97e)&&rk.set(t,e))}}function rW(t,e){t.expirationTime=(t=n>t?n:t)&&e!==t?0:t}function rH(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=eu(rU.bind(null,t));else{var e=rY(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r,i,a,o=rG();if(o=1073741823===e?99:1===e||2===e?95:0>=(o=10*(1073741821-e)-10*(1073741821-o))?99:250>=o?98:5250>=o?97:95,null!==n){var s=t.callbackPriority;if(t.callbackExpirationTime===e&&s>=o)return;n!==t8&&tJ(n)}t.callbackExpirationTime=e,t.callbackPriority=o,e=1073741823===e?eu(rU.bind(null,t)):(r=o,i=rX.bind(null,t),a={timeout:10*(1073741821-e)-ea()},tQ(r=es(r),i,a)),t.callbackNode=e}}}function rX(t,e){if(rB=0,e)return ib(t,e=rG()),rH(t),null;var n=rY(t);if(0!==n){if(e=t.callbackNode,(48&ry)!=0)throw Error(p(327));if(r6(),t===rm&&n===rx||rK(t,n),null!==rb){var r=ry;ry|=16;for(var i=rQ();;)try{(function(){for(;null!==rb&&!t9();)rb=r1(rb)})();break}catch(e){r$(t,e)}if(e_(),ry=r,rg.current=i,1===r_)throw e=rO,rK(t,n),iy(t,n),rH(t),e;if(null===rb)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,rm=null,r=r_){case 0:case 1:throw Error(p(345));case 2:ib(t,2=n){t.lastPingedTime=n,rK(t,n);break}}if(0!==(a=rY(t))&&a!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Z(r5.bind(null,t),i);break}r5(t);break;case 4:if(iy(t,n),r=t.lastSuspendedTime,n===r&&(t.nextKnownPendingLevel=r3(i)),rw&&(0===(i=t.lastPingedTime)||i>=n)){t.lastPingedTime=n,rK(t,n);break}if(0!==(i=rY(t))&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==rM?r=10*(1073741821-rM)-ea():1073741823===rP?r=0:(r=10*(1073741821-rP)-5e3,n=10*(1073741821-n)-(i=ea()),0>(r=i-r)&&(r=0),n<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*rh(r/1960))-r)&&(r=n)),10=(r=0|o.busyMinDurationMs)?r=0:(i=0|o.busyDelayMs,r=(a=ea()-(10*(1073741821-a)-(0|o.timeoutMs||5e3)))<=i?0:i+r-a),10 component higher in the tree to provide a loading indicator or placeholder to display."+tD(o))}5!==r_&&(r_=2),s=n7(s,o),d=a;do{switch(d.tag){case 3:u=s,d.effectTag|=4096,d.expirationTime=n;var x=rd(d,u,n);ej(d,x);break e;case 1:u=s;var _=d.type,O=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==O&&"function"==typeof O.componentDidCatch&&(null===rj||!rj.has(O)))){d.effectTag|=4096,d.expirationTime=n;var P=rp(d,u,n);ej(d,P);break e}}d=d.return}while(null!==d)}rb=r2(rb)}catch(t){n=t;continue}break}}function rQ(){var t=rg.current;return rg.current=nE,null===t?nE:t}function rJ(t,e){trS&&(rS=t)}function r1(t){var e=u(t.alternate,t,rx);return t.memoizedProps=t.pendingProps,null===e&&(e=r2(t)),rv.current=null,e}function r2(t){rb=t;do{var e=rb.alternate;if(t=rb.return,0==(2048&rb.effectTag)){if(e=function(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return tH(e.type)&&tX(),null;case 3:return e1(),tN(tz),tN(tV),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===t||null===t.child)&&nB(e)&&n5(e),o(e),null;case 5:e3(e);var i=eJ(eQ.current);if(n=e.type,null!==t&&null!=e.stateNode)s(t,e,n,r,i),t.ref!==e.ref&&(e.effectTag|=128);else{if(!r){if(null===e.stateNode)throw Error(p(166));return null}if(t=eJ(eK.current),nB(e)){if(!te)throw Error(p(175));t=tC(e.stateNode,e.type,e.memoizedProps,i,t,e),e.updateQueue=t,null!==t&&n5(e)}else{var u=z(n,r,i,t,e);a(u,e,!1,!1),e.stateNode=u,Y(u,n,r,i,t)&&n5(e)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)l(t,e,t.memoizedProps,r);else{if("string"!=typeof r&&null===e.stateNode)throw Error(p(166));if(t=eJ(eQ.current),i=eJ(eK.current),nB(e)){if(!te)throw Error(p(176));tT(e.stateNode,e.memoizedProps,e)&&n5(e)}else e.stateNode=q(r,t,i,e)}return null;case 13:if(tN(e5),r=e.memoizedState,0!=(64&e.effectTag))return e.expirationTime=n,e;return r=null!==r,i=!1,null===t?void 0!==e.memoizedProps.fallback&&nB(e):(i=null!==(n=t.memoizedState),r||null===n||null!==(n=t.child.sibling)&&(null!==(u=e.firstEffect)?(e.firstEffect=n,n.nextEffect=u):(e.firstEffect=e.lastEffect=n,n.nextEffect=null),n.effectTag=8)),r&&!i&&0!=(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!=(1&e5.current)?0===r_&&(r_=3):((0===r_||3===r_)&&(r_=4),0!==rS&&null!==rm&&(iy(rm,rx),im(rm,rS)))),tt&&r&&(e.effectTag|=4),J&&(r||i)&&(e.effectTag|=4),null;case 4:return e1(),o(e),null;case 10:return eP(e),null;case 19:if(tN(e5),null===(r=e.memoizedState))return null;if(i=0!=(64&e.effectTag),null===(u=r.rendering)){if(i)n6(r,!1);else if(0!==r_||null!==t&&0!=(64&t.effectTag))for(t=e.child;null!==t;){if(null!==(u=e4(t))){for(e.effectTag|=64,n6(r,!1),null!==(t=u.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,t=n,r=e.child;null!==r;)i=r,n=t,i.effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(u=i.alternate)?(i.childExpirationTime=0,i.expirationTime=n,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=u.childExpirationTime,i.expirationTime=u.expirationTime,i.child=u.child,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,n=u.dependencies,i.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),r=r.sibling;return tB(e5,1&e5.current|2),e.child}t=t.sibling}}else{if(!i){if(null!==(t=e4(u))){if(e.effectTag|=64,i=!0,null!==(t=t.updateQueue)&&(e.updateQueue=t,e.effectTag|=4),n6(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*ea()-r.renderingStartTime>r.tailExpiration&&1n&&(n=i),u>n&&(n=u),r=r.sibling}rb.childExpirationTime=n}if(null!==e)return e;null!==t&&0==(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=rb.firstEffect),null!==rb.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=rb.firstEffect),t.lastEffect=rb.lastEffect),1(t=t.childExpirationTime)?e:t}function r5(t){return el(99,r4.bind(null,t,eo())),null}function r4(t,e){do r6();while(null!==rL);if((48&ry)!=0)throw Error(p(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(p(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=r3(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===rm&&(rb=rm=null,rx=0),1=r)return nJ(t,n,r);return tB(e5,1&e5.current),null!==(n=n3(t,n,r))?n.sibling:null}tB(e5,1&e5.current);break;case 19:if(i=n.childExpirationTime>=r,0!=(64&t.effectTag)){if(i)return n2(t,n,r);n.effectTag|=64}if(null!==(a=n.memoizedState)&&(a.rendering=null,a.tail=null),tB(e5,e5.current),!i)return null}return n3(t,n,r)}nz=!1}}else nz=!1;switch(n.expirationTime=0,n.tag){case 2:if(i=n.type,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,a=tY(n,tV.current),eA(n,r),a=no(null,n,i,t,a,r),n.effectTag|=1,"object"===(0,e.default)(a)&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,tH(i)){var o=!0;tZ(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,eE(n);var s=i.getDerivedStateFromProps;"function"==typeof s&&eR(n,i,s,t),a.updater=eN,n.stateNode=a,a._reactInternalFiber=n,ez(n,i,t,r),n=nK(null,n,i,!0,o,r)}else n.tag=0,nW(null,n,a,r),n=n.child;return n;case 16:e:{if(a=n.elementType,null!==t&&(t.alternate=null,n.alternate=null,n.effectTag|=2),t=n.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}}(a),1!==a._status)throw a._result;switch(a=a._result,n.type=a,o=n.tag=function(t){if("function"==typeof t)return il(t)?1:0;if(null!=t){if((t=t.$$typeof)===M)return 11;if(t===w)return 14}return 2}(a),t=ev(a,t),o){case 0:n=nq(null,n,a,t,r);break e;case 1:n=nZ(null,n,a,t,r);break e;case 11:n=nY(null,n,a,t,r);break e;case 14:n=nH(null,n,a,ev(a.type,t),i,r);break e}throw Error(p(306,a,""))}return n;case 0:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nq(t,n,i,a,r);case 1:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nZ(t,n,i,a,r);case 3:if(n$(n),i=n.updateQueue,null===t||null===i)throw Error(p(282));if(i=n.pendingProps,a=null!==(a=n.memoizedState)?a.element:null,eC(t,n),eF(n,i,null,r),(i=n.memoizedState.element)===a)nG(),n=n3(t,n,r);else{if((a=n.stateNode.hydrate)&&(te?(nF=tE(n.stateNode.containerInfo),nj=n,a=nL=!0):a=!1),a)for(r=eq(n,null,i,r),n.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else nW(t,n,i,r),nG();n=n.child}return n;case 5:return e2(n),null===t&&nR(n),i=n.type,a=n.pendingProps,o=null!==t?t.memoizedProps:null,s=a.children,X(i,a)?s=null:null!==o&&X(i,o)&&(n.effectTag|=16),nU(t,n),4&n.mode&&1!==r&&U(i,a)?(n.expirationTime=n.childExpirationTime=1,n=null):(nW(t,n,s,r),n=n.child),n;case 6:return null===t&&nR(n),null;case 13:return nJ(t,n,r);case 4:return e0(n,n.stateNode.containerInfo),i=n.pendingProps,null===t?n.child=eU(n,null,i,r):nW(t,n,i,r),n.child;case 11:return i=n.type,a=n.pendingProps,a=n.elementType===i?a:ev(i,a),nY(t,n,i,a,r);case 7:return nW(t,n,n.pendingProps,r),n.child;case 8:case 12:return nW(t,n,n.pendingProps.children,r),n.child;case 10:e:{if(i=n.type._context,a=n.pendingProps,s=n.memoizedProps,o=a.value,eO(n,o),null!==s){var l=s.value;if(0==(o=ep(l,o)?0:("function"==typeof i._calculateChangedBits?i._calculateChangedBits(l,o):1073741823)|0)){if(s.children===a.children&&!tz.current){n=n3(t,n,r);break e}}else for(null!==(l=n.child)&&(l.return=n);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===i&&0!=(c.observedBits&o)){1===l.tag&&((c=eT(r,null)).tag=2,eI(l,c)),l.expirationTime=e&&t<=e}function iy(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;ne||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function im(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function ib(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}var ix=null;function i_(t){var e=t._reactInternalFiber;if(void 0===e){if("function"==typeof t.render)throw Error(p(188));throw Error(p(268,Object.keys(t)))}return null===(t=k(e))?null:t.stateNode}function iO(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime=P},s=function(){},e.unstable_forceFrameRate=function(t){0>t||125>>1,i=t[r];if(void 0!==i&&0C(o,n))void 0!==l&&0>C(l,o)?(t[r]=l,t[s]=n,r=s):(t[r]=o,t[a]=n,r=a);else if(void 0!==l&&0>C(l,n))t[r]=l,t[s]=n,r=s;else break}}return e}return null}function C(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var T=[],I=[],j=1,F=null,L=3,D=!1,k=!1,R=!1;function N(t){for(var e=w(I);null!==e;){if(null===e.callback)E(I);else if(e.startTime<=t)E(I),e.sortIndex=e.expirationTime,S(T,e);else break;e=w(I)}}function B(t){if(R=!1,N(t),!k){if(null!==w(T))k=!0,r(G);else{var e=w(I);null!==e&&i(B,e.startTime-t)}}}function G(t,n){k=!1,R&&(R=!1,a()),D=!0;var r=L;try{for(N(n),F=w(T);null!==F&&(!(F.expirationTime>n)||t&&!o());){var s=F.callback;if(null!==s){F.callback=null,L=F.priorityLevel;var l=s(F.expirationTime<=n);n=e.unstable_now(),"function"==typeof l?F.callback=l:F===w(T)&&E(T),N(n)}else E(T);F=w(T)}if(null!==F)var u=!0;else{var c=w(I);null!==c&&i(B,c.startTime-n),u=!1}return u}finally{F=null,L=r,D=!1}}function V(t){switch(t){case 1:return -1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){k||D||(k=!0,r(G))},e.unstable_getCurrentPriorityLevel=function(){return L},e.unstable_getFirstCallbackNode=function(){return w(T)},e.unstable_next=function(t){switch(L){case 1:case 2:case 3:var e=3;break;default:e=L}var n=L;L=e;try{return t()}finally{L=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=z,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=L;L=t;try{return e()}finally{L=n}},e.unstable_scheduleCallback=function(t,n,o){var s=e.unstable_now();if("object"===(0,l.default)(o)&&null!==o){var u=o.delay;u="number"==typeof u&&0s?(t.sortIndex=u,S(I,t),null===w(T)&&t===w(I)&&(R?a():R=!0,i(B,u-s))):(t.sortIndex=o,S(T,t),k||D||(k=!0,r(G))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();N(t);var n=w(T);return n!==F&&null!==F&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTimel(a.observationTargets,e)&&(u&&o.resizeObservers.push(a),a.observationTargets.push(new i.ResizeObservation(e,n&&n.box)),(0,r.updateCount)(1),r.scheduler.schedule())},t.unobserve=function(t,e){var n=s.get(t),i=l(n.observationTargets,e),a=1===n.observationTargets.length;i>=0&&(a&&o.resizeObservers.splice(o.resizeObservers.indexOf(n),1),n.observationTargets.splice(i,1),(0,r.updateCount)(-1))},t.disconnect=function(t){var e=this,n=s.get(t);n.observationTargets.slice().forEach(function(n){return e.unobserve(t,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},t}();e.ResizeObserverController=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updateCount=e.scheduler=void 0;var r=n(1042),i=n(486),a=n(1049),o=0,s={attributes:!0,characterData:!0,childList:!0,subtree:!0},l=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],u=function(t){return void 0===t&&(t=0),Date.now()+t},c=!1,f=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!c){c=!0;var n=u(t);(0,a.queueResizeObserver)(function(){var i=!1;try{i=(0,r.process)()}finally{if(c=!1,t=n-u(),!o)return;i?e.run(1e3):t>0?e.run(t):e.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,s)};document.body?e():i.global.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),l.forEach(function(e){return i.global.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),l.forEach(function(e){return i.global.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}());e.scheduler=f,e.updateCount=function(t){!o&&t>0&&f.start(),(o+=t)||f.stop()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.process=void 0;var r=n(1043),i=n(1044),a=n(1045),o=n(1046),s=n(1048);e.process=function(){var t=0;for((0,s.gatherActiveObservationsAtDepth)(t);(0,r.hasActiveObservations)();)t=(0,o.broadcastActiveObservations)(),(0,s.gatherActiveObservationsAtDepth)(t);return(0,i.hasSkippedObservations)()&&(0,a.deliverResizeLoopError)(),t>0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasActiveObservations=void 0;var r=n(152);e.hasActiveObservations=function(){return r.resizeObservers.some(function(t){return t.activeTargets.length>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasSkippedObservations=void 0;var r=n(152);e.hasSkippedObservations=function(){return r.resizeObservers.some(function(t){return t.skippedTargets.length>0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.deliverResizeLoopError=void 0;var r="ResizeObserver loop completed with undelivered notifications.";e.deliverResizeLoopError=function(){var t;"function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:r}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=r),window.dispatchEvent(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastActiveObservations=void 0;var r=n(152),i=n(483),a=n(487),o=n(289);e.broadcastActiveObservations=function(){var t=1/0,e=[];r.resizeObservers.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(e){var n=new i.ResizeObserverEntry(e.target),s=(0,a.calculateDepthForNode)(e.target);r.push(n),e.lastReportedSize=(0,o.calculateBoxSize)(e.target,e.observedBox),st?e.activeTargets.push(n):e.skippedTargets.push(n))})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.queueResizeObserver=void 0;var r=n(1050);e.queueResizeObserver=function(t){(0,r.queueMicroTask)(function(){requestAnimationFrame(t)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.queueMicroTask=void 0;var r,i=[];e.queueMicroTask=function(t){if(!r){var e=0,n=document.createTextNode("");new MutationObserver(function(){return i.splice(0).forEach(function(t){return t()})}).observe(n,{characterData:!0}),r=function(){n.textContent="".concat(e?e--:e++)}}i.push(t),r()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizeObservation=void 0;var r=n(484),i=n(289),a=n(192),o=function(){function t(t,e){this.target=t,this.observedBox=e||r.ResizeObserverBoxOptions.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=(0,i.calculateBoxSize)(this.target,this.observedBox,!0);return t=this.target,(0,a.isSVG)(t)||(0,a.isReplacedElement)(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}();e.ResizeObservation=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResizeObserverDetail=void 0,e.ResizeObserverDetail=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(488),i=n(117);e.default=function(t){if(!r.default(t)||!i.default(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(117);e.default=function(t){return r.default(t,"Number")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=void 0,e.flow=function(){for(var t=[],e=0;e=r.get(e,["views","length"],0)?i(e):r.reduce(e.views,function(e,n){return e.concat(t(n))},i(e))},e.getAllGeometriesRecursively=function(t){return 0>=r.get(t,["views","length"],0)?t.geometries:r.reduce(t.views,function(t,e){return t.concat(e.geometries)},t.geometries)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=void 0;var r=n(1),i=n(0);e.transformLabel=function(t){if(!i.isType(t,"Object"))return t;var e=r.__assign({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSplinePath=e.catmullRom2bezier=e.smoothBezier=e.points2Path=void 0;var r=n(32);function i(t,e){var n=[];if(t.length){n.push(["M",t[0].x,t[0].y]);for(var r=1,i=t.length;r
      ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},e.DEFAULT_TOOLTIP_OPTIONS),animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(154);e.DEFAULT_OPTIONS={appendPadding:2,tooltip:r.__assign({},i.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(15),i=n(34),a=n(43),o=n(296);Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return o.meta}});var s=n(118),l=n(154);function u(t){var e=t.chart,n=t.options,i=n.data,o=n.color,u=n.lineStyle,c=n.point,f=null==c?void 0:c.state,d=s.getTinyData(i);e.data(d);var p=r.deepAssign({},t,{options:{xField:l.X_FIELD,yField:l.Y_FIELD,line:{color:o,style:u},point:c}}),h=r.deepAssign({},p,{options:{tooltip:!1,state:f}});return a.line(p),a.point(h),e.axis(!1),e.legend(!1),t}e.adaptor=function(t){return r.flow(u,o.meta,i.theme,i.tooltip,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left"},isStack:!1})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(1089);r.registerAction("marker-active",i.MarkerActiveAction),r.registerInteraction("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MarkerActiveAction=void 0;var r=n(1),i=n(0),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.active=function(){var t=this.getView(),e=this.context.event;if(e.data){var n=e.data.items,r=t.geometries.filter(function(t){return"point"===t.type});i.each(r,function(t){i.each(t.elements,function(t){var e=-1!==i.findIndex(n,function(e){return e.data===t.data});t.setState("active",e)})})}},e.prototype.reset=function(){var t=this.getView().geometries.filter(function(t){return"point"===t.type});i.each(t,function(t){i.each(t.elements,function(t){t.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(n(14).InteractionAction);e.MarkerActiveAction=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.interaction=void 0;var r=n(1),i=n(0),a=n(510),o=n(34),s=n(153),l=n(15),u=n(293),c=n(513);function f(t){var e=t.options.colorField;return l.deepAssign({options:{rawFields:["value"],tooltip:{fields:["name","value",e,"path"],formatter:function(t){return{name:t.name,value:t.value}}}}},t)}function d(t){var e=t.chart,n=t.options,r=n.color,i=n.colorField,o=n.rectStyle,s=n.hierarchyConfig,u=n.rawFields,f=c.transformData({data:n.data,colorField:n.colorField,enableDrillDown:c.enableDrillInteraction(n),hierarchyConfig:s});return e.data(f),a.polygon(l.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:i,rawFields:u,polygon:{color:r,style:o}}})),e.coordinate().reflect("y"),t}function p(t){return t.chart.axis(!1),t}function h(t){var e,n,a=t.chart,s=t.options,f=s.interactions,d=s.drilldown;o.interaction({chart:a,options:(e=s.drilldown,n=s.interactions,c.enableDrillInteraction(s)?l.deepAssign({},s,{interactions:r.__spreadArrays(void 0===n?[]:n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:c.transformData}}])}):s)});var p=c.findInteraction(f,"view-zoom");return p&&(!1!==p.enable?a.getCanvas().on("mousewheel",function(t){t.preventDefault()}):a.getCanvas().off("mousewheel")),c.enableDrillInteraction(s)&&(a.appendPadding=u.getAdjustAppendPadding(a.appendPadding,i.get(d,["breadCrumb","position"]))),t}e.interaction=h,e.adaptor=function(t){return l.flow(f,o.theme,s.pattern("rectStyle"),d,p,o.legend,o.tooltip,h,o.animation,o.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treemap=e.getTileMethod=void 0;var r=n(1).__importStar(n(193)),i=n(0),a=n(1116),o={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(t,e){return e.value-t.value},ratio:.5*(1+Math.sqrt(5))};function s(t,e){return"treemapSquarify"===t?r[t].ratio(e):r[t]}e.getTileMethod=s,e.treemap=function(t,e){var n,l=(e=i.assign({},o,e)).as;if(!i.isArray(l)||2!==l.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}var u=s(e.tile,e.ratio),c=r.treemap().tile(u).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(r.hierarchy(t).sum(function(t){return e.ignoreParentValue&&t.children?0:t[n]}).sort(e.sort)),f=l[0],d=l[1];return c.each(function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===l.indexOf(e)&&delete t[e]})}),a.getAllNodes(c)}},function(t,e,n){"use strict";function r(t,e){return t.parent===e.parent?1:2}function i(t,e){return t+e.x}function a(t,e){return Math.max(t,e.y)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=r,e=1,n=1,o=!1;function s(r){var s,l=0;r.eachAfter(function(e){var n=e.children;n?(e.x=n.reduce(i,0)/n.length,e.y=1+n.reduce(a,0)):(e.x=s?l+=t(e,s):0,e.y=0,s=e)});var u=function(t){for(var e;e=t.children;)t=e[0];return t}(r),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(r),f=u.x-t(u,c)/2,d=c.x+t(c,u)/2;return r.eachAfter(o?function(t){t.x=(t.x-r.x)*e,t.y=(r.y-t.y)*n}:function(t){t.x=(t.x-f)/(d-f)*e,t.y=(1-(r.y?t.y/r.y:1))*n})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(o=!1,e=+t[0],n=+t[1],s):o?null:[e,n]},s.nodeSize=function(t){return arguments.length?(o=!0,e=+t[0],n=+t[1],s):o?[e,n]:null},s}},function(t,e,n){"use strict";function r(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return this.eachAfter(r)}},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this);try{for(a.s();!(n=a.n()).done;){var o=n.value;t.call(e,o,++i,this)}}catch(t){a.e(t)}finally{a.f()}return this}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n,r,i=this,a=[i],o=-1;i=a.pop();)if(t.call(e,i,++o,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n,r,i,a=this,o=[a],s=[],l=-1;a=o.pop();)if(s.push(a),n=a.children)for(r=0,i=n.length;rt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(t.call(e,o,++i,this))return o}}catch(t){a.e(t)}finally{a.f()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return Array.from(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=r(n(1106)),a=i.default.mark(o);function o(){var t,e,n,r,o,s;return i.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:t=this,n=[t];case 1:e=n.reverse(),n=[];case 2:if(!(t=e.pop())){i.next=8;break}return i.next=5,t;case 5:if(r=t.children)for(o=0,s=r.length;o=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=null,e=1,n=1,r=o.constantZero;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(u(t)).eachAfter(c(r,.5)).eachBefore(f(1)):i.eachBefore(u(l)).eachAfter(c(o.constantZero,1)).eachAfter(c(r,i.r/Math.min(e,n))).eachBefore(f(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=(0,a.optional)(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:(0,o.default)(+t),i):r},i};var i=n(515),a=n(298),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(518));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}function l(t){return Math.sqrt(t.value)}function u(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function c(t,e){return function(n){if(r=n.children){var r,a,o,s=r.length,l=t(n)*e||0;if(l)for(a=0;a0)throw Error("cycle");return l}return n.id=function(e){return arguments.length?(t=(0,r.required)(e),n):t},n.parentId=function(t){return arguments.length?(e=(0,r.required)(t),n):e},n};var r=n(298),i=n(297),a={depth:-1},o={};function s(t){return t.id}function l(t){return t.parentId}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=i,e=1,n=1,r=null;function l(i){var a=function(t){for(var e,n,r,i,a,o=new s(t,0),l=[o];e=l.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)l.push(n=e.children[i]=new s(r[i],i)),n.parent=e;return(o.parent=new s(null,0)).children=[o],o}(i);if(a.eachAfter(u),a.parent.m=-a.z,a.eachBefore(c),r)i.eachBefore(f);else{var o=i,l=i,d=i;i.eachBefore(function(t){t.xl.x&&(l=t),t.depth>d.depth&&(d=t)});var p=o===l?1:t(o,l)/2,h=p-o.x,g=e/(l.x+p+h),v=n/(d.depth||1);i.eachBefore(function(t){t.x=(t.x+h)*g,t.y=t.depth*v})}return i}function u(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)e=i[a],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var s=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-s):e.z=s}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,s,l,u=e,c=e,f=n,d=u.parent.children[0],p=u.m,h=c.m,g=f.m,v=d.m;f=o(f),u=a(u),f&&u;)d=a(d),(c=o(c)).a=e,(l=f.z+g-u.z-p+t(f._,u._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=f,s=r,i.a.parent===e.parent?i.a:s),e,l),p+=l,h+=l),g+=f.m,p+=u.m,v+=d.m,h+=c.m;f&&!o(c)&&(c.t=f,c.m+=g-h),u&&!a(d)&&(d.t=u,d.m+=p-v,r=e)}return r}(e,i,e.parent.A||r[0])}function c(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=e,t.y=t.depth*n}return l.separation=function(e){return arguments.length?(t=e,l):t},l.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],l):r?null:[e,n]},l.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],l):r?[e,n]:null},l};var r=n(297);function i(t,e){return t.parent===e.parent?1:2}function a(t){var e=t.children;return e?e[0]:t.t}function o(t){var e=t.children;return e?e[e.length-1]:t.t}function s(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}s.prototype=Object.create(r.Node.prototype)},function(t,e,n){"use strict";var r=n(2),i=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=o.default,e=!1,n=1,r=1,i=[0],u=l.constantZero,c=l.constantZero,f=l.constantZero,d=l.constantZero,p=l.constantZero;function h(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(g),i=[0],e&&t.eachBefore(a.default),t}function g(e){var n=i[e.depth],r=e.x0+n,a=e.y0+n,o=e.x1-n,s=e.y1-n;o=n-1){var c=s[e];c.x0=i,c.y0=a,c.x1=o,c.y1=l;return}for(var f=u[e],d=r/2+f,p=e+1,h=n-1;p>>1;u[g]l-a){var m=r?(i*y+o*v)/r:o;t(e,p,v,i,a,m,l),t(p,n,y,m,a,o,l)}else{var b=r?(a*y+l*v)/r:l;t(e,p,v,i,a,o,b),t(p,n,y,i,b,o,l)}})(0,l,t.value,e,n,r,i)}},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o){(1&t.depth?a.default:i.default)(t,e,n,r,o)};var i=r(n(155)),a=r(n(194))},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(155)),a=r(n(194)),o=n(299),s=function t(e){function n(t,n,r,s,l){if((u=t._squarify)&&u.ratio===e)for(var u,c,f,d,p,h=-1,g=u.length,v=t.value;++h1?e:1)},n}(o.phi);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAllNodes=e.getField=e.NODE_ANCESTORS_FIELD=e.CHILD_NODE_COUNT=e.NODE_INDEX_FIELD=void 0;var r=n(0);e.NODE_INDEX_FIELD="nodeIndex",e.CHILD_NODE_COUNT="childNodeCount",e.NODE_ANCESTORS_FIELD="nodeAncestor";var i="Invalid field: it must be a string!";e.getField=function(t,e){var n=t.field,a=t.fields;if(r.isString(n))return n;if(r.isArray(n))return console.warn(i),n[0];if(console.warn(i+" will try to get fields instead."),r.isString(a))return a;if(r.isArray(a)&&a.length)return a[0];if(e)return e;throw TypeError(i)},e.getAllNodes=function(t){var n,i,a=[];return t&&t.each?t.each(function(t){t.parent!==n?(n=t.parent,i=0):i+=1;var o,s,l=r.filter(((null===(o=t.ancestors)||void 0===o?void 0:o.call(t))||[]).map(function(t){return a.find(function(e){return e.name===t.name})||t}),function(e){var n=e.depth;return n>0&&n0}function s(t){var e=t.view.getCoordinate(),n=e.innerRadius;if(n){var r=t.event,i=r.x,a=r.y,o=e.center;return Math.sqrt(Math.pow(o.x-i,2)+Math.pow(o.y-a,2))0){var n;(function(t,e,n){var i,a=t.view,o=t.geometry,s=t.group,u=t.options,c=t.horizontal,f=u.offset,d=u.size,p=u.arrow,h=a.getCoordinate(),g=l(h,e)[c?3:0],v=l(h,n)[c?0:3],y=v.y-g.y,m=v.x-g.x;if("boolean"!=typeof p){var b=p.headSize,x=u.spacing;c?(m-b)/2_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=void 0;var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};r.registerInteraction(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),r.registerInteraction(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(15);e.BUTTON_ACTION_CONFIG={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};var s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.buttonGroup=null,n.buttonCfg=r.__assign({name:"button"},e.BUTTON_ACTION_CONFIG),n}return r.__extends(n,t),n.prototype.getButtonCfg=function(){var t=this.context.view,e=a.get(t,["interactions","filter-action","cfg","buttonConfig"]);return o.deepAssign(this.buttonCfg,e,this.cfg)},n.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},n.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:r.__assign({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},n.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=o.normalPadding(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:r.__assign({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},n.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},n.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},n.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},n.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},n}(i.Action);e.ButtonAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(15),u=n(119),c=n(512);function f(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,o=n.color,c=n.point,f=n.line,d=n.isPercent,p=n.xField,h=n.yField,g=n.tooltip,v=n.seriesField,y=n.startOnZero,m=null==c?void 0:c.state,b=u.getDataWhetherPecentage(i,h,p,h,d);e.data(b);var x=d?r.__assign({formatter:function(t){return{name:t[v]||t[p],value:(100*Number(t[h])).toFixed(2)+"%"}}},g):g,_=l.deepAssign({},t,{options:{area:{color:o,style:a},line:f&&r.__assign({color:o},f),point:c&&r.__assign({color:o},c),tooltip:x,label:void 0,args:{startOnZero:y}}}),O=l.deepAssign({options:{line:{size:2}}},_,{options:{sizeField:v,tooltip:!1}}),P=l.deepAssign({},_,{options:{tooltip:!1,state:m}});return s.area(_),s.line(O),s.point(P),t}function d(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"area");if(i){var u=i.callback,c=r.__rest(i,["callback"]);s.label({fields:[a],callback:u,cfg:r.__assign({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},l.transformLabel(c))})}else s.label(!1);return t}function p(t){var e=t.chart,n=t.options,r=n.isStack,a=n.isPercent,o=n.seriesField;return(a||r)&&o&&i.each(e.geometries,function(t){t.adjust("stack")}),t}Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return c.meta}}),e.adaptor=function(t){return l.flow(a.theme,a.pattern("areaStyle"),f,c.meta,p,c.axis,c.legend,a.tooltip,d,a.slider,a.annotation(),a.interaction,a.animation,a.limitInPlot)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.interaction=e.pieAnnotation=e.transformStatisticOptions=void 0;var r=n(1),i=n(0),a=n(34),o=n(59),s=n(43),l=n(153),u=n(131),c=n(15),f=n(525),d=n(526),p=n(527);function h(t){var e=t.chart,n=t.options,i=n.data,a=n.angleField,o=n.colorField,l=n.color,u=n.pieStyle,f=c.processIllegalData(i,a);if(d.isAllZero(f,a)){var p="$$percentage$$";f=f.map(function(t){var e;return r.__assign(r.__assign({},t),((e={})[p]=1/f.length,e))}),e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:p,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}else{e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:a,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,o=c.deepAssign({},i);return n.scale(o,((e={})[a]={type:"cat"},e)),t}function v(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function y(t){var e=t.chart,n=t.options,a=n.label,o=n.colorField,s=n.angleField,l=e.geometries[0];if(a){var u=a.callback,f=r.__rest(a,["callback"]),p=c.transformLabel(f);if(p.content){var h=p.content;p.content=function(t,n,a){var l=t[o],u=t[s],f=e.getScaleByField(s),d=null==f?void 0:f.scale(u);return i.isFunction(h)?h(r.__assign(r.__assign({},t),{percent:d}),n,a):i.isString(h)?c.template(h,{value:u,name:l,percentage:i.isNumber(d)&&!i.isNil(u)?(100*d).toFixed(2)+"%":null}):h}}var g=p.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[p.type]:"pie-outer",v=p.layout?i.isArray(p.layout)?p.layout:[p.layout]:[];p.layout=(g?[{type:g}]:[]).concat(v),l.label({fields:o?[s,o]:[s],callback:u,cfg:r.__assign(r.__assign({},p),{offset:d.adaptOffset(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,r=t.angleField,a=t.colorField,o=t.meta,s=t.locale,l=u.getLocale(s);if(e&&n){var p=c.deepAssign({},f.DEFAULT_OPTIONS.statistic,n),h=p.title,g=p.content;return!1!==h&&(h=c.deepAssign({},{formatter:function(t){return t?t[a]:i.isNil(h.content)?l.get(["statistic","total"]):h.content}},h)),!1!==g&&(g=c.deepAssign({},{formatter:function(t,e){var n=t?t[r]:d.getTotalValue(e,r),a=i.get(o,[r,"formatter"])||function(t){return t};return t?a(n):i.isNil(g.content)?a(n):g.content}},g)),c.deepAssign({},{statistic:{title:h,content:g}},t)}return t}function b(t){var e=t.chart,n=m(t.options),r=n.innerRadius,i=n.statistic;return e.getController("annotation").clear(!0),c.flow(a.annotation())(t),r&&i&&c.renderStatistic(e,{statistic:i,plotType:"pie"}),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip,a=n.colorField,s=n.angleField,l=n.data;if(!1===r)e.tooltip(r);else if(e.tooltip(c.deepAssign({},r,{shared:!1})),d.isAllZero(l,s)){var u=i.get(r,"fields"),f=i.get(r,"formatter");i.isEmpty(i.get(r,"fields"))&&(u=[a,s],f=f||function(t){return{name:t[a],value:i.toString(t[s])}}),e.geometries[0].tooltip(u.join("*"),o.getMappingFunction(u,f))}return t}function _(t){var e=t.chart,n=m(t.options),a=n.interactions,o=n.statistic,s=n.annotations;return i.each(a,function(t){var n,a;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var l=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(l=[{trigger:"element:mouseenter",action:p.PIE_STATISTIC+":change",arg:{statistic:o,annotations:s}}]),i.each(null===(a=t.cfg)||void 0===a?void 0:a.start,function(t){l.push(r.__assign(r.__assign({},t),{arg:{statistic:o,annotations:s}}))}),e.interaction(t.type,c.deepAssign({},t.cfg,{start:l}))}else e.interaction(t.type,t.cfg||{})}),t}e.transformStatisticOptions=m,e.pieAnnotation=b,e.interaction=_,e.adaptor=function(t){return c.flow(l.pattern("pieStyle"),h,g,a.theme,v,a.legend,x,y,a.state,b,_,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(528),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return a.isEqual(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix(o.transform([["t",f,d]])),a.setMatrix(o.transform([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=n(1),a=n(14),o=n(0),s=n(503),l=n(1131),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,i=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var u=o.get(i,["data","data"]);if(i.type.match("legend-item")){var c=a.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;u=n.getData().find(function(t){return t[f]===d.value})}}if(u){var p=o.get(t,"annotations",[]),h=o.get(t,"statistic",{});n.getController("annotation").clear(!0),o.each(p,function(t){"object"===(0,r.default)(t)&&n.annotation()[t.type](t)}),s.renderStatistic(n,{statistic:h,plotType:"pie"},u),n.render(!0)}var g=l.getCurrentElement(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();o.each(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(a.Action);e.StatisticAction=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=void 0,e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(0),a=n(15),o=n(15),s=n(34),l=n(59),u=n(64);function c(t){var e=t.chart,n=t.options,r=n.data,o=n.type,s=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=u.getTooltipMapping(v,[s,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),l.geometry(a.deepAssign({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,(i.get(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function f(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,l=n.yField;return o.flow(s.scale(((e={})[a]=r,e[l]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,l=n.type,u=a.findGeometry(e,"density"===l?"heatmap":"polygon");if(i){if(s){var c=i.callback,f=r.__rest(i,["callback"]);u.label({fields:[s],callback:c,cfg:o.transformLabel(f)})}}else u.label(!1);return t}function g(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}e.adaptor=function(t){return o.flow(s.theme,s.pattern("heatmapStyle"),f,g,c,d,p,s.tooltip,h,s.annotation(),s.interaction,s.animation,s.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:r.__assign(r.__assign(r.__assign({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:r.__assign(r.__assign(r.__assign({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.legend=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(529),u=n(530);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=l.transform(t);e.data(f);var d=o.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:i.isFunction(c)&&r.__spreadArrays(i.get(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return s.point(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return o.flow(a.scale({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}e.legend=d,e.adaptor=function(t){o.flow(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=e.transform=e.wordCloud=void 0;var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){r.isNil(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}e.wordCloud=function(t,e){return a(t,e=r.assign({},i,e))},e.transform=a;var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n=0)&&(p=p?i.isArray(p)?p:[p]:[],f.layout=i.filter(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:a.transformLabel(f)})}else a.log(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return a.flow(o.scale(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}e.legend=c,e.adaptor=function(t){a.flow(o.pattern("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,o.annotation(),o.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(0),i=n(34),a=n(131),o=n(15),s=n(521),l=n(531),u=n(1142),c=n(1143),f=n(1144),d=n(120);function p(t){var e,n=t.options,i=n.compareField,l=n.xField,u=n.yField,c=n.locale,f=n.funnelStyle,p=n.data,h=a.getLocale(c),g={label:i?{fields:[l,u,i,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],formatter:function(t){return""+t[u]}}:{fields:[l,u,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],offset:0,position:"middle",formatter:function(t){return t[l]+" "+t[u]}},tooltip:{title:l,formatter:function(t){return{name:t[l],value:t[u]}}},conversionTag:{formatter:function(t){return h.get(["conversionTag","label"])+": "+s.conversionTagFormatter.apply(void 0,t[d.FUNNEL_CONVERSATION])}}};return(i||f)&&(e=function(t){return o.deepAssign({},i&&{lineWidth:1,stroke:"#fff"},r.isFunction(f)?f(t):f)}),o.deepAssign({options:g},t,{options:{funnelStyle:e,data:r.clone(p)}})}function h(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?c.facetFunnel(t):n?u.compareFunnel(t):r?f.dynamicHeightFunnel(t):l.basicFunnel(t)}function g(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function v(t){return t.chart.axis(!1),t}function y(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}e.meta=g,e.adaptor=function(t){return o.flow(p,h,g,v,i.tooltip,i.interaction,y,i.animation,i.theme,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareFunnel=void 0;var r=n(0),i=n(15),a=n(64),o=n(59),s=n(120),l=n(300);function u(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function c(t){var e=t.chart,n=t.options,u=n.data,c=n.xField,f=n.yField,d=n.color,p=n.compareField,h=n.isTransposed,g=n.tooltip,v=n.maxSize,y=n.minSize,m=n.label,b=n.funnelStyle,x=n.state;return e.facet("mirror",{fields:[p],transpose:!h,padding:h?0:[32,0,0,0],eachView:function(t,e){var n=h?e.rowIndex:e.columnIndex;h||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var _=l.transformData(e.data,u,{yField:f,maxSize:v,minSize:y});t.data(_);var O=a.getTooltipMapping(g,[c,f,p]),P=O.fields,M=O.formatter;o.geometry({chart:t,options:{type:"interval",xField:c,yField:s.FUNNEL_MAPPING_VALUE,colorField:c,tooltipFields:r.isArray(P)&&P.concat([s.FUNNEL_PERCENT,s.FUNNEL_CONVERSATION]),mapping:{shape:"funnel",tooltip:M,color:d,style:b},label:!1!==m&&i.deepAssign({},h?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}},m),state:x}})}}),t}function f(t){var e=t.chart,n=t.options,r=n.conversionTag,a=n.isTransposed;return e.once("beforepaint",function(){e.views.forEach(function(t,e){l.conversionTagComponent(function(t,n,o,l){return i.deepAssign({},l,{start:[n-.5,t[s.FUNNEL_MAPPING_VALUE]],end:[n-.5,t[s.FUNNEL_MAPPING_VALUE]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:!1!==r?(0===e?-1:1)*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})})(i.deepAssign({},{chart:t,options:n}))})}),t}e.compareFunnel=function(t){return i.flow(u,c,f)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.facetFunnel=void 0;var r=n(15),i=n(531);function a(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function o(t){var e=t.chart,n=t.options,a=n.seriesField,o=n.isTransposed;return e.facet("rect",{fields:[a],padding:[o?0:32,10,0,10],eachView:function(e,n){i.basicFunnel(r.deepAssign({},t,{chart:e,options:{data:n.data}}))}}),t}e.facetFunnel=function(t){return r.flow(a,o)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicHeightFunnel=void 0;var r=n(1),i=n(0),a=n(15),o=n(120),s=n(59),l=n(64),u=n(300);function c(t){var e=t.chart,n=t.options,r=n.data,a=void 0===r?[]:r,s=n.yField,l=i.reduce(a,function(t,e){return t+(e[s]||0)},0),u=i.maxBy(a,s)[s],c=i.map(a,function(t,e){var n=[],r=[];if(t[o.FUNNEL_TOTAL_PERCENT]=(t[s]||0)/l,e){var c=a[e-1][o.PLOYGON_X],f=a[e-1][o.PLOYGON_Y];n[0]=c[3],r[0]=f[3],n[1]=c[2],r[1]=f[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t[o.FUNNEL_TOTAL_PERCENT],n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t[o.PLOYGON_X]=n,t[o.PLOYGON_Y]=r,t[o.FUNNEL_PERCENT]=(t[s]||0)/u,t[o.FUNNEL_CONVERSATION]=[i.get(a,[e-1,s]),t[s]],t});return e.data(c),t}function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,u=n.color,c=n.tooltip,f=n.label,d=n.funnelStyle,p=n.state,h=l.getTooltipMapping(c,[r,a]),g=h.fields,v=h.formatter;return s.geometry({chart:e,options:{type:"polygon",xField:o.PLOYGON_X,yField:o.PLOYGON_Y,colorField:r,tooltipFields:i.isArray(g)&&g.concat([o.FUNNEL_PERCENT,o.FUNNEL_CONVERSATION]),label:f,state:p,mapping:{tooltip:v,color:u,style:d}}}),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),t}function p(t){return u.conversionTagComponent(function(t,e,n,i){return r.__assign(r.__assign({},i),{start:[t[o.PLOYGON_X][1],t[o.PLOYGON_Y][1]],end:[t[o.PLOYGON_X][1]+.05,t[o.PLOYGON_Y][1]]})})(t),t}e.dynamicHeightFunnel=function(t){return a.flow(c,f,d,p)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(34),a=n(43),o=n(15);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=o.deepAssign({},t,{options:{line:{style:s,color:l},point:u?r.__assign({color:l},u):u,area:c?r.__assign({color:l},c):c,label:void 0}}),d=o.deepAssign({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=o.deepAssign({},f,{options:{tooltip:!1,state:p}});return a.line(f),a.point(h),a.area(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"line");if(i){var l=i.callback,u=r.__rest(i,["callback"]);s.label({fields:[a],callback:l,cfg:o.transformLabel(u)})}else s.label(!1);return t}e.adaptor=function(t){return o.flow(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(1147);r.registerAction("radar-tooltip",i.RadarTooltipAction),r.registerInteraction("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipAction=e.RadarTooltipController=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=a.isNil(s)?f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}else if(o&&e){var n=a.isNil(s)?e.name||f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,i.registerComponentController("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(532);function u(t){var e=t.chart,n=t.options,r=n.percent,i=n.liquidStyle,a=n.radius,u=n.outline,c=n.wave,f=n.shape;e.scale({percent:{min:0,max:1}}),e.data(l.getLiquidData(r));var d=n.color||e.getTheme().defaultColor,p=o.deepAssign({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:d,style:i,shape:"liquid-fill-gauge"}}}),h=s.interval(p).ext.geometry,g=e.getTheme().background;return h.customInfo({radius:a,outline:u,wave:c,shape:f,background:g}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function c(t,e){var n=t.chart,a=t.options,s=a.statistic,l=a.percent,u=a.meta;n.getController("annotation").clear(!0);var c=i.get(u,["percent","formatter"])||function(t){return(100*t).toFixed(2)+"%"},f=s.content;return f&&(f=o.deepAssign({},f,{content:i.isNil(f.content)?c(l):f.content})),o.renderStatistic(n,{statistic:r.__assign(r.__assign({},s),{content:f}),plotType:"liquid"},{percent:l}),e&&n.render(!0),t}e.statistic=c,e.adaptor=function(t){return o.flow(a.theme,a.pattern("liquidStyle"),u,c,a.scale({}),a.animation,a.interaction)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(528);function s(t,e,n,r){var i=2*n/3,a=Math.max(i,r),o=i/2,s=o+e-a/2,l=Math.asin(o/((a-o)*.85)),u=Math.sin(l)*o,c=Math.cos(l)*o,f=t-c,d=s+u,p=s+o/Math.sin(l);return"\n M "+f+" "+d+"\n A "+o+" "+o+" 0 1 1 "+(f+2*c)+" "+d+"\n Q "+t+" "+p+" "+t+" "+(e+a/2)+"\n Q "+t+" "+p+" "+f+" "+d+"\n Z \n "}function l(t,e,n,r){var i=n/2,a=r/2;return"\n M "+t+" "+(e-a)+" \n a "+i+" "+a+" 0 1 0 0 "+2*a+"\n a "+i+" "+a+" 0 1 0 0 "+-(2*a)+"\n Z\n "}function u(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+e+"\n L "+t+" "+(e+i)+"\n L "+(t-a)+" "+e+"\n Z\n "}function c(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}function f(t,e,n,r){var i=r/2,a=n/2*.618;return"\n M "+(t-a)+" "+(e-i)+"\n L "+(t+a)+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}i.registerShape("interval","liquid-fill-gauge",{draw:function(t,e){var n,i,d,p=t.customInfo,h=p.radius,g=p.shape,v=p.background,y=p.outline,m=p.wave,b=y.border,x=y.distance,_=m.count,O=m.length,P=a.reduce(t.points,function(t,e){return Math.min(t,e.x)},1/0),M=this.parsePoint({x:.5,y:.5}),A=this.parsePoint({x:P,y:.5}),S=Math.min(M.x-A.x,A.y*h),w=(n=r.__assign({opacity:1},t.style),t.color&&!n.fill&&(n.fill=t.color),n),E=(i=a.mix({},t,y),d=a.mix({},{fill:"#fff",fillOpacity:0,lineWidth:4},i.style),i.color&&!d.stroke&&(d.stroke=i.color),a.isNumber(i.opacity)&&(d.opacity=d.strokeOpacity=i.opacity),d),C=S-b/2,T={pin:s,circle:l,diamond:u,triangle:c,rect:f},I=("function"==typeof g?g:T[g]||T.circle)(M.x,M.y,2*C,2*C),j=e.addGroup({name:"waves"}),F=j.setClip({type:"path",attrs:{path:I}});return function(t,e,n,r,i,a,s,l,u){for(var c=i.fill,f=i.opacity,d=s.getBBox(),p=d.maxX-d.minX,h=d.maxY-d.minY,g=0;g0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0?g:v},b=l.deepAssign({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return o.interval(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=l.deepAssign({},{alias:f},i.get(d,f));return l.flow(a.scale(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),l.deepAssign({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=s.getLocale(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:l.deepAssign({},{r:5},i.get(a,"style"))}}),e.legend(l.deepAssign({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=l.findGeometry(e,"interval");if(i){var c=i.callback,f=r.__rest(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:l.transformLabel(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip(r.__assign({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1153),e.tooltip=y,e.adaptor=function(t){return l.flow(f,a.theme,d,p,h,g,y,v,a.state,a.interaction,a.animation,a.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(15);i.registerShape("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0,d=c>0;function p(t,e){var n=a.get(i,[t]);function r(t){return a.get(n,t)}var o={};return"x"===e?(a.isNumber(u)&&(a.isNumber(r("min"))||(o.min=f?0:2*u),a.isNumber(r("max"))||(o.max=f?2*u:0)),o):(a.isNumber(c)&&(a.isNumber(r("min"))||(o.min=d?0:2*c),a.isNumber(r("max"))||(o.max=d?2*c:0)),o)}return r.__assign(r.__assign({},i),((e={})[o]=r.__assign(r.__assign({},i[o]),p(o,"x")),e[s]=r.__assign(r.__assign({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(520)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(537);function u(t){var e=t.chart,n=t.options,a=n.bulletStyle,u=n.targetField,c=n.rangeField,f=n.measureField,d=n.xField,p=n.color,h=n.layout,g=n.size,v=n.label,y=l.transformData(n),m=y.min,b=y.max,x=y.ds;e.data(x);var _=o.deepAssign({},t,{options:{xField:d,yField:c,seriesField:"rKey",isStack:!0,label:i.get(v,"range"),interval:{color:i.get(p,"range"),style:i.get(a,"range"),size:i.get(g,"range")}}});s.interval(_),e.geometries[0].tooltip(!1);var O=o.deepAssign({},t,{options:{xField:d,yField:f,seriesField:"mKey",isStack:!0,label:i.get(v,"measure"),interval:{color:i.get(p,"measure"),style:i.get(a,"measure"),size:i.get(g,"measure")}}});s.interval(O);var P=o.deepAssign({},t,{options:{xField:d,yField:u,seriesField:"tKey",label:i.get(v,"target"),point:{color:i.get(p,"target"),style:i.get(a,"target"),size:i.isFunction(i.get(g,"target"))?function(t){return i.get(g,"target")(t)/2}:i.get(g,"target")/2,shape:"horizontal"===h?"line":"hyphen"}}});return s.point(P),"horizontal"===h&&e.coordinate().transpose(),r.__assign(r.__assign({},t),{ext:{data:{min:m,max:b}}})}function c(t){var e,n,r=t.options,i=t.ext,s=r.xAxis,l=r.yAxis,u=r.targetField,c=r.rangeField,f=r.measureField,d=r.xField,p=i.data;return o.flow(a.scale(((e={})[d]=s,e[f]=l,e),((n={})[f]={min:null==p?void 0:p.min,max:null==p?void 0:p.max,sync:!0},n[u]={sync:""+f},n[c]={sync:""+f},n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.measureField,s=n.rangeField,l=n.targetField;return e.axis(""+s,!1),e.axis(""+l,!1),!1===r?e.axis(""+a,!1):e.axis(""+a,r),!1===i?e.axis(""+o,!1):e.axis(""+o,i),t}function d(t){var e=t.chart,n=t.options.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function p(t){var e=t.chart,n=t.options,a=n.label,s=n.measureField,l=n.targetField,u=n.rangeField,c=e.geometries,f=c[0],d=c[1],p=c[2];return i.get(a,"range")?f.label(""+u,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.range))):f.label(!1),i.get(a,"measure")?d.label(""+s,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.measure))):d.label(!1),i.get(a,"target")?p.label(""+l,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.target))):p.label(!1),t}e.meta=c,e.adaptor=function(t){o.flow(u,c,f,d,a.theme,p,a.tooltip,a.interaction,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=function(){for(var t=[],e=0;e=(0,r.get)(e,["views","length"],0)?i(e):(0,r.reduce)(e.views,function(e,n){return e.concat(t(n))},i(e))},e.getAllGeometriesRecursively=function(t){return 0>=(0,r.get)(t,["views","length"],0)?t.geometries:(0,r.reduce)(t.views,function(t,e){return t.concat(e.geometries)},t.geometries)};var r=n(0);function i(t){return(0,r.reduce)(t.geometries,function(t,e){return t.concat(e.elements)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=function(t){if(!(0,i.isType)(t,"Object"))return t;var e=(0,r.__assign)({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e};var r=n(1),i=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.catmullRom2bezier=o,e.getSplinePath=function(t,e,n){var r=[],a=t[0],s=null;if(t.length<=2)return i(t,e);for(var l=0,u=t.length;l0){var n;(function(t,e,n){var i,a=t.view,o=t.geometry,s=t.group,u=t.options,c=t.horizontal,f=u.offset,d=u.size,p=u.arrow,h=a.getCoordinate(),g=l(h,e)[c?3:0],v=l(h,n)[c?0:3],y=v.y-g.y,m=v.x-g.x;if("boolean"!=typeof p){var b=p.headSize,x=u.spacing;c?(m-b)/2_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}};var r=n(1),i=n(0),a=n(14),o=n(7),s=n(551);function l(t,e){return(0,i.map)(e.getModel().points,function(e){return t.convertPoint(e)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}};var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};(0,r.registerInteraction)(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),(0,r.registerInteraction)(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getInteractionCfg=o;var r=n(14),i=n(1199);function a(t){return t.isInPlot()}function o(t,e,n){var r=e||"rect";switch(t){case"brush":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush:filter","brush:end",r+"-mask:end",r+"-mask:hide","brush-reset-button:show"]}],rollback:[{trigger:"brush-reset-button:click",action:["brush:reset","brush-reset-button:hide","cursor:crosshair"]}]};case"brush-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-x":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-x:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-x:filter","brush-x:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]};case"brush-x-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-y":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-y:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-y:filter","brush-y:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-y:reset"]}]};case"brush-y-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};default:return{}}}(0,r.registerAction)("brush-reset-button",i.ButtonAction,{name:"brush-reset-button"}),(0,r.registerInteraction)("filter-action",{}),(0,r.registerInteraction)("brush",o("brush")),(0,r.registerInteraction)("brush-highlight",o("brush-highlight")),(0,r.registerInteraction)("brush-x",o("brush-x","x-rect")),(0,r.registerInteraction)("brush-y",o("brush-y","y-rect")),(0,r.registerInteraction)("brush-x-highlight",o("brush-x-highlight","x-rect")),(0,r.registerInteraction)("brush-y-highlight",o("brush-y-highlight","y-rect"))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};e.BUTTON_ACTION_CONFIG=s;var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg=(0,r.__assign)({name:"button"},s),e}return(0,r.__extends)(e,t),e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,a.get)(t,["interactions","filter-action","cfg","buttonConfig"]);return(0,o.deepAssign)(this.buttonCfg,e,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},e.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:(0,r.__assign)({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},e.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=(0,o.normalPadding)(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:(0,r.__assign)({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(i.Action);e.ButtonAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(561),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return(0,a.isEqual)(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix((0,o.transform)([["t",f,d]])),a.setMatrix((0,o.transform)([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=r(n(6)),a=n(1),o=n(14),s=n(0),l=n(542),u=n(1204),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,r=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var a=(0,s.get)(r,["data","data"]);if(r.type.match("legend-item")){var c=o.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;a=n.getData().find(function(t){return t[f]===d.value})}}if(a){var p=(0,s.get)(t,"annotations",[]),h=(0,s.get)(t,"statistic",{});n.getController("annotation").clear(!0),(0,s.each)(p,function(t){"object"===(0,i.default)(t)&&n.annotation()[t.type](t)}),(0,l.renderStatistic)(n,{statistic:h,plotType:"pie"},a),n.render(!0)}var g=(0,u.getCurrentElement)(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();(0,s.each)(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(o.Action);e.StatisticAction=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(19),a=n(1206),o=n(1207),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,a.flow)((0,o.pattern)("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,(0,o.annotation)(),o.state)(t)},e.legend=c;var r=n(1),i=n(0),a=n(7),o=n(22),s=n(30);function l(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,o=n.color;return e.data(r),(0,a.flow)(s.interval)((0,a.deepAssign)({},t,{options:{marginRatio:1,interval:{style:i,color:o}}})),t}function u(t){var e=t.chart,n=t.options,o=n.label,s=n.xField,l=(0,a.findGeometry)(e,"interval");if(!1===o)l.label(!1);else if((0,i.isObject)(o)){var u=o.callback,c=o.fields,f=(0,r.__rest)(o,["callback","fields"]),d=f.offset,p=f.layout;(void 0===d||d>=0)&&(p=p?(0,i.isArray)(p)?p:[p]:[],f.layout=(0,i.filter)(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:(0,a.transformLabel)(f)})}else(0,a.log)(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordCloud=void 0;var r=n(1),i=n(19),a=n(1209),o=n(563),s=n(562);n(1211);var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData((0,s.transform)({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i){t.prototype.render.call(e),n();return}var a=function(i){e.options=(0,r.__assign)((0,r.__assign)({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};(0,s.processImageMask)(i).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))},e}(i.Plot);e.WordCloud=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,o.flow)(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)},e.legend=d;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(562),u=n(563);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=(0,l.transform)(t);e.data(f);var d=(0,o.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:(0,i.isFunction)(c)&&(0,r.__spreadArrays)((0,i.get)(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return(0,s.point)(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return(0,o.flow)((0,a.scale)({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=g,e.transform=a,e.wordCloud=function(t,e){return a(t,e=(0,r.assign)({},i,e))};var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){(0,r.isNil)(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n0,d=c>0;function p(t,e){var n=(0,a.get)(i,[t]);function r(t){return(0,a.get)(n,t)}var o={};return"x"===e?((0,a.isNumber)(u)&&((0,a.isNumber)(r("min"))||(o.min=f?0:2*u),(0,a.isNumber)(r("max"))||(o.max=f?2*u:0)),o):((0,a.isNumber)(c)&&((0,a.isNumber)(r("min"))||(o.min=d?0:2*c),(0,a.isNumber)(r("max"))||(o.max=d?2*c:0)),o)}return(0,r.__assign)((0,r.__assign)({},i),((e={})[o]=(0,r.__assign)((0,r.__assign)({},i[o]),p(o,"x")),e[s]=(0,r.__assign)((0,r.__assign)({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";n(566)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Radar=void 0;var r=n(1),i=n(19),a=n(7),o=n(1216);n(1217);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}return(0,r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Radar=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,(0,i.annotation)())(t)};var r=n(1),i=n(22),a=n(30),o=n(7);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=(0,o.deepAssign)({},t,{options:{line:{style:s,color:l},point:u?(0,r.__assign)({color:l},u):u,area:c?(0,r.__assign)({color:l},c):c,label:void 0}}),d=(0,o.deepAssign)({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=(0,o.deepAssign)({},f,{options:{tooltip:!1,state:p}});return(0,a.line)(f),(0,a.point)(h),(0,a.area)(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return(0,o.flow)((0,i.scale)(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"line");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,o.transformLabel)(u)})}else s.label(!1);return t}},function(t,e,n){"use strict";var r=n(14),i=n(1218);(0,r.registerAction)("radar-tooltip",i.RadarTooltipAction),(0,r.registerInteraction)("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipController=e.RadarTooltipAction=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=(0,a.isNil)(s)?f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}else if(o&&e){var n=(0,a.isNil)(s)?e.name||f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,(0,i.registerComponentController)("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DualAxes=void 0;var r=n(1),i=n(19),a=n(7),o=n(1220),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.DualAxes=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)},e.animation=A,e.annotation=P,e.axis=x,e.color=m,e.interaction=O,e.legend=w,e.limitInPlot=S,e.meta=b,e.slider=E,e.theme=M,e.tooltip=_,e.transformOptions=g;var r=n(1),i=n(0),a=n(22),o=n(123),s=n(7),l=n(540),u=n(305),c=n(1221),f=n(1222),d=n(1223),p=n(567),h=n(568);function g(t){var e,n=t.options,r=n.geometryOptions,a=void 0===r?[]:r,o=n.xField,l=n.yField,c=(0,i.every)(a,function(t){var e=t.geometry;return e===p.DualAxesGeometry.Line||void 0===e});return(0,s.deepAssign)({},{options:{geometryOptions:[],meta:((e={})[o]={type:"cat",sync:!0,range:c?[0,1]:void 0},e),tooltip:{showMarkers:c,showCrosshairs:c,shared:!0,crosshairs:{type:"x"}},interactions:c?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:(0,u.transformObjectToArray)(l,n.yAxis),geometryOptions:[(0,u.getGeometryOption)(o,l[0],a[0]),(0,u.getGeometryOption)(o,l[1],a[1])],annotations:(0,u.transformObjectToArray)(l,n.annotations)}})}function v(t){var e,n,r=t.chart,i=t.options.geometryOptions,a={line:0,column:1};return[{type:null===(e=i[0])||void 0===e?void 0:e.geometry,id:h.LEFT_AXES_VIEW},{type:null===(n=i[1])||void 0===n?void 0:n.geometry,id:h.RIGHT_AXES_VIEW}].sort(function(t,e){return-a[t.type]+a[e.type]}).forEach(function(t){return r.createView({id:t.id})}),t}function y(t){var e=t.chart,n=t.options,i=n.xField,a=n.yField,s=n.geometryOptions,c=n.data,d=n.tooltip;return[(0,r.__assign)((0,r.__assign)({},s[0]),{id:h.LEFT_AXES_VIEW,data:c[0],yField:a[0]}),(0,r.__assign)((0,r.__assign)({},s[1]),{id:h.RIGHT_AXES_VIEW,data:c[1],yField:a[1]})].forEach(function(t){var n=t.id,a=t.data,s=t.yField,c=(0,u.isColumn)(t)&&t.isPercent,p=c?(0,o.percent)(a,s,i,s):a,h=(0,l.findViewById)(e,n).data(p),g=c?(0,r.__assign)({formatter:function(e){return{name:e[t.seriesField]||s,value:(100*Number(e[s])).toFixed(2)+"%"}}},d):d;(0,f.drawSingleGeometry)({chart:h,options:{xField:i,yField:s,tooltip:g,geometryOption:t}})}),t}function m(t){var e,n=t.chart,r=t.options.geometryOptions,a=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],o=0;return n.once("beforepaint",function(){(0,i.each)(r,function(t,e){var r=(0,l.findViewById)(n,0===e?h.LEFT_AXES_VIEW:h.RIGHT_AXES_VIEW);if(!t.color){var s=r.getGroupScales(),u=(0,i.get)(s,[0,"values","length"],1),c=a.slice(o,o+u).concat(0===e?[]:a);r.geometries.forEach(function(e){t.seriesField?e.color(t.seriesField,c):e.color(c[0])}),o+=u}}),n.render(!0)}),t}function b(t){var e,n,r=t.chart,i=t.options,o=i.xAxis,u=i.yAxis,c=i.xField,f=i.yField;return(0,a.scale)(((e={})[c]=o,e[f[0]]=u[0],e))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.LEFT_AXES_VIEW)})),(0,a.scale)(((n={})[c]=o,n[f[1]]=u[1],n))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.RIGHT_AXES_VIEW)})),t}function x(t){var e=t.chart,n=t.options,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),a=n.xField,o=n.yField,s=n.xAxis,c=n.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),r.axis(a,s),r.axis(o[0],(0,u.getYAxisWithDefault)(c[0],p.AxisType.Left)),i.axis(a,!1),i.axis(o[1],(0,u.getYAxisWithDefault)(c[1],p.AxisType.Right)),t}function _(t){var e=t.chart,n=t.options.tooltip,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return e.tooltip(n),r.tooltip({shared:!0}),i.tooltip({shared:!0}),t}function O(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function P(t){var e=t.chart,n=t.options.annotations,r=(0,i.get)(n,[0]),o=(0,i.get)(n,[1]);return(0,a.annotation)(r)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{annotations:r}})),(0,a.annotation)(o)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{annotations:o}})),t}function M(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),(0,a.theme)(t),t}function A(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function S(t){var e=t.chart,n=t.options.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{yAxis:n[0]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{yAxis:n[1]}})),t}function w(t){var e=t.chart,n=t.options,r=n.legend,a=n.geometryOptions,o=n.yField,u=n.data,f=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),d=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);if(!1===r)e.legend(!1);else if((0,i.isObject)(r)&&!0===r.custom)e.legend(r);else{var p=(0,i.get)(a,[0,"legend"],r),g=(0,i.get)(a,[1,"legend"],r);e.once("beforepaint",function(){var t=u[0].length?(0,c.getViewLegendItems)({view:f,geometryOption:a[0],yField:o[0],legend:p}):[],n=u[1].length?(0,c.getViewLegendItems)({view:d,geometryOption:a[1],yField:o[1],legend:g}):[];e.legend((0,s.deepAssign)({},r,{custom:!0,items:t.concat(n)}))}),a[0].seriesField&&f.legend(a[0].seriesField,p),a[1].seriesField&&d.legend(a[1].seriesField,g),e.on("legend-item:click",function(t){var n=(0,i.get)(t,"gEvent.delegateObject",{});if(n&&n.item){var r=n.item,a=r.value,s=r.isGeometry,u=r.viewId;if(s){if((0,i.findIndex)(o,function(t){return t===a})>-1){var c=(0,i.get)((0,l.findViewById)(e,u),"geometries");(0,i.each)(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=(0,i.get)(e.getController("legend"),"option.items",[]);(0,i.each)(e.views,function(t){var n=t.getGroupScales();(0,i.each)(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!(0,i.find)(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),a=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;(0,i.isEqual)(n,r)||(0,d.doSliderFilter)(a,n)}),e.once("afterpaint",function(){if(!(0,i.isBoolean)(n)){var t=n.start,e=n.end;(t||e)&&(0,d.doSliderFilter)(a,[t,e])}})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=(0,r.get)(l,"marker"),c=(0,a.findGeometry)(e,(0,o.isLine)(n)?"line":"interval");if(!n.seriesField){var f=(0,r.get)(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,(0,r.get)(d,["values",0],p)));var h=((0,r.isFunction)(u)?u:!(0,r.isEmpty)(u)&&(0,a.deepAssign)({},{style:{stroke:p,fill:p}},u))||((0,o.isLine)(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return(0,r.reduce)(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])};var r=n(0),i=n(14),a=n(7),o=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if((0,l.isLine)(u)){(0,a.line)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),(0,a.point)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{point:u.point&&(0,r.__assign)({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&(0,i.each)(n.geometries,function(t){t.adjust(v)})}return(0,l.isColumn)(u)&&(0,s.adaptor)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{widthRatio:u.columnWidthRatio,interval:(0,r.__assign)((0,r.__assign)({},(0,o.pick)(u,["color"])),{style:u.columnStyle})})})),t};var r=n(1),i=n(0),a=n(30),o=n(7),s=n(198),l=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(7);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=(0,r.size)(o);if(s&&l){var u=(0,r.valuesOfKey)(o,s.field),c=(0,r.size)(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||(0,i.isBetween)(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_TOOLTIP_OPTIONS=e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(0),a={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+(0,i.get)(e,[0,"data","y"],0)},containerTpl:'
      ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o={appendPadding:2,tooltip:(0,r.__assign)({},a),animation:{}};e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(156),a={appendPadding:2,tooltip:(0,r.__assign)({},i.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}};e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(19),a=n(1228),o=n(1229);n(1230),n(1231);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(o.theme,(0,o.pattern)("heatmapStyle"),c,h,u,f,d,o.tooltip,p,(0,o.annotation)(),o.interaction,o.animation,o.state)(t)};var r=n(1),i=n(0),a=n(7),o=n(22),s=n(49),l=n(65);function u(t){var e=t.chart,n=t.options,r=n.data,o=n.type,u=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=(0,l.getTooltipMapping)(v,[u,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),(0,s.geometry)((0,a.deepAssign)({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,((0,i.get)(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function c(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function p(t){var e=t.chart,n=t.options,i=n.label,o=n.colorField,s=n.type,l=(0,a.findGeometry)(e,"density"===s?"heatmap":"polygon");if(i){if(o){var u=i.callback,c=(0,r.__rest)(i,["callback"]);l.label({fields:[o],callback:u,cfg:(0,a.transformLabel)(c)})}}else l.label(!1);return t}function h(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Box=void 0;var r=n(1),i=n(19),a=n(1233),o=n(582),s=n(308),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find(function(t){return t.id===s.OUTLIERS_VIEW_ID});n&&n.data(t),this.chart.changeData((0,o.transformData)(t,e))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Box=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(f,d,p,h,g,a.tooltip,a.interaction,a.animation,a.theme)(t)},e.legend=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(99),u=n(308),c=n(582);function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,l=n.groupField,f=n.color,d=n.tooltip,p=n.boxStyle;e.data((0,c.transformData)(n.data,a));var h=(0,i.isArray)(a)?u.BOX_RANGE:a,g=a?(0,i.isArray)(a)?a:[a]:[],v=d;!1!==v&&(v=(0,s.deepAssign)({},{fields:(0,i.isArray)(a)?a:[]},v));var y=(0,o.schema)((0,s.deepAssign)({},t,{options:{xField:r,yField:h,seriesField:l,tooltip:v,rawFields:g,label:!1,schema:{shape:"box",color:f,style:p}}})).ext;return l&&y.geometry.adjust("dodge"),t}function d(t){var e=t.chart,n=t.options,i=n.xField,a=n.data,s=n.outliersField,l=n.outliersStyle,c=n.padding,f=n.label;if(!s)return t;var d=e.createView({padding:c,id:u.OUTLIERS_VIEW_ID}),p=a.reduce(function(t,e){return e[s].forEach(function(n){var i;return t.push((0,r.__assign)((0,r.__assign)({},e),((i={})[s]=n,i)))}),t},[]);return d.data(p),(0,o.point)({chart:d,options:{xField:i,yField:s,point:{shape:"circle",style:l},label:f}}),d.axis(!1),t}function p(t){var e,n,r=t.chart,i=t.options,a=i.meta,o=i.xAxis,c=i.yAxis,f=i.xField,d=i.yField,p=i.outliersField,h=Array.isArray(d)?u.BOX_RANGE:d,g={};if(p){var v=u.BOX_SYNC_NAME;(e={})[p]={sync:v,nice:!0},e[h]={sync:v,nice:!0},g=e}var y=(0,s.deepAssign)(g,a,((n={})[f]=(0,s.pick)(o,l.AXIS_META_CONFIG_KEYS),n[h]=(0,s.pick)(c,l.AXIS_META_CONFIG_KEYS),n));return r.scale(y),t}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField,s=Array.isArray(o)?u.BOX_RANGE:o;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(u.BOX_RANGE,!1):e.axis(s,i),t}function g(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Violin=void 0;var r=n(1),i=n(19),a=n(1235),o=n(584),s=n(583),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="violin",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData((0,s.transformViolinData)(this.options))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Violin=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(s.theme,g,v,y,m,s.tooltip,b,x,s.interaction,_,O)(t)},e.animation=O;var i=r(n(6)),a=n(1),o=n(0),s=n(22),l=n(30),u=n(7),c=n(99),f=n(583),d=n(584),p=["low","high","q1","q3","median"],h=[{type:"dodge",marginRatio:1/32}];function g(t){var e=t.chart,n=t.options;return e.data((0,f.transformViolinData)(n)),t}function v(t){var e=t.chart,n=t.options,r=n.seriesField,i=n.color,o=n.shape,s=n.violinStyle,u=n.tooltip,c=n.state,f=e.createView({id:d.VIOLIN_VIEW_ID});return(0,l.violin)({chart:f,options:{xField:d.X_FIELD,yField:d.VIOLIN_Y_FIELD,seriesField:r||d.X_FIELD,sizeField:d.VIOLIN_SIZE_FIELD,tooltip:(0,a.__assign)({fields:p},u),violin:{style:s,color:i,shape:void 0===o?"violin":o},state:c}}),f.geometries[0].adjust(h),t}function y(t){var e=t.chart,n=t.options,r=n.seriesField,o=n.color,s=n.tooltip,u=n.box;if(!1===u)return t;var c=e.createView({id:d.MIN_MAX_VIEW_ID});(0,l.interval)({chart:c,options:{xField:d.X_FIELD,yField:d.MIN_MAX_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:1,style:{lineWidth:0}}}}),c.geometries[0].adjust(h);var f=e.createView({id:d.QUANTILE_VIEW_ID});(0,l.interval)({chart:f,options:{xField:d.X_FIELD,yField:d.QUANTILE_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:8,style:{fillOpacity:1}}}}),f.geometries[0].adjust(h);var g=e.createView({id:d.MEDIAN_VIEW_ID});return(0,l.point)({chart:g,options:{xField:d.X_FIELD,yField:d.MEDIAN_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},point:{color:o,size:1,style:{fill:"white",lineWidth:0}}}}),g.geometries[0].adjust(h),f.axis(!1),c.axis(!1),g.axis(!1),g.legend(!1),c.legend(!1),f.legend(!1),t}function m(t){var e,n=t.chart,r=t.options,i=r.meta,o=r.xAxis,s=r.yAxis,l=(0,u.deepAssign)({},i,((e={})[d.X_FIELD]=(0,a.__assign)((0,a.__assign)({sync:!0},(0,u.pick)(o,c.AXIS_META_CONFIG_KEYS)),{type:"cat"}),e[d.VIOLIN_Y_FIELD]=(0,a.__assign)({sync:!0},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MIN_MAX_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.QUANTILE_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MEDIAN_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e));return n.scale(l),t}function b(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return!1===r?a.axis(d.X_FIELD,!1):a.axis(d.X_FIELD,r),!1===i?a.axis(d.VIOLIN_Y_FIELD,!1):a.axis(d.VIOLIN_Y_FIELD,i),e.axis(!1),t}function x(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField,a=n.shape;if(!1===r)e.legend(!1);else{var s=i||d.X_FIELD,l=(0,o.omit)(r,["selected"]);a&&a.startsWith("hollow")||(0,o.get)(l,["marker","style","lineWidth"])||(0,o.set)(l,["marker","style","lineWidth"],0),e.legend(s,l),(0,o.get)(r,"selected")&&(0,o.each)(e.views,function(t){return t.legend(s,r)})}return t}function _(t){var e=t.chart,n=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return(0,s.annotation)()((0,a.__assign)((0,a.__assign)({},t),{chart:n})),t}function O(t){var e=t.chart,n=t.options.animation;return(0,o.each)(e.views,function(t){"boolean"==typeof n?t.animate(n):t.animate(!0),(0,o.each)(t.geometries,function(t){t.animate(n)})}),t}},function(t,e,n){"use strict";var r=Math.log(2),i=t.exports,a=n(1237);function o(t){return 1-Math.abs(t)}t.exports.getUnifiedMinMax=function(t,e){return i.getUnifiedMinMaxMulti([t],e)},t.exports.getUnifiedMinMaxMulti=function(t,e){e=e||{};var n=!1,r=!1,i=a.isNumber(e.width)?e.width:2,o=a.isNumber(e.size)?e.size:50,s=a.isNumber(e.min)?e.min:(n=!0,a.findMinMulti(t)),l=a.isNumber(e.max)?e.max:(r=!0,a.findMaxMulti(t)),u=(l-s)/(o-1);return n&&(s-=2*i*u),r&&(l+=2*i*u),{min:s,max:l}},t.exports.create=function(t,e){if(e=e||{},!t||0===t.length)return[];var n=a.isNumber(e.size)?e.size:50,r=a.isNumber(e.width)?e.width:2,s=i.getUnifiedMinMax(t,{size:n,width:r,min:e.min,max:e.max}),l=s.min,u=s.max-l,c=u/(n-1);if(0===u)return[{x:l,y:1}];for(var f=[],d=0;d=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),s=e+r-i,u=h/(h-(p[-r-1+o]||0)-(p[-r-1+s]||0));o>0&&(v+=u*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*u*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*u*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*u*g)}});var y=v,m=0,b=0;return f.forEach(function(t){m+=t.y,y+=m,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},function(t,e,n){"use strict";var r=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n1)throw Error("quantiles must be between 0 and 1");return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t,e,n,r){for(n=n||0,r=r||t.length-1;r>n;){if(r-n>600){var o=r-n+1,s=e-n+1,l=Math.log(o),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(o-u)/o);s-o/2<0&&(c*=-1);var f=Math.max(n,Math.floor(e-s*u/o+c)),d=Math.min(r,Math.floor(e+(o-s)*u/o+c));a(t,e,f,d)}var p=t[e],h=n,g=r;for(i(t,n,e),t[r]>p&&i(t,n,r);hp;)g--}t[n]===p?i(t,n,g):i(t,++g,r),g<=e&&(n=g+1),e<=g&&(r=g-1)}}function o(t,e,n,r){e%1==0?a(t,e,n,r):(a(t,e=Math.floor(e),n,r),a(t,e+1,e+1,r))}function s(t,e){return t-e}function l(t,e){var n=t*e;return 1===e?t-1:0===e?0:n%1!=0?Math.ceil(n)-1:t%2==0?n-.5:n}Object.defineProperty(e,"__esModule",{value:!0}),e.quantile=function(t,e){var n=t.slice();if(Array.isArray(e)){(function(t,e){for(var n=[0],r=0;re?e:t},lighten:function(t,e){return t>e?t:e},dodge:function(t,e){return 255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t},burn:function(t,e){return 255===e?255:0===t?0:255*(1-Math.min(1,(1-e/255)/(t/255)))}},o=function(t){if(!a[t])throw Error("unknown blend mode "+t);return a[t]};function s(t){var e,n=t.replace("/s+/g","");return"string"!=typeof n||n.startsWith("rgba")||n.startsWith("#")?(n.startsWith("rgba")&&(e=n.replace("rgba(","").replace(")","").split(",")),n.startsWith("#")&&(e=i.default.rgb2arr(n).concat([1])),e.map(function(t,e){return 3===e?Number(t):0|t})):i.default.rgb2arr(i.default.toRGB(n)).concat([1])}e.innerBlend=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bestInitialLayout=s,e.constrainedMDSLayout=l,e.disjointCluster=f,e.distanceFromIntersectArea=a,e.getDistanceMatrices=o,e.greedyLayout=u,e.lossFunction=c,e.normalizeSolution=function(t,e,n){null===e&&(e=Math.PI/2);var r,a,o=[];for(a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push({x:s.x,y:s.y,radius:s.radius,setid:a})}var l=f(o);for(r=0;r0){var r,a=t[0].x,o=t[0].y;for(r=0;r1){var s=Math.atan2(t[1].x,t[1].y)-e,l=void 0,u=void 0,c=Math.cos(s),f=Math.sin(s);for(r=0;r2){for(var d=Math.atan2(t[2].x,t[2].y)-e;d<0;)d+=2*Math.PI;for(;d>2*Math.PI;)d-=2*Math.PI;if(d>Math.PI){var p=t[1].y/(1e-10+t[1].x);for(r=0;re?1:-1}),e=0;e=Math.min(e[r].size,e[s].size)?u=1:t.size<=1e-10&&(u=-1),o[r][s]=o[s][r]=u}),{distances:i,constraints:o}}function s(t,e){var n=u(t,e),r=e.lossFunction||c;if(t.length>=8){var i=l(t,e);r(i,t)+1e-80&&h<=f||d<0&&h>=f||(a+=2*g*g,e[2*i]+=4*g*(o-u),e[2*i+1]+=4*g*(s-c),e[2*l]+=4*g*(u-o),e[2*l+1]+=4*g*(c-s))}return a}(t,e,d,p)};for(n=0;n=Math.min(o[p].size,o[h].size)&&(d=0),s[p].push({set:h,size:f.size,weight:d}),s[h].push({set:p,size:f.size,weight:d})}var g=[];for(n in s)if(s.hasOwnProperty(n)){for(var v=0,l=0;l0&&console.log("WARNING: area "+s+" not represented on screen")}return n},e.intersectionAreaPath=function(t){var e={};(0,i.intersectionArea)(t,e);var n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){var r=n[0].circle;return s(r.x,r.y,r.radius)}for(var a=["\nM",n[0].p2.x,n[0].p2.y],o=0;ou;a.push("\nA",u,u,0,c?1:0,1,l.p1.x,l.p1.y)}return a.join(" ")};var r=n(585),i=n(586);function a(t,e,n){var r,a,o=e[0].radius-(0,i.distance)(e[0],t);for(r=1;r=c&&(u=s[n],c=f)}var d=(0,r.nelderMead)(function(n){return -1*a({x:n[0],y:n[1]},t,e)},[u.x,u.y],{maxIterations:500,minErrorDelta:1e-10}).x,p={x:d[0],y:d[1]},h=!0;for(n=0;nt[n].radius){h=!1;break}for(n=0;n0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0&&t.depth>p)return null;for(var e,i,s,l,f,h,v=t.data.name,y=(0,r.__assign)({},t);y.depth>1;)v=(null===(i=y.parent.data)||void 0===i?void 0:i.name)+" / "+v,y=y.parent;var b=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(t.data,(0,r.__spreadArrays)(c||[],[d.field]))),((e={})[u.SUNBURST_PATH_FIELD]=v,e[u.SUNBURST_ANCESTOR_FIELD]=y.data.name,e)),t);g&&(b[g]=t.data[g]||(null===(l=null===(s=t.parent)||void 0===s?void 0:s.data)||void 0===l?void 0:l[g])),n&&(b[n]=t.data[n]||(null===(h=null===(f=t.parent)||void 0===f?void 0:f.data)||void 0===h?void 0:h[n])),b.ext=d,b[a.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:d,colorField:n,rawFields:c},m.push(b)}),m};var r=n(1),i=n(0),a=n(201),o=n(7),s=n(1266),l=n(593),u=n(312)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.partition=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||2!==r.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.partition().size(e.size).round(e.round).padding(e.padding)(i.hierarchy(t).sum(function(t){return(0,a.size)(t.children)?e.ignoreParentValue?0:t[n]-(0,a.reduce)(t.children,function(t,e){return t+e[n]},0):t[n]}).sort(e.sort)),u=r[0],c=r[1];return s.each(function(t){var e,n;t[u]=[t.x0,t.x1,t.x1,t.x0],t[c]=[t.y1,t.y1,t.y0,t.y0],t.name=t.name||(null===(e=t.data)||void 0===e?void 0:e.name)||(null===(n=t.data)||void 0===n?void 0:n.label),t.data.name=t.name,["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",size:[1,1],round:!1,padding:0,sort:function(t,e){return e.value-t.value},as:["x","y"],ignoreParentValue:!0}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:(0,r.__assign)({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:(0,r.__assign)({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";var r=n(14),i=n(0);(0,r.registerShape)("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=(0,i.clamp)(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_0?g:v},b=(0,l.deepAssign)({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return(0,o.interval)(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=(0,l.deepAssign)({},{alias:f},(0,i.get)(d,f));return(0,l.flow)((0,a.scale)(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),(0,l.deepAssign)({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=(0,s.getLocale)(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:(0,l.deepAssign)({},{r:5},(0,i.get)(a,"style"))}}),e.legend((0,l.deepAssign)({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=(0,l.findGeometry)(e,"interval");if(i){var c=i.callback,f=(0,r.__rest)(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:(0,l.transformLabel)(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip((0,r.__assign)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1272)},function(t,e,n){"use strict";var r=n(1),i=n(14),a=n(0),o=n(7);(0,i.registerShape)("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0?Math.max.apply(Math,r):0,a=Math.abs(t)%360;return a?360*i/a:i},e.getStackedData=function(t,e,n){var i=[];return t.forEach(function(t){var a=i.find(function(n){return n[e]===t[e]});a?a[n]+=t[n]||null:i.push((0,r.__assign)({},t))}),i};var r=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BidirectionalBar=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(1278),l=n(599),u=n(598),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return(0,o.deepAssign)({},t.getDefaultOptions.call(this),{syncViewPadding:l.syncViewPadding})},e.prototype.changeData=function(t){void 0===t&&(t=[]),this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,a=e.layout,s=(0,l.transformData)(n,r,u.SERIES_FIELD_KEY,t,(0,l.isHorizontal)(a)),c=s[0],f=s[1],d=(0,o.findViewById)(this.chart,u.FIRST_AXES_VIEW),p=(0,o.findViewById)(this.chart,u.SECOND_AXES_VIEW);d.data(c),p.data(f),this.chart.render(!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.SERIES_FIELD_KEY=u.SERIES_FIELD_KEY,e}(a.Plot);e.BidirectionalBar=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(c,f,d,h,g,y,a.tooltip,p,v)(t)},e.animation=v,e.interaction=p,e.limitInPlot=h,e.theme=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(598),u=n(599);function c(t){var e,n,r=t.chart,i=t.options,a=i.data,c=i.xField,f=i.yField,d=i.color,p=i.barStyle,h=i.widthRatio,g=i.legend,v=i.layout,y=(0,u.transformData)(c,f,l.SERIES_FIELD_KEY,a,(0,u.isHorizontal)(v));g?r.legend(l.SERIES_FIELD_KEY,g):!1===g&&r.legend(!1);var m=y[0],b=y[1];(0,u.isHorizontal)(v)?((e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:l.FIRST_AXES_VIEW})).coordinate().transpose().reflect("x"),(n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().transpose(),e.data(m),n.data(b)):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:l.FIRST_AXES_VIEW}),(n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().reflect("y"),e.data(m),n.data(b));var x=(0,s.deepAssign)({},t,{chart:e,options:{widthRatio:h,xField:c,yField:f[0],seriesField:l.SERIES_FIELD_KEY,interval:{color:d,style:p}}});(0,o.interval)(x);var _=(0,s.deepAssign)({},t,{chart:n,options:{xField:c,yField:f[1],seriesField:l.SERIES_FIELD_KEY,widthRatio:h,interval:{color:d,style:p}}});return(0,o.interval)(_),t}function f(t){var e,n,r,o=t.options,u=t.chart,c=o.xAxis,f=o.yAxis,d=o.xField,p=o.yField,h=(0,s.findViewById)(u,l.FIRST_AXES_VIEW),g=(0,s.findViewById)(u,l.SECOND_AXES_VIEW),v={};return(0,i.keys)((null==o?void 0:o.meta)||{}).map(function(t){(0,i.get)(null==o?void 0:o.meta,[t,"alias"])&&(v[t]=o.meta[t].alias)}),u.scale(((e={})[l.SERIES_FIELD_KEY]={sync:!0,formatter:function(t){return(0,i.get)(v,t,t)}},e)),(0,a.scale)(((n={})[d]=c,n[p[0]]=f[p[0]],n))((0,s.deepAssign)({},t,{chart:h})),(0,a.scale)(((r={})[d]=c,r[p[1]]=f[p[1]],r))((0,s.deepAssign)({},t,{chart:g})),t}function d(t){var e=t.chart,n=t.options,i=n.xAxis,a=n.yAxis,o=n.xField,c=n.yField,f=n.layout,d=(0,s.findViewById)(e,l.FIRST_AXES_VIEW),p=(0,s.findViewById)(e,l.SECOND_AXES_VIEW);return(null==i?void 0:i.position)==="bottom"?p.axis(o,(0,r.__assign)((0,r.__assign)({},i),{label:{formatter:function(){return""}}})):p.axis(o,!1),!1===i?d.axis(o,!1):d.axis(o,(0,r.__assign)({position:(0,u.isHorizontal)(f)?"top":"bottom"},i)),!1===a?(d.axis(c[0],!1),p.axis(c[1],!1)):(d.axis(c[0],a[c[0]]),p.axis(c[1],a[c[1]])),e.__axisPosition={position:d.getOptions().axes[o].position,layout:f},t}function p(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function h(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW),options:{yAxis:i[r[0]]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW),options:{yAxis:i[r[1]]}})),t}function g(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function v(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function y(t){var e,n,i=this,a=t.chart,o=t.options,c=o.label,f=o.yField,d=o.layout,p=(0,s.findViewById)(a,l.FIRST_AXES_VIEW),h=(0,s.findViewById)(a,l.SECOND_AXES_VIEW),g=(0,s.findGeometry)(p,"interval"),v=(0,s.findGeometry)(h,"interval");if(c){var y=c.callback,m=(0,r.__rest)(c,["callback"]);m.position||(m.position="middle"),void 0===m.offset&&(m.offset=2);var b=(0,r.__assign)({},m);if((0,u.isHorizontal)(d)){var x=(null===(e=b.style)||void 0===e?void 0:e.textAlign)||("middle"===m.position?"center":"left");m.style=(0,s.deepAssign)({},m.style,{textAlign:x}),b.style=(0,s.deepAssign)({},b.style,{textAlign:{left:"right",right:"left",center:"center"}[x]})}else{var _={top:"bottom",bottom:"top",middle:"middle"};"string"==typeof m.position?m.position=_[m.position]:"function"==typeof m.position&&(m.position=function(){for(var t=[],e=0;e "+t.target,value:t.value}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=(0,l.transformToViewsData)(this.options,this.chart.width,this.chart.height),n=e.nodes,r=e.edges,i=(0,o.findViewById)(this.chart,u.NODES_VIEW_ID),a=(0,o.findViewById)(this.chart,u.EDGES_VIEW_ID);i.changeData(n),a.changeData(r)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Sankey=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(c,f,a.interaction,p,d,a.theme)(t)},e.animation=d,e.nodeDraggable=p;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(601),u=n(316);function c(t){var e=t.options.rawFields,n=void 0===e?[]:e;return(0,o.deepAssign)({},{options:{tooltip:{fields:(0,i.uniq)((0,r.__spreadArrays)(["name","source","target","value","isNode"],n))},label:{fields:(0,i.uniq)((0,r.__spreadArrays)(["x","name"],n))}}},t)}function f(t){var e=t.chart,n=t.options,r=n.color,i=n.nodeStyle,a=n.edgeStyle,o=n.label,c=n.tooltip,f=n.nodeState,d=n.edgeState;e.legend(!1),e.tooltip(c),e.axis(!1),e.coordinate().reflect("y");var p=(0,l.transformToViewsData)(n,e.width,e.height),h=p.nodes,g=p.edges,v=e.createView({id:u.EDGES_VIEW_ID});v.data(g),(0,s.edge)({chart:v,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,edge:{color:r,style:a,shape:"arc"},tooltip:c,state:d}});var y=e.createView({id:u.NODES_VIEW_ID});return y.data(h),(0,s.polygon)({chart:y,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,polygon:{color:r,style:i},label:o,tooltip:c,state:f}}),e.interaction("element-active"),e.scale({x:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},y:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},name:{sync:"color",type:"cat"}}),t}function d(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,r.__spreadArrays)(e.views[0].geometries,e.views[1].geometries).forEach(function(t){t.animate(n)}),t}function p(t){var e=t.chart,n=t.options.nodeDraggable,r="sankey-node-draggable";return n?e.interaction(r):e.removeInteraction(r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultOptions=l,e.getNodeAlignFunction=s,e.sankeyLayout=function(t,e){var n=l(t),r=n.nodeId,a=n.nodeSort,o=n.nodeAlign,u=n.nodeWidth,c=n.nodePadding,f=n.nodeDepth,d=(0,i.sankey)().nodeSort(a).nodeWidth(u).nodePadding(c).nodeDepth(f).nodeAlign(s(o)).extent([[0,0],[1,1]]).nodeId(r)(e);return d.nodes.forEach(function(t){var e=t.x0,n=t.x1,r=t.y0,i=t.y1;t.x=[e,n,n,e],t.y=[r,r,i,i]}),d.links.forEach(function(t){var e=t.source,n=t.target,r=e.x1,i=n.x0;t.x=[r,r,i,i];var a=t.width/2;t.y=[t.y0+a,t.y0-a,t.y1+a,t.y1-a]}),d};var r=n(0),i=n(1286),a={left:i.left,right:i.right,center:i.center,justify:i.justify},o={nodeId:function(t){return t.index},nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodeSort:void 0};function s(t){return((0,r.isString)(t)?a[t]:(0,r.isFunction)(t)?t:null)||i.justify}function l(t){return(0,r.assign)({},o,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"center",{enumerable:!0,get:function(){return i.center}}),Object.defineProperty(e,"justify",{enumerable:!0,get:function(){return i.justify}}),Object.defineProperty(e,"left",{enumerable:!0,get:function(){return i.left}}),Object.defineProperty(e,"right",{enumerable:!0,get:function(){return i.right}}),Object.defineProperty(e,"sankey",{enumerable:!0,get:function(){return r.Sankey}});var r=n(1287),i=n(602)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Sankey=function(){var t,e,n,r,v=0,y=0,m=1,b=1,x=24,_=8,O=f,P=a.justify,M=d,A=p,S=6;function w(a){var f={nodes:M(a),links:A(a)};return function(t){var e=t.nodes,r=t.links;e.forEach(function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]});var a=new Map(e.map(function(t){return[O(t),t]}));if(r.forEach(function(t,e){t.index=e;var n=t.source,r=t.target;"object"!==(0,i.default)(n)&&(n=t.source=h(a,n)),"object"!==(0,i.default)(r)&&(r=t.target=h(a,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(var o=0;or)throw Error("circular link");i=a,a=new Set}if(t)for(var l=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),u=void 0,c=0;cn)throw Error("circular link");r=i,i=new Set}}(f),function(t){var i=function(t){for(var n=t.nodes,r=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),i=(m-v-x)/(r-1),a=Array(r).fill(0).map(function(){return[]}),s=0;s=0;--o){for(var s=t[o],l=0;l0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}})(i,f,d),function(t,n,i){for(var a=1,o=t.length;a0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}}(i,f,d)}}(f),g(f),f}function E(t,e){var n=t.length>>1,i=t[n];T(t,i.y0-r,n-1,e),C(t,i.y1+r,n+1,e),T(t,b,t.length-1,e),C(t,y,0,e)}function C(t,e,n,i){for(;n1e-6&&(a.y0+=o,a.y1+=o),e=a.y1+r}}function T(t,e,n,i){for(;n>=0;--n){var a=t[n],o=(a.y1-e)*i;o>1e-6&&(a.y0-=o,a.y1-=o),e=a.y0-r}}function I(t){var e=t.sourceLinks,r=t.targetLinks;if(void 0===n){for(var i=0;io.findIndex(function(r){return r===t[e]+"_"+t[n]})})},e.getMatrix=a,e.getNodes=i;var r=n(0);function i(t,e,n){var r=[];return t.forEach(function(t){var i=t[e],a=t[n];r.includes(i)||r.push(i),r.includes(a)||r.push(a)}),r}function a(t,e,n,r){var i={};return e.forEach(function(t){i[t]={},e.forEach(function(e){i[t][e]=0})}),t.forEach(function(t){i[t[n]][t[r]]=1}),i}},function(t,e,n){"use strict";n(1291)},function(t,e,n){"use strict";var r=n(14),i=n(1292);(0,r.registerAction)("sankey-node-drag",i.SankeyNodeDragAction),(0,r.registerInteraction)("sankey-node-draggable",{showEnable:[{trigger:"polygon:mouseenter",action:"cursor:pointer"},{trigger:"polygon:mouseleave",action:"cursor:default"}],start:[{trigger:"polygon:mousedown",action:"sankey-node-drag:start"}],processing:[{trigger:"plot:mousemove",action:"sankey-node-drag:translate"},{isEnable:function(t){return t.isDragging},trigger:"plot:mousemove",action:"cursor:move"}],end:[{trigger:"plot:mouseup",action:"sankey-node-drag:end"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SankeyNodeDragAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s=n(316),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isDragging=!1,e}return(0,r.__extends)(e,t),e.prototype.isNodeElement=function(){var t=(0,a.get)(this.context,"event.target");if(t){var e=t.get("element");return e&&e.getModel().data.isNode}return!1},e.prototype.getNodeView=function(){return(0,o.findViewById)(this.context.view,s.NODES_VIEW_ID)},e.prototype.getEdgeView=function(){return(0,o.findViewById)(this.context.view,s.EDGES_VIEW_ID)},e.prototype.getCurrentDatumIdx=function(t){return this.getNodeView().geometries[0].elements.indexOf(t)},e.prototype.start=function(){if(this.isNodeElement()){this.prevPoint={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")};var t=this.context.event.target.get("element"),e=this.getCurrentDatumIdx(t);-1!==e&&(this.currentElementIdx=e,this.context.isDragging=!0,this.isDragging=!0,this.prevNodeAnimateCfg=this.getNodeView().getOptions().animate,this.prevEdgeAnimateCfg=this.getEdgeView().getOptions().animate,this.getNodeView().animate(!1),this.getEdgeView().animate(!1))}},e.prototype.translate=function(){if(this.isDragging){var t=this.context.view,e={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")},n=e.x-this.prevPoint.x,i=e.y-this.prevPoint.y,o=this.getNodeView(),s=o.geometries[0].elements[this.currentElementIdx];if(s&&s.getModel()){var l=s.getModel().data,u=o.getOptions().data,c=o.getCoordinate(),f={x:n/c.getWidth(),y:i/c.getHeight()},d=(0,r.__assign)((0,r.__assign)({},l),{x:l.x.map(function(t){return t+f.x}),y:l.y.map(function(t){return t+f.y})}),p=(0,r.__spreadArrays)(u);p[this.currentElementIdx]=d,o.data(p);var h=l.name,g=this.getEdgeView(),v=g.getOptions().data;v.forEach(function(t){t.source===h&&(t.x[0]+=f.x,t.x[1]+=f.x,t.y[0]+=f.y,t.y[1]+=f.y),t.target===h&&(t.x[2]+=f.x,t.x[3]+=f.x,t.y[2]+=f.y,t.y[3]+=f.y)}),g.data(v),this.prevPoint=e,t.render(!0)}}},e.prototype.end=function(){this.isDragging=!1,this.context.isDragging=!1,this.prevPoint=null,this.currentElementIdx=null,this.getNodeView().animate(this.prevNodeAnimateCfg),this.getEdgeView().animate(this.prevEdgeAnimateCfg)},e}(i.Action);e.SankeyNodeDragAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Chord=void 0;var r=n(1),i=n(19),a=n(1294),o=n(603),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Chord=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(a.theme,c,g,f,d,p,h,y,v,a.interaction,a.state,m)(t)};var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(1295),u=n(603);function c(t){var e=t.options,n=e.data,i=e.sourceField,a=e.targetField,s=e.weightField,u=e.nodePaddingRatio,c=e.nodeWidthRatio,f=e.rawFields,d=void 0===f?[]:f,p=(0,o.transformDataToNodeLinkData)(n,i,a,s),h=(0,l.chordLayout)({weight:!0,nodePaddingRatio:u,nodeWidthRatio:c},p),g=h.nodes,v=h.links,y=g.map(function(t){return(0,r.__assign)((0,r.__assign)({},(0,o.pick)(t,(0,r.__spreadArrays)(["id","x","y","name"],d))),{isNode:!0})}),m=v.map(function(t){return(0,r.__assign)((0,r.__assign)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},(0,o.pick)(t,(0,r.__spreadArrays)(["x","y","value"],d))),{isNode:!1})});return(0,r.__assign)((0,r.__assign)({},t),{ext:(0,r.__assign)((0,r.__assign)({},t.ext),{chordData:{nodesData:y,edgesData:m}})})}function f(t){var e;return t.chart.scale(((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}})[u.NODE_COLOR_FIELD]={sync:"color"},e[u.EDGE_COLOR_FIELD]={sync:"color"},e)),t}function d(t){return t.chart.axis(!1),t}function p(t){return t.chart.legend(!1),t}function h(t){var e=t.chart,n=t.options.tooltip;return e.tooltip(n),t}function g(t){return t.chart.coordinate("polar").reflect("y"),t}function v(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,a=n.label,o=n.tooltip,l=e.createView();return l.data(r),(0,s.polygon)({chart:l,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.NODE_COLOR_FIELD,polygon:{style:i},label:a,tooltip:o}}),t}function y(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,a=n.tooltip,o=e.createView();o.data(r);var l={xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.EDGE_COLOR_FIELD,edge:{style:i,shape:"arc"},tooltip:a};return(0,s.edge)({chart:o,options:l}),t}function m(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,i.each)((0,o.getAllGeometriesRecursively)(e),function(t){t.animate(n)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.chordLayout=function(t,e){var n,i,o=a(t),s={},l=e.nodes,u=e.links;return l.forEach(function(t){s[o.id(t)]=t}),(0,r.forIn)(s,function(t,e){t.inEdges=u.filter(function(t){return""+o.target(t)==""+e}),t.outEdges=u.filter(function(t){return""+o.source(t)==""+e}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(e){t.value+=o.targetWeight(e)}),t.outEdges.forEach(function(e){t.value+=o.sourceWeight(e)})}),!(i=({weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}})[(n=o).sortBy])&&(0,r.isFunction)(n.sortBy)&&(i=n.sortBy),i&&l.sort(i),{nodes:function(t,e){var n=t.length;if(!n)throw TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.nodePaddingRatio;if(r<0||r>=1)throw TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=r/(2*n),a=e.nodeWidthRatio;if(a<=0||a>=1)throw TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;t.forEach(function(t){o+=t.value}),t.forEach(function(t){t.weight=t.value/o,t.width=t.weight*(1-r),t.height=a}),t.forEach(function(n,r){for(var o=0,s=r-1;s>=0;s--)o+=t[s].width+2*i;var l=n.minX=i+o,u=n.maxX=n.minX+n.width,c=n.minY=e.y-a/2,f=n.maxY=c+a;n.x=[l,u,u,l],n.y=[c,c,f,f]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}return t}(l,o),links:function(t,e,n){if(n.weight){var i={};(0,r.forIn)(t,function(t,e){i[e]=t.value}),e.forEach(function(e){var r=n.source(e),a=n.target(e),o=t[r],s=t[a];if(o&&s){var l=i[r],u=n.sourceWeight(e),c=o.minX+(o.value-l)/o.value*o.width,f=c+u/o.value*o.width;i[r]-=u;var d=i[a],p=n.targetWeight(e),h=s.minX+(s.value-d)/s.value*s.width,g=h+p/s.value*s.width;i[a]-=p;var v=n.y;e.x=[c,f,h,g],e.y=[v,v,v,v],e.source=o,e.target=s}})}else e.forEach(function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y],e.source=r,e.target=i)});return e}(s,u,o)}},e.getDefaultOptions=a;var r=n(0),i={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function a(t){return(0,r.assign)({},i,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CirclePacking=void 0;var r=n(1),i=n(19),a=n(1297),o=n(604);n(1300);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle-packing",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){this.chart.destroyed||(this.chart.forceFit(),this.chart.clear(),this.execAdaptor(),this.chart.render(!0))},e}(i.Plot);e.CirclePacking=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)((0,o.pattern)("pointStyle"),f,d,o.theme,h,p,v,o.legend,g,y,o.animation,(0,o.annotation)())(t)},e.meta=h;var r=n(1),i=n(0),a=n(546),o=n(22),s=n(7),l=n(121),u=n(1298),c=n(604);function f(t){var e=t.chart,n=Math.min(e.viewBBox.width,e.viewBBox.height);return(0,s.deepAssign)({options:{size:function(t){return t.r*n}}},t)}function d(t){var e=t.options,n=t.chart,r=n.viewBBox,a=e.padding,o=e.appendPadding,s=e.drilldown,c=o;if(null==s?void 0:s.enabled){var f=(0,l.getAdjustAppendPadding)(n.appendPadding,(0,i.get)(s,["breadCrumb","position"]));c=(0,l.resolveAllPadding)([f,o])}var d=(0,u.resolvePaddingForCircle)(a,c,r).finalPadding;return n.padding=d,n.appendPadding=0,t}function p(t){var e=t.chart,n=t.options,i=e.padding,o=e.appendPadding,l=n.color,f=n.colorField,d=n.pointStyle,p=n.hierarchyConfig,h=n.sizeField,g=n.rawFields,v=void 0===g?[]:g,y=n.drilldown,m=(0,u.transformData)({data:n.data,hierarchyConfig:p,enableDrillDown:null==y?void 0:y.enabled,rawFields:v});e.data(m);var b=e.viewBBox,x=(0,u.resolvePaddingForCircle)(i,o,b).finalSize,_=function(t){return t.r*x};return h&&(_=function(t){return t[h]*x}),(0,a.point)((0,s.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:f,sizeField:h,rawFields:(0,r.__spreadArrays)(c.RAW_FIELDS,v),point:{color:l,style:d,shape:"circle",size:_}}})),t}function h(t){return(0,s.flow)((0,o.scale)({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(t)}function g(t){var e=t.chart,n=t.options.tooltip;if(!1===n)e.tooltip(!1);else{var a=n;(0,i.get)(n,"fields")||(a=(0,s.deepAssign)({},{customItems:function(t){return t.map(function(t){var n=(0,i.get)(e.getOptions(),"scales"),a=(0,i.get)(n,["name","formatter"],function(t){return t}),o=(0,i.get)(n,["value","formatter"],function(t){return t});return(0,r.__assign)((0,r.__assign)({},t),{name:a(t.data.name),value:o(t.data.value)})})}},a)),e.tooltip(a)}return t}function v(t){return t.chart.axis(!1),t}function y(t){var e,n,i=t.chart,a=t.options;return(0,o.interaction)({chart:i,options:(e=a.drilldown,n=a.interactions,(null==e?void 0:e.enabled)?(0,s.deepAssign)({},a,{interactions:(0,r.__spreadArrays)(void 0===n?[]:n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:u.transformData,enableDrillDown:!0}}])}):a)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolvePaddingForCircle=function(t,e,n){var r=(0,s.resolveAllPadding)([t,e]),i=r[0],a=r[1],o=r[2],l=r[3],u=n.width,c=n.height,f=u-(l+a),d=c-(i+o),p=Math.min(f,d),h=(f-p)/2,g=(d-p)/2;return{finalPadding:[i+g,a+h,o+g,l+h],finalSize:p<0?0:p}},e.transformData=function(t){var e=t.data,n=t.hierarchyConfig,s=t.rawFields,l=void 0===s?[]:s,u=t.enableDrillDown,c=(0,i.pack)(e,(0,r.__assign)((0,r.__assign)({},n),{field:"value",as:["x","y","r"]})),f=[];return c.forEach(function(t){for(var e,i=t.data.name,s=(0,r.__assign)({},t);s.depth>1;)i=(null===(e=s.parent.data)||void 0===e?void 0:e.name)+" / "+i,s=s.parent;if(u&&t.depth>2)return null;var c=(0,a.deepAssign)({},t.data,(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,a.pick)(t.data,l)),{path:i}),t));c.ext=n,c[o.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:n,rawFields:l,enableDrillDown:u},f.push(c)}),f};var r=n(1),i=n(1299),a=n(7),o=n(201),s=n(121)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.pack=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||3!==r.length)throw TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.pack().size(e.size).padding(e.padding)(i.hierarchy(t).sum(function(t){return t[n]}).sort(e.sort)),u=r[0],c=r[1],f=r[2];return s.each(function(t){t[u]=t.x,t[c]=t.y,t[f]=t.r}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",as:["x","y","r"],sort:function(t,e){return e.value-t.value}}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.P=void 0;var r=n(1),i=n(7),a=function(t){function e(e,n,r,a){var o=t.call(this,e,(0,i.deepAssign)({},a,n))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=r,o}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e}(n(19).Plot);e.P=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(o.animation,f,d,o.interaction,o.animation,o.theme,o.tooltip)(t)};var r=n(1),i=n(0),a=n(49),o=n(22),s=n(19),l=n(99),u=n(7),c=n(606);function f(t){var e=t.chart,n=t.options,o=n.views,s=n.legend;return(0,i.each)(o,function(t){var n=t.region,o=t.data,s=t.meta,c=t.axes,f=t.coordinate,d=t.interactions,p=t.annotations,h=t.tooltip,g=t.geometries,v=e.createView({region:n});v.data(o);var y={};c&&(0,i.each)(c,function(t,e){y[e]=(0,u.pick)(t,l.AXIS_META_CONFIG_KEYS)}),y=(0,u.deepAssign)({},s,y),v.scale(y),c?(0,i.each)(c,function(t,e){v.axis(e,t)}):v.axis(!1),v.coordinate(f),(0,i.each)(g,function(t){var e=(0,a.geometry)({chart:v,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)}),(0,i.each)(d,function(t){!1===t.enable?v.removeInteraction(t.type):v.interaction(t.type,t.cfg)}),(0,i.each)(p,function(t){v.annotation()[t.type]((0,r.__assign)({},t))}),"boolean"==typeof t.animation?v.animate(!1):(v.animate(!0),(0,i.each)(v.geometries,function(e){e.animate(t.animation)})),h&&(v.interaction("tooltip"),v.tooltip(h))}),s?(0,i.each)(s,function(t,n){e.legend(n,t)}):e.legend(!1),e.tooltip(n.tooltip),t}function d(t){var e=t.chart,n=t.options.plots;return(0,i.each)(n,function(t){var n=t.type,i=t.region,a=t.options,o=void 0===a?{}:a,l=o.tooltip,f=e.createView((0,r.__assign)({region:i},(0,u.pick)(o,s.PLOT_CONTAINER_OPTIONS)));l&&f.interaction("tooltip"),(0,c.execPlotAdaptor)(n,f,o)}),t}},function(t,e,n){"use strict";n(1304)},function(t,e,n){"use strict";var r=n(1),i=n(0),a=n(14),o=n(7),s=n(1305),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getAssociationItems=function(t,e){var n,r=this.context.event,a=e||{},l=a.linkField,u=a.dim,c=[];if(null===(n=r.data)||void 0===n?void 0:n.data){var f=r.data.data;(0,i.each)(t,function(t){var e,n,r=l;if("x"===u?r=t.getXScale().field:"y"===u?r=null===(e=t.getYScales().find(function(t){return t.field===r}))||void 0===e?void 0:e.field:r||(r=null===(n=t.getGroupScales()[0])||void 0===n?void 0:n.field),r){var a=(0,i.map)((0,o.getAllElements)(t),function(e){var n=!1,a=!1,o=(0,i.isArray)(f)?(0,i.get)(f[0],r):(0,i.get)(f,r);return(0,s.getElementValue)(e,r)===o?n=!0:a=!0,{element:e,view:t,active:n,inactive:a}});c.push.apply(c,a)}})}return c},e.prototype.showTooltip=function(t){var e=(0,o.getSiblingViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){if(t.active){var e=t.element.shape.getCanvasBBox();t.view.showTooltip({x:e.minX+e.width/2,y:e.minY+e.height/2})}})},e.prototype.hideTooltip=function(){var t=(0,o.getSiblingViews)(this.context.view);(0,i.each)(t,function(t){t.hideTooltip()})},e.prototype.active=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("active",!0)})},e.prototype.selected=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("selected",!0)})},e.prototype.highlight=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.inactive,n=t.element;e&&n.setState("inactive",!0)})},e.prototype.reset=function(){var t=(0,o.getViews)(this.context.view);(0,i.each)(t,function(t){(0,s.clearHighlight)(t)})},e}(a.Action);(0,a.registerAction)("association",l),(0,a.registerInteraction)("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearHighlight=function(t){var e=(0,i.getAllElements)(t);(0,r.each)(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})},e.getElementValue=function(t,e){var n=t.getModel().data;return(0,r.isArray)(n)?n[0][e]:n[e]};var r=n(0),i=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Facet=void 0;var r=n(1),i=n(19),a=n(1307),o=n(1309),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Facet=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(a.theme,c,f)(t)};var r=n(1),i=n(0),a=n(22),o=n(99),s=n(7),l=n(606),u=n(1308);function c(t){var e=t.chart,n=t.options,a=n.type,o=n.data,s=n.fields,c=n.eachView,f=(0,i.omit)(n,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(o),e.facet(a,(0,r.__assign)((0,r.__assign)({},f),{fields:s,eachView:function(t,e){var n=c(t,e);if(n.geometries)(0,u.execViewAdaptor)(t,n);else{var r=n.options;r.tooltip&&t.interaction("tooltip"),(0,l.execPlotAdaptor)(n.type,t,r)}}})),t}function f(t){var e=t.chart,n=t.options,a=n.axes,l=n.meta,u=n.tooltip,c=n.coordinate,f=n.theme,d=n.legend,p=n.interactions,h=n.annotations,g={};return a&&(0,i.each)(a,function(t,e){g[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),g=(0,s.deepAssign)({},l,g),e.scale(g),e.coordinate(c),a?(0,i.each)(a,function(t,n){e.axis(n,t)}):e.axis(!1),u?(e.interaction("tooltip"),e.tooltip(u)):!1===u&&e.removeInteraction("tooltip"),e.legend(d),f&&e.theme(f),(0,i.each)(p,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg)}),(0,i.each)(h,function(t){e.annotation()[t.type]((0,r.__assign)({},t))}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execViewAdaptor=function(t,e){var n=e.data,l=e.coordinate,u=e.interactions,c=e.annotations,f=e.animation,d=e.tooltip,p=e.axes,h=e.meta,g=e.geometries;n&&t.data(n);var v={};p&&(0,i.each)(p,function(t,e){v[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),v=(0,s.deepAssign)({},h,v),t.scale(v),l&&t.coordinate(l),!1===p?t.axis(!1):(0,i.each)(p,function(e,n){t.axis(n,e)}),(0,i.each)(g,function(e){var n=(0,a.geometry)({chart:t,options:e}).ext,r=e.adjust;r&&n.geometry.adjust(r)}),(0,i.each)(u,function(e){!1===e.enable?t.removeInteraction(e.type):t.interaction(e.type,e.cfg)}),(0,i.each)(c,function(e){t.annotation()[e.type]((0,r.__assign)({},e))}),"boolean"==typeof f?t.animate(!1):(t.animate(!0),(0,i.each)(t.geometries,function(t){t.animate(f)})),d?(t.interaction("tooltip"),t.tooltip(d)):!1===d&&t.removeInteraction("tooltip")};var r=n(1),i=n(0),a=n(49),o=n(99),s=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Stage=e.Lab=void 0,e.notice=o;var r,i,a=n(605);function o(t,e){console.warn(t===i.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":t===i.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":t===i.STABLE?"Plot '"+e+"' is in STABLE stage, import it by \"import { "+e+" } from '@antv/g2plot'\".":"invalid Stage type.")}e.Stage=i,(r=i||(e.Stage=i={})).DEV="DEV",r.BETA="BETA",r.STABLE="STABLE";var s=function(){function t(){}return Object.defineProperty(t,"MultiView",{get:function(){return o(i.STABLE,"MultiView"),a.Mix},enumerable:!1,configurable:!0}),t}();e.Lab=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(43),s=n(509),l=n(15),u=n(317),c=n(607);function f(t){var e=t.chart,n=t.options,r=n.percent,a=n.range,f=n.radius,d=n.innerRadius,p=n.startAngle,h=n.endAngle,g=n.axis,v=n.indicator,y=n.gaugeStyle,m=n.type,b=n.meter,x=a.color,_=a.width;if(v){var O=c.getIndicatorData(r),P=e.createView({id:u.INDICATEOR_VIEW_ID});P.data(O),P.point().position(u.PERCENT+"*1").shape(v.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:v}),P.coordinate("polar",{startAngle:p,endAngle:h,radius:d*f}),P.axis(u.PERCENT,g),P.scale(u.PERCENT,l.pick(g,s.AXIS_META_CONFIG_KEYS))}var M=c.getRangeData(r,n.range),A=e.createView({id:u.RANGE_VIEW_ID});A.data(M);var S=i.isString(x)?[x,u.DEFAULT_COLOR]:x;return o.interval({chart:A,options:{xField:"1",yField:u.RANGE_VALUE,seriesField:u.RANGE_TYPE,rawFields:[u.PERCENT],isStack:!0,interval:{color:S,style:y,shape:"meter"===m?"meter-gauge":null},args:{zIndexReversed:!0},minColumnWidth:_,maxColumnWidth:_}}).ext.geometry.customInfo({meter:b}),A.coordinate("polar",{innerRadius:d,radius:f,startAngle:p,endAngle:h}).transpose(),t}function d(t){var e;return l.flow(a.scale(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[u.PERCENT]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,a=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),a){var s=a.content,u=void 0;s&&(u=l.deepAssign({},{content:(100*o).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),l.renderGaugeStatistic(n,{statistic:r.__assign(r.__assign({},a),{content:u})},{percent:o})}return e&&n.render(!0),t}function h(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}e.statistic=p,e.adaptor=function(t){return l.flow(a.theme,a.animation,f,d,p,a.interaction,a.annotation(),h)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:r.__assign({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:r.__assign({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(0);r.registerShape("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=i.clamp(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_-1){var c=i.get(l.findViewById(e,u),"geometries");i.each(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=i.get(e.getController("legend"),"option.items",[]);i.each(e.views,function(t){var n=t.getGroupScales();i.each(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!i.find(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=l.findViewById(e,h.LEFT_AXES_VIEW),a=l.findViewById(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;i.isEqual(n,r)||d.doSliderFilter(a,n)}),e.once("afterpaint",function(){if(!i.isBoolean(n)){var t=n.start,e=n.end;(t||e)&&d.doSliderFilter(a,[t,e])}})),t}e.transformOptions=g,e.color=m,e.meta=b,e.axis=x,e.tooltip=_,e.interaction=O,e.annotation=P,e.theme=M,e.animation=A,e.limitInPlot=S,e.legend=w,e.slider=E,e.adaptor=function(t){return s.flow(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=void 0;var r=n(0),i=n(14),a=n(15),o=n(318);e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=r.get(l,"marker"),c=a.findGeometry(e,o.isLine(n)?"line":"interval");if(!n.seriesField){var f=r.get(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,r.get(d,["values",0],p)));var h=(r.isFunction(u)?u:!r.isEmpty(u)&&a.deepAssign({},{style:{stroke:p,fill:p}},u))||(o.isLine(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return r.reduce(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=void 0;var r=n(1),i=n(0),a=n(43),o=n(15),s=n(195),l=n(318);e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if(l.isLine(u)){a.line(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),a.point(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{point:u.point&&r.__assign({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&i.each(n.geometries,function(t){t.adjust(v)})}return l.isColumn(u)&&s.adaptor(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{widthRatio:u.columnWidthRatio,interval:r.__assign(r.__assign({},o.pick(u,["color"])),{style:u.columnStyle})})})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(15);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=r.size(o);if(s&&l){var u=r.valuesOfKey(o,s.field),c=r.size(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||i.isBetween(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";var r=n(9),i=n.n(r),a=n(10),o=n.n(a),s=n(363),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(66),v=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function y(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function m(t){var e=t.toString(),n=e.indexOf("."),r=e.indexOf("e-"),i=r>=0?parseInt(e.substr(r+2),10):e.substr(n+1).length;return i>20&&(i=20),i}function b(t,e){return parseFloat(t.toFixed(e))}Object(g.registerTickMethod)("linear-strict-tick-method",function(t){var e=t||{},n=e.tickCount,r=e.tickInterval,i=t||{},a=i.min,o=i.max;a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=n&&n>=2?n:5,l=r||function(t){var e=t.tickCount,n=t.min,r=t.max;if(n===r)return 1*y(r);for(var i=(r-n)/(e-1),a=y(i),o=i/a,s=r/a,l=n/a,u=0,c=0;c=r}({interval:v[s],tickCount:n,max:i,min:r})){o=v[s],a=!0;break}return a?o:10*t(0,n,r/10,i/10)}(u,e,l,s),d=m(f)+m(a);return b(f*a,d)}({tickCount:s,max:o,min:a}),u=Math.floor(a/l)*l;r&&(s=Math.max(s,Math.abs(Math.ceil((o-u)/r))+1));for(var c=[],f=0,d=m(l);f