commit ee910dbb23877948bfbac399c8e048d783d39be2 Author: Shirley727 Date: Fri Feb 14 18:15:30 2025 +0800 first commit diff --git a/.cursorignore b/.cursorignore new file mode 100644 index 0000000..0085a4e --- /dev/null +++ b/.cursorignore @@ -0,0 +1,3 @@ +# Add directories or file patterns to ignore during indexing (e.g. foo/ or *.csv) +dist/ +entry/ \ No newline at end of file diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..7b6ac51 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: [aib] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +polar: # Replace with a single Polar username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml new file mode 100644 index 0000000..122a1ae --- /dev/null +++ b/.github/workflows/publish_action.yml @@ -0,0 +1,20 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + paths: + - "pyproject.toml" + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@main + with: + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here. \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..13c495c --- /dev/null +++ b/.gitignore @@ -0,0 +1,31 @@ +__pycache__ +hash +.env +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +ui/node_modules +# ui/src/utils/encryptUtils.ts +db +dist-ssr +*.local +backup +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? +.cache +# dev +ui/yarn.lock \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..85a59a9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) 2025 AIDC-AI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..a112c80 --- /dev/null +++ b/README.md @@ -0,0 +1,110 @@ +
+ +# 🚀 ComfyUI-Copilot: Your Intelligent Assistant for Comfy-UI + + + +

+ +
+Version +License +Stars +Issues +Python + +

+ + +👾 _**AIDC**_ + +[**Github**](https://github.com/AIDC-AI/ComfyUI-Copilot) 📑 + +
+ +<视频链接占位符> + +## 🌟 Introduction + +Welcome to **ComfyUI-Copilot**, an intelligent assistant built on the Comfy-UI framework that simplifies and enhances the AI algorithm debugging and deployment process through natural language interactions. + +Whether it's generating text, images, or audio, ComfyUI-Copilot offers intuitive node recommendations, workflow building aids, and model querying services to streamline your development process. + +
+ +
+ +--- + +## 🤔 Why Choose ComfyUI-Copilot? + +- **Ease of Use**: Lower the barriers to entry with natural language interaction, making Comfy-UI accessible even for beginners. +- **Smart Recommendations**: Leverage AI-driven node suggestions and workflow implementations to boost development efficiency. +- **Real-Time Assistance**: Benefit from round-the-clock interactive support to address any issues encountered during development. + +--- + +## ⚙️ Core Features + +- **Interactive Q&A Bot**: Access a robust Q&A platform where users can inquire about model intricacies, node details, and parameter utilization with ease. +- **Natural Language Node Suggestions**: Employ our advanced search mechanism to swiftly identify desired nodes and enhance workflow construction efficacy. + +- **Node Query System**: Dive deeper into nodes by exploring their explanations, parameter definitions, usage tips, and downstream workflow recommendations. + +- **Smart Workflow Assistance**: Automatically discern developer needs to recommend and build fitting workflow frameworks, minimizing manual setup time. + +- **Model Querying**: Prompt Copilot to seek foundational models and 'lora' based on requirements. +- **Up-and-Coming Features**: + + - **Automated Parameter Tuning**: Exploit machine learning algorithms for seamless analysis and optimization of critical workflow parameters. + - **Error Diagnosis and Fix Suggestions**: Receive comprehensive error insights and corrective advice to swiftly pinpoint and resolve issues. + +--- + +## 🚀 Getting Started + +**Repository Overview**: Visit the [GitHub Repository](https://code.alibaba-inc.com/aidc-innovation/ComfyUI-Copilot) to access the complete codebase. + +1. **Installation**: + + ```bash + cd ComfyUI/custom_nodes + git clone git@gitlab.alibaba-inc.com:aidc-innovation/ComfyUI-Copilot.git + ``` + + or + + ```bash + cd ComfyUI/custom_nodes + git clone http://gitlab.alibaba-inc.com/aidc-innovation/ComfyUI-Copilot.git + ``` +2. **Activation**: After running the ComfyUI project, find the Copilot activation button at the top-right corner of the board to launch its service. +3. **API Key Application**: For internal users, obtain the API key from the [access link](https://aidc-appsmith.alibaba-inc.com/app/comfyui-copilot-website/page1-677648e0b007d02d2b193eeb) and insert it on the Copilot settings page for uninterrupted ComfyUI-Copilot services. + +--- + +## 🤝 Contributions + +We welcome any form of contribution! Feel free to make issues, pull requests, or suggest new features. + +--- + +## 📞 Contact Us + +For any queries or suggestions, please feel free to contact: ComfyUI-Copilot@service.alibaba.com + +--- + +## 📄 License + +This project is licensed under the MIT License - see the [LICENSE](https://opensource.org/licenses/MIT) file for details. + +--- + +### [Image Placement Placeholder] + +_(A visually engaging illustration or screenshot of ComfyUI-Copilot in action, highlighting its interface and showcasing user interaction.)_ + +--- + +This refactored README not only enhances the technical prowess of ComfyUI-Copilot but also makes it more appealing and accessible to users. It strategically spots where visual aids could further engage viewers and clarifies the setup and utilization of the tool. \ No newline at end of file diff --git a/README_for_developer.md b/README_for_developer.md new file mode 100644 index 0000000..30d74d2 --- /dev/null +++ b/README_for_developer.md @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..098c6a9 --- /dev/null +++ b/__init__.py @@ -0,0 +1,25 @@ +# Copyright (C) 2025 AIDC-AI +# Licensed under the MIT License. + +import asyncio +import server +from aiohttp import web +import folder_paths +from .service.conversation_service import * + +WEB_DIRECTORY = "entry" +NODE_CLASS_MAPPINGS = {} +__all__ = ['NODE_CLASS_MAPPINGS'] +version = "V2.1.0" + +workspace_path = os.path.join(os.path.dirname(__file__)) +comfy_path = os.path.dirname(folder_paths.__file__) +db_dir_path = os.path.join(workspace_path, "db") + +dist_path = os.path.join(workspace_path, 'dist/copilot_web') +if os.path.exists(dist_path): + server.PromptServer.instance.app.add_routes([ + web.static('/copilot_web/', dist_path), + ]) +else: + print(f"🦄🦄🔴🔴Error: Web directory not found: {dist_path}") diff --git a/assets/Framework.png b/assets/Framework.png new file mode 100644 index 0000000..25f42e3 Binary files /dev/null and b/assets/Framework.png differ diff --git a/assets/comfycopilot_nodes_recommend.gif b/assets/comfycopilot_nodes_recommend.gif new file mode 100644 index 0000000..0b46c48 Binary files /dev/null and b/assets/comfycopilot_nodes_recommend.gif differ diff --git a/assets/comfycopilot_nodes_search.gif b/assets/comfycopilot_nodes_search.gif new file mode 100644 index 0000000..6793ca8 Binary files /dev/null and b/assets/comfycopilot_nodes_search.gif differ diff --git a/assets/工作流检索.png b/assets/工作流检索.png new file mode 100644 index 0000000..6c9c862 Binary files /dev/null and b/assets/工作流检索.png differ diff --git a/command b/command new file mode 100644 index 0000000..d3563e0 --- /dev/null +++ b/command @@ -0,0 +1 @@ +mkdir -p static/workflows \ No newline at end of file diff --git a/dist/copilot_web/App-BygKR5_7.js b/dist/copilot_web/App-BygKR5_7.js new file mode 100644 index 0000000..c041488 --- /dev/null +++ b/dist/copilot_web/App-BygKR5_7.js @@ -0,0 +1,6 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["copilot_web/workflowChat-l1EPklk-.js","copilot_web/input.js","copilot_web/assets/input-CAIoqnDa.css"].map(path => { + const apiBase = window.comfyAPI?.api?.api?.api_base; + const prefix = apiBase ? `${apiBase.substring(1)}/` : ''; + return `${prefix}${path}`; + }))))=>i.map(i=>d[i]); +import{r as t,j as s,R as w,_}from"./input.js";const D=9999999,f={EXPLAIN_NODE:"copilot:explain-node"},b=w.lazy(()=>_(()=>import("./workflowChat-l1EPklk-.js"),__vite__mapDeps([0,1,2])));function N(){const g=t.useRef(null),[E,r]=t.useState(!1),[i,c]=t.useState(),[o,u]=t.useState(!1),[a,m]=t.useState({x:0,y:0}),[h,l]=t.useState(!1);t.useEffect(()=>{const e=()=>{console.log("Explain node event received"),r(!0),l(!0)};return window.addEventListener(f.EXPLAIN_NODE,e),()=>window.removeEventListener(f.EXPLAIN_NODE,e)},[]),t.useEffect(()=>{c({x:window.innerWidth-160,y:20})},[]);const x=e=>{e.preventDefault(),u(!0);const n=e.currentTarget.getBoundingClientRect();m({x:e.clientX-n.left,y:e.clientY-n.top})};return t.useEffect(()=>{const e=d=>{if(o){const p=Math.min(Math.max(0,d.clientX-a.x),window.innerWidth-100),v=Math.min(Math.max(0,d.clientY-a.y),window.innerHeight-40);c({x:p,y:v})}},n=()=>{u(!1)};return o&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",n)),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",n)}},[o,a]),i?s.jsx("div",{ref:g,children:s.jsxs("div",{className:"fixed",style:{zIndex:D,left:i.x,top:i.y,cursor:o?"grabbing":"grab"},children:[s.jsx("button",{onMouseDown:x,onClick:()=>{r(!0)},className:"px-4 py-2 border border-gray-300 rounded-md bg-white text-black hover:bg-green-600 transition-colors select-none w-32",children:"Copilot"}),s.jsx(b,{onClose:()=>{r(!1),l(!1)},visible:E,triggerUsage:h,onUsageTriggered:()=>l(!1)})]})}):null}export{N as default}; diff --git a/dist/copilot_web/assets/input-CAIoqnDa.css b/dist/copilot_web/assets/input-CAIoqnDa.css new file mode 100644 index 0000000..2658ffd --- /dev/null +++ b/dist/copilot_web/assets/input-CAIoqnDa.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-bottom-1{bottom:-.25rem}.-right-1{right:-.25rem}.-top-1{top:-.25rem}.-top-10{top:-2.5rem}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-2{top:.5rem}.z-10{z-index:10}.z-50{z-index:50}.z-\[9999\]{z-index:9999}.\!my-0\.5{margin-top:.125rem!important;margin-bottom:.125rem!important}.\!my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-20{height:5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-\[4\.5rem\]{height:4.5rem}.h-auto{height:auto}.h-full{height:100%}.min-h-\[80px\]{min-height:80px}.w-1{width:.25rem}.w-1\/2{width:50%}.w-14{width:3.5rem}.w-2{width:.5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-64{width:16rem}.w-8{width:2rem}.w-96{width:24rem}.w-\[100\%\]{width:100%}.w-\[500px\]{width:500px}.w-\[calc\(50\%-0\.25rem\)\]{width:calc(50% - .25rem)}.w-full{width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-ew-resize{cursor:ew-resize}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-\[\#979797\]{--tw-border-opacity: 1;border-color:rgb(151 151 151 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-t-blue-500{--tw-border-opacity: 1;border-top-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-t-gray-800{--tw-border-opacity: 1;border-top-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.bg-\[\#E5E7ED\]{--tw-bg-opacity: 1;background-color:rgb(229 231 237 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}.pr-3{padding-right:.75rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-relaxed{line-height:1.625}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\:bg-purple-200:hover{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity, 1))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-sm:hover{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:bg-gray-400:active{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:opacity-100{opacity:1}.prose-headings\:font-semibold :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){font-weight:600}.prose-h1\:text-base :is(:where(h1):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:1rem;line-height:1.5rem}.prose-h2\:text-sm :is(:where(h2):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.875rem;line-height:1.25rem}.prose-h3\:text-xs :is(:where(h3):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}.prose-h4\:text-xs :is(:where(h4):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}.prose-p\:text-xs :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}.prose-code\:text-xs :is(:where(code):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}.prose-pre\:text-xs :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}.prose-ol\:text-xs :is(:where(ol):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}.prose-ul\:text-xs :is(:where(ul):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}.prose-li\:text-xs :is(:where(li):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:.75rem;line-height:1rem}@media (min-width: 640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-color-scheme: dark){.dark\:bg-\[\#FFFFFF\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.dark\:text-\[\#000000\]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}}.\[\&\>\*\]\:\!my-1>*{margin-top:.25rem!important;margin-bottom:.25rem!important} diff --git a/dist/copilot_web/input.js b/dist/copilot_web/input.js new file mode 100644 index 0000000..48b4467 --- /dev/null +++ b/dist/copilot_web/input.js @@ -0,0 +1,40 @@ +const of="modulepreload",sf=function(e){return"/"+e},Oi={},af=function(n,t,r){let l=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),o=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.allSettled(t.map(s=>{if(s=sf(s),s in Oi)return;Oi[s]=!0;const f=s.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${h}`))return;const m=document.createElement("link");if(m.rel=f?"stylesheet":of,f||(m.as="script"),m.crossOrigin="",m.href=s,o&&m.setAttribute("nonce",o),document.head.appendChild(m),f)return new Promise((p,g)=>{m.addEventListener("load",p),m.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${s}`)))})}))}function u(i){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i}return l.then(i=>{for(const o of i||[])o.status==="rejected"&&u(o.reason);return n().catch(u)})};var Ad=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ff(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qo={exports:{}},qr={},Ko={exports:{}},T={};/** + * @license React + * 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 Kt=Symbol.for("react.element"),cf=Symbol.for("react.portal"),df=Symbol.for("react.fragment"),pf=Symbol.for("react.strict_mode"),mf=Symbol.for("react.profiler"),hf=Symbol.for("react.provider"),vf=Symbol.for("react.context"),yf=Symbol.for("react.forward_ref"),gf=Symbol.for("react.suspense"),wf=Symbol.for("react.memo"),Sf=Symbol.for("react.lazy"),Di=Symbol.iterator;function kf(e){return e===null||typeof e!="object"?null:(e=Di&&e[Di]||e["@@iterator"],typeof e=="function"?e:null)}var Yo={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xo=Object.assign,Go={};function rt(e,n,t){this.props=e,this.context=n,this.refs=Go,this.updater=t||Yo}rt.prototype.isReactComponent={};rt.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};rt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zo(){}Zo.prototype=rt.prototype;function Iu(e,n,t){this.props=e,this.context=n,this.refs=Go,this.updater=t||Yo}var ju=Iu.prototype=new Zo;ju.constructor=Iu;Xo(ju,rt.prototype);ju.isPureReactComponent=!0;var Mi=Array.isArray,Jo=Object.prototype.hasOwnProperty,Uu={current:null},qo={key:!0,ref:!0,__self:!0,__source:!0};function bo(e,n,t){var r,l={},u=null,i=null;if(n!=null)for(r in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(u=""+n.key),n)Jo.call(n,r)&&!qo.hasOwnProperty(r)&&(l[r]=n[r]);var o=arguments.length-2;if(o===1)l.children=t;else if(1>>1,X=_[H];if(0>>1;Hl(vl,z))vnl(qt,vl)?(_[H]=qt,_[vn]=z,H=vn):(_[H]=vl,_[hn]=z,H=hn);else if(vnl(qt,z))_[H]=qt,_[vn]=z,H=vn;else break e}}return N}function l(_,N){var z=_.sortIndex-N.sortIndex;return z!==0?z:_.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var s=[],f=[],h=1,m=null,p=3,g=!1,w=!1,S=!1,I=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var N=t(f);N!==null;){if(N.callback===null)r(f);else if(N.startTime<=_)r(f),N.sortIndex=N.expirationTime,n(s,N);else break;N=t(f)}}function v(_){if(S=!1,d(_),!w)if(t(s)!==null)w=!0,ml(E);else{var N=t(f);N!==null&&hl(v,N.startTime-_)}}function E(_,N){w=!1,S&&(S=!1,c(P),P=-1),g=!0;var z=p;try{for(d(N),m=t(s);m!==null&&(!(m.expirationTime>N)||_&&!xe());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var X=H(m.expirationTime<=N);N=e.unstable_now(),typeof X=="function"?m.callback=X:m===t(s)&&r(s),d(N)}else r(s);m=t(s)}if(m!==null)var Jt=!0;else{var hn=t(f);hn!==null&&hl(v,hn.startTime-N),Jt=!1}return Jt}finally{m=null,p=z,g=!1}}var C=!1,x=null,P=-1,B=5,L=-1;function xe(){return!(e.unstable_now()-L_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var N=3;break;default:N=p}var z=p;p=N;try{return _()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,N){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var z=p;p=_;try{return N()}finally{p=z}},e.unstable_scheduleCallback=function(_,N,z){var H=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0H?(_.sortIndex=z,n(f,_),t(s)===null&&_===t(f)&&(S?(c(P),P=-1):S=!0,hl(v,z-H))):(_.sortIndex=X,n(s,_),w||g||(w=!0,ml(E))),_},e.unstable_shouldYield=xe,e.unstable_wrapCallback=function(_){var N=p;return function(){var z=p;p=N;try{return _.apply(this,arguments)}finally{p=z}}}})(ls);rs.exports=ls;var Of=rs.exports;/** + * @license React + * react-dom.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 us=Au,ve=Of;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wl=Object.prototype.hasOwnProperty,Df=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ji={},Ui={};function Mf(e){return Wl.call(Ui,e)?!0:Wl.call(ji,e)?!1:Df.test(e)?Ui[e]=!0:(ji[e]=!0,!1)}function Ff(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function If(e,n,t,r){if(n===null||typeof n>"u"||Ff(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function oe(e,n,t,r,l,u,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=u,this.removeEmptyString=i}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){b[e]=new oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];b[n]=new oe(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){b[e]=new oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){b[e]=new oe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){b[e]=new oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){b[e]=new oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){b[e]=new oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){b[e]=new oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){b[e]=new oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vu=/[\-:]([a-z])/g;function Bu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Vu,Bu);b[n]=new oe(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Vu,Bu);b[n]=new oe(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Vu,Bu);b[n]=new oe(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){b[e]=new oe(e,1,!1,e.toLowerCase(),null,!1,!1)});b.xlinkHref=new oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){b[e]=new oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hu(e,n,t,r){var l=b.hasOwnProperty(n)?b[n]:null;(l!==null?l.type!==0:r||!(2o||l[i]!==u[o]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=o);break}}}finally{wl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?vt(e):""}function jf(e){switch(e.tag){case 5:return vt(e.type);case 16:return vt("Lazy");case 13:return vt("Suspense");case 19:return vt("SuspenseList");case 0:case 2:case 15:return e=Sl(e.type,!1),e;case 11:return e=Sl(e.type.render,!1),e;case 1:return e=Sl(e.type,!0),e;default:return""}}function Xl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dn:return"Fragment";case On:return"Portal";case Ql:return"Profiler";case Wu:return"StrictMode";case Kl:return"Suspense";case Yl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ss:return(e.displayName||"Context")+".Consumer";case os:return(e._context.displayName||"Context")+".Provider";case Qu:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ku:return n=e.displayName||null,n!==null?n:Xl(e.type)||"Memo";case Ge:n=e._payload,e=e._init;try{return Xl(e(n))}catch{}}return null}function Uf(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xl(n);case 8:return n===Wu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function fn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fs(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function $f(e){var n=fs(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,u=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,u.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function nr(e){e._valueTracker||(e._valueTracker=$f(e))}function cs(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=fs(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function zr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Gl(e,n){var t=n.checked;return A({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Ai(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=fn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ds(e,n){n=n.checked,n!=null&&Hu(e,"checked",n,!1)}function Zl(e,n){ds(e,n);var t=fn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Jl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Jl(e,n.type,fn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Vi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Jl(e,n,t){(n!=="number"||zr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var yt=Array.isArray;function Wn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=tr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Lt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var St={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Af=["Webkit","ms","Moz","O"];Object.keys(St).forEach(function(e){Af.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),St[n]=St[e]})});function vs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||St.hasOwnProperty(e)&&St[e]?(""+n).trim():n+"px"}function ys(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=vs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Vf=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function eu(e,n){if(n){if(Vf[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function nu(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tu=null;function Yu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ru=null,Qn=null,Kn=null;function Wi(e){if(e=Gt(e)){if(typeof ru!="function")throw Error(y(280));var n=e.stateNode;n&&(n=rl(n),ru(e.stateNode,e.type,n))}}function gs(e){Qn?Kn?Kn.push(e):Kn=[e]:Qn=e}function ws(){if(Qn){var e=Qn,n=Kn;if(Kn=Qn=null,Wi(e),n)for(e=0;e>>=0,e===0?32:31-(qf(e)/bf|0)|0}var rr=64,lr=4194304;function gt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Or(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,u=e.pingedLanes,i=t&268435455;if(i!==0){var o=i&~l;o!==0?r=gt(o):(u&=i,u!==0&&(r=gt(u)))}else i=t&~l,i!==0?r=gt(i):u!==0&&(r=gt(u));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,u=n&-n,l>=u||l===16&&(u&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Yt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Le(n),e[n]=t}function rc(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Et),bi=" ",eo=!1;function $s(e,n){switch(e){case"keyup":return Rc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function As(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mn=!1;function Dc(e,n){switch(e){case"compositionend":return As(n);case"keypress":return n.which!==32?null:(eo=!0,bi);case"textInput":return e=n.data,e===bi&&eo?null:e;default:return null}}function Mc(e,n){if(Mn)return e==="compositionend"||!ni&&$s(e,n)?(e=js(),wr=qu=be=null,Mn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=lo(t)}}function Ws(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Ws(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Qs(){for(var e=window,n=zr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=zr(e.document)}return n}function ti(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Hc(e){var n=Qs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ws(t.ownerDocument.documentElement,t)){if(r!==null&&ti(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,u=Math.min(r.start,l);r=r.end===void 0?u:Math.min(r.end,l),!e.extend&&u>r&&(l=r,r=u,u=l),l=uo(t,u);var i=uo(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),u>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Fn=null,au=null,Ct=null,fu=!1;function io(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;fu||Fn==null||Fn!==zr(r)||(r=Fn,"selectionStart"in r&&ti(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ct&&It(Ct,r)||(Ct=r,r=Fr(au,"onSelect"),0Un||(e.current=vu[Un],vu[Un]=null,Un--)}function D(e,n){Un++,vu[Un]=e.current,e.current=n}var cn={},re=pn(cn),fe=pn(!1),Cn=cn;function Jn(e,n){var t=e.type.contextTypes;if(!t)return cn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in t)l[u]=n[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ce(e){return e=e.childContextTypes,e!=null}function jr(){F(fe),F(re)}function mo(e,n,t){if(re.current!==cn)throw Error(y(168));D(re,n),D(fe,t)}function ea(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Uf(e)||"Unknown",l));return A({},t,r)}function Ur(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cn,Cn=re.current,D(re,e),D(fe,fe.current),!0}function ho(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ea(e,n,Cn),r.__reactInternalMemoizedMergedChildContext=e,F(fe),F(re),D(re,e)):F(fe),D(fe,t)}var $e=null,ll=!1,Ml=!1;function na(e){$e===null?$e=[e]:$e.push(e)}function nd(e){ll=!0,na(e)}function mn(){if(!Ml&&$e!==null){Ml=!0;var e=0,n=O;try{var t=$e;for(O=1;e>=i,l-=i,Ae=1<<32-Le(n)+l|t<P?(B=x,x=null):B=x.sibling;var L=p(c,x,d[P],v);if(L===null){x===null&&(x=B);break}e&&x&&L.alternate===null&&n(c,x),a=u(L,a,P),C===null?E=L:C.sibling=L,C=L,x=B}if(P===d.length)return t(c,x),j&&yn(c,P),E;if(x===null){for(;PP?(B=x,x=null):B=x.sibling;var xe=p(c,x,L.value,v);if(xe===null){x===null&&(x=B);break}e&&x&&xe.alternate===null&&n(c,x),a=u(xe,a,P),C===null?E=xe:C.sibling=xe,C=xe,x=B}if(L.done)return t(c,x),j&&yn(c,P),E;if(x===null){for(;!L.done;P++,L=d.next())L=m(c,L.value,v),L!==null&&(a=u(L,a,P),C===null?E=L:C.sibling=L,C=L);return j&&yn(c,P),E}for(x=r(c,x);!L.done;P++,L=d.next())L=g(x,c,P,L.value,v),L!==null&&(e&&L.alternate!==null&&x.delete(L.key===null?P:L.key),a=u(L,a,P),C===null?E=L:C.sibling=L,C=L);return e&&x.forEach(function(it){return n(c,it)}),j&&yn(c,P),E}function I(c,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Dn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case er:e:{for(var E=d.key,C=a;C!==null;){if(C.key===E){if(E=d.type,E===Dn){if(C.tag===7){t(c,C.sibling),a=l(C,d.props.children),a.return=c,c=a;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ge&&Eo(E)===C.type){t(c,C.sibling),a=l(C,d.props),a.ref=pt(c,C,d),a.return=c,c=a;break e}t(c,C);break}else n(c,C);C=C.sibling}d.type===Dn?(a=_n(d.props.children,c.mode,v,d.key),a.return=c,c=a):(v=Nr(d.type,d.key,d.props,null,c.mode,v),v.ref=pt(c,a,d),v.return=c,c=v)}return i(c);case On:e:{for(C=d.key;a!==null;){if(a.key===C)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(c,a.sibling),a=l(a,d.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Bl(d,c.mode,v),a.return=c,c=a}return i(c);case Ge:return C=d._init,I(c,a,C(d._payload),v)}if(yt(d))return w(c,a,d,v);if(st(d))return S(c,a,d,v);cr(c,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,d),a.return=c,c=a):(t(c,a),a=Vl(d,c.mode,v),a.return=c,c=a),i(c)):t(c,a)}return I}var bn=aa(!0),fa=aa(!1),Zt={},je=pn(Zt),At=pn(Zt),Vt=pn(Zt);function kn(e){if(e===Zt)throw Error(y(174));return e}function ci(e,n){switch(D(Vt,n),D(At,e),D(je,Zt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:bl(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=bl(n,e)}F(je),D(je,n)}function et(){F(je),F(At),F(Vt)}function ca(e){kn(Vt.current);var n=kn(je.current),t=bl(n,e.type);n!==t&&(D(At,e),D(je,t))}function di(e){At.current===e&&(F(je),F(At))}var U=pn(0);function Wr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Fl=[];function pi(){for(var e=0;et?t:4,e(!0);var r=Il.transition;Il.transition={};try{e(!1),n()}finally{O=t,Il.transition=r}}function Na(){return Ce().memoizedState}function ud(e,n,t){var r=sn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},za(e))Ta(n,t);else if(t=ua(e,n,t,r),t!==null){var l=ue();Re(t,e,r,l),La(t,n,r)}}function id(e,n,t){var r=sn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(za(e))Ta(n,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=n.lastRenderedReducer,u!==null))try{var i=n.lastRenderedState,o=u(i,t);if(l.hasEagerState=!0,l.eagerState=o,Oe(o,i)){var s=n.interleaved;s===null?(l.next=l,ai(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ua(e,n,l,r),t!==null&&(l=ue(),Re(t,e,r,l),La(t,n,r))}}function za(e){var n=e.alternate;return e===$||n!==null&&n===$}function Ta(e,n){xt=Qr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function La(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Gu(e,t)}}var Kr={readContext:_e,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useInsertionEffect:ee,useLayoutEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useMutableSource:ee,useSyncExternalStore:ee,useId:ee,unstable_isNewReconciler:!1},od={readContext:_e,useCallback:function(e,n){return Me().memoizedState=[e,n===void 0?null:n],e},useContext:_e,useEffect:Co,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,_r(4194308,4,Ea.bind(null,n,e),t)},useLayoutEffect:function(e,n){return _r(4194308,4,e,n)},useInsertionEffect:function(e,n){return _r(4,2,e,n)},useMemo:function(e,n){var t=Me();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Me();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=ud.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var n=Me();return e={current:e},n.memoizedState=e},useState:_o,useDebugValue:gi,useDeferredValue:function(e){return Me().memoizedState=e},useTransition:function(){var e=_o(!1),n=e[0];return e=ld.bind(null,e[1]),Me().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=$,l=Me();if(j){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),Z===null)throw Error(y(349));Pn&30||ma(r,n,t)}l.memoizedState=t;var u={value:t,getSnapshot:n};return l.queue=u,Co(va.bind(null,r,u,e),[e]),r.flags|=2048,Wt(9,ha.bind(null,r,u,t,n),void 0,null),t},useId:function(){var e=Me(),n=Z.identifierPrefix;if(j){var t=Ve,r=Ae;t=(r&~(1<<32-Le(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Bt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Fe]=n,e[$t]=r,$a(e,n,!1,!1),n.stateNode=e;e:{switch(i=nu(t,r),t){case"dialog":M("cancel",e),M("close",e),l=r;break;case"iframe":case"object":case"embed":M("load",e),l=r;break;case"video":case"audio":for(l=0;ltt&&(n.flags|=128,r=!0,mt(u,!1),n.lanes=4194304)}else{if(!r)if(e=Wr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),mt(u,!0),u.tail===null&&u.tailMode==="hidden"&&!i.alternate&&!j)return ne(n),null}else 2*W()-u.renderingStartTime>tt&&t!==1073741824&&(n.flags|=128,r=!0,mt(u,!1),n.lanes=4194304);u.isBackwards?(i.sibling=n.child,n.child=i):(t=u.last,t!==null?t.sibling=i:n.child=i,u.last=i)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=W(),n.sibling=null,t=U.current,D(U,r?t&1|2:t&1),n):(ne(n),null);case 22:case 23:return Ci(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?pe&1073741824&&(ne(n),n.subtreeFlags&6&&(n.flags|=8192)):ne(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function hd(e,n){switch(li(n),n.tag){case 1:return ce(n.type)&&jr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return et(),F(fe),F(re),pi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return di(n),null;case 13:if(F(U),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));qn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(U),null;case 4:return et(),null;case 10:return si(n.type._context),null;case 22:case 23:return Ci(),null;case 24:return null;default:return null}}var pr=!1,te=!1,vd=typeof WeakSet=="function"?WeakSet:Set,k=null;function Bn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){V(e,n,r)}else t.current=null}function zu(e,n,t){try{t()}catch(r){V(e,n,r)}}var Do=!1;function yd(e,n){if(cu=Dr,e=Qs(),ti(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{t.nodeType,u.nodeType}catch{t=null;break e}var i=0,o=-1,s=-1,f=0,h=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=i+l),m!==u||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++f===l&&(o=i),p===u&&++h===r&&(s=i),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(du={focusedElem:e,selectionRange:t},Dr=!1,k=n;k!==null;)if(n=k,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,k=e;else for(;k!==null;){n=k;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,I=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?S:Ne(n.type,S),I);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){V(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,k=e;break}k=n.return}return w=Do,Do=!1,w}function Pt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&zu(n,t,u)}l=l.next}while(l!==r)}}function ol(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Tu(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ba(e){var n=e.alternate;n!==null&&(e.alternate=null,Ba(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Fe],delete n[$t],delete n[hu],delete n[bc],delete n[ed])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ha(e){return e.tag===5||e.tag===3||e.tag===4}function Mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ha(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Lu(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Ir));else if(r!==4&&(e=e.child,e!==null))for(Lu(e,n,t),e=e.sibling;e!==null;)Lu(e,n,t),e=e.sibling}function Ru(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ru(e,n,t),e=e.sibling;e!==null;)Ru(e,n,t),e=e.sibling}var J=null,ze=!1;function Xe(e,n,t){for(t=t.child;t!==null;)Wa(e,n,t),t=t.sibling}function Wa(e,n,t){if(Ie&&typeof Ie.onCommitFiberUnmount=="function")try{Ie.onCommitFiberUnmount(br,t)}catch{}switch(t.tag){case 5:te||Bn(t,n);case 6:var r=J,l=ze;J=null,Xe(e,n,t),J=r,ze=l,J!==null&&(ze?(e=J,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):J.removeChild(t.stateNode));break;case 18:J!==null&&(ze?(e=J,t=t.stateNode,e.nodeType===8?Dl(e.parentNode,t):e.nodeType===1&&Dl(e,t),Mt(e)):Dl(J,t.stateNode));break;case 4:r=J,l=ze,J=t.stateNode.containerInfo,ze=!0,Xe(e,n,t),J=r,ze=l;break;case 0:case 11:case 14:case 15:if(!te&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var u=l,i=u.destroy;u=u.tag,i!==void 0&&(u&2||u&4)&&zu(t,n,i),l=l.next}while(l!==r)}Xe(e,n,t);break;case 1:if(!te&&(Bn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){V(t,n,o)}Xe(e,n,t);break;case 21:Xe(e,n,t);break;case 22:t.mode&1?(te=(r=te)||t.memoizedState!==null,Xe(e,n,t),te=r):Xe(e,n,t);break;default:Xe(e,n,t)}}function Fo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new vd),n.forEach(function(r){var l=Pd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Pe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=i),r&=~u}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wd(r/1960))-r,10e?16:e,en===null)var r=!1;else{if(e=en,en=null,Gr=0,R&6)throw Error(y(331));var l=R;for(R|=4,k=e.current;k!==null;){var u=k,i=u.child;if(k.flags&16){var o=u.deletions;if(o!==null){for(var s=0;sW()-Ei?En(e,0):ki|=t),de(e,n)}function qa(e,n){n===0&&(e.mode&1?(n=lr,lr<<=1,!(lr&130023424)&&(lr=4194304)):n=1);var t=ue();e=Qe(e,n),e!==null&&(Yt(e,n,t),de(e,t))}function xd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),qa(e,t)}function Pd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),qa(e,t)}var ba;ba=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)ae=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ae=!1,pd(e,n,t);ae=!!(e.flags&131072)}else ae=!1,j&&n.flags&1048576&&ta(n,Ar,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Cr(e,n),e=n.pendingProps;var l=Jn(n,re.current);Xn(n,t),l=hi(null,n,r,e,l,t);var u=vi();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ce(r)?(u=!0,Ur(n)):u=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,fi(n),l.updater=ul,n.stateNode=l,l._reactInternals=n,ku(n,r,e,t),n=Cu(null,n,r,!0,u,t)):(n.tag=0,j&&u&&ri(n),le(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Cr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=zd(r),e=Ne(r,e),l){case 0:n=_u(null,n,r,e,t);break e;case 1:n=Lo(null,n,r,e,t);break e;case 11:n=zo(null,n,r,e,t);break e;case 14:n=To(null,n,r,Ne(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),_u(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Lo(e,n,r,l,t);case 3:e:{if(Ia(n),e===null)throw Error(y(387));r=n.pendingProps,u=n.memoizedState,l=u.element,ia(e,n),Hr(n,r,null,t);var i=n.memoizedState;if(r=i.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=u,n.memoizedState=u,n.flags&256){l=nt(Error(y(423)),n),n=Ro(e,n,r,t,l);break e}else if(r!==l){l=nt(Error(y(424)),n),n=Ro(e,n,r,t,l);break e}else for(me=ln(n.stateNode.containerInfo.firstChild),he=n,j=!0,Te=null,t=fa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(qn(),r===l){n=Ke(e,n,t);break e}le(e,n,r,t)}n=n.child}return n;case 5:return ca(n),e===null&&gu(n),r=n.type,l=n.pendingProps,u=e!==null?e.memoizedProps:null,i=l.children,pu(r,l)?i=null:u!==null&&pu(r,u)&&(n.flags|=32),Fa(e,n),le(e,n,i,t),n.child;case 6:return e===null&&gu(n),null;case 13:return ja(e,n,t);case 4:return ci(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=bn(n,null,r,t):le(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),zo(e,n,r,l,t);case 7:return le(e,n,n.pendingProps,t),n.child;case 8:return le(e,n,n.pendingProps.children,t),n.child;case 12:return le(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,u=n.memoizedProps,i=l.value,D(Vr,r._currentValue),r._currentValue=i,u!==null)if(Oe(u.value,i)){if(u.children===l.children&&!fe.current){n=Ke(e,n,t);break e}}else for(u=n.child,u!==null&&(u.return=n);u!==null;){var o=u.dependencies;if(o!==null){i=u.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=Be(-1,t&-t),s.tag=2;var f=u.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?s.next=s:(s.next=h.next,h.next=s),f.pending=s}}u.lanes|=t,s=u.alternate,s!==null&&(s.lanes|=t),wu(u.return,t,n),o.lanes|=t;break}s=s.next}}else if(u.tag===10)i=u.type===n.type?null:u.child;else if(u.tag===18){if(i=u.return,i===null)throw Error(y(341));i.lanes|=t,o=i.alternate,o!==null&&(o.lanes|=t),wu(i,t,n),i=u.sibling}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===n){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}le(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Xn(n,t),l=_e(l),r=r(l),n.flags|=1,le(e,n,r,t),n.child;case 14:return r=n.type,l=Ne(r,n.pendingProps),l=Ne(r.type,l),To(e,n,r,l,t);case 15:return Da(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Cr(e,n),n.tag=1,ce(r)?(e=!0,Ur(n)):e=!1,Xn(n,t),sa(n,r,l),ku(n,r,l,t),Cu(null,n,r,!0,e,t);case 19:return Ua(e,n,t);case 22:return Ma(e,n,t)}throw Error(y(156,n.tag))};function ef(e,n){return Ps(e,n)}function Nd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ke(e,n,t,r){return new Nd(e,n,t,r)}function Pi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zd(e){if(typeof e=="function")return Pi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Qu)return 11;if(e===Ku)return 14}return 2}function an(e,n){var t=e.alternate;return t===null?(t=ke(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Nr(e,n,t,r,l,u){var i=2;if(r=e,typeof e=="function")Pi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Dn:return _n(t.children,l,u,n);case Wu:i=8,l|=8;break;case Ql:return e=ke(12,t,n,l|2),e.elementType=Ql,e.lanes=u,e;case Kl:return e=ke(13,t,n,l),e.elementType=Kl,e.lanes=u,e;case Yl:return e=ke(19,t,n,l),e.elementType=Yl,e.lanes=u,e;case as:return al(t,l,u,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case os:i=10;break e;case ss:i=9;break e;case Qu:i=11;break e;case Ku:i=14;break e;case Ge:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=ke(i,t,n,l),n.elementType=e,n.type=r,n.lanes=u,n}function _n(e,n,t,r){return e=ke(7,e,r,n),e.lanes=t,e}function al(e,n,t,r){return e=ke(22,e,r,n),e.elementType=as,e.lanes=t,e.stateNode={isHidden:!1},e}function Vl(e,n,t){return e=ke(6,e,null,n),e.lanes=t,e}function Bl(e,n,t){return n=ke(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Td(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=El(0),this.expirationTimes=El(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=El(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ni(e,n,t,r,l,u,i,o,s){return e=new Td(e,n,t,o,s),n===1?(n=1,u===!0&&(n|=8)):n=0,u=ke(3,null,null,n),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},fi(u),e}function Ld(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lf)}catch(e){console.error(e)}}lf(),ts.exports=ye;var Md=ts.exports,Ho=Md;Hl.createRoot=Ho.createRoot,Hl.hydrateRoot=Ho.hydrateRoot;let Fd=null;const Wo=location.pathname.split("/").slice(0,-1).join("/");let Id=null;async function jd(){try{await Promise.all([import(Wo+"/scripts/api.js").then(e=>{Id=e==null?void 0:e.api}),import(Wo+"/scripts/app.js").then(e=>{Fd=e==null?void 0:e.app})])}catch(e){console.error("waitForApp error",e)}}const Ud=es.lazy(()=>af(async()=>{const{default:e}=await import("./App-BygKR5_7.js");return{default:e}},[]).then(({default:e})=>({default:e})));function $d(){return new Promise(e=>{if(document.body)return e(document.body);document.addEventListener("DOMContentLoaded",()=>{e(document.body)})})}$d().then(()=>jd()).then(()=>{const e=document.createElement("div");document.body.append(e),Hl.createRoot(e).render(Ii.jsx(es.StrictMode,{children:Ii.jsx(Ud,{})}))});export{es as R,af as _,Fd as a,Id as b,Ad as c,ff as g,Ii as j,Au as r}; diff --git a/dist/copilot_web/workflowChat-l1EPklk-.js b/dist/copilot_web/workflowChat-l1EPklk-.js new file mode 100644 index 0000000..0ed07c3 --- /dev/null +++ b/dist/copilot_web/workflowChat-l1EPklk-.js @@ -0,0 +1,466 @@ +import{j as I,r as qe,R as Rw,a as Ft,c as Mg,g as r_,b as n_}from"./input.js";const i_={apiBaseUrl:"https://comfyui-copilot-server.onrender.com"};function br(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const r=Math.random()*16|0;return(t==="x"?r:r&3|8).toString(16)})}const $u=i_.apiBaseUrl,xu=()=>localStorage.getItem("chatApiKey");var _i;(t=>{async function*r(a,o,s=[],l=null,u=null){try{const c=xu();if(!c){yield{text:`API key is required. Please set your API key first.⚙ +If you don't have an API key, please email us at ComfyUI-Copilot@service.alibaba.com and we will get back to you as soon as possible.`,finished:!0};return}const h=(s||[]).map(y=>new Promise(($,k)=>{const T=new FileReader;T.onloadend=()=>$(T.result),T.onerror=k,T.readAsDataURL(y)})),d=await Promise.all(h);let f=u?Array.isArray(u)?u:[u]:[];const g=(await fetch(`${$u}/api/chat/invoke`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json","Access-Control-Allow-Origin":"*",Authorization:`Bearer ${c}`,"trace-id":br()},body:JSON.stringify({session_id:a,prompt:o,mock:!1,intent:l,ext:f,images:d.map((y,$)=>({filename:s[$].name,data:y}))})})).body.getReader();let b="";for(;;){const{done:y,value:$}=await g.read();if(y)break;b+=new TextDecoder().decode($);const k=b.split(` +`);b=k.pop()||"";for(const T of k)T.trim()&&(yield JSON.parse(T))}b.trim()&&(yield JSON.parse(b))}catch(c){throw console.error("Error in streamInvokeServer:",c),alert(c instanceof Error?c.message:"An error occurred while streaming, please refresh the page and try again."),c}}t.streamInvokeServer=r;async function e(a,o){try{const s=xu(),u=await(await fetch(`${$u}/api/chat/get_optimized_workflow`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json","Access-Control-Allow-Origin":"*",Authorization:`Bearer ${s}`,"trace-id":br()},body:JSON.stringify({workflow_id:a,prompt:o})})).json();if(!u.success){const c=u.message||"Failed to get optimized workflow";throw alert(c),new Error(c)}return u.data}catch(s){throw console.error("Error getting optimized workflow:",s),alert(s instanceof Error?s.message:"Failed to get optimized workflow"),s}}t.getOptimizedWorkflow=e;async function n(a){const o=xu(),l=await(await fetch(`${$u}/api/chat/get_node_info_by_types`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${o}`,"trace-id":br()},body:JSON.stringify({node_types:a})})).json();if(!l.success){const u=l.message||"Failed to get node info by types";throw alert(u),new Error(u)}return l.data}t.batchGetNodeInfo=n;async function i(a){try{const o=xu(),l=await(await fetch(`${$u}/api/chat/get_messages_by_session_id?session_id=${a}`,{method:"GET",headers:{accept:"application/json",Authorization:`Bearer ${o}`,"trace-id":br()}})).json();if(!l.success){const u=l.message||"Failed to fetch messages";throw alert(u+", please refresh the page and try again."),new Error(u)}return l.data.map(u=>(console.log("msg.ext",u.ext),{id:u.id.toString(),content:u.role==="ai"?JSON.stringify({session_id:a,text:u.content,finished:u.finished||!1,format:u.format||"markdown",ext:u.ext}):u.content,role:u.role,name:u.role==="ai"?"Assistant":void 0,format:u.format||"markdown",finished:u.finished}))}catch(o){throw console.error("Error fetching messages:",o),alert(o instanceof Error?o.message:"Failed to fetch messages, please refresh the page and try again."),o}}t.fetchMessages=i})(_i||(_i={}));function a_(t){return I.jsxs("svg",{...t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[I.jsx("path",{d:"m22 2-7 20-4-9-9-4Z"}),I.jsx("path",{d:"M22 2 11 13"})]})}function $c(t){return I.jsxs("svg",{...t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[I.jsx("path",{d:"M18 6 6 18"}),I.jsx("path",{d:"m6 6 12 12"})]})}function o_(t){return I.jsxs("svg",{...t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[I.jsx("path",{d:"M3 6h18"}),I.jsx("path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"}),I.jsx("path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"})]})}function s_(t){return I.jsxs("svg",{...t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[I.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),I.jsx("circle",{cx:"9",cy:"9",r:"2"}),I.jsx("path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"})]})}function l_(t){return I.jsxs("svg",{...t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[I.jsx("path",{d:"M12 5v14"}),I.jsx("path",{d:"M5 12h14"})]})}function u_(t){return I.jsxs("svg",{...t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[I.jsx("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}),I.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function c_({isOpen:t,onClose:r,onSave:e,initialApiKey:n=""}){const[i,a]=qe.useState(n),[o,s]=qe.useState(!1);return qe.useEffect(()=>{a(n)},[n]),t?I.jsx("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-25 flex items-center justify-center z-50",children:I.jsxs("div",{className:"bg-white rounded-lg p-6 w-96 shadow-xl",children:[I.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Set API Key"}),I.jsxs("div",{className:"relative",children:[I.jsx("input",{type:o?"text":"password",value:i,onChange:l=>a(l.target.value),placeholder:"Enter your API key",className:"w-full px-3 py-2 border border-gray-300 rounded-md mb-4 pr-10 bg-gray-50"}),I.jsx("button",{type:"button",className:"absolute inset-y-0 right-0 pr-3 flex items-center text-gray-600 hover:text-gray-800",onClick:()=>s(!o),children:o?I.jsxs("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):I.jsx("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]}),I.jsxs("div",{className:"mb-4 text-sm text-gray-600",children:[I.jsx("span",{children:"Don't have an API key? "}),I.jsx("a",{href:"https://form.typeform.com/to/d1AaMgIL",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 hover:text-blue-600 underline",children:"Click here to request one"})]}),I.jsxs("div",{className:"flex justify-end gap-2",children:[I.jsx("button",{onClick:r,className:"px-4 py-2 text-gray-600 hover:bg-gray-100 rounded-md",children:"Cancel"}),I.jsx("button",{onClick:()=>{e(i),r()},className:"px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600",children:"Save"})]})]})}):null}function h_({onClose:t,onClear:r,hasMessages:e}){const[n,i]=qe.useState(!1),a=()=>{i(!0)},o=s=>{localStorage.setItem("chatApiKey",s)};return I.jsxs("div",{className:`flex items-center justify-between border-b px-4 py-3 + bg-white border-gray-200 sticky top-0 z-10`,children:[I.jsxs("div",{className:"flex items-center space-x-2",children:[I.jsx("h3",{className:"text-lg font-medium text-gray-800",children:"copilot"}),I.jsx("button",{onClick:a,className:"p-1 hover:bg-gray-100 rounded text-gray-500",children:I.jsx(u_,{className:"h-5 w-5"})})]}),I.jsxs("div",{className:"flex items-center gap-1",children:[I.jsx("button",{className:`inline-flex items-center justify-center rounded-md p-2 + text-gray-500 hover:bg-gray-100 hover:text-gray-600 + disabled:opacity-50 transition-colors duration-200`,disabled:!e,onClick:r,children:I.jsx(o_,{className:"h-5 w-5"})}),I.jsx("button",{className:`inline-flex items-center justify-center rounded-md p-2 + text-gray-500 hover:bg-gray-100 hover:text-gray-600 + transition-colors duration-200`,onClick:t,children:I.jsx($c,{className:"h-5 w-5"})})]}),I.jsx(c_,{isOpen:n,onClose:()=>i(!1),onSave:o,initialApiKey:localStorage.getItem("chatApiKey")||""})]})}const d_=5*1024*1024,Dg=["image/jpeg","image/png","image/gif","image/webp"];function f_({input:t,loading:r,onChange:e,onSend:n,onKeyPress:i,onUploadImages:a,uploadedImages:o,onRemoveImage:s,selectedModel:l,onModelChange:u}){const[c,h]=qe.useState(!1),d=Rw.useRef(null),f=v=>{if(v.target.files){const g=[],b=[];if(Array.from(v.target.files).forEach(y=>{Dg.includes(y.type)?y.size>d_?g.push(`${y.name} (exceeds 5MB)`):b.push(y):g.push(`${y.name} (unsupported format)`)}),g.length>0&&alert(`The following files couldn't be uploaded: +${g.join(` +`)}`),b.length>0){const y=new DataTransfer;b.forEach($=>y.items.add($)),a(y.files)}}};return I.jsxs("div",{className:`relative ${o.length>0?"mt-12":""}`,children:[o.length>0&&I.jsx("div",{className:"absolute -top-10 left-0 flex gap-2",children:o.map(v=>I.jsxs("div",{className:"relative group",children:[I.jsx("img",{src:v.preview,alt:"uploaded",className:"w-8 h-8 rounded object-cover"}),I.jsx("button",{onClick:()=>s(v.id),className:`absolute -top-1 -right-1 bg-red-500 text-white rounded-full p-0.5 + opacity-0 group-hover:opacity-100 transition-opacity`,children:I.jsx($c,{className:"w-3 h-3"})})]},v.id))}),I.jsx("textarea",{onChange:e,onKeyDown:v=>{if(v.key==="Enter"&&!v.shiftKey){if(v.nativeEvent.isComposing)return;v.preventDefault(),n()}i(v)},value:t,placeholder:"Type your message...",className:`w-full min-h-[80px] resize-none rounded-md border + border-gray-200 px-3 py-2 pr-12 text-sm shadow-sm + focus:outline-none focus:ring-2 focus:ring-blue-500 + focus:border-transparent bg-white transition-all + duration-200 text-gray-700`}),I.jsxs("div",{className:"absolute bottom-3 left-3 flex items-center gap-2",children:[I.jsxs("select",{value:l,onChange:v=>u(v.target.value),className:`px-1.5 py-0.5 text-xs rounded-md + border border-gray-200 bg-white text-gray-700 + focus:outline-none focus:ring-2 focus:ring-blue-500 + focus:border-transparent hover:bg-gray-50 + transition-colors border-0`,children:[I.jsx("option",{value:"gpt-4o",children:"gpt-4o"}),I.jsx("option",{value:"gpt-4o-mini",children:"gpt-4o-mini"}),I.jsx("option",{value:"DeepSeek-V3",children:"DeepSeek-V3"})]}),I.jsx("button",{type:"button",onClick:()=>h(!0),className:`p-1.5 text-gray-500 + hover:bg-gray-100 hover:text-gray-600 + transition-all duration-200 outline-none`,children:I.jsx(s_,{className:"h-4 w-4"})})]}),I.jsx("button",{type:"submit",onClick:n,disabled:r,className:`absolute bottom-3 right-3 p-2 rounded-md text-gray-500 + hover:bg-gray-100 hover:text-gray-600 disabled:opacity-50 + transition-all duration-200 active:scale-95`,children:r?I.jsx("div",{className:`h-5 w-5 animate-spin rounded-full + border-2 border-gray-300 border-t-blue-500`}):I.jsx(a_,{className:`h-5 w-5 transform transition-transform + group-hover:translate-x-1`})}),c&&I.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",children:I.jsxs("div",{className:"bg-white rounded-lg p-6 w-96 relative",children:[I.jsx("button",{onClick:()=>h(!1),className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700",children:I.jsx($c,{className:"w-5 h-5"})}),I.jsx("h3",{className:"text-lg font-medium mb-4",children:"Upload Images"}),I.jsxs("div",{className:`border-2 border-dashed border-gray-300 rounded-lg p-8 + flex flex-col items-center justify-center gap-4 + hover:border-blue-500 transition-colors cursor-pointer`,onClick:()=>{var v;return(v=d.current)==null?void 0:v.click()},children:[I.jsx(l_,{className:"w-8 h-8 text-gray-400"}),I.jsxs("div",{className:"text-center",children:[I.jsx("p",{className:"text-sm text-gray-500 mb-2",children:"Click to upload images or drag and drop"}),I.jsx("p",{className:"text-xs text-gray-400",children:"Supported formats: JPG, PNG, GIF, WebP"}),I.jsx("p",{className:"text-xs text-gray-400",children:"Max file size: 5MB"})]})]}),I.jsx("input",{ref:d,type:"file",multiple:!0,accept:Dg.join(","),onChange:f,className:"hidden"}),o.length>0&&I.jsx("div",{className:"mt-4 grid grid-cols-3 gap-2",children:o.map(v=>I.jsxs("div",{className:"relative group",children:[I.jsx("img",{src:v.preview,alt:"preview",className:"w-full h-20 object-cover rounded"}),I.jsx("button",{onClick:()=>s(v.id),className:`absolute -top-1 -right-1 bg-red-500 text-white + rounded-full p-0.5 opacity-0 group-hover:opacity-100 + transition-opacity`,children:I.jsx($c,{className:"w-3 h-3"})})]},v.id))}),I.jsx("div",{className:"mt-4 flex justify-end gap-2",children:I.jsx("button",{onClick:()=>h(!1),className:`px-4 py-2 text-sm font-medium text-gray-700 + bg-white border border-gray-300 rounded-md + hover:bg-gray-50`,children:"Close"})})]})})]})}function v_(){const t=Object.values(Ft.canvas.selected_nodes)[0],r=new Set;function e(n,i){if(!(!n||i>=1)&&n.inputs)for(const a of Object.values(n.inputs)){const o=a.link;if(o&&Ft.graph.links[o]){const s=Ft.graph.links[o].origin_id,l=Ft.graph._nodes_by_id[s];l&&(r.add(l.type),e(l,i+1))}}}return t?(e(t,0),[{type:"upstream_node_types",data:Array.from(r)}]):null}function p_({nodeInfo:t,onSendWithIntent:r,loading:e}){return I.jsx("div",{className:`mb-3 p-3 rounded-md bg-gray-50 border border-gray-200 + transform transition-all duration-200 hover:shadow-md`,children:I.jsxs("div",{className:"text-sm",children:[I.jsxs("p",{children:["Selected node: ",t.type]}),I.jsxs("div",{className:"flex gap-2 mt-2",children:[I.jsx("button",{className:`px-3 py-1 text-xs rounded-md bg-blue-50 + hover:bg-blue-100 text-blue-700 transition-all + duration-200 hover:shadow-sm active:scale-95`,onClick:()=>r("node_explain"),disabled:e,children:"Usage"}),I.jsx("button",{className:`px-3 py-1 text-xs rounded bg-green-100 + hover:bg-green-200 text-green-700 transition-colors`,onClick:()=>r("node_params"),disabled:e,children:"Parameters"}),I.jsx("button",{className:`px-3 py-1 text-xs rounded bg-purple-100 + hover:bg-purple-200 text-purple-700 transition-colors`,onClick:()=>r("downstream_subgraph_search",v_()),disabled:e,children:"Downstream Nodes"})]})]})})}function mm({name:t,isUser:r=!1,children:e}){return I.jsx("div",{className:"flex flex-col w-full items-start gap-2 py-2 animate-fadeIn",children:I.jsx("div",{className:"w-full",children:e})})}function m_({content:t}){return I.jsx(mm,{name:"User",isUser:!0,children:I.jsx("div",{className:"w-full rounded-lg border border-gray-700 p-4 text-gray-700 text-sm break-words",children:I.jsx("p",{className:"whitespace-pre-wrap",children:t})})})}function Ng(t){const r=[],e=String(t||"");let n=e.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=e.length,a=!0);const o=e.slice(i,n).trim();(o||!a)&&r.push(o),i=n+1,n=e.indexOf(",",i)}return r}function g_(t,r){const e={};return(t[t.length-1]===""?[...t,""]:t).join((e.padRight?" ":"")+","+(e.padLeft===!1?"":" ")).trim()}const y_=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,b_=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,w_={};function Rg(t,r){return(w_.jsx?b_:y_).test(t)}const $_=/[ \t\n\f\r]/g;function x_(t){return typeof t=="object"?t.type==="text"?Fg(t.value):!1:Fg(t)}function Fg(t){return t.replace($_,"")===""}class xl{constructor(r,e,n){this.property=r,this.normal=e,n&&(this.space=n)}}xl.prototype.property={};xl.prototype.normal={};xl.prototype.space=null;function Fw(t,r){const e={},n={};let i=-1;for(;++i4&&e.slice(0,4)==="data"&&__.test(r)){if(r.charAt(4)==="-"){const a=r.slice(5).replace(Bg,C_);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=r.slice(4);if(!Bg.test(a)){let o=a.replace(O_,I_);o.charAt(0)!=="-"&&(o="-"+o),r="data"+o}}i=gm}return new i(n,r)}function I_(t){return"-"+t.toLowerCase()}function C_(t){return t.charAt(1).toUpperCase()}const P_={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Vw=Fw([Lw,Bw,Ww,qw,E_],"html"),Eh=Fw([Lw,Bw,Ww,qw,T_],"svg");function Nv(t){const r=String(t||"").trim();return r?r.split(/[ \t\n\r\f]+/g):[]}function A_(t){return t.join(" ").trim()}var Gw={},Lg=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,M_=/\n/g,D_=/^\s*/,N_=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,R_=/^:\s*/,F_=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,z_=/^[;\s]*/,B_=/^\s+|\s+$/g,L_=` +`,jg="/",Hg="*",aa="",j_="comment",H_="declaration",W_=function(t,r){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];r=r||{};var e=1,n=1;function i(v){var g=v.match(M_);g&&(e+=g.length);var b=v.lastIndexOf(L_);n=~b?v.length-b:n+v.length}function a(){var v={line:e,column:n};return function(g){return g.position=new o(v),u(),g}}function o(v){this.start=v,this.end={line:e,column:n},this.source=r.source}o.prototype.content=t;function s(v){var g=new Error(r.source+":"+e+":"+n+": "+v);if(g.reason=v,g.filename=r.source,g.line=e,g.column=n,g.source=t,!r.silent)throw g}function l(v){var g=v.exec(t);if(g){var b=g[0];return i(b),t=t.slice(b.length),g}}function u(){l(D_)}function c(v){var g;for(v=v||[];g=h();)g!==!1&&v.push(g);return v}function h(){var v=a();if(!(jg!=t.charAt(0)||Hg!=t.charAt(1))){for(var g=2;aa!=t.charAt(g)&&(Hg!=t.charAt(g)||jg!=t.charAt(g+1));)++g;if(g+=2,aa===t.charAt(g-1))return s("End of comment missing");var b=t.slice(2,g-2);return n+=2,i(b),t=t.slice(g),n+=2,v({type:j_,comment:b})}}function d(){var v=a(),g=l(N_);if(g){if(h(),!l(R_))return s("property missing ':'");var b=l(F_),y=v({type:H_,property:Wg(g[0].replace(Lg,aa)),value:b?Wg(b[0].replace(Lg,aa)):aa});return l(z_),y}}function f(){var v=[];c(v);for(var g;g=d();)g!==!1&&(v.push(g),c(v));return v}return u(),f()};function Wg(t){return t?t.replace(B_,aa):aa}var q_=Mg&&Mg.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gw,"__esModule",{value:!0});var qg=Gw.default=V_,U_=q_(W_);function V_(t,r){var e=null;if(!t||typeof t!="string")return e;var n=(0,U_.default)(t),i=typeof r=="function";return n.forEach(function(a){if(a.type==="declaration"){var o=a.property,s=a.value;i?r(o,s,a):s&&(e=e||{},e[o]=s)}}),e}const G_=qg.default||qg,Kw=Yw("end"),ym=Yw("start");function Yw(t){return r;function r(e){const n=e&&e.position&&e.position[t]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function K_(t){const r=ym(t),e=Kw(t);if(r&&e)return{start:r,end:e}}function Bs(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Ug(t.position):"start"in t||"end"in t?Ug(t):"line"in t||"column"in t?Rv(t):""}function Rv(t){return Vg(t&&t.line)+":"+Vg(t&&t.column)}function Ug(t){return Rv(t&&t.start)+"-"+Rv(t&&t.end)}function Vg(t){return t&&typeof t=="number"?t:1}class tr extends Error{constructor(r,e,n){super(),typeof e=="string"&&(n=e,e=void 0);let i="",a={},o=!1;if(e&&("line"in e&&"column"in e?a={place:e}:"start"in e&&"end"in e?a={place:e}:"type"in e?a={ancestors:[e],place:e.position}:a={...e}),typeof r=="string"?i=r:!a.cause&&r&&(o=!0,i=r.message,a.cause=r),!a.ruleId&&!a.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?a.ruleId=n:(a.source=n.slice(0,l),a.ruleId=n.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Bs(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}tr.prototype.file="";tr.prototype.name="";tr.prototype.reason="";tr.prototype.message="";tr.prototype.stack="";tr.prototype.column=void 0;tr.prototype.line=void 0;tr.prototype.ancestors=void 0;tr.prototype.cause=void 0;tr.prototype.fatal=void 0;tr.prototype.place=void 0;tr.prototype.ruleId=void 0;tr.prototype.source=void 0;const bm={}.hasOwnProperty,Y_=new Map,X_=/[A-Z]/g,J_=/-([a-z])/g,Z_=new Set(["table","tbody","thead","tfoot","tr"]),Q_=new Set(["td","th"]),Xw="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eO(t,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const e=r.filePath||void 0;let n;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=lO(e,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=sO(e,r.jsx,r.jsxs)}const i={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:n,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:e,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Eh:Vw,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},a=Jw(i,t,void 0);return a&&typeof a!="string"?a:i.create(t,i.Fragment,{children:a||void 0},void 0)}function Jw(t,r,e){if(r.type==="element")return tO(t,r,e);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return rO(t,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return iO(t,r,e);if(r.type==="mdxjsEsm")return nO(t,r);if(r.type==="root")return aO(t,r,e);if(r.type==="text")return oO(t,r)}function tO(t,r,e){const n=t.schema;let i=n;r.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=Eh,t.schema=i),t.ancestors.push(r);const a=Qw(t,r.tagName,!1),o=uO(t,r);let s=$m(t,r);return Z_.has(r.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!x_(l):!0})),Zw(t,o,a,r),wm(o,s),t.ancestors.pop(),t.schema=n,t.create(r,a,o,e)}function rO(t,r){if(r.data&&r.data.estree&&t.evaluater){const n=r.data.estree.body[0];return n.type,t.evaluater.evaluateExpression(n.expression)}tl(t,r.position)}function nO(t,r){if(r.data&&r.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(r.data.estree);tl(t,r.position)}function iO(t,r,e){const n=t.schema;let i=n;r.name==="svg"&&n.space==="html"&&(i=Eh,t.schema=i),t.ancestors.push(r);const a=r.name===null?t.Fragment:Qw(t,r.name,!0),o=cO(t,r),s=$m(t,r);return Zw(t,o,a,r),wm(o,s),t.ancestors.pop(),t.schema=n,t.create(r,a,o,e)}function aO(t,r,e){const n={};return wm(n,$m(t,r)),t.create(r,t.Fragment,n,e)}function oO(t,r){return r.value}function Zw(t,r,e,n){typeof e!="string"&&e!==t.Fragment&&t.passNode&&(r.node=n)}function wm(t,r){if(r.length>0){const e=r.length>1?r:r[0];e&&(t.children=e)}}function sO(t,r,e){return n;function n(i,a,o,s){const u=Array.isArray(o.children)?e:r;return s?u(a,o,s):u(a,o)}}function lO(t,r){return e;function e(n,i,a,o){const s=Array.isArray(a.children),l=ym(n);return r(i,a,o,s,{columnNumber:l?l.column-1:void 0,fileName:t,lineNumber:l?l.line:void 0},void 0)}}function uO(t,r){const e={};let n,i;for(i in r.properties)if(i!=="children"&&bm.call(r.properties,i)){const a=hO(t,i,r.properties[i]);if(a){const[o,s]=a;t.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&Q_.has(r.tagName)?n=s:e[o]=s}}if(n){const a=e.style||(e.style={});a[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return e}function cO(t,r){const e={};for(const n of r.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&t.evaluater){const a=n.data.estree.body[0];a.type;const o=a.expression;o.type;const s=o.properties[0];s.type,Object.assign(e,t.evaluater.evaluateExpression(s.argument))}else tl(t,r.position);else{const i=n.name;let a;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&t.evaluater){const s=n.value.data.estree.body[0];s.type,a=t.evaluater.evaluateExpression(s.expression)}else tl(t,r.position);else a=n.value===null?!0:n.value;e[i]=a}return e}function $m(t,r){const e=[];let n=-1;const i=t.passKeys?new Map:Y_;for(;++ni?0:i+r:r=r>i?i:r,e=e>0?e:0,n.length<1e4)o=Array.from(n),o.unshift(r,e),t.splice(...o);else for(e&&t.splice(r,e);a0?(Fr(t,t.length,0,r),t):r}const Yg={}.hasOwnProperty;function t7(t){const r={};let e=-1;for(;++e13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(e&65535)===65535||(e&65535)===65534||e>1114111?"�":String.fromCodePoint(e)}function pn(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const sr=Hi(/[A-Za-z]/),er=Hi(/[\dA-Za-z]/),$O=Hi(/[#-'*+\--9=?A-Z^-~]/);function qc(t){return t!==null&&(t<32||t===127)}const Fv=Hi(/\d/),xO=Hi(/[\dA-Fa-f]/),kO=Hi(/[!-/:-@[-`{-~]/);function fe(t){return t!==null&&t<-2}function nt(t){return t!==null&&(t<0||t===32)}function Fe(t){return t===-2||t===-1||t===32}const Th=Hi(new RegExp("\\p{P}|\\p{S}","u")),$a=Hi(/\s/);function Hi(t){return r;function r(e){return e!==null&&e>-1&&t.test(String.fromCharCode(e))}}function Vo(t){const r=[];let e=-1,n=0,i=0;for(;++e55295&&a<57344){const s=t.charCodeAt(e+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(r.push(t.slice(n,e),encodeURIComponent(o)),n=e+i+1,o=""),i&&(e+=i,i=0)}return r.join("")+t.slice(n)}function Re(t,r,e,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(l){return Fe(l)?(t.enter(e),s(l)):r(l)}function s(l){return Fe(l)&&a++o))return;const D=r.events.length;let B=D,R,A;for(;B--;)if(r.events[B][0]==="exit"&&r.events[B][1].type==="chunkFlow"){if(R){A=r.events[B][1].end;break}R=!0}for(y(n),E=D;Ek;){const P=e[T];r.containerState=P[1],P[0].exit.call(r,t)}e.length=k}function $(){i.write([null]),a=void 0,i=void 0,r.containerState._closeFlow=void 0}}function OO(t,r,e){return Re(t,t.attempt(this.parser.constructs.document,r,e),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Io(t){if(t===null||nt(t)||$a(t))return 1;if(Th(t))return 2}function _h(t,r,e){const n=[];let i=-1;for(;++i1&&t[e][1].end.offset-t[e][1].start.offset>1?2:1;const h={...t[n][1].end},d={...t[e][1].start};Jg(h,-l),Jg(d,l),o={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...t[n][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...t[e][1].start},end:d},a={type:l>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[e][1].start}},i={type:l>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},t[n][1].end={...o.start},t[e][1].start={...s.end},u=[],t[n][1].end.offset-t[n][1].start.offset&&(u=Vr(u,[["enter",t[n][1],r],["exit",t[n][1],r]])),u=Vr(u,[["enter",i,r],["enter",o,r],["exit",o,r],["enter",a,r]]),u=Vr(u,_h(r.parser.constructs.insideSpan.null,t.slice(n+1,e),r)),u=Vr(u,[["exit",a,r],["enter",s,r],["exit",s,r],["exit",i,r]]),t[e][1].end.offset-t[e][1].start.offset?(c=2,u=Vr(u,[["enter",t[e][1],r],["exit",t[e][1],r]])):c=0,Fr(t,n-1,e-n+3,u),e=n+u.length-c-2;break}}for(e=-1;++e0&&Fe(E)?Re(t,$,"linePrefix",a+1)(E):$(E)}function $(E){return E===null||fe(E)?t.check(Zg,g,T)(E):(t.enter("codeFlowValue"),k(E))}function k(E){return E===null||fe(E)?(t.exit("codeFlowValue"),$(E)):(t.consume(E),k)}function T(E){return t.exit("codeFenced"),r(E)}function P(E,D,B){let R=0;return A;function A(oe){return E.enter("lineEnding"),E.consume(oe),E.exit("lineEnding"),z}function z(oe){return E.enter("codeFencedFence"),Fe(oe)?Re(E,L,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(oe):L(oe)}function L(oe){return oe===s?(E.enter("codeFencedFenceSequence"),Z(oe)):B(oe)}function Z(oe){return oe===s?(R++,E.consume(oe),Z):R>=o?(E.exit("codeFencedFenceSequence"),Fe(oe)?Re(E,ie,"whitespace")(oe):ie(oe)):B(oe)}function ie(oe){return oe===null||fe(oe)?(E.exit("codeFencedFence"),D(oe)):B(oe)}}}function LO(t,r,e){const n=this;return i;function i(o){return o===null?e(o):(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?e(o):r(o)}}const q0={name:"codeIndented",tokenize:HO},jO={partial:!0,tokenize:WO};function HO(t,r,e){const n=this;return i;function i(u){return t.enter("codeIndented"),Re(t,a,"linePrefix",5)(u)}function a(u){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(u):e(u)}function o(u){return u===null?l(u):fe(u)?t.attempt(jO,o,l)(u):(t.enter("codeFlowValue"),s(u))}function s(u){return u===null||fe(u)?(t.exit("codeFlowValue"),o(u)):(t.consume(u),s)}function l(u){return t.exit("codeIndented"),r(u)}}function WO(t,r,e){const n=this;return i;function i(o){return n.parser.lazy[n.now().line]?e(o):fe(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),i):Re(t,a,"linePrefix",5)(o)}function a(o){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?r(o):fe(o)?i(o):e(o)}}const qO={name:"codeText",previous:VO,resolve:UO,tokenize:GO};function UO(t){let r=t.length-4,e=3,n,i;if((t[e][1].type==="lineEnding"||t[e][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(n=e;++n=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return rthis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(r,e,n){const i=e||0;this.setCursor(Math.trunc(r));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Ss(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),Ss(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),Ss(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r=4?r(o):t.interrupt(n.parser.constructs.flow,e,r)(o)}}function s7(t,r,e,n,i,a,o,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return h;function h(y){return y===60?(t.enter(n),t.enter(i),t.enter(a),t.consume(y),t.exit(a),d):y===null||y===32||y===41||qc(y)?e(y):(t.enter(n),t.enter(o),t.enter(s),t.enter("chunkString",{contentType:"string"}),g(y))}function d(y){return y===62?(t.enter(a),t.consume(y),t.exit(a),t.exit(i),t.exit(n),r):(t.enter(s),t.enter("chunkString",{contentType:"string"}),f(y))}function f(y){return y===62?(t.exit("chunkString"),t.exit(s),d(y)):y===null||y===60||fe(y)?e(y):(t.consume(y),y===92?v:f)}function v(y){return y===60||y===62||y===92?(t.consume(y),f):f(y)}function g(y){return!c&&(y===null||y===41||nt(y))?(t.exit("chunkString"),t.exit(s),t.exit(o),t.exit(n),r(y)):c999||f===null||f===91||f===93&&!l||f===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?e(f):f===93?(t.exit(a),t.enter(i),t.consume(f),t.exit(i),t.exit(n),r):fe(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),c):(t.enter("chunkString",{contentType:"string"}),h(f))}function h(f){return f===null||f===91||f===93||fe(f)||s++>999?(t.exit("chunkString"),c(f)):(t.consume(f),l||(l=!Fe(f)),f===92?d:h)}function d(f){return f===91||f===92||f===93?(t.consume(f),s++,h):h(f)}}function u7(t,r,e,n,i,a){let o;return s;function s(d){return d===34||d===39||d===40?(t.enter(n),t.enter(i),t.consume(d),t.exit(i),o=d===40?41:d,l):e(d)}function l(d){return d===o?(t.enter(i),t.consume(d),t.exit(i),t.exit(n),r):(t.enter(a),u(d))}function u(d){return d===o?(t.exit(a),l(o)):d===null?e(d):fe(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Re(t,u,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||fe(d)?(t.exit("chunkString"),u(d)):(t.consume(d),d===92?h:c)}function h(d){return d===o||d===92?(t.consume(d),c):c(d)}}function Ls(t,r){let e;return n;function n(i){return fe(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),e=!0,n):Fe(i)?Re(t,n,e?"linePrefix":"lineSuffix")(i):r(i)}}const tI={name:"definition",tokenize:nI},rI={partial:!0,tokenize:iI};function nI(t,r,e){const n=this;let i;return a;function a(f){return t.enter("definition"),o(f)}function o(f){return l7.call(n,t,s,e,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function s(f){return i=pn(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(t.enter("definitionMarker"),t.consume(f),t.exit("definitionMarker"),l):e(f)}function l(f){return nt(f)?Ls(t,u)(f):u(f)}function u(f){return s7(t,c,e,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return t.attempt(rI,h,h)(f)}function h(f){return Fe(f)?Re(t,d,"whitespace")(f):d(f)}function d(f){return f===null||fe(f)?(t.exit("definition"),n.parser.defined.push(i),r(f)):e(f)}}function iI(t,r,e){return n;function n(s){return nt(s)?Ls(t,i)(s):e(s)}function i(s){return u7(t,a,e,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Fe(s)?Re(t,o,"whitespace")(s):o(s)}function o(s){return s===null||fe(s)?r(s):e(s)}}const aI={name:"hardBreakEscape",tokenize:oI};function oI(t,r,e){return n;function n(a){return t.enter("hardBreakEscape"),t.consume(a),i}function i(a){return fe(a)?(t.exit("hardBreakEscape"),r(a)):e(a)}}const sI={name:"headingAtx",resolve:lI,tokenize:uI};function lI(t,r){let e=t.length-2,n=3,i,a;return t[n][1].type==="whitespace"&&(n+=2),e-2>n&&t[e][1].type==="whitespace"&&(e-=2),t[e][1].type==="atxHeadingSequence"&&(n===e-1||e-4>n&&t[e-2][1].type==="whitespace")&&(e-=n+1===e?2:4),e>n&&(i={type:"atxHeadingText",start:t[n][1].start,end:t[e][1].end},a={type:"chunkText",start:t[n][1].start,end:t[e][1].end,contentType:"text"},Fr(t,n,e-n+1,[["enter",i,r],["enter",a,r],["exit",a,r],["exit",i,r]])),t}function uI(t,r,e){let n=0;return i;function i(c){return t.enter("atxHeading"),a(c)}function a(c){return t.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&n++<6?(t.consume(c),o):c===null||nt(c)?(t.exit("atxHeadingSequence"),s(c)):e(c)}function s(c){return c===35?(t.enter("atxHeadingSequence"),l(c)):c===null||fe(c)?(t.exit("atxHeading"),r(c)):Fe(c)?Re(t,s,"whitespace")(c):(t.enter("atxHeadingText"),u(c))}function l(c){return c===35?(t.consume(c),l):(t.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||nt(c)?(t.exit("atxHeadingText"),s(c)):(t.consume(c),u)}}const cI=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ey=["pre","script","style","textarea"],hI={concrete:!0,name:"htmlFlow",resolveTo:vI,tokenize:pI},dI={partial:!0,tokenize:gI},fI={partial:!0,tokenize:mI};function vI(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function pI(t,r,e){const n=this;let i,a,o,s,l;return u;function u(S){return c(S)}function c(S){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(S),h}function h(S){return S===33?(t.consume(S),d):S===47?(t.consume(S),a=!0,g):S===63?(t.consume(S),i=3,n.interrupt?r:C):sr(S)?(t.consume(S),o=String.fromCharCode(S),b):e(S)}function d(S){return S===45?(t.consume(S),i=2,f):S===91?(t.consume(S),i=5,s=0,v):sr(S)?(t.consume(S),i=4,n.interrupt?r:C):e(S)}function f(S){return S===45?(t.consume(S),n.interrupt?r:C):e(S)}function v(S){const pe="CDATA[";return S===pe.charCodeAt(s++)?(t.consume(S),s===pe.length?n.interrupt?r:L:v):e(S)}function g(S){return sr(S)?(t.consume(S),o=String.fromCharCode(S),b):e(S)}function b(S){if(S===null||S===47||S===62||nt(S)){const pe=S===47,Se=o.toLowerCase();return!pe&&!a&&ey.includes(Se)?(i=1,n.interrupt?r(S):L(S)):cI.includes(o.toLowerCase())?(i=6,pe?(t.consume(S),y):n.interrupt?r(S):L(S)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?e(S):a?$(S):k(S))}return S===45||er(S)?(t.consume(S),o+=String.fromCharCode(S),b):e(S)}function y(S){return S===62?(t.consume(S),n.interrupt?r:L):e(S)}function $(S){return Fe(S)?(t.consume(S),$):A(S)}function k(S){return S===47?(t.consume(S),A):S===58||S===95||sr(S)?(t.consume(S),T):Fe(S)?(t.consume(S),k):A(S)}function T(S){return S===45||S===46||S===58||S===95||er(S)?(t.consume(S),T):P(S)}function P(S){return S===61?(t.consume(S),E):Fe(S)?(t.consume(S),P):k(S)}function E(S){return S===null||S===60||S===61||S===62||S===96?e(S):S===34||S===39?(t.consume(S),l=S,D):Fe(S)?(t.consume(S),E):B(S)}function D(S){return S===l?(t.consume(S),l=null,R):S===null||fe(S)?e(S):(t.consume(S),D)}function B(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||nt(S)?P(S):(t.consume(S),B)}function R(S){return S===47||S===62||Fe(S)?k(S):e(S)}function A(S){return S===62?(t.consume(S),z):e(S)}function z(S){return S===null||fe(S)?L(S):Fe(S)?(t.consume(S),z):e(S)}function L(S){return S===45&&i===2?(t.consume(S),me):S===60&&i===1?(t.consume(S),Oe):S===62&&i===4?(t.consume(S),Me):S===63&&i===3?(t.consume(S),C):S===93&&i===5?(t.consume(S),He):fe(S)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(dI,V,Z)(S)):S===null||fe(S)?(t.exit("htmlFlowData"),Z(S)):(t.consume(S),L)}function Z(S){return t.check(fI,ie,V)(S)}function ie(S){return t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),oe}function oe(S){return S===null||fe(S)?Z(S):(t.enter("htmlFlowData"),L(S))}function me(S){return S===45?(t.consume(S),C):L(S)}function Oe(S){return S===47?(t.consume(S),o="",ze):L(S)}function ze(S){if(S===62){const pe=o.toLowerCase();return ey.includes(pe)?(t.consume(S),Me):L(S)}return sr(S)&&o.length<8?(t.consume(S),o+=String.fromCharCode(S),ze):L(S)}function He(S){return S===93?(t.consume(S),C):L(S)}function C(S){return S===62?(t.consume(S),Me):S===45&&i===2?(t.consume(S),C):L(S)}function Me(S){return S===null||fe(S)?(t.exit("htmlFlowData"),V(S)):(t.consume(S),Me)}function V(S){return t.exit("htmlFlow"),r(S)}}function mI(t,r,e){const n=this;return i;function i(o){return fe(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),a):e(o)}function a(o){return n.parser.lazy[n.now().line]?e(o):r(o)}}function gI(t,r,e){return n;function n(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(kl,r,e)}}const yI={name:"htmlText",tokenize:bI};function bI(t,r,e){const n=this;let i,a,o;return s;function s(C){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(C),l}function l(C){return C===33?(t.consume(C),u):C===47?(t.consume(C),P):C===63?(t.consume(C),k):sr(C)?(t.consume(C),B):e(C)}function u(C){return C===45?(t.consume(C),c):C===91?(t.consume(C),a=0,v):sr(C)?(t.consume(C),$):e(C)}function c(C){return C===45?(t.consume(C),f):e(C)}function h(C){return C===null?e(C):C===45?(t.consume(C),d):fe(C)?(o=h,Oe(C)):(t.consume(C),h)}function d(C){return C===45?(t.consume(C),f):h(C)}function f(C){return C===62?me(C):C===45?d(C):h(C)}function v(C){const Me="CDATA[";return C===Me.charCodeAt(a++)?(t.consume(C),a===Me.length?g:v):e(C)}function g(C){return C===null?e(C):C===93?(t.consume(C),b):fe(C)?(o=g,Oe(C)):(t.consume(C),g)}function b(C){return C===93?(t.consume(C),y):g(C)}function y(C){return C===62?me(C):C===93?(t.consume(C),y):g(C)}function $(C){return C===null||C===62?me(C):fe(C)?(o=$,Oe(C)):(t.consume(C),$)}function k(C){return C===null?e(C):C===63?(t.consume(C),T):fe(C)?(o=k,Oe(C)):(t.consume(C),k)}function T(C){return C===62?me(C):k(C)}function P(C){return sr(C)?(t.consume(C),E):e(C)}function E(C){return C===45||er(C)?(t.consume(C),E):D(C)}function D(C){return fe(C)?(o=D,Oe(C)):Fe(C)?(t.consume(C),D):me(C)}function B(C){return C===45||er(C)?(t.consume(C),B):C===47||C===62||nt(C)?R(C):e(C)}function R(C){return C===47?(t.consume(C),me):C===58||C===95||sr(C)?(t.consume(C),A):fe(C)?(o=R,Oe(C)):Fe(C)?(t.consume(C),R):me(C)}function A(C){return C===45||C===46||C===58||C===95||er(C)?(t.consume(C),A):z(C)}function z(C){return C===61?(t.consume(C),L):fe(C)?(o=z,Oe(C)):Fe(C)?(t.consume(C),z):R(C)}function L(C){return C===null||C===60||C===61||C===62||C===96?e(C):C===34||C===39?(t.consume(C),i=C,Z):fe(C)?(o=L,Oe(C)):Fe(C)?(t.consume(C),L):(t.consume(C),ie)}function Z(C){return C===i?(t.consume(C),i=void 0,oe):C===null?e(C):fe(C)?(o=Z,Oe(C)):(t.consume(C),Z)}function ie(C){return C===null||C===34||C===39||C===60||C===61||C===96?e(C):C===47||C===62||nt(C)?R(C):(t.consume(C),ie)}function oe(C){return C===47||C===62||nt(C)?R(C):e(C)}function me(C){return C===62?(t.consume(C),t.exit("htmlTextData"),t.exit("htmlText"),r):e(C)}function Oe(C){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),ze}function ze(C){return Fe(C)?Re(t,He,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):He(C)}function He(C){return t.enter("htmlTextData"),o(C)}}const Sm={name:"labelEnd",resolveAll:kI,resolveTo:SI,tokenize:EI},wI={tokenize:TI},$I={tokenize:_I},xI={tokenize:OI};function kI(t){let r=-1;const e=[];for(;++r=3&&(u===null||fe(u))?(t.exit("thematicBreak"),r(u)):e(u)}function l(u){return u===i?(t.consume(u),n++,l):(t.exit("thematicBreakSequence"),Fe(u)?Re(t,s,"whitespace")(u):s(u))}}const pr={continuation:{tokenize:zI},exit:LI,name:"list",tokenize:FI},NI={partial:!0,tokenize:jI},RI={partial:!0,tokenize:BI};function FI(t,r,e){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(f){const v=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:Fv(f)){if(n.containerState.type||(n.containerState.type=v,t.enter(v,{_container:!0})),v==="listUnordered")return t.enter("listItemPrefix"),f===42||f===45?t.check(xc,e,u)(f):u(f);if(!n.interrupt||f===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(f)}return e(f)}function l(f){return Fv(f)&&++o<10?(t.consume(f),l):(!n.interrupt||o<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(t.exit("listItemValue"),u(f)):e(f)}function u(f){return t.enter("listItemMarker"),t.consume(f),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,t.check(kl,n.interrupt?e:c,t.attempt(NI,d,h))}function c(f){return n.containerState.initialBlankLine=!0,a++,d(f)}function h(f){return Fe(f)?(t.enter("listItemPrefixWhitespace"),t.consume(f),t.exit("listItemPrefixWhitespace"),d):e(f)}function d(f){return n.containerState.size=a+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(f)}}function zI(t,r,e){const n=this;return n.containerState._closeFlow=void 0,t.check(kl,i,a);function i(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Re(t,r,"listItemIndent",n.containerState.size+1)(s)}function a(s){return n.containerState.furtherBlankLines||!Fe(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(RI,r,o)(s))}function o(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,Re(t,t.attempt(pr,r,e),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function BI(t,r,e){const n=this;return Re(t,i,"listItemIndent",n.containerState.size+1);function i(a){const o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?r(a):e(a)}}function LI(t){t.exit(this.containerState.type)}function jI(t,r,e){const n=this;return Re(t,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=n.events[n.events.length-1];return!Fe(a)&&o&&o[1].type==="listItemPrefixWhitespace"?r(a):e(a)}}const ty={name:"setextUnderline",resolveTo:HI,tokenize:WI};function HI(t,r){let e=t.length,n,i,a;for(;e--;)if(t[e][0]==="enter"){if(t[e][1].type==="content"){n=e;break}t[e][1].type==="paragraph"&&(i=e)}else t[e][1].type==="content"&&t.splice(e,1),!a&&t[e][1].type==="definition"&&(a=e);const o={type:"setextHeading",start:{...t[i][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",a?(t.splice(i,0,["enter",o,r]),t.splice(a+1,0,["exit",t[n][1],r]),t[n][1].end={...t[a][1].end}):t[n][1]=o,t.push(["exit",o,r]),t}function WI(t,r,e){const n=this;let i;return a;function a(u){let c=n.events.length,h;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){h=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(t.enter("setextHeadingLine"),i=u,o(u)):e(u)}function o(u){return t.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(t.consume(u),s):(t.exit("setextHeadingLineSequence"),Fe(u)?Re(t,l,"lineSuffix")(u):l(u))}function l(u){return u===null||fe(u)?(t.exit("setextHeadingLine"),r(u)):e(u)}}const qI={tokenize:UI};function UI(t){const r=this,e=t.attempt(kl,n,t.attempt(this.parser.constructs.flowInitial,i,Re(t,t.attempt(this.parser.constructs.flow,i,t.attempt(XO,i)),"linePrefix")));return e;function n(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),r.currentConstruct=void 0,e}function i(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),r.currentConstruct=void 0,e}}const VI={resolveAll:h7()},GI=c7("string"),KI=c7("text");function c7(t){return{resolveAll:h7(t==="text"?YI:void 0),tokenize:r};function r(e){const n=this,i=this.parser.constructs[t],a=e.attempt(i,o,s);return o;function o(c){return u(c)?a(c):s(c)}function s(c){if(c===null){e.consume(c);return}return e.enter("data"),e.consume(c),l}function l(c){return u(c)?(e.exit("data"),a(c)):(e.consume(c),l)}function u(c){if(c===null)return!0;const h=i[c];let d=-1;if(h)for(;++d-1){const s=o[0];typeof s=="string"?o[0]=s.slice(n):o.shift()}a>0&&o.push(t[i].slice(0,a))}return o}function lC(t,r){let e=-1;const n=[];let i;for(;++e0){const sn=Ie.tokenStack[Ie.tokenStack.length-1];(sn[1]||ny).call(Ie,void 0,sn[0])}for(ae.position={start:vi(j.length>0?j[0][1].start:{line:1,column:1,offset:0}),end:vi(j.length>0?j[j.length-2][1].end:{line:1,column:1,offset:0})},tt=-1;++tt1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};t.patch(r,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(r,u),t.applyData(r,u)}function EC(t,r){const e={type:"element",tagName:"h"+r.depth,properties:{},children:t.all(r)};return t.patch(r,e),t.applyData(r,e)}function TC(t,r){if(t.options.allowDangerousHtml){const e={type:"raw",value:r.value};return t.patch(r,e),t.applyData(r,e)}}function v7(t,r){const e=r.referenceType;let n="]";if(e==="collapsed"?n+="[]":e==="full"&&(n+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+n}];const i=t.all(r),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=n:i.push({type:"text",value:n}),i}function _C(t,r){const e=String(r.identifier).toUpperCase(),n=t.definitionById.get(e);if(!n)return v7(t,r);const i={src:Vo(n.url||""),alt:r.alt};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"img",properties:i,children:[]};return t.patch(r,a),t.applyData(r,a)}function OC(t,r){const e={src:Vo(r.url)};r.alt!==null&&r.alt!==void 0&&(e.alt=r.alt),r.title!==null&&r.title!==void 0&&(e.title=r.title);const n={type:"element",tagName:"img",properties:e,children:[]};return t.patch(r,n),t.applyData(r,n)}function IC(t,r){const e={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};t.patch(r,e);const n={type:"element",tagName:"code",properties:{},children:[e]};return t.patch(r,n),t.applyData(r,n)}function CC(t,r){const e=String(r.identifier).toUpperCase(),n=t.definitionById.get(e);if(!n)return v7(t,r);const i={href:Vo(n.url||"")};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"a",properties:i,children:t.all(r)};return t.patch(r,a),t.applyData(r,a)}function PC(t,r){const e={href:Vo(r.url)};r.title!==null&&r.title!==void 0&&(e.title=r.title);const n={type:"element",tagName:"a",properties:e,children:t.all(r)};return t.patch(r,n),t.applyData(r,n)}function AC(t,r,e){const n=t.all(r),i=e?MC(e):p7(r),a={},o=[];if(typeof r.checked=="boolean"){const c=n[0];let h;c&&c.type==="element"&&c.tagName==="p"?h=c:(h={type:"element",tagName:"p",properties:{},children:[]},n.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s1}function DC(t,r){const e={},n=t.all(r);let i=-1;for(typeof r.start=="number"&&r.start!==1&&(e.start=r.start);++i0){const o={type:"element",tagName:"tbody",properties:{},children:t.wrap(e,!0)},s=ym(r.children[1]),l=Kw(r.children[r.children.length-1]);s&&l&&(o.position={start:s,end:l}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(r,a),t.applyData(r,a)}function BC(t,r,e){const n=e?e.children:void 0,a=(n?n.indexOf(r):1)===0?"th":"td",o=e&&e.type==="table"?e.align:void 0,s=o?o.length:r.children.length;let l=-1;const u=[];for(;++l0,!0),n[0]),i=n.index+n[0].length,n=e.exec(r);return a.push(oy(r.slice(i),i>0,!1)),a.join("")}function oy(t,r,e){let n=0,i=t.length;if(r){let a=t.codePointAt(n);for(;a===iy||a===ay;)n++,a=t.codePointAt(n)}if(e){let a=t.codePointAt(i-1);for(;a===iy||a===ay;)i--,a=t.codePointAt(i-1)}return i>n?t.slice(n,i):""}function HC(t,r){const e={type:"text",value:jC(String(r.value))};return t.patch(r,e),t.applyData(r,e)}function WC(t,r){const e={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(r,e),t.applyData(r,e)}const qC={blockquote:bC,break:wC,code:$C,delete:xC,emphasis:kC,footnoteReference:SC,heading:EC,html:TC,imageReference:_C,image:OC,inlineCode:IC,linkReference:CC,link:PC,listItem:AC,list:DC,paragraph:NC,root:RC,strong:FC,table:zC,tableCell:LC,tableRow:BC,text:HC,thematicBreak:WC,toml:ku,yaml:ku,definition:ku,footnoteDefinition:ku};function ku(){}const m7=-1,Oh=0,Uc=1,Vc=2,Em=3,Tm=4,_m=5,Om=6,g7=7,y7=8,sy=typeof self=="object"?self:globalThis,UC=(t,r)=>{const e=(i,a)=>(t.set(a,i),i),n=i=>{if(t.has(i))return t.get(i);const[a,o]=r[i];switch(a){case Oh:case m7:return e(o,i);case Uc:{const s=e([],i);for(const l of o)s.push(n(l));return s}case Vc:{const s=e({},i);for(const[l,u]of o)s[n(l)]=n(u);return s}case Em:return e(new Date(o),i);case Tm:{const{source:s,flags:l}=o;return e(new RegExp(s,l),i)}case _m:{const s=e(new Map,i);for(const[l,u]of o)s.set(n(l),n(u));return s}case Om:{const s=e(new Set,i);for(const l of o)s.add(n(l));return s}case g7:{const{name:s,message:l}=o;return e(new sy[s](l),i)}case y7:return e(BigInt(o),i);case"BigInt":return e(Object(BigInt(o)),i)}return e(new sy[a](o),i)};return n},ly=t=>UC(new Map,t)(0),Ya="",{toString:VC}={},{keys:GC}=Object,Es=t=>{const r=typeof t;if(r!=="object"||!t)return[Oh,r];const e=VC.call(t).slice(8,-1);switch(e){case"Array":return[Uc,Ya];case"Object":return[Vc,Ya];case"Date":return[Em,Ya];case"RegExp":return[Tm,Ya];case"Map":return[_m,Ya];case"Set":return[Om,Ya]}return e.includes("Array")?[Uc,e]:e.includes("Error")?[g7,e]:[Vc,e]},Su=([t,r])=>t===Oh&&(r==="function"||r==="symbol"),KC=(t,r,e,n)=>{const i=(o,s)=>{const l=n.push(o)-1;return e.set(s,l),l},a=o=>{if(e.has(o))return e.get(o);let[s,l]=Es(o);switch(s){case Oh:{let c=o;switch(l){case"bigint":s=y7,c=o.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return i([m7],o)}return i([s,c],o)}case Uc:{if(l)return i([l,[...o]],o);const c=[],h=i([s,c],o);for(const d of o)c.push(a(d));return h}case Vc:{if(l)switch(l){case"BigInt":return i([l,o.toString()],o);case"Boolean":case"Number":case"String":return i([l,o.valueOf()],o)}if(r&&"toJSON"in o)return a(o.toJSON());const c=[],h=i([s,c],o);for(const d of GC(o))(t||!Su(Es(o[d])))&&c.push([a(d),a(o[d])]);return h}case Em:return i([s,o.toISOString()],o);case Tm:{const{source:c,flags:h}=o;return i([s,{source:c,flags:h}],o)}case _m:{const c=[],h=i([s,c],o);for(const[d,f]of o)(t||!(Su(Es(d))||Su(Es(f))))&&c.push([a(d),a(f)]);return h}case Om:{const c=[],h=i([s,c],o);for(const d of o)(t||!Su(Es(d)))&&c.push(a(d));return h}}const{message:u}=o;return i([s,{name:l,message:u}],o)};return a},uy=(t,{json:r,lossy:e}={})=>{const n=[];return KC(!(r||e),!!r,new Map,n)(t),n},ca=typeof structuredClone=="function"?(t,r)=>r&&("json"in r||"lossy"in r)?ly(uy(t,r)):structuredClone(t):(t,r)=>ly(uy(t,r));function YC(t,r){const e=[{type:"text",value:"↩"}];return r>1&&e.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),e}function XC(t,r){return"Back to reference "+(t+1)+(r>1?"-"+r:"")}function JC(t){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",e=t.options.footnoteBackContent||YC,n=t.options.footnoteBackLabel||XC,i=t.options.footnoteLabel||"Footnotes",a=t.options.footnoteLabelTagName||"h2",o=t.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l0&&v.push({type:"text",value:" "});let $=typeof e=="string"?e:e(l,f);typeof $=="string"&&($={type:"text",value:$}),v.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+d+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,f),className:["data-footnote-backref"]},children:Array.isArray($)?$:[$]})}const b=c[c.length-1];if(b&&b.type==="element"&&b.tagName==="p"){const $=b.children[b.children.length-1];$&&$.type==="text"?$.value+=" ":b.children.push({type:"text",value:" "}),b.children.push(...v)}else c.push(...v);const y={type:"element",tagName:"li",properties:{id:r+"fn-"+d},children:t.wrap(c,!0)};t.patch(u,y),s.push(y)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...ca(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:t.wrap(s,!0)},{type:"text",value:` +`}]}}const Sl=function(t){if(t==null)return tP;if(typeof t=="function")return Ih(t);if(typeof t=="object")return Array.isArray(t)?ZC(t):QC(t);if(typeof t=="string")return eP(t);throw new Error("Expected function, string, or object as test")};function ZC(t){const r=[];let e=-1;for(;++e":""))+")"})}return d;function d(){let f=b7,v,g,b;if((!r||a(l,u,c[c.length-1]||void 0))&&(f=iP(e(l,c)),f[0]===Bv))return f;if("children"in l&&l.children){const y=l;if(y.children&&f[0]!==w7)for(g=(n?y.children.length:-1)+o,b=c.concat(y);g>-1&&g0&&e.push({type:"text",value:` +`}),e}function cy(t){let r=0,e=t.charCodeAt(r);for(;e===9||e===32;)r++,e=t.charCodeAt(r);return t.slice(r)}function hy(t,r){const e=oP(t,r),n=e.one(t,void 0),i=JC(e),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&a.children.push({type:"text",value:` +`},i),a}function hP(t,r){return t&&"run"in t?async function(e,n){const i=hy(e,{file:n,...r});await t.run(i,n)}:function(e,n){return hy(e,{file:n,...t||r})}}function dy(t){if(t)throw t}var kc=Object.prototype.hasOwnProperty,$7=Object.prototype.toString,fy=Object.defineProperty,vy=Object.getOwnPropertyDescriptor,py=function(r){return typeof Array.isArray=="function"?Array.isArray(r):$7.call(r)==="[object Array]"},my=function(r){if(!r||$7.call(r)!=="[object Object]")return!1;var e=kc.call(r,"constructor"),n=r.constructor&&r.constructor.prototype&&kc.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!e&&!n)return!1;var i;for(i in r);return typeof i>"u"||kc.call(r,i)},gy=function(r,e){fy&&e.name==="__proto__"?fy(r,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):r[e.name]=e.newValue},yy=function(r,e){if(e==="__proto__")if(kc.call(r,e)){if(vy)return vy(r,e).value}else return;return r[e]},dP=function t(){var r,e,n,i,a,o,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});lo.length;let l;s&&o.push(i);try{l=t.apply(this,o)}catch(u){const c=u;if(s&&e)throw c;return i(c)}s||(l&&l.then&&typeof l.then=="function"?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){e||(e=!0,r(o,...s))}function a(o){i(null,o)}}const xn={basename:pP,dirname:mP,extname:gP,join:yP,sep:"/"};function pP(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');El(t);let e=0,n=-1,i=t.length,a;if(r===void 0||r.length===0||r.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(a){e=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":t.slice(e,n)}if(r===t)return"";let o=-1,s=r.length-1;for(;i--;)if(t.codePointAt(i)===47){if(a){e=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(t.codePointAt(i)===r.codePointAt(s--)?s<0&&(n=i):(s=-1,n=o));return e===n?n=o:n<0&&(n=t.length),t.slice(e,n)}function mP(t){if(El(t),t.length===0)return".";let r=-1,e=t.length,n;for(;--e;)if(t.codePointAt(e)===47){if(n){r=e;break}}else n||(n=!0);return r<0?t.codePointAt(0)===47?"/":".":r===1&&t.codePointAt(0)===47?"//":t.slice(0,r)}function gP(t){El(t);let r=t.length,e=-1,n=0,i=-1,a=0,o;for(;r--;){const s=t.codePointAt(r);if(s===47){if(o){n=r+1;break}continue}e<0&&(o=!0,e=r+1),s===46?i<0?i=r:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||e<0||a===0||a===1&&i===e-1&&i===n+1?"":t.slice(i,e)}function yP(...t){let r=-1,e;for(;++r0&&t.codePointAt(t.length-1)===47&&(e+="/"),r?"/"+e:e}function wP(t,r){let e="",n=0,i=-1,a=0,o=-1,s,l;for(;++o<=t.length;){if(o2){if(l=e.lastIndexOf("/"),l!==e.length-1){l<0?(e="",n=0):(e=e.slice(0,l),n=e.length-1-e.lastIndexOf("/")),i=o,a=0;continue}}else if(e.length>0){e="",n=0,i=o,a=0;continue}}r&&(e=e.length>0?e+"/..":"..",n=2)}else e.length>0?e+="/"+t.slice(i+1,o):e=t.slice(i+1,o),n=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return e}function El(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const $P={cwd:xP};function xP(){return"/"}function Hv(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function kP(t){if(typeof t=="string")t=new URL(t);else if(!Hv(t)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(t.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return SP(t)}function SP(t){if(t.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const r=t.pathname;let e=-1;for(;++e0){let[f,...v]=c;const g=n[d][1];jv(g)&&jv(f)&&(f=V0(!0,g,f)),n[d]=[u,f,...v]}}}}const OP=new Cm().freeze();function X0(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function J0(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Z0(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function wy(t){if(!jv(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function $y(t,r,e){if(!e)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Eu(t){return IP(t)?t:new x7(t)}function IP(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function CP(t){return typeof t=="string"||PP(t)}function PP(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const AP="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",xy=[],ky={allowDangerousHtml:!0},MP=/^(https?|ircs?|mailto|xmpp)$/i,DP=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function NP(t){const r=t.allowedElements,e=t.allowElement,n=t.children||"",i=t.className,a=t.components,o=t.disallowedElements,s=t.rehypePlugins||xy,l=t.remarkPlugins||xy,u=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...ky}:ky,c=t.skipHtml,h=t.unwrapDisallowed,d=t.urlTransform||RP,f=OP().use(yC).use(l).use(hP,u).use(s),v=new x7;typeof n=="string"&&(v.value=n);for(const $ of DP)Object.hasOwn(t,$.from)&&(""+$.from+($.to?"use `"+$.to+"` instead":"remove it")+AP+$.id,void 0);const g=f.parse(v);let b=f.runSync(g,v);return i&&(b={type:"element",tagName:"div",properties:{className:i},children:b.type==="root"?b.children:[b]}),Ch(b,y),eO(b,{Fragment:I.Fragment,components:a,ignoreInvalidStyle:!0,jsx:I.jsx,jsxs:I.jsxs,passKeys:!0,passNode:!0});function y($,k,T){if($.type==="raw"&&T&&typeof k=="number")return c?T.children.splice(k,1):T.children[k]={type:"text",value:$.value},k;if($.type==="element"){let P;for(P in W0)if(Object.hasOwn(W0,P)&&Object.hasOwn($.properties,P)){const E=$.properties[P],D=W0[P];(D===null||D.includes($.tagName))&&($.properties[P]=d(String(E||""),P,$))}}if($.type==="element"){let P=r?!r.includes($.tagName):o?o.includes($.tagName):!1;if(!P&&e&&typeof k=="number"&&(P=!e($,k,T)),P&&T&&typeof k=="number")return h&&$.children?T.children.splice(k,1,...$.children):T.children.splice(k,1),k}}}function RP(t){const r=t.indexOf(":"),e=t.indexOf("?"),n=t.indexOf("#"),i=t.indexOf("/");return r<0||i>-1&&r>i||e>-1&&r>e||n>-1&&r>n||MP.test(t.slice(0,r))?t:""}const FP=qe.memo(NP,(t,r)=>t.children===r.children&&t.className===r.className);function Sy(t,r){const e=String(t);if(typeof r!="string")throw new TypeError("Expected character");let n=0,i=e.indexOf(r);for(;i!==-1;)n++,i=e.indexOf(r,i+r.length);return n}function zP(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function BP(t,r,e){const i=Sl(e.ignore||[]),a=LP(r);let o=-1;for(;++o0?{type:"text",value:E}:void 0),E===!1?d.lastIndex=T+1:(v!==T&&$.push({type:"text",value:u.value.slice(v,T)}),Array.isArray(E)?$.push(...E):E&&$.push(E),v=T+k[0].length,y=!0),!d.global)break;k=d.exec(u.value)}return y?(v?\]}]+$/.exec(t);if(!r)return[t,void 0];t=t.slice(0,r.index);let e=r[0],n=e.indexOf(")");const i=Sy(t,"(");let a=Sy(t,")");for(;n!==-1&&i>a;)t+=e.slice(0,n+1),e=e.slice(n+1),n=e.indexOf(")"),a++;return[t,e]}function k7(t,r){const e=t.input.charCodeAt(t.index-1);return(t.index===0||$a(e)||Th(e))&&(!r||e!==47)}S7.peek=hA;function tA(){return{enter:{gfmFootnoteDefinition:nA,gfmFootnoteDefinitionLabelString:iA,gfmFootnoteCall:sA,gfmFootnoteCallString:lA},exit:{gfmFootnoteDefinition:oA,gfmFootnoteDefinitionLabelString:aA,gfmFootnoteCall:cA,gfmFootnoteCallString:uA}}}function rA(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:dA,footnoteReference:S7}}}function nA(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function iA(){this.buffer()}function aA(t){const r=this.resume(),e=this.stack[this.stack.length-1];e.type,e.label=r,e.identifier=pn(this.sliceSerialize(t)).toLowerCase()}function oA(t){this.exit(t)}function sA(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function lA(){this.buffer()}function uA(t){const r=this.resume(),e=this.stack[this.stack.length-1];e.type,e.label=r,e.identifier=pn(this.sliceSerialize(t)).toLowerCase()}function cA(t){this.exit(t)}function S7(t,r,e,n){const i=e.createTracker(n);let a=i.move("[^");const o=e.enter("footnoteReference"),s=e.enter("reference");return a+=i.move(e.safe(e.associationId(t),{...i.current(),before:a,after:"]"})),s(),o(),a+=i.move("]"),a}function hA(){return"["}function dA(t,r,e,n){const i=e.createTracker(n);let a=i.move("[^");const o=e.enter("footnoteDefinition"),s=e.enter("label");return a+=i.move(e.safe(e.associationId(t),{...i.current(),before:a,after:"]"})),s(),a+=i.move("]:"+(t.children&&t.children.length>0?" ":"")),i.shift(4),a+=i.move(e.indentLines(e.containerFlow(t,i.current()),fA)),o(),a}function fA(t,r,e){return r===0?t:(e?"":" ")+t}const vA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];E7.peek=bA;function pA(){return{canContainEols:["delete"],enter:{strikethrough:gA},exit:{strikethrough:yA}}}function mA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:vA}],handlers:{delete:E7}}}function gA(t){this.enter({type:"delete",children:[]},t)}function yA(t){this.exit(t)}function E7(t,r,e,n){const i=e.createTracker(n),a=e.enter("strikethrough");let o=i.move("~~");return o+=e.containerPhrasing(t,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function bA(){return"~"}function wA(t){return t.length}function $A(t,r){const e=r,n=(e.align||[]).concat(),i=e.stringLength||wA,a=[],o=[],s=[],l=[];let u=0,c=-1;for(;++cu&&(u=t[c].length);++yl[y])&&(l[y]=k)}g.push($)}o[c]=g,s[c]=b}let h=-1;if(typeof n=="object"&&"length"in n)for(;++hl[h]&&(l[h]=$),f[h]=$),d[h]=k}o.splice(1,0,d),s.splice(1,0,f),c=-1;const v=[];for(;++c "),a.shift(2);const o=e.indentLines(e.containerFlow(t,a.current()),SA);return i(),o}function SA(t,r,e){return">"+(e?"":" ")+t}function EA(t,r){return Ty(t,r.inConstruct,!0)&&!Ty(t,r.notInConstruct,!1)}function Ty(t,r,e){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return e;let n=-1;for(;++no&&(o=a):a=1,i=n+r.length,n=e.indexOf(r,i);return o}function TA(t,r){return!!(r.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function _A(t){const r=t.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function OA(t,r,e,n){const i=_A(e),a=t.value||"",o=i==="`"?"GraveAccent":"Tilde";if(TA(t,e)){const h=e.enter("codeIndented"),d=e.indentLines(a,IA);return h(),d}const s=e.createTracker(n),l=i.repeat(Math.max(T7(a,i)+1,3)),u=e.enter("codeFenced");let c=s.move(l);if(t.lang){const h=e.enter(`codeFencedLang${o}`);c+=s.move(e.safe(t.lang,{before:c,after:" ",encode:["`"],...s.current()})),h()}if(t.lang&&t.meta){const h=e.enter(`codeFencedMeta${o}`);c+=s.move(" "),c+=s.move(e.safe(t.meta,{before:c,after:` +`,encode:["`"],...s.current()})),h()}return c+=s.move(` +`),a&&(c+=s.move(a+` +`)),c+=s.move(l),u(),c}function IA(t,r,e){return(e?"":" ")+t}function Pm(t){const r=t.options.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize title with `"+r+"` for `options.quote`, expected `\"`, or `'`");return r}function CA(t,r,e,n){const i=Pm(e),a=i==='"'?"Quote":"Apostrophe",o=e.enter("definition");let s=e.enter("label");const l=e.createTracker(n);let u=l.move("[");return u+=l.move(e.safe(e.associationId(t),{before:u,after:"]",...l.current()})),u+=l.move("]: "),s(),!t.url||/[\0- \u007F]/.test(t.url)?(s=e.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(e.safe(t.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=e.enter("destinationRaw"),u+=l.move(e.safe(t.url,{before:u,after:t.title?" ":` +`,...l.current()}))),s(),t.title&&(s=e.enter(`title${a}`),u+=l.move(" "+i),u+=l.move(e.safe(t.title,{before:u,after:i,...l.current()})),u+=l.move(i),s()),o(),u}function PA(t){const r=t.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function rl(t){return"&#x"+t.toString(16).toUpperCase()+";"}function Gc(t,r,e){const n=Io(t),i=Io(r);return n===void 0?i===void 0?e==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}_7.peek=AA;function _7(t,r,e,n){const i=PA(e),a=e.enter("emphasis"),o=e.createTracker(n),s=o.move(i);let l=o.move(e.containerPhrasing(t,{after:i,before:s,...o.current()}));const u=l.charCodeAt(0),c=Gc(n.before.charCodeAt(n.before.length-1),u,i);c.inside&&(l=rl(u)+l.slice(1));const h=l.charCodeAt(l.length-1),d=Gc(n.after.charCodeAt(0),h,i);d.inside&&(l=l.slice(0,-1)+rl(h));const f=o.move(i);return a(),e.attentionEncodeSurroundingInfo={after:d.outside,before:c.outside},s+l+f}function AA(t,r,e){return e.options.emphasis||"*"}function MA(t,r){let e=!1;return Ch(t,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return e=!0,Bv}),!!((!t.depth||t.depth<3)&&xm(t)&&(r.options.setext||e))}function DA(t,r,e,n){const i=Math.max(Math.min(6,t.depth||1),1),a=e.createTracker(n);if(MA(t,e)){const c=e.enter("headingSetext"),h=e.enter("phrasing"),d=e.containerPhrasing(t,{...a.current(),before:` +`,after:` +`});return h(),c(),d+` +`+(i===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(` +`))+1))}const o="#".repeat(i),s=e.enter("headingAtx"),l=e.enter("phrasing");a.move(o+" ");let u=e.containerPhrasing(t,{before:"# ",after:` +`,...a.current()});return/^[\t ]/.test(u)&&(u=rl(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,e.options.closeAtx&&(u+=" "+o),l(),s(),u}O7.peek=NA;function O7(t){return t.value||""}function NA(){return"<"}I7.peek=RA;function I7(t,r,e,n){const i=Pm(e),a=i==='"'?"Quote":"Apostrophe",o=e.enter("image");let s=e.enter("label");const l=e.createTracker(n);let u=l.move("![");return u+=l.move(e.safe(t.alt,{before:u,after:"]",...l.current()})),u+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=e.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(e.safe(t.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=e.enter("destinationRaw"),u+=l.move(e.safe(t.url,{before:u,after:t.title?" ":")",...l.current()}))),s(),t.title&&(s=e.enter(`title${a}`),u+=l.move(" "+i),u+=l.move(e.safe(t.title,{before:u,after:i,...l.current()})),u+=l.move(i),s()),u+=l.move(")"),o(),u}function RA(){return"!"}C7.peek=FA;function C7(t,r,e,n){const i=t.referenceType,a=e.enter("imageReference");let o=e.enter("label");const s=e.createTracker(n);let l=s.move("![");const u=e.safe(t.alt,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),o();const c=e.stack;e.stack=[],o=e.enter("reference");const h=e.safe(e.associationId(t),{before:l,after:"]",...s.current()});return o(),e.stack=c,a(),i==="full"||!u||u!==h?l+=s.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function FA(){return"!"}P7.peek=zA;function P7(t,r,e){let n=t.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a\u007F]/.test(t.url))}M7.peek=BA;function M7(t,r,e,n){const i=Pm(e),a=i==='"'?"Quote":"Apostrophe",o=e.createTracker(n);let s,l;if(A7(t,e)){const c=e.stack;e.stack=[],s=e.enter("autolink");let h=o.move("<");return h+=o.move(e.containerPhrasing(t,{before:h,after:">",...o.current()})),h+=o.move(">"),s(),e.stack=c,h}s=e.enter("link"),l=e.enter("label");let u=o.move("[");return u+=o.move(e.containerPhrasing(t,{before:u,after:"](",...o.current()})),u+=o.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=e.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(e.safe(t.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(l=e.enter("destinationRaw"),u+=o.move(e.safe(t.url,{before:u,after:t.title?" ":")",...o.current()}))),l(),t.title&&(l=e.enter(`title${a}`),u+=o.move(" "+i),u+=o.move(e.safe(t.title,{before:u,after:i,...o.current()})),u+=o.move(i),l()),u+=o.move(")"),s(),u}function BA(t,r,e){return A7(t,e)?"<":"["}D7.peek=LA;function D7(t,r,e,n){const i=t.referenceType,a=e.enter("linkReference");let o=e.enter("label");const s=e.createTracker(n);let l=s.move("[");const u=e.containerPhrasing(t,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),o();const c=e.stack;e.stack=[],o=e.enter("reference");const h=e.safe(e.associationId(t),{before:l,after:"]",...s.current()});return o(),e.stack=c,a(),i==="full"||!u||u!==h?l+=s.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function LA(){return"["}function Am(t){const r=t.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function jA(t){const r=Am(t),e=t.options.bulletOther;if(!e)return r==="*"?"-":"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(e===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+e+"`) to be different");return e}function HA(t){const r=t.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function N7(t){const r=t.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function WA(t,r,e,n){const i=e.enter("list"),a=e.bulletCurrent;let o=t.ordered?HA(e):Am(e);const s=t.ordered?o==="."?")":".":jA(e);let l=r&&e.bulletLastUsed?o===e.bulletLastUsed:!1;if(!t.ordered){const c=t.children?t.children[0]:void 0;if((o==="*"||o==="-")&&c&&(!c.children||!c.children[0])&&e.stack[e.stack.length-1]==="list"&&e.stack[e.stack.length-2]==="listItem"&&e.stack[e.stack.length-3]==="list"&&e.stack[e.stack.length-4]==="listItem"&&e.indexStack[e.indexStack.length-1]===0&&e.indexStack[e.indexStack.length-2]===0&&e.indexStack[e.indexStack.length-3]===0&&(l=!0),N7(e)===o&&c){let h=-1;for(;++h-1?r.start:1)+(e.options.incrementListMarker===!1?0:r.children.indexOf(t))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(r&&r.type==="list"&&r.spread||t.spread))&&(o=Math.ceil(o/4)*4);const s=e.createTracker(n);s.move(a+" ".repeat(o-a.length)),s.shift(o);const l=e.enter("listItem"),u=e.indentLines(e.containerFlow(t,s.current()),c);return l(),u;function c(h,d,f){return d?(f?"":" ".repeat(o))+h:(f?a:a+" ".repeat(o-a.length))+h}}function VA(t,r,e,n){const i=e.enter("paragraph"),a=e.enter("phrasing"),o=e.containerPhrasing(t,n);return a(),i(),o}const GA=Sl(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function KA(t,r,e,n){return(t.children.some(function(o){return GA(o)})?e.containerPhrasing:e.containerFlow).call(e,t,n)}function YA(t){const r=t.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}R7.peek=XA;function R7(t,r,e,n){const i=YA(e),a=e.enter("strong"),o=e.createTracker(n),s=o.move(i+i);let l=o.move(e.containerPhrasing(t,{after:i,before:s,...o.current()}));const u=l.charCodeAt(0),c=Gc(n.before.charCodeAt(n.before.length-1),u,i);c.inside&&(l=rl(u)+l.slice(1));const h=l.charCodeAt(l.length-1),d=Gc(n.after.charCodeAt(0),h,i);d.inside&&(l=l.slice(0,-1)+rl(h));const f=o.move(i+i);return a(),e.attentionEncodeSurroundingInfo={after:d.outside,before:c.outside},s+l+f}function XA(t,r,e){return e.options.strong||"*"}function JA(t,r,e,n){return e.safe(t.value,n)}function ZA(t){const r=t.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function QA(t,r,e){const n=(N7(e)+(e.options.ruleSpaces?" ":"")).repeat(ZA(e));return e.options.ruleSpaces?n.slice(0,-1):n}const F7={blockquote:kA,break:_y,code:OA,definition:CA,emphasis:_7,hardBreak:_y,heading:DA,html:O7,image:I7,imageReference:C7,inlineCode:P7,link:M7,linkReference:D7,list:WA,listItem:UA,paragraph:VA,root:KA,strong:R7,text:JA,thematicBreak:QA};function eM(){return{enter:{table:tM,tableData:Oy,tableHeader:Oy,tableRow:nM},exit:{codeText:iM,table:rM,tableData:rd,tableHeader:rd,tableRow:rd}}}function tM(t){const r=t._align;this.enter({type:"table",align:r.map(function(e){return e==="none"?null:e}),children:[]},t),this.data.inTable=!0}function rM(t){this.exit(t),this.data.inTable=void 0}function nM(t){this.enter({type:"tableRow",children:[]},t)}function rd(t){this.exit(t)}function Oy(t){this.enter({type:"tableCell",children:[]},t)}function iM(t){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,aM));const e=this.stack[this.stack.length-1];e.type,e.value=r,this.exit(t)}function aM(t,r){return r==="|"?r:t}function oM(t){const r=t,e=r.tableCellPadding,n=r.tablePipeAlign,i=r.stringLength,a=e?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:o,tableCell:l,tableRow:s}};function o(f,v,g,b){return u(c(f,g,b),f.align)}function s(f,v,g,b){const y=h(f,g,b),$=u([y]);return $.slice(0,$.indexOf(` +`))}function l(f,v,g,b){const y=g.enter("tableCell"),$=g.enter("phrasing"),k=g.containerPhrasing(f,{...b,before:a,after:a});return $(),y(),k}function u(f,v){return $A(f,{align:v,alignDelimiters:n,padding:e,stringLength:i})}function c(f,v,g){const b=f.children;let y=-1;const $=[],k=v.enter("table");for(;++y0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}const SM={tokenize:AM,partial:!0};function EM(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:IM,continuation:{tokenize:CM},exit:PM}},text:{91:{name:"gfmFootnoteCall",tokenize:OM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:TM,resolveTo:_M}}}}function TM(t,r,e){const n=this;let i=n.events.length;const a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o;for(;i--;){const l=n.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return e(l);const u=pn(n.sliceSerialize({start:o.end,end:n.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?e(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),r(l))}}function _M(t,r){let e=t.length;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},t[t.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[t[e+1],t[e+2],["enter",n,r],t[e+3],t[e+4],["enter",i,r],["exit",i,r],["enter",a,r],["enter",o,r],["exit",o,r],["exit",a,r],t[t.length-2],t[t.length-1],["exit",n,r]];return t.splice(e,t.length-e+1,...s),t}function OM(t,r,e){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a=0,o;return s;function s(h){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?e(h):(t.enter("gfmFootnoteCallMarker"),t.consume(h),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",u)}function u(h){if(a>999||h===93&&!o||h===null||h===91||nt(h))return e(h);if(h===93){t.exit("chunkString");const d=t.exit("gfmFootnoteCallString");return i.includes(pn(n.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),r):e(h)}return nt(h)||(o=!0),a++,t.consume(h),h===92?c:u}function c(h){return h===91||h===92||h===93?(t.consume(h),a++,u):u(h)}}function IM(t,r,e){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,o=0,s;return l;function l(v){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(v),t.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(v){return v===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(v),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",c):e(v)}function c(v){if(o>999||v===93&&!s||v===null||v===91||nt(v))return e(v);if(v===93){t.exit("chunkString");const g=t.exit("gfmFootnoteDefinitionLabelString");return a=pn(n.sliceSerialize(g)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(v),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return nt(v)||(s=!0),o++,t.consume(v),v===92?h:c}function h(v){return v===91||v===92||v===93?(t.consume(v),o++,c):c(v)}function d(v){return v===58?(t.enter("definitionMarker"),t.consume(v),t.exit("definitionMarker"),i.includes(a)||i.push(a),Re(t,f,"gfmFootnoteDefinitionWhitespace")):e(v)}function f(v){return r(v)}}function CM(t,r,e){return t.check(kl,r,t.attempt(SM,r,e))}function PM(t){t.exit("gfmFootnoteDefinition")}function AM(t,r,e){const n=this;return Re(t,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?r(a):e(a)}}function MM(t){let e=t.singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:i};return e==null&&(e=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(o,s){let l=-1;for(;++l1?l(v):(o.consume(v),h++,f);if(h<2&&!e)return l(v);const b=o.exit("strikethroughSequenceTemporary"),y=Io(v);return b._open=!y||y===2&&!!g,b._close=!g||g===2&&!!y,s(v)}}}class DM{constructor(){this.map=[]}add(r,e,n){NM(this,r,e,n)}consume(r){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let e=this.map.length;const n=[];for(;e>0;)e-=1,n.push(r.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),r.length=this.map[e][0];n.push([...r]),r.length=0;let i=n.pop();for(;i;)r.push(...i),i=n.pop();this.map.length=0}}function NM(t,r,e,n){let i=0;if(!(e===0&&n.length===0)){for(;i-1;){const ie=n.events[z][1].type;if(ie==="lineEnding"||ie==="linePrefix")z--;else break}const L=z>-1?n.events[z][1].type:null,Z=L==="tableHead"||L==="tableRow"?E:l;return Z===E&&n.parser.lazy[n.now().line]?e(A):Z(A)}function l(A){return t.enter("tableHead"),t.enter("tableRow"),u(A)}function u(A){return A===124||(o=!0,a+=1),c(A)}function c(A){return A===null?e(A):fe(A)?a>1?(a=0,n.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),f):e(A):Fe(A)?Re(t,c,"whitespace")(A):(a+=1,o&&(o=!1,i+=1),A===124?(t.enter("tableCellDivider"),t.consume(A),t.exit("tableCellDivider"),o=!0,c):(t.enter("data"),h(A)))}function h(A){return A===null||A===124||nt(A)?(t.exit("data"),c(A)):(t.consume(A),A===92?d:h)}function d(A){return A===92||A===124?(t.consume(A),h):h(A)}function f(A){return n.interrupt=!1,n.parser.lazy[n.now().line]?e(A):(t.enter("tableDelimiterRow"),o=!1,Fe(A)?Re(t,v,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):v(A))}function v(A){return A===45||A===58?b(A):A===124?(o=!0,t.enter("tableCellDivider"),t.consume(A),t.exit("tableCellDivider"),g):P(A)}function g(A){return Fe(A)?Re(t,b,"whitespace")(A):b(A)}function b(A){return A===58?(a+=1,o=!0,t.enter("tableDelimiterMarker"),t.consume(A),t.exit("tableDelimiterMarker"),y):A===45?(a+=1,y(A)):A===null||fe(A)?T(A):P(A)}function y(A){return A===45?(t.enter("tableDelimiterFiller"),$(A)):P(A)}function $(A){return A===45?(t.consume(A),$):A===58?(o=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(A),t.exit("tableDelimiterMarker"),k):(t.exit("tableDelimiterFiller"),k(A))}function k(A){return Fe(A)?Re(t,T,"whitespace")(A):T(A)}function T(A){return A===124?v(A):A===null||fe(A)?!o||i!==a?P(A):(t.exit("tableDelimiterRow"),t.exit("tableHead"),r(A)):P(A)}function P(A){return e(A)}function E(A){return t.enter("tableRow"),D(A)}function D(A){return A===124?(t.enter("tableCellDivider"),t.consume(A),t.exit("tableCellDivider"),D):A===null||fe(A)?(t.exit("tableRow"),r(A)):Fe(A)?Re(t,D,"whitespace")(A):(t.enter("data"),B(A))}function B(A){return A===null||A===124||nt(A)?(t.exit("data"),D(A)):(t.consume(A),A===92?R:B)}function R(A){return A===92||A===124?(t.consume(A),B):B(A)}}function BM(t,r){let e=-1,n=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,u,c,h;const d=new DM;for(;++ee[2]+1){const v=e[2]+1,g=e[3]-e[2]-1;t.add(v,g,[])}}t.add(e[3]+1,0,[["exit",h,r]])}return i!==void 0&&(a.end=Object.assign({},lo(r.events,i)),t.add(i,0,[["exit",a,r]]),a=void 0),a}function Cy(t,r,e,n,i){const a=[],o=lo(r.events,e);i&&(i.end=Object.assign({},o),a.push(["exit",i,r])),n.end=Object.assign({},o),a.push(["exit",n,r]),t.add(e+1,0,a)}function lo(t,r){const e=t[r],n=e[0]==="enter"?"start":"end";return e[1][n]}const LM={name:"tasklistCheck",tokenize:HM};function jM(){return{text:{91:LM}}}function HM(t,r,e){const n=this;return i;function i(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?e(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),a)}function a(l){return nt(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),o):e(l)}function o(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),s):e(l)}function s(l){return fe(l)?r(l):Fe(l)?t.check({tokenize:WM},r,e)(l):e(l)}}function WM(t,r,e){return Re(t,n,"whitespace");function n(i){return i===null?e(i):r(i)}}function qM(t){return t7([pM(),EM(),MM(t),FM(),jM()])}const UM={};function VM(t){const r=this,e=t||UM,n=r.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(qM(e)),a.push(hM()),o.push(dM(e))}function GM(){return{enter:{mathFlow:t,mathFlowFenceMeta:r,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:e,mathFlowValue:s,mathText:o,mathTextData:s}};function t(l){const u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},l)}function r(){this.buffer()}function e(){const l=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=u;const h=c.data.hChildren[0];h.type,h.tagName,h.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function a(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function o(l){const u=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=u,c.data.hChildren.push({type:"text",value:u})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function KM(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` +`,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:e,inlineMath:n}};function e(a,o,s,l){const u=a.value||"",c=s.createTracker(l),h="$".repeat(Math.max(T7(u,"$")+1,2)),d=s.enter("mathFlow");let f=c.move(h);if(a.meta){const v=s.enter("mathFlowMeta");f+=c.move(s.safe(a.meta,{after:` +`,before:f,encode:["$"],...c.current()})),v()}return f+=c.move(` +`),u&&(f+=c.move(u+` +`)),f+=c.move(h),d(),f}function n(a,o,s){let l=a.value||"",u=1;for(r||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(l);)u++;const c="$".repeat(u);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let h=-1;for(;++h15?u="…"+s.slice(i-15,i):u=s.slice(0,i);var c;a+15":">","<":"<",'"':""","'":"'"},sD=/[&><"']/g;function lD(t){return String(t).replace(sD,r=>oD[r])}var V7=function t(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?t(r.body[0]):r:r.type==="font"?t(r.body):r},uD=function(r){var e=V7(r);return e.type==="mathord"||e.type==="textord"||e.type==="atom"},cD=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},hD=function(r){var e=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(r);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},ge={contains:rD,deflt:nD,escape:lD,hyphenate:aD,getBaseElem:V7,isCharacterBox:uD,protocolFromUrl:hD},Sc={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,r)=>(r.push(t),r)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand ",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function dD(t){if(t.default)return t.default;var r=t.type,e=Array.isArray(r)?r[0]:r;if(typeof e!="string")return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Dm{constructor(r){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,r=r||{};for(var e in Sc)if(Sc.hasOwnProperty(e)){var n=Sc[e];this[e]=r[e]!==void 0?n.processor?n.processor(r[e]):r[e]:dD(n)}}reportNonstrict(r,e,n){var i=this.strict;if(typeof i=="function"&&(i=i(r,e,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new Y("LaTeX-incompatible input and strict mode is set to 'error': "+(e+" ["+r+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(e+" ["+r+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+e+" ["+r+"]"))}}useStrictBehavior(r,e,n){var i=this.strict;if(typeof i=="function")try{i=i(r,e,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(e+" ["+r+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+e+" ["+r+"]")),!1)}isTrusted(r){if(r.url&&!r.protocol){var e=ge.protocolFromUrl(r.url);if(e==null)return!1;r.protocol=e}var n=typeof this.trust=="function"?this.trust(r):this.trust;return!!n}}class pi{constructor(r,e,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=r,this.size=e,this.cramped=n}sup(){return kn[fD[this.id]]}sub(){return kn[vD[this.id]]}fracNum(){return kn[pD[this.id]]}fracDen(){return kn[mD[this.id]]}cramp(){return kn[gD[this.id]]}text(){return kn[yD[this.id]]}isTight(){return this.size>=2}}var Nm=0,Kc=1,So=2,Un=3,nl=4,Yr=5,Co=6,lr=7,kn=[new pi(Nm,0,!1),new pi(Kc,0,!0),new pi(So,1,!1),new pi(Un,1,!0),new pi(nl,2,!1),new pi(Yr,2,!0),new pi(Co,3,!1),new pi(lr,3,!0)],fD=[nl,Yr,nl,Yr,Co,lr,Co,lr],vD=[Yr,Yr,Yr,Yr,lr,lr,lr,lr],pD=[So,Un,nl,Yr,Co,lr,Co,lr],mD=[Un,Un,Yr,Yr,lr,lr,lr,lr],gD=[Kc,Kc,Un,Un,Yr,Yr,lr,lr],yD=[Nm,Kc,So,Un,So,Un,So,Un],we={DISPLAY:kn[Nm],TEXT:kn[So],SCRIPT:kn[nl],SCRIPTSCRIPT:kn[Co]},qv=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function bD(t){for(var r=0;r=i[0]&&t<=i[1])return e.name}return null}var Ec=[];qv.forEach(t=>t.blocks.forEach(r=>Ec.push(...r)));function G7(t){for(var r=0;r=Ec[r]&&t<=Ec[r+1])return!0;return!1}var Xa=80,wD=function(r,e){return"M95,"+(622+r+e)+` +c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 +c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 +c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 +s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 +c69,-144,104.5,-217.7,106.5,-221 +l`+r/2.075+" -"+r+` +c5.3,-9.3,12,-14,20,-14 +H400000v`+(40+r)+`H845.2724 +s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 +c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z +M`+(834+r)+" "+e+"h400000v"+(40+r)+"h-400000z"},$D=function(r,e){return"M263,"+(601+r+e)+`c0.7,0,18,39.7,52,119 +c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 +c340,-704.7,510.7,-1060.3,512,-1067 +l`+r/2.084+" -"+r+` +c4.7,-7.3,11,-11,19,-11 +H40000v`+(40+r)+`H1012.3 +s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 +c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 +s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 +c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z +M`+(1001+r)+" "+e+"h400000v"+(40+r)+"h-400000z"},xD=function(r,e){return"M983 "+(10+r+e)+` +l`+r/3.13+" -"+r+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+` +H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 +s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 +c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 +c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 +c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 +c53.7,-170.3,84.5,-266.8,92.5,-289.5z +M`+(1001+r)+" "+e+"h400000v"+(40+r)+"h-400000z"},kD=function(r,e){return"M424,"+(2398+r+e)+` +c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 +c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 +s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 +s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 +l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+r)+`H1014.6 +s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 +c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+e+` +h400000v`+(40+r)+"h-400000z"},SD=function(r,e){return"M473,"+(2713+r+e)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7 +s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 +c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 +s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, +606zM`+(1001+r)+" "+e+"h400000v"+(40+r)+"H1017.7z"},ED=function(r){var e=r/2;return"M400000 "+r+" H0 L"+e+" 0 l65 45 L145 "+(r-80)+" H400000z"},TD=function(r,e,n){var i=n-54-e-r;return"M702 "+(r+e)+"H400000"+(40+r)+` +H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 +c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 +219 661 l218 661zM702 `+e+"H400000v"+(40+r)+"H742z"},_D=function(r,e,n){e=1e3*e;var i="";switch(r){case"sqrtMain":i=wD(e,Xa);break;case"sqrtSize1":i=$D(e,Xa);break;case"sqrtSize2":i=xD(e,Xa);break;case"sqrtSize3":i=kD(e,Xa);break;case"sqrtSize4":i=SD(e,Xa);break;case"sqrtTall":i=TD(e,Xa,n)}return i},OD=function(r,e){switch(r){case"⎜":return"M291 0 H417 V"+e+" H291z M291 0 H417 V"+e+" H291z";case"∣":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145z";case"∥":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145z"+("M367 0 H410 V"+e+" H367z M367 0 H410 V"+e+" H367z");case"⎟":return"M457 0 H583 V"+e+" H457z M457 0 H583 V"+e+" H457z";case"⎢":return"M319 0 H403 V"+e+" H319z M319 0 H403 V"+e+" H319z";case"⎥":return"M263 0 H347 V"+e+" H263z M263 0 H347 V"+e+" H263z";case"⎪":return"M384 0 H504 V"+e+" H384z M384 0 H504 V"+e+" H384z";case"⏐":return"M312 0 H355 V"+e+" H312z M312 0 H355 V"+e+" H312z";case"‖":return"M257 0 H300 V"+e+" H257z M257 0 H300 V"+e+" H257z"+("M478 0 H521 V"+e+" H478z M478 0 H521 V"+e+" H478z");default:return""}},Ay={doubleleftarrow:`M262 157 +l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 + 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 + 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 +c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 + 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 +-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 +-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z +m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l +-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 + 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 +-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 +-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 +-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 +c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 +-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 + 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 +-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 +c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 + 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 + 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 + l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 +-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 + 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 + 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 + 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 +-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 +H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 + 435 0h399565z`,leftgroupunder:`M400000 262 +H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 + 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 +-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 +-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 +-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 + 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 +-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 +-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z +m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 + 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 + 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 +-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 + 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 +-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 +v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 +-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 +-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 + 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z +M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z +M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 +-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 +c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 + 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z +M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 +c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 +-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 + 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 + 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 +c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 + 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 + 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 +-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 +-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z +m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 +60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 +-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z +m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 +c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 +-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z +m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 +85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 +-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z +m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 +c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 +-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 + 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 + 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 +-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 + 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l +-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 +s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 +c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 + 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 +-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 + 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 + 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 +-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 +-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 + 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 +-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 + 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z +m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 + 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 +-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 +-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 + 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 + 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 +-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z +m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 + 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 +-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 + 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z +M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 + 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 +-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 +-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 + 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 +-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 +-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 +-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 + 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 +c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 + 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 + 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 +-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 + 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 +-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 + 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 + 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 +-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 +-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 + 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 +c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 + 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 +-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 + 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 + 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 + -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 +-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 + 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 + 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 + -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 +3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 +10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 +-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 +-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 +H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 +c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 +c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, +-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 +c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 +c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 +s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 +121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 +s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 +c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z +M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 +-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 +13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 +-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 +-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 +151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 +c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 +c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 +c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z +M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, +1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, +-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z +M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ID=function(r,e){switch(r){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+` v1759 h347 v-84 +H403z M403 1759 V0 H319 V1759 v`+e+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+` v1759 H0 v84 H347z +M347 1759 V0 H263 V1759 v`+e+" v1759 h84z";case"vert":return"M145 15 v585 v"+e+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-e+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+e+" v585 h43z";case"doublevert":return"M145 15 v585 v"+e+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-e+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+e+` v585 h43z +M367 15 v585 v`+e+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-e+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+e+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+e+` v1715 h263 v84 H319z +MM319 602 V0 H403 V602 v`+e+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+e+` v1799 H0 v-84 H319z +MM319 602 V0 H403 V602 v`+e+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+` v602 h84z +M403 1759 V0 H319 V1759 v`+e+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+` v602 h84z +M347 1759 V0 h-84 V1759 v`+e+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 +c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, +-36,557 l0,`+(e+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, +949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 +c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, +-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 +l0,-`+(e+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, +-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, +63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 +c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(e+9)+` +c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 +c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 +c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 +c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 +l0,-`+(e+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Tl{constructor(r){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=r,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(r){return ge.contains(this.classes,r)}toNode(){for(var r=document.createDocumentFragment(),e=0;ee.toText();return this.children.map(r).join("")}}var En={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},_u={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},My={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function CD(t,r){En[t]=r}function Rm(t,r,e){if(!En[r])throw new Error("Font metrics not found for font: "+r+".");var n=t.charCodeAt(0),i=En[r][n];if(!i&&t[0]in My&&(n=My[t[0]].charCodeAt(0),i=En[r][n]),!i&&e==="text"&&G7(n)&&(i=En[r][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var nd={};function PD(t){var r;if(t>=5?r=0:t>=3?r=1:r=2,!nd[r]){var e=nd[r]={cssEmPerMu:_u.quad[r]/18};for(var n in _u)_u.hasOwnProperty(n)&&(e[n]=_u[n][r])}return nd[r]}var AD=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Dy=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ny=function(r,e){return e.size<2?r:AD[r-1][e.size-1]};class Wn{constructor(r){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=r.style,this.color=r.color,this.size=r.size||Wn.BASESIZE,this.textSize=r.textSize||this.size,this.phantom=!!r.phantom,this.font=r.font||"",this.fontFamily=r.fontFamily||"",this.fontWeight=r.fontWeight||"",this.fontShape=r.fontShape||"",this.sizeMultiplier=Dy[this.size-1],this.maxSize=r.maxSize,this.minRuleThickness=r.minRuleThickness,this._fontMetrics=void 0}extend(r){var e={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n]);return new Wn(e)}havingStyle(r){return this.style===r?this:this.extend({style:r,size:Ny(this.textSize,r)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(r){return this.size===r&&this.textSize===r?this:this.extend({style:this.style.text(),size:r,textSize:r,sizeMultiplier:Dy[r-1]})}havingBaseStyle(r){r=r||this.style.text();var e=Ny(Wn.BASESIZE,r);return this.size===e&&this.textSize===Wn.BASESIZE&&this.style===r?this:this.extend({style:r,size:e})}havingBaseSizing(){var r;switch(this.style.id){case 4:case 5:r=3;break;case 6:case 7:r=1;break;default:r=6}return this.extend({style:this.style.text(),size:r})}withColor(r){return this.extend({color:r})}withPhantom(){return this.extend({phantom:!0})}withFont(r){return this.extend({font:r})}withTextFontFamily(r){return this.extend({fontFamily:r,font:""})}withTextFontWeight(r){return this.extend({fontWeight:r,font:""})}withTextFontShape(r){return this.extend({fontShape:r,font:""})}sizingClasses(r){return r.size!==this.size?["sizing","reset-size"+r.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Wn.BASESIZE?["sizing","reset-size"+this.size,"size"+Wn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=PD(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Wn.BASESIZE=6;var Uv={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},MD={ex:!0,em:!0,mu:!0},K7=function(r){return typeof r!="string"&&(r=r.unit),r in Uv||r in MD||r==="ex"},pt=function(r,e){var n;if(r.unit in Uv)n=Uv[r.unit]/e.fontMetrics().ptPerEm/e.sizeMultiplier;else if(r.unit==="mu")n=e.fontMetrics().cssEmPerMu;else{var i;if(e.style.isTight()?i=e.havingStyle(e.style.text()):i=e,r.unit==="ex")n=i.fontMetrics().xHeight;else if(r.unit==="em")n=i.fontMetrics().quad;else throw new Y("Invalid unit: '"+r.unit+"'");i!==e&&(n*=i.sizeMultiplier/e.sizeMultiplier)}return Math.min(r.number*n,e.maxSize)},te=function(r){return+r.toFixed(4)+"em"},Ni=function(r){return r.filter(e=>e).join(" ")},Y7=function(r,e,n){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},e){e.style.isTight()&&this.classes.push("mtight");var i=e.getColor();i&&(this.style.color=i)}},X7=function(r){var e=document.createElement(r);e.className=Ni(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(e.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&e.setAttribute(i,this.attributes[i]);for(var a=0;a",e};class _l{constructor(r,e,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Y7.call(this,r,n,i),this.children=e||[]}setAttribute(r,e){this.attributes[r]=e}hasClass(r){return ge.contains(this.classes,r)}toNode(){return X7.call(this,"span")}toMarkup(){return J7.call(this,"span")}}class Fm{constructor(r,e,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Y7.call(this,e,i),this.children=n||[],this.setAttribute("href",r)}setAttribute(r,e){this.attributes[r]=e}hasClass(r){return ge.contains(this.classes,r)}toNode(){return X7.call(this,"a")}toMarkup(){return J7.call(this,"a")}}class DD{constructor(r,e,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=e,this.src=r,this.classes=["mord"],this.style=n}hasClass(r){return ge.contains(this.classes,r)}toNode(){var r=document.createElement("img");r.src=this.src,r.alt=this.alt,r.className="mord";for(var e in this.style)this.style.hasOwnProperty(e)&&(r.style[e]=this.style[e]);return r}toMarkup(){var r=''+ge.escape(this.alt)+'0&&(e=document.createElement("span"),e.style.marginRight=te(this.italic)),this.classes.length>0&&(e=e||document.createElement("span"),e.className=Ni(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(e=e||document.createElement("span"),e.style[n]=this.style[n]);return e?(e.appendChild(r),e):r}toMarkup(){var r=!1,e="0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=ge.hyphenate(i)+":"+this.style[i]+";");n&&(r=!0,e+=' style="'+ge.escape(n)+'"');var a=ge.escape(this.text);return r?(e+=">",e+=a,e+="",e):a}}class ri{constructor(r,e){this.children=void 0,this.attributes=void 0,this.children=r||[],this.attributes=e||{}}toNode(){var r="http://www.w3.org/2000/svg",e=document.createElementNS(r,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var i=0;i':''}}class Vv{constructor(r){this.attributes=void 0,this.attributes=r||{}}toNode(){var r="http://www.w3.org/2000/svg",e=document.createElementNS(r,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);return e}toMarkup(){var r=" but got "+String(t)+".")}var FD={bin:1,close:1,inner:1,open:1,punct:1,rel:1},zD={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ut={math:{},text:{}};function p(t,r,e,n,i,a){ut[t][i]={font:r,group:e,replace:n},a&&n&&(ut[t][n]=ut[t][i])}var m="math",q="text",w="main",_="ams",ht="accent-token",le="bin",hr="close",Go="inner",be="mathord",Dt="op-token",zr="open",Ph="punct",O="rel",ci="spacing",M="textord";p(m,w,O,"≡","\\equiv",!0);p(m,w,O,"≺","\\prec",!0);p(m,w,O,"≻","\\succ",!0);p(m,w,O,"∼","\\sim",!0);p(m,w,O,"⊥","\\perp");p(m,w,O,"⪯","\\preceq",!0);p(m,w,O,"⪰","\\succeq",!0);p(m,w,O,"≃","\\simeq",!0);p(m,w,O,"∣","\\mid",!0);p(m,w,O,"≪","\\ll",!0);p(m,w,O,"≫","\\gg",!0);p(m,w,O,"≍","\\asymp",!0);p(m,w,O,"∥","\\parallel");p(m,w,O,"⋈","\\bowtie",!0);p(m,w,O,"⌣","\\smile",!0);p(m,w,O,"⊑","\\sqsubseteq",!0);p(m,w,O,"⊒","\\sqsupseteq",!0);p(m,w,O,"≐","\\doteq",!0);p(m,w,O,"⌢","\\frown",!0);p(m,w,O,"∋","\\ni",!0);p(m,w,O,"∝","\\propto",!0);p(m,w,O,"⊢","\\vdash",!0);p(m,w,O,"⊣","\\dashv",!0);p(m,w,O,"∋","\\owns");p(m,w,Ph,".","\\ldotp");p(m,w,Ph,"⋅","\\cdotp");p(m,w,M,"#","\\#");p(q,w,M,"#","\\#");p(m,w,M,"&","\\&");p(q,w,M,"&","\\&");p(m,w,M,"ℵ","\\aleph",!0);p(m,w,M,"∀","\\forall",!0);p(m,w,M,"ℏ","\\hbar",!0);p(m,w,M,"∃","\\exists",!0);p(m,w,M,"∇","\\nabla",!0);p(m,w,M,"♭","\\flat",!0);p(m,w,M,"ℓ","\\ell",!0);p(m,w,M,"♮","\\natural",!0);p(m,w,M,"♣","\\clubsuit",!0);p(m,w,M,"℘","\\wp",!0);p(m,w,M,"♯","\\sharp",!0);p(m,w,M,"♢","\\diamondsuit",!0);p(m,w,M,"ℜ","\\Re",!0);p(m,w,M,"♡","\\heartsuit",!0);p(m,w,M,"ℑ","\\Im",!0);p(m,w,M,"♠","\\spadesuit",!0);p(m,w,M,"§","\\S",!0);p(q,w,M,"§","\\S");p(m,w,M,"¶","\\P",!0);p(q,w,M,"¶","\\P");p(m,w,M,"†","\\dag");p(q,w,M,"†","\\dag");p(q,w,M,"†","\\textdagger");p(m,w,M,"‡","\\ddag");p(q,w,M,"‡","\\ddag");p(q,w,M,"‡","\\textdaggerdbl");p(m,w,hr,"⎱","\\rmoustache",!0);p(m,w,zr,"⎰","\\lmoustache",!0);p(m,w,hr,"⟯","\\rgroup",!0);p(m,w,zr,"⟮","\\lgroup",!0);p(m,w,le,"∓","\\mp",!0);p(m,w,le,"⊖","\\ominus",!0);p(m,w,le,"⊎","\\uplus",!0);p(m,w,le,"⊓","\\sqcap",!0);p(m,w,le,"∗","\\ast");p(m,w,le,"⊔","\\sqcup",!0);p(m,w,le,"◯","\\bigcirc",!0);p(m,w,le,"∙","\\bullet",!0);p(m,w,le,"‡","\\ddagger");p(m,w,le,"≀","\\wr",!0);p(m,w,le,"⨿","\\amalg");p(m,w,le,"&","\\And");p(m,w,O,"⟵","\\longleftarrow",!0);p(m,w,O,"⇐","\\Leftarrow",!0);p(m,w,O,"⟸","\\Longleftarrow",!0);p(m,w,O,"⟶","\\longrightarrow",!0);p(m,w,O,"⇒","\\Rightarrow",!0);p(m,w,O,"⟹","\\Longrightarrow",!0);p(m,w,O,"↔","\\leftrightarrow",!0);p(m,w,O,"⟷","\\longleftrightarrow",!0);p(m,w,O,"⇔","\\Leftrightarrow",!0);p(m,w,O,"⟺","\\Longleftrightarrow",!0);p(m,w,O,"↦","\\mapsto",!0);p(m,w,O,"⟼","\\longmapsto",!0);p(m,w,O,"↗","\\nearrow",!0);p(m,w,O,"↩","\\hookleftarrow",!0);p(m,w,O,"↪","\\hookrightarrow",!0);p(m,w,O,"↘","\\searrow",!0);p(m,w,O,"↼","\\leftharpoonup",!0);p(m,w,O,"⇀","\\rightharpoonup",!0);p(m,w,O,"↙","\\swarrow",!0);p(m,w,O,"↽","\\leftharpoondown",!0);p(m,w,O,"⇁","\\rightharpoondown",!0);p(m,w,O,"↖","\\nwarrow",!0);p(m,w,O,"⇌","\\rightleftharpoons",!0);p(m,_,O,"≮","\\nless",!0);p(m,_,O,"","\\@nleqslant");p(m,_,O,"","\\@nleqq");p(m,_,O,"⪇","\\lneq",!0);p(m,_,O,"≨","\\lneqq",!0);p(m,_,O,"","\\@lvertneqq");p(m,_,O,"⋦","\\lnsim",!0);p(m,_,O,"⪉","\\lnapprox",!0);p(m,_,O,"⊀","\\nprec",!0);p(m,_,O,"⋠","\\npreceq",!0);p(m,_,O,"⋨","\\precnsim",!0);p(m,_,O,"⪹","\\precnapprox",!0);p(m,_,O,"≁","\\nsim",!0);p(m,_,O,"","\\@nshortmid");p(m,_,O,"∤","\\nmid",!0);p(m,_,O,"⊬","\\nvdash",!0);p(m,_,O,"⊭","\\nvDash",!0);p(m,_,O,"⋪","\\ntriangleleft");p(m,_,O,"⋬","\\ntrianglelefteq",!0);p(m,_,O,"⊊","\\subsetneq",!0);p(m,_,O,"","\\@varsubsetneq");p(m,_,O,"⫋","\\subsetneqq",!0);p(m,_,O,"","\\@varsubsetneqq");p(m,_,O,"≯","\\ngtr",!0);p(m,_,O,"","\\@ngeqslant");p(m,_,O,"","\\@ngeqq");p(m,_,O,"⪈","\\gneq",!0);p(m,_,O,"≩","\\gneqq",!0);p(m,_,O,"","\\@gvertneqq");p(m,_,O,"⋧","\\gnsim",!0);p(m,_,O,"⪊","\\gnapprox",!0);p(m,_,O,"⊁","\\nsucc",!0);p(m,_,O,"⋡","\\nsucceq",!0);p(m,_,O,"⋩","\\succnsim",!0);p(m,_,O,"⪺","\\succnapprox",!0);p(m,_,O,"≆","\\ncong",!0);p(m,_,O,"","\\@nshortparallel");p(m,_,O,"∦","\\nparallel",!0);p(m,_,O,"⊯","\\nVDash",!0);p(m,_,O,"⋫","\\ntriangleright");p(m,_,O,"⋭","\\ntrianglerighteq",!0);p(m,_,O,"","\\@nsupseteqq");p(m,_,O,"⊋","\\supsetneq",!0);p(m,_,O,"","\\@varsupsetneq");p(m,_,O,"⫌","\\supsetneqq",!0);p(m,_,O,"","\\@varsupsetneqq");p(m,_,O,"⊮","\\nVdash",!0);p(m,_,O,"⪵","\\precneqq",!0);p(m,_,O,"⪶","\\succneqq",!0);p(m,_,O,"","\\@nsubseteqq");p(m,_,le,"⊴","\\unlhd");p(m,_,le,"⊵","\\unrhd");p(m,_,O,"↚","\\nleftarrow",!0);p(m,_,O,"↛","\\nrightarrow",!0);p(m,_,O,"⇍","\\nLeftarrow",!0);p(m,_,O,"⇏","\\nRightarrow",!0);p(m,_,O,"↮","\\nleftrightarrow",!0);p(m,_,O,"⇎","\\nLeftrightarrow",!0);p(m,_,O,"△","\\vartriangle");p(m,_,M,"ℏ","\\hslash");p(m,_,M,"▽","\\triangledown");p(m,_,M,"◊","\\lozenge");p(m,_,M,"Ⓢ","\\circledS");p(m,_,M,"®","\\circledR");p(q,_,M,"®","\\circledR");p(m,_,M,"∡","\\measuredangle",!0);p(m,_,M,"∄","\\nexists");p(m,_,M,"℧","\\mho");p(m,_,M,"Ⅎ","\\Finv",!0);p(m,_,M,"⅁","\\Game",!0);p(m,_,M,"‵","\\backprime");p(m,_,M,"▲","\\blacktriangle");p(m,_,M,"▼","\\blacktriangledown");p(m,_,M,"■","\\blacksquare");p(m,_,M,"⧫","\\blacklozenge");p(m,_,M,"★","\\bigstar");p(m,_,M,"∢","\\sphericalangle",!0);p(m,_,M,"∁","\\complement",!0);p(m,_,M,"ð","\\eth",!0);p(q,w,M,"ð","ð");p(m,_,M,"╱","\\diagup");p(m,_,M,"╲","\\diagdown");p(m,_,M,"□","\\square");p(m,_,M,"□","\\Box");p(m,_,M,"◊","\\Diamond");p(m,_,M,"¥","\\yen",!0);p(q,_,M,"¥","\\yen",!0);p(m,_,M,"✓","\\checkmark",!0);p(q,_,M,"✓","\\checkmark");p(m,_,M,"ℶ","\\beth",!0);p(m,_,M,"ℸ","\\daleth",!0);p(m,_,M,"ℷ","\\gimel",!0);p(m,_,M,"ϝ","\\digamma",!0);p(m,_,M,"ϰ","\\varkappa");p(m,_,zr,"┌","\\@ulcorner",!0);p(m,_,hr,"┐","\\@urcorner",!0);p(m,_,zr,"└","\\@llcorner",!0);p(m,_,hr,"┘","\\@lrcorner",!0);p(m,_,O,"≦","\\leqq",!0);p(m,_,O,"⩽","\\leqslant",!0);p(m,_,O,"⪕","\\eqslantless",!0);p(m,_,O,"≲","\\lesssim",!0);p(m,_,O,"⪅","\\lessapprox",!0);p(m,_,O,"≊","\\approxeq",!0);p(m,_,le,"⋖","\\lessdot");p(m,_,O,"⋘","\\lll",!0);p(m,_,O,"≶","\\lessgtr",!0);p(m,_,O,"⋚","\\lesseqgtr",!0);p(m,_,O,"⪋","\\lesseqqgtr",!0);p(m,_,O,"≑","\\doteqdot");p(m,_,O,"≓","\\risingdotseq",!0);p(m,_,O,"≒","\\fallingdotseq",!0);p(m,_,O,"∽","\\backsim",!0);p(m,_,O,"⋍","\\backsimeq",!0);p(m,_,O,"⫅","\\subseteqq",!0);p(m,_,O,"⋐","\\Subset",!0);p(m,_,O,"⊏","\\sqsubset",!0);p(m,_,O,"≼","\\preccurlyeq",!0);p(m,_,O,"⋞","\\curlyeqprec",!0);p(m,_,O,"≾","\\precsim",!0);p(m,_,O,"⪷","\\precapprox",!0);p(m,_,O,"⊲","\\vartriangleleft");p(m,_,O,"⊴","\\trianglelefteq");p(m,_,O,"⊨","\\vDash",!0);p(m,_,O,"⊪","\\Vvdash",!0);p(m,_,O,"⌣","\\smallsmile");p(m,_,O,"⌢","\\smallfrown");p(m,_,O,"≏","\\bumpeq",!0);p(m,_,O,"≎","\\Bumpeq",!0);p(m,_,O,"≧","\\geqq",!0);p(m,_,O,"⩾","\\geqslant",!0);p(m,_,O,"⪖","\\eqslantgtr",!0);p(m,_,O,"≳","\\gtrsim",!0);p(m,_,O,"⪆","\\gtrapprox",!0);p(m,_,le,"⋗","\\gtrdot");p(m,_,O,"⋙","\\ggg",!0);p(m,_,O,"≷","\\gtrless",!0);p(m,_,O,"⋛","\\gtreqless",!0);p(m,_,O,"⪌","\\gtreqqless",!0);p(m,_,O,"≖","\\eqcirc",!0);p(m,_,O,"≗","\\circeq",!0);p(m,_,O,"≜","\\triangleq",!0);p(m,_,O,"∼","\\thicksim");p(m,_,O,"≈","\\thickapprox");p(m,_,O,"⫆","\\supseteqq",!0);p(m,_,O,"⋑","\\Supset",!0);p(m,_,O,"⊐","\\sqsupset",!0);p(m,_,O,"≽","\\succcurlyeq",!0);p(m,_,O,"⋟","\\curlyeqsucc",!0);p(m,_,O,"≿","\\succsim",!0);p(m,_,O,"⪸","\\succapprox",!0);p(m,_,O,"⊳","\\vartriangleright");p(m,_,O,"⊵","\\trianglerighteq");p(m,_,O,"⊩","\\Vdash",!0);p(m,_,O,"∣","\\shortmid");p(m,_,O,"∥","\\shortparallel");p(m,_,O,"≬","\\between",!0);p(m,_,O,"⋔","\\pitchfork",!0);p(m,_,O,"∝","\\varpropto");p(m,_,O,"◀","\\blacktriangleleft");p(m,_,O,"∴","\\therefore",!0);p(m,_,O,"∍","\\backepsilon");p(m,_,O,"▶","\\blacktriangleright");p(m,_,O,"∵","\\because",!0);p(m,_,O,"⋘","\\llless");p(m,_,O,"⋙","\\gggtr");p(m,_,le,"⊲","\\lhd");p(m,_,le,"⊳","\\rhd");p(m,_,O,"≂","\\eqsim",!0);p(m,w,O,"⋈","\\Join");p(m,_,O,"≑","\\Doteq",!0);p(m,_,le,"∔","\\dotplus",!0);p(m,_,le,"∖","\\smallsetminus");p(m,_,le,"⋒","\\Cap",!0);p(m,_,le,"⋓","\\Cup",!0);p(m,_,le,"⩞","\\doublebarwedge",!0);p(m,_,le,"⊟","\\boxminus",!0);p(m,_,le,"⊞","\\boxplus",!0);p(m,_,le,"⋇","\\divideontimes",!0);p(m,_,le,"⋉","\\ltimes",!0);p(m,_,le,"⋊","\\rtimes",!0);p(m,_,le,"⋋","\\leftthreetimes",!0);p(m,_,le,"⋌","\\rightthreetimes",!0);p(m,_,le,"⋏","\\curlywedge",!0);p(m,_,le,"⋎","\\curlyvee",!0);p(m,_,le,"⊝","\\circleddash",!0);p(m,_,le,"⊛","\\circledast",!0);p(m,_,le,"⋅","\\centerdot");p(m,_,le,"⊺","\\intercal",!0);p(m,_,le,"⋒","\\doublecap");p(m,_,le,"⋓","\\doublecup");p(m,_,le,"⊠","\\boxtimes",!0);p(m,_,O,"⇢","\\dashrightarrow",!0);p(m,_,O,"⇠","\\dashleftarrow",!0);p(m,_,O,"⇇","\\leftleftarrows",!0);p(m,_,O,"⇆","\\leftrightarrows",!0);p(m,_,O,"⇚","\\Lleftarrow",!0);p(m,_,O,"↞","\\twoheadleftarrow",!0);p(m,_,O,"↢","\\leftarrowtail",!0);p(m,_,O,"↫","\\looparrowleft",!0);p(m,_,O,"⇋","\\leftrightharpoons",!0);p(m,_,O,"↶","\\curvearrowleft",!0);p(m,_,O,"↺","\\circlearrowleft",!0);p(m,_,O,"↰","\\Lsh",!0);p(m,_,O,"⇈","\\upuparrows",!0);p(m,_,O,"↿","\\upharpoonleft",!0);p(m,_,O,"⇃","\\downharpoonleft",!0);p(m,w,O,"⊶","\\origof",!0);p(m,w,O,"⊷","\\imageof",!0);p(m,_,O,"⊸","\\multimap",!0);p(m,_,O,"↭","\\leftrightsquigarrow",!0);p(m,_,O,"⇉","\\rightrightarrows",!0);p(m,_,O,"⇄","\\rightleftarrows",!0);p(m,_,O,"↠","\\twoheadrightarrow",!0);p(m,_,O,"↣","\\rightarrowtail",!0);p(m,_,O,"↬","\\looparrowright",!0);p(m,_,O,"↷","\\curvearrowright",!0);p(m,_,O,"↻","\\circlearrowright",!0);p(m,_,O,"↱","\\Rsh",!0);p(m,_,O,"⇊","\\downdownarrows",!0);p(m,_,O,"↾","\\upharpoonright",!0);p(m,_,O,"⇂","\\downharpoonright",!0);p(m,_,O,"⇝","\\rightsquigarrow",!0);p(m,_,O,"⇝","\\leadsto");p(m,_,O,"⇛","\\Rrightarrow",!0);p(m,_,O,"↾","\\restriction");p(m,w,M,"‘","`");p(m,w,M,"$","\\$");p(q,w,M,"$","\\$");p(q,w,M,"$","\\textdollar");p(m,w,M,"%","\\%");p(q,w,M,"%","\\%");p(m,w,M,"_","\\_");p(q,w,M,"_","\\_");p(q,w,M,"_","\\textunderscore");p(m,w,M,"∠","\\angle",!0);p(m,w,M,"∞","\\infty",!0);p(m,w,M,"′","\\prime");p(m,w,M,"△","\\triangle");p(m,w,M,"Γ","\\Gamma",!0);p(m,w,M,"Δ","\\Delta",!0);p(m,w,M,"Θ","\\Theta",!0);p(m,w,M,"Λ","\\Lambda",!0);p(m,w,M,"Ξ","\\Xi",!0);p(m,w,M,"Π","\\Pi",!0);p(m,w,M,"Σ","\\Sigma",!0);p(m,w,M,"Υ","\\Upsilon",!0);p(m,w,M,"Φ","\\Phi",!0);p(m,w,M,"Ψ","\\Psi",!0);p(m,w,M,"Ω","\\Omega",!0);p(m,w,M,"A","Α");p(m,w,M,"B","Β");p(m,w,M,"E","Ε");p(m,w,M,"Z","Ζ");p(m,w,M,"H","Η");p(m,w,M,"I","Ι");p(m,w,M,"K","Κ");p(m,w,M,"M","Μ");p(m,w,M,"N","Ν");p(m,w,M,"O","Ο");p(m,w,M,"P","Ρ");p(m,w,M,"T","Τ");p(m,w,M,"X","Χ");p(m,w,M,"¬","\\neg",!0);p(m,w,M,"¬","\\lnot");p(m,w,M,"⊤","\\top");p(m,w,M,"⊥","\\bot");p(m,w,M,"∅","\\emptyset");p(m,_,M,"∅","\\varnothing");p(m,w,be,"α","\\alpha",!0);p(m,w,be,"β","\\beta",!0);p(m,w,be,"γ","\\gamma",!0);p(m,w,be,"δ","\\delta",!0);p(m,w,be,"ϵ","\\epsilon",!0);p(m,w,be,"ζ","\\zeta",!0);p(m,w,be,"η","\\eta",!0);p(m,w,be,"θ","\\theta",!0);p(m,w,be,"ι","\\iota",!0);p(m,w,be,"κ","\\kappa",!0);p(m,w,be,"λ","\\lambda",!0);p(m,w,be,"μ","\\mu",!0);p(m,w,be,"ν","\\nu",!0);p(m,w,be,"ξ","\\xi",!0);p(m,w,be,"ο","\\omicron",!0);p(m,w,be,"π","\\pi",!0);p(m,w,be,"ρ","\\rho",!0);p(m,w,be,"σ","\\sigma",!0);p(m,w,be,"τ","\\tau",!0);p(m,w,be,"υ","\\upsilon",!0);p(m,w,be,"ϕ","\\phi",!0);p(m,w,be,"χ","\\chi",!0);p(m,w,be,"ψ","\\psi",!0);p(m,w,be,"ω","\\omega",!0);p(m,w,be,"ε","\\varepsilon",!0);p(m,w,be,"ϑ","\\vartheta",!0);p(m,w,be,"ϖ","\\varpi",!0);p(m,w,be,"ϱ","\\varrho",!0);p(m,w,be,"ς","\\varsigma",!0);p(m,w,be,"φ","\\varphi",!0);p(m,w,le,"∗","*",!0);p(m,w,le,"+","+");p(m,w,le,"−","-",!0);p(m,w,le,"⋅","\\cdot",!0);p(m,w,le,"∘","\\circ",!0);p(m,w,le,"÷","\\div",!0);p(m,w,le,"±","\\pm",!0);p(m,w,le,"×","\\times",!0);p(m,w,le,"∩","\\cap",!0);p(m,w,le,"∪","\\cup",!0);p(m,w,le,"∖","\\setminus",!0);p(m,w,le,"∧","\\land");p(m,w,le,"∨","\\lor");p(m,w,le,"∧","\\wedge",!0);p(m,w,le,"∨","\\vee",!0);p(m,w,M,"√","\\surd");p(m,w,zr,"⟨","\\langle",!0);p(m,w,zr,"∣","\\lvert");p(m,w,zr,"∥","\\lVert");p(m,w,hr,"?","?");p(m,w,hr,"!","!");p(m,w,hr,"⟩","\\rangle",!0);p(m,w,hr,"∣","\\rvert");p(m,w,hr,"∥","\\rVert");p(m,w,O,"=","=");p(m,w,O,":",":");p(m,w,O,"≈","\\approx",!0);p(m,w,O,"≅","\\cong",!0);p(m,w,O,"≥","\\ge");p(m,w,O,"≥","\\geq",!0);p(m,w,O,"←","\\gets");p(m,w,O,">","\\gt",!0);p(m,w,O,"∈","\\in",!0);p(m,w,O,"","\\@not");p(m,w,O,"⊂","\\subset",!0);p(m,w,O,"⊃","\\supset",!0);p(m,w,O,"⊆","\\subseteq",!0);p(m,w,O,"⊇","\\supseteq",!0);p(m,_,O,"⊈","\\nsubseteq",!0);p(m,_,O,"⊉","\\nsupseteq",!0);p(m,w,O,"⊨","\\models");p(m,w,O,"←","\\leftarrow",!0);p(m,w,O,"≤","\\le");p(m,w,O,"≤","\\leq",!0);p(m,w,O,"<","\\lt",!0);p(m,w,O,"→","\\rightarrow",!0);p(m,w,O,"→","\\to");p(m,_,O,"≱","\\ngeq",!0);p(m,_,O,"≰","\\nleq",!0);p(m,w,ci," ","\\ ");p(m,w,ci," ","\\space");p(m,w,ci," ","\\nobreakspace");p(q,w,ci," ","\\ ");p(q,w,ci," "," ");p(q,w,ci," ","\\space");p(q,w,ci," ","\\nobreakspace");p(m,w,ci,null,"\\nobreak");p(m,w,ci,null,"\\allowbreak");p(m,w,Ph,",",",");p(m,w,Ph,";",";");p(m,_,le,"⊼","\\barwedge",!0);p(m,_,le,"⊻","\\veebar",!0);p(m,w,le,"⊙","\\odot",!0);p(m,w,le,"⊕","\\oplus",!0);p(m,w,le,"⊗","\\otimes",!0);p(m,w,M,"∂","\\partial",!0);p(m,w,le,"⊘","\\oslash",!0);p(m,_,le,"⊚","\\circledcirc",!0);p(m,_,le,"⊡","\\boxdot",!0);p(m,w,le,"△","\\bigtriangleup");p(m,w,le,"▽","\\bigtriangledown");p(m,w,le,"†","\\dagger");p(m,w,le,"⋄","\\diamond");p(m,w,le,"⋆","\\star");p(m,w,le,"◃","\\triangleleft");p(m,w,le,"▹","\\triangleright");p(m,w,zr,"{","\\{");p(q,w,M,"{","\\{");p(q,w,M,"{","\\textbraceleft");p(m,w,hr,"}","\\}");p(q,w,M,"}","\\}");p(q,w,M,"}","\\textbraceright");p(m,w,zr,"{","\\lbrace");p(m,w,hr,"}","\\rbrace");p(m,w,zr,"[","\\lbrack",!0);p(q,w,M,"[","\\lbrack",!0);p(m,w,hr,"]","\\rbrack",!0);p(q,w,M,"]","\\rbrack",!0);p(m,w,zr,"(","\\lparen",!0);p(m,w,hr,")","\\rparen",!0);p(q,w,M,"<","\\textless",!0);p(q,w,M,">","\\textgreater",!0);p(m,w,zr,"⌊","\\lfloor",!0);p(m,w,hr,"⌋","\\rfloor",!0);p(m,w,zr,"⌈","\\lceil",!0);p(m,w,hr,"⌉","\\rceil",!0);p(m,w,M,"\\","\\backslash");p(m,w,M,"∣","|");p(m,w,M,"∣","\\vert");p(q,w,M,"|","\\textbar",!0);p(m,w,M,"∥","\\|");p(m,w,M,"∥","\\Vert");p(q,w,M,"∥","\\textbardbl");p(q,w,M,"~","\\textasciitilde");p(q,w,M,"\\","\\textbackslash");p(q,w,M,"^","\\textasciicircum");p(m,w,O,"↑","\\uparrow",!0);p(m,w,O,"⇑","\\Uparrow",!0);p(m,w,O,"↓","\\downarrow",!0);p(m,w,O,"⇓","\\Downarrow",!0);p(m,w,O,"↕","\\updownarrow",!0);p(m,w,O,"⇕","\\Updownarrow",!0);p(m,w,Dt,"∐","\\coprod");p(m,w,Dt,"⋁","\\bigvee");p(m,w,Dt,"⋀","\\bigwedge");p(m,w,Dt,"⨄","\\biguplus");p(m,w,Dt,"⋂","\\bigcap");p(m,w,Dt,"⋃","\\bigcup");p(m,w,Dt,"∫","\\int");p(m,w,Dt,"∫","\\intop");p(m,w,Dt,"∬","\\iint");p(m,w,Dt,"∭","\\iiint");p(m,w,Dt,"∏","\\prod");p(m,w,Dt,"∑","\\sum");p(m,w,Dt,"⨂","\\bigotimes");p(m,w,Dt,"⨁","\\bigoplus");p(m,w,Dt,"⨀","\\bigodot");p(m,w,Dt,"∮","\\oint");p(m,w,Dt,"∯","\\oiint");p(m,w,Dt,"∰","\\oiiint");p(m,w,Dt,"⨆","\\bigsqcup");p(m,w,Dt,"∫","\\smallint");p(q,w,Go,"…","\\textellipsis");p(m,w,Go,"…","\\mathellipsis");p(q,w,Go,"…","\\ldots",!0);p(m,w,Go,"…","\\ldots",!0);p(m,w,Go,"⋯","\\@cdots",!0);p(m,w,Go,"⋱","\\ddots",!0);p(m,w,M,"⋮","\\varvdots");p(m,w,ht,"ˊ","\\acute");p(m,w,ht,"ˋ","\\grave");p(m,w,ht,"¨","\\ddot");p(m,w,ht,"~","\\tilde");p(m,w,ht,"ˉ","\\bar");p(m,w,ht,"˘","\\breve");p(m,w,ht,"ˇ","\\check");p(m,w,ht,"^","\\hat");p(m,w,ht,"⃗","\\vec");p(m,w,ht,"˙","\\dot");p(m,w,ht,"˚","\\mathring");p(m,w,be,"","\\@imath");p(m,w,be,"","\\@jmath");p(m,w,M,"ı","ı");p(m,w,M,"ȷ","ȷ");p(q,w,M,"ı","\\i",!0);p(q,w,M,"ȷ","\\j",!0);p(q,w,M,"ß","\\ss",!0);p(q,w,M,"æ","\\ae",!0);p(q,w,M,"œ","\\oe",!0);p(q,w,M,"ø","\\o",!0);p(q,w,M,"Æ","\\AE",!0);p(q,w,M,"Œ","\\OE",!0);p(q,w,M,"Ø","\\O",!0);p(q,w,ht,"ˊ","\\'");p(q,w,ht,"ˋ","\\`");p(q,w,ht,"ˆ","\\^");p(q,w,ht,"˜","\\~");p(q,w,ht,"ˉ","\\=");p(q,w,ht,"˘","\\u");p(q,w,ht,"˙","\\.");p(q,w,ht,"¸","\\c");p(q,w,ht,"˚","\\r");p(q,w,ht,"ˇ","\\v");p(q,w,ht,"¨",'\\"');p(q,w,ht,"˝","\\H");p(q,w,ht,"◯","\\textcircled");var Z7={"--":!0,"---":!0,"``":!0,"''":!0};p(q,w,M,"–","--",!0);p(q,w,M,"–","\\textendash");p(q,w,M,"—","---",!0);p(q,w,M,"—","\\textemdash");p(q,w,M,"‘","`",!0);p(q,w,M,"‘","\\textquoteleft");p(q,w,M,"’","'",!0);p(q,w,M,"’","\\textquoteright");p(q,w,M,"“","``",!0);p(q,w,M,"“","\\textquotedblleft");p(q,w,M,"”","''",!0);p(q,w,M,"”","\\textquotedblright");p(m,w,M,"°","\\degree",!0);p(q,w,M,"°","\\degree");p(q,w,M,"°","\\textdegree",!0);p(m,w,M,"£","\\pounds");p(m,w,M,"£","\\mathsterling",!0);p(q,w,M,"£","\\pounds");p(q,w,M,"£","\\textsterling",!0);p(m,_,M,"✠","\\maltese");p(q,_,M,"✠","\\maltese");var Fy='0123456789/@."';for(var id=0;id0)return ln(a,u,i,e,o.concat(c));if(l){var h,d;if(l==="boldsymbol"){var f=jD(a,i,e,o,n);h=f.fontName,d=[f.fontClass]}else s?(h=t$[l].fontName,d=[l]):(h=Pu(l,e.fontWeight,e.fontShape),d=[l,e.fontWeight,e.fontShape]);if(Ah(a,h,i).metrics)return ln(a,h,i,e,o.concat(d));if(Z7.hasOwnProperty(a)&&h.slice(0,10)==="Typewriter"){for(var v=[],g=0;g{if(Ni(t.classes)!==Ni(r.classes)||t.skew!==r.skew||t.maxFontSize!==r.maxFontSize)return!1;if(t.classes.length===1){var e=t.classes[0];if(e==="mbin"||e==="mord")return!1}for(var n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==r.style[n])return!1;for(var i in r.style)if(r.style.hasOwnProperty(i)&&t.style[i]!==r.style[i])return!1;return!0},qD=t=>{for(var r=0;re&&(e=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>i&&(i=o.maxFontSize)}r.height=e,r.depth=n,r.maxFontSize=i},gr=function(r,e,n,i){var a=new _l(r,e,n,i);return zm(a),a},Q7=(t,r,e,n)=>new _l(t,r,e,n),UD=function(r,e,n){var i=gr([r],[],e);return i.height=Math.max(n||e.fontMetrics().defaultRuleThickness,e.minRuleThickness),i.style.borderBottomWidth=te(i.height),i.maxFontSize=1,i},VD=function(r,e,n,i){var a=new Fm(r,e,n,i);return zm(a),a},e$=function(r){var e=new Tl(r);return zm(e),e},GD=function(r,e){return r instanceof Tl?gr([],[r],e):r},KD=function(r){if(r.positionType==="individualShift"){for(var e=r.children,n=[e[0]],i=-e[0].shift-e[0].elem.depth,a=i,o=1;o{var e=gr(["mspace"],[],r),n=pt(t,r);return e.style.marginRight=te(n),e},Pu=function(r,e,n){var i="";switch(r){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=r}var a;return e==="textbf"&&n==="textit"?a="BoldItalic":e==="textbf"?a="Bold":e==="textit"?a="Italic":a="Regular",i+"-"+a},t$={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},r$={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},JD=function(r,e){var[n,i,a]=r$[r],o=new Ri(n),s=new ri([o],{width:te(i),height:te(a),style:"width:"+te(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=Q7(["overlay"],[s],e);return l.height=a,l.style.height=te(a),l.style.width=te(i),l},N={fontMap:t$,makeSymbol:ln,mathsym:LD,makeSpan:gr,makeSvgSpan:Q7,makeLineSpan:UD,makeAnchor:VD,makeFragment:e$,wrapFragment:GD,makeVList:YD,makeOrd:HD,makeGlue:XD,staticSvg:JD,svgData:r$,tryCombineChars:qD},vt={number:3,unit:"mu"},ra={number:4,unit:"mu"},Hn={number:5,unit:"mu"},ZD={mord:{mop:vt,mbin:ra,mrel:Hn,minner:vt},mop:{mord:vt,mop:vt,mrel:Hn,minner:vt},mbin:{mord:ra,mop:ra,mopen:ra,minner:ra},mrel:{mord:Hn,mop:Hn,mopen:Hn,minner:Hn},mopen:{},mclose:{mop:vt,mbin:ra,mrel:Hn,minner:vt},mpunct:{mord:vt,mop:vt,mrel:Hn,mopen:vt,mclose:vt,mpunct:vt,minner:vt},minner:{mord:vt,mop:vt,mbin:ra,mrel:Hn,mopen:vt,mpunct:vt,minner:vt}},QD={mord:{mop:vt},mop:{mord:vt,mop:vt},mbin:{},mrel:{},mopen:{},mclose:{mop:vt},mpunct:{},minner:{mop:vt}},n$={},Xc={},Jc={};function se(t){for(var{type:r,names:e,props:n,handler:i,htmlBuilder:a,mathmlBuilder:o}=t,s={type:r,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},l=0;l{var b=g.classes[0],y=v.classes[0];b==="mbin"&&ge.contains(tN,y)?g.classes[0]="mord":y==="mbin"&&ge.contains(eN,b)&&(v.classes[0]="mord")},{node:h},d,f),Hy(a,(v,g)=>{var b=Kv(g),y=Kv(v),$=b&&y?v.hasClass("mtight")?QD[b][y]:ZD[b][y]:null;if($)return N.makeGlue($,u)},{node:h},d,f),a},Hy=function t(r,e,n,i,a){i&&r.push(i);for(var o=0;od=>{r.splice(h+1,0,d),o++})(o)}i&&r.pop()},i$=function(r){return r instanceof Tl||r instanceof Fm||r instanceof _l&&r.hasClass("enclosing")?r:null},iN=function t(r,e){var n=i$(r);if(n){var i=n.children;if(i.length){if(e==="right")return t(i[i.length-1],"right");if(e==="left")return t(i[0],"left")}}return r},Kv=function(r,e){return r?(e&&(r=iN(r,e)),nN[r.classes[0]]||null):null},il=function(r,e){var n=["nulldelimiter"].concat(r.baseSizingClasses());return ni(e.concat(n))},je=function(r,e,n){if(!r)return ni();if(Xc[r.type]){var i=Xc[r.type](r,e);if(n&&e.size!==n.size){i=ni(e.sizingClasses(n),[i],e);var a=e.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new Y("Got group of unknown type: '"+r.type+"'")};function Au(t,r){var e=ni(["base"],t,r),n=ni(["strut"]);return n.style.height=te(e.height+e.depth),e.depth&&(n.style.verticalAlign=te(-e.depth)),e.children.unshift(n),e}function Yv(t,r){var e=null;t.length===1&&t[0].type==="tag"&&(e=t[0].tag,t=t[0].body);var n=zt(t,r,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],o=[],s=0;s0&&(a.push(Au(o,r)),o=[]),a.push(n[s]));o.length>0&&a.push(Au(o,r));var u;e?(u=Au(zt(e,r,!0)),u.classes=["tag"],a.push(u)):i&&a.push(i);var c=ni(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),u){var h=u.children[0];h.style.height=te(c.height+c.depth),c.depth&&(h.style.verticalAlign=te(-c.depth))}return c}function a$(t){return new Tl(t)}class Gr{constructor(r,e,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=r,this.attributes={},this.children=e||[],this.classes=n||[]}setAttribute(r,e){this.attributes[r]=e}getAttribute(r){return this.attributes[r]}toNode(){var r=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&r.setAttribute(e,this.attributes[e]);this.classes.length>0&&(r.className=Ni(this.classes));for(var n=0;n0&&(r+=' class ="'+ge.escape(Ni(this.classes))+'"'),r+=">";for(var n=0;n",r}toText(){return this.children.map(r=>r.toText()).join("")}}class js{constructor(r){this.text=void 0,this.text=r}toNode(){return document.createTextNode(this.text)}toMarkup(){return ge.escape(this.toText())}toText(){return this.text}}class aN{constructor(r){this.width=void 0,this.character=void 0,this.width=r,r>=.05555&&r<=.05556?this.character=" ":r>=.1666&&r<=.1667?this.character=" ":r>=.2222&&r<=.2223?this.character=" ":r>=.2777&&r<=.2778?this.character="  ":r>=-.05556&&r<=-.05555?this.character=" ⁣":r>=-.1667&&r<=-.1666?this.character=" ⁣":r>=-.2223&&r<=-.2222?this.character=" ⁣":r>=-.2778&&r<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var r=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return r.setAttribute("width",te(this.width)),r}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var U={MathNode:Gr,TextNode:js,SpaceNode:aN,newDocumentFragment:a$},en=function(r,e,n){return ut[e][r]&&ut[e][r].replace&&r.charCodeAt(0)!==55349&&!(Z7.hasOwnProperty(r)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(r=ut[e][r].replace),new U.TextNode(r)},Bm=function(r){return r.length===1?r[0]:new U.MathNode("mrow",r)},Lm=function(r,e){if(e.fontFamily==="texttt")return"monospace";if(e.fontFamily==="textsf")return e.fontShape==="textit"&&e.fontWeight==="textbf"?"sans-serif-bold-italic":e.fontShape==="textit"?"sans-serif-italic":e.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(e.fontShape==="textit"&&e.fontWeight==="textbf")return"bold-italic";if(e.fontShape==="textit")return"italic";if(e.fontWeight==="textbf")return"bold";var n=e.font;if(!n||n==="mathnormal")return null;var i=r.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return r.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=r.text;if(ge.contains(["\\imath","\\jmath"],a))return null;ut[i][a]&&ut[i][a].replace&&(a=ut[i][a].replace);var o=N.fontMap[n].fontName;return Rm(a,o,i)?N.fontMap[n].variant:null},Tr=function(r,e,n){if(r.length===1){var i=it(r[0],e);return n&&i instanceof Gr&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],o,s=0;s0&&(h.text=h.text.slice(0,1)+"̸"+h.text.slice(1),a.pop())}}}a.push(l),o=l}return a},Fi=function(r,e,n){return Bm(Tr(r,e,n))},it=function(r,e){if(!r)return new U.MathNode("mrow");if(Jc[r.type]){var n=Jc[r.type](r,e);return n}else throw new Y("Got group of unknown type: '"+r.type+"'")};function Wy(t,r,e,n,i){var a=Tr(t,e),o;a.length===1&&a[0]instanceof Gr&&ge.contains(["mrow","mtable"],a[0].type)?o=a[0]:o=new U.MathNode("mrow",a);var s=new U.MathNode("annotation",[new U.TextNode(r)]);s.setAttribute("encoding","application/x-tex");var l=new U.MathNode("semantics",[o,s]),u=new U.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var c=i?"katex":"katex-mathml";return N.makeSpan([c],[u])}var o$=function(r){return new Wn({style:r.displayMode?we.DISPLAY:we.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},s$=function(r,e){if(e.displayMode){var n=["katex-display"];e.leqno&&n.push("leqno"),e.fleqn&&n.push("fleqn"),r=N.makeSpan(n,[r])}return r},oN=function(r,e,n){var i=o$(n),a;if(n.output==="mathml")return Wy(r,e,i,n.displayMode,!0);if(n.output==="html"){var o=Yv(r,i);a=N.makeSpan(["katex"],[o])}else{var s=Wy(r,e,i,n.displayMode,!1),l=Yv(r,i);a=N.makeSpan(["katex"],[s,l])}return s$(a,n)},sN=function(r,e,n){var i=o$(n),a=Yv(r,i),o=N.makeSpan(["katex"],[a]);return s$(o,n)},lN={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},uN=function(r){var e=new U.MathNode("mo",[new U.TextNode(lN[r.replace(/^\\/,"")])]);return e.setAttribute("stretchy","true"),e},cN={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},hN=function(r){return r.type==="ordgroup"?r.body.length:1},dN=function(r,e){function n(){var s=4e5,l=r.label.slice(1);if(ge.contains(["widehat","widecheck","widetilde","utilde"],l)){var u=r,c=hN(u.base),h,d,f;if(c>5)l==="widehat"||l==="widecheck"?(h=420,s=2364,f=.42,d=l+"4"):(h=312,s=2340,f=.34,d="tilde4");else{var v=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][v],h=[0,239,300,360,420][v],f=[0,.24,.3,.3,.36,.42][v],d=l+v):(s=[0,600,1033,2339,2340][v],h=[0,260,286,306,312][v],f=[0,.26,.286,.3,.306,.34][v],d="tilde"+v)}var g=new Ri(d),b=new ri([g],{width:"100%",height:te(f),viewBox:"0 0 "+s+" "+h,preserveAspectRatio:"none"});return{span:N.makeSvgSpan([],[b],e),minWidth:0,height:f}}else{var y=[],$=cN[l],[k,T,P]=$,E=P/1e3,D=k.length,B,R;if(D===1){var A=$[3];B=["hide-tail"],R=[A]}else if(D===2)B=["halfarrow-left","halfarrow-right"],R=["xMinYMin","xMaxYMin"];else if(D===3)B=["brace-left","brace-center","brace-right"],R=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+D+" children.");for(var z=0;z0&&(i.style.minWidth=te(a)),i},fN=function(r,e,n,i,a){var o,s=r.height+r.depth+n+i;if(/fbox|color|angl/.test(e)){if(o=N.makeSpan(["stretchy",e],[],a),e==="fbox"){var l=a.color&&a.getColor();l&&(o.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(e)&&u.push(new Vv({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(e)&&u.push(new Vv({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new ri(u,{width:"100%",height:te(s)});o=N.makeSvgSpan([],[c],a)}return o.height=s,o.style.height=te(s),o},ii={encloseSpan:fN,mathMLnode:uN,svgSpan:dN};function Pe(t,r){if(!t||t.type!==r)throw new Error("Expected node of type "+r+", but got "+(t?"node of type "+t.type:String(t)));return t}function jm(t){var r=Mh(t);if(!r)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return r}function Mh(t){return t&&(t.type==="atom"||zD.hasOwnProperty(t.type))?t:null}var Hm=(t,r)=>{var e,n,i;t&&t.type==="supsub"?(n=Pe(t.base,"accent"),e=n.base,t.base=e,i=RD(je(t,r)),t.base=n):(n=Pe(t,"accent"),e=n.base);var a=je(e,r.havingCrampedStyle()),o=n.isShifty&&ge.isCharacterBox(e),s=0;if(o){var l=ge.getBaseElem(e),u=je(l,r.havingCrampedStyle());s=Ry(u).skew}var c=n.label==="\\c",h=c?a.height+a.depth:Math.min(a.height,r.fontMetrics().xHeight),d;if(n.isStretchy)d=ii.svgSpan(n,r),d=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+te(2*s)+")",marginLeft:te(2*s)}:void 0}]},r);else{var f,v;n.label==="\\vec"?(f=N.staticSvg("vec",r),v=N.svgData.vec[1]):(f=N.makeOrd({mode:n.mode,text:n.label},r,"textord"),f=Ry(f),f.italic=0,v=f.width,c&&(h+=f.depth)),d=N.makeSpan(["accent-body"],[f]);var g=n.label==="\\textcircled";g&&(d.classes.push("accent-full"),h=a.height);var b=s;g||(b-=v/2),d.style.left=te(b),n.label==="\\textcircled"&&(d.style.top=".2em"),d=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:d}]},r)}var y=N.makeSpan(["mord","accent"],[d],r);return i?(i.children[0]=y,i.height=Math.max(y.height,i.height),i.classes[0]="mord",i):y},l$=(t,r)=>{var e=t.isStretchy?ii.mathMLnode(t.label):new U.MathNode("mo",[en(t.label,t.mode)]),n=new U.MathNode("mover",[it(t.base,r),e]);return n.setAttribute("accent","true"),n},vN=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));se({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,r)=>{var e=Zc(r[0]),n=!vN.test(t.funcName),i=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:i,base:e}},htmlBuilder:Hm,mathmlBuilder:l$});se({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,r)=>{var e=r[0],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:e}},htmlBuilder:Hm,mathmlBuilder:l$});se({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=r[0];return{type:"accentUnder",mode:e.mode,label:n,base:i}},htmlBuilder:(t,r)=>{var e=je(t.base,r),n=ii.svgSpan(t,r),i=t.label==="\\utilde"?.12:0,a=N.makeVList({positionType:"top",positionData:e.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:e}]},r);return N.makeSpan(["mord","accentunder"],[a],r)},mathmlBuilder:(t,r)=>{var e=ii.mathMLnode(t.label),n=new U.MathNode("munder",[it(t.base,r),e]);return n.setAttribute("accentunder","true"),n}});var Mu=t=>{var r=new U.MathNode("mpadded",t?[t]:[]);return r.setAttribute("width","+0.6em"),r.setAttribute("lspace","0.3em"),r};se({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,r,e){var{parser:n,funcName:i}=t;return{type:"xArrow",mode:n.mode,label:i,body:r[0],below:e[0]}},htmlBuilder(t,r){var e=r.style,n=r.havingStyle(e.sup()),i=N.wrapFragment(je(t.body,n,r),r),a=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var o;t.below&&(n=r.havingStyle(e.sub()),o=N.wrapFragment(je(t.below,n,r),r),o.classes.push(a+"-arrow-pad"));var s=ii.svgSpan(t,r),l=-r.fontMetrics().axisHeight+.5*s.height,u=-r.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(u-=i.depth);var c;if(o){var h=-r.fontMetrics().axisHeight+o.height+.5*s.height+.111;c=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:h}]},r)}else c=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l}]},r);return c.children[0].children[0].children[1].classes.push("svg-align"),N.makeSpan(["mrel","x-arrow"],[c],r)},mathmlBuilder(t,r){var e=ii.mathMLnode(t.label);e.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var i=Mu(it(t.body,r));if(t.below){var a=Mu(it(t.below,r));n=new U.MathNode("munderover",[e,a,i])}else n=new U.MathNode("mover",[e,i])}else if(t.below){var o=Mu(it(t.below,r));n=new U.MathNode("munder",[e,o])}else n=Mu(),n=new U.MathNode("mover",[e,n]);return n}});var pN=N.makeSpan;function u$(t,r){var e=zt(t.body,r,!0);return pN([t.mclass],e,r)}function c$(t,r){var e,n=Tr(t.body,r);return t.mclass==="minner"?e=new U.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(e=n[0],e.type="mi"):e=new U.MathNode("mi",n):(t.isCharacterBox?(e=n[0],e.type="mo"):e=new U.MathNode("mo",n),t.mclass==="mbin"?(e.attributes.lspace="0.22em",e.attributes.rspace="0.22em"):t.mclass==="mpunct"?(e.attributes.lspace="0em",e.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(e.attributes.lspace="0em",e.attributes.rspace="0em"):t.mclass==="minner"&&(e.attributes.lspace="0.0556em",e.attributes.width="+0.1111em")),e}se({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,r){var{parser:e,funcName:n}=t,i=r[0];return{type:"mclass",mode:e.mode,mclass:"m"+n.slice(5),body:_t(i),isCharacterBox:ge.isCharacterBox(i)}},htmlBuilder:u$,mathmlBuilder:c$});var Dh=t=>{var r=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return r.type==="atom"&&(r.family==="bin"||r.family==="rel")?"m"+r.family:"mord"};se({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,r){var{parser:e}=t;return{type:"mclass",mode:e.mode,mclass:Dh(r[0]),body:_t(r[1]),isCharacterBox:ge.isCharacterBox(r[1])}}});se({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,r){var{parser:e,funcName:n}=t,i=r[1],a=r[0],o;n!=="\\stackrel"?o=Dh(i):o="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:_t(i)},l={type:"supsub",mode:a.mode,base:s,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:e.mode,mclass:o,body:[l],isCharacterBox:ge.isCharacterBox(l)}},htmlBuilder:u$,mathmlBuilder:c$});se({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,r){var{parser:e}=t;return{type:"pmb",mode:e.mode,mclass:Dh(r[0]),body:_t(r[0])}},htmlBuilder(t,r){var e=zt(t.body,r,!0),n=N.makeSpan([t.mclass],e,r);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,r){var e=Tr(t.body,r),n=new U.MathNode("mstyle",e);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var mN={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},qy=()=>({type:"styling",body:[],mode:"math",style:"display"}),Uy=t=>t.type==="textord"&&t.text==="@",gN=(t,r)=>(t.type==="mathord"||t.type==="atom")&&t.text===r;function yN(t,r,e){var n=mN[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return e.callFunction(n,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var i=e.callFunction("\\\\cdleft",[r[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},o=e.callFunction("\\Big",[a],[]),s=e.callFunction("\\\\cdright",[r[1]],[]),l={type:"ordgroup",mode:"math",body:[i,o,s]};return e.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return e.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return e.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function bN(t){var r=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){r.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var e=t.fetch().text;if(e==="&"||e==="\\\\")t.consume();else if(e==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new Y("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],i=[n],a=0;a-1))if("<>AV".indexOf(u)>-1)for(var h=0;h<2;h++){for(var d=!0,f=l+1;fAV=|." after @',o[l]);var v=yN(u,c,t),g={type:"styling",body:[v],mode:"math",style:"display"};n.push(g),s=qy()}a%2===0?n.push(s):n.shift(),n=[],i.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var b=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:b,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}se({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,r){var{parser:e,funcName:n}=t;return{type:"cdlabel",mode:e.mode,side:n.slice(4),label:r[0]}},htmlBuilder(t,r){var e=r.havingStyle(r.style.sup()),n=N.wrapFragment(je(t.label,e,r),r);return n.classes.push("cd-label-"+t.side),n.style.bottom=te(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,r){var e=new U.MathNode("mrow",[it(t.label,r)]);return e=new U.MathNode("mpadded",[e]),e.setAttribute("width","0"),t.side==="left"&&e.setAttribute("lspace","-1width"),e.setAttribute("voffset","0.7em"),e=new U.MathNode("mstyle",[e]),e.setAttribute("displaystyle","false"),e.setAttribute("scriptlevel","1"),e}});se({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,r){var{parser:e}=t;return{type:"cdlabelparent",mode:e.mode,fragment:r[0]}},htmlBuilder(t,r){var e=N.wrapFragment(je(t.fragment,r),r);return e.classes.push("cd-vert-arrow"),e},mathmlBuilder(t,r){return new U.MathNode("mrow",[it(t.fragment,r)])}});se({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,r){for(var{parser:e}=t,n=Pe(r[0],"ordgroup"),i=n.body,a="",o=0;o=1114111)throw new Y("\\@char with invalid code point "+a);return l<=65535?u=String.fromCharCode(l):(l-=65536,u=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:e.mode,text:u}}});var h$=(t,r)=>{var e=zt(t.body,r.withColor(t.color),!1);return N.makeFragment(e)},d$=(t,r)=>{var e=Tr(t.body,r.withColor(t.color)),n=new U.MathNode("mstyle",e);return n.setAttribute("mathcolor",t.color),n};se({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,r){var{parser:e}=t,n=Pe(r[0],"color-token").color,i=r[1];return{type:"color",mode:e.mode,color:n,body:_t(i)}},htmlBuilder:h$,mathmlBuilder:d$});se({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,r){var{parser:e,breakOnTokenText:n}=t,i=Pe(r[0],"color-token").color;e.gullet.macros.set("\\current@color",i);var a=e.parseExpression(!0,n);return{type:"color",mode:e.mode,color:i,body:a}},htmlBuilder:h$,mathmlBuilder:d$});se({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,r,e){var{parser:n}=t,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&Pe(i,"size").value}},htmlBuilder(t,r){var e=N.makeSpan(["mspace"],[],r);return t.newLine&&(e.classes.push("newline"),t.size&&(e.style.marginTop=te(pt(t.size,r)))),e},mathmlBuilder(t,r){var e=new U.MathNode("mspace");return t.newLine&&(e.setAttribute("linebreak","newline"),t.size&&e.setAttribute("height",te(pt(t.size,r)))),e}});var Xv={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},f$=t=>{var r=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new Y("Expected a control sequence",t);return r},wN=t=>{var r=t.gullet.popToken();return r.text==="="&&(r=t.gullet.popToken(),r.text===" "&&(r=t.gullet.popToken())),r},v$=(t,r,e,n)=>{var i=t.gullet.macros.get(e.text);i==null&&(e.noexpand=!0,i={tokens:[e],numArgs:0,unexpandable:!t.gullet.isExpandable(e.text)}),t.gullet.macros.set(r,i,n)};se({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:r,funcName:e}=t;r.consumeSpaces();var n=r.fetch();if(Xv[n.text])return(e==="\\global"||e==="\\\\globallong")&&(n.text=Xv[n.text]),Pe(r.parseFunction(),"internal");throw new Y("Invalid token after macro prefix",n)}});se({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:r,funcName:e}=t,n=r.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new Y("Expected a control sequence",n);for(var a=0,o,s=[[]];r.gullet.future().text!=="{";)if(n=r.gullet.popToken(),n.text==="#"){if(r.gullet.future().text==="{"){o=r.gullet.future(),s[a].push("{");break}if(n=r.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new Y('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new Y('Argument number "'+n.text+'" out of order');a++,s.push([])}else{if(n.text==="EOF")throw new Y("Expected a macro definition");s[a].push(n.text)}var{tokens:l}=r.gullet.consumeArg();return o&&l.unshift(o),(e==="\\edef"||e==="\\xdef")&&(l=r.gullet.expandTokens(l),l.reverse()),r.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:s},e===Xv[e]),{type:"internal",mode:r.mode}}});se({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:r,funcName:e}=t,n=f$(r.gullet.popToken());r.gullet.consumeSpaces();var i=wN(r);return v$(r,n,i,e==="\\\\globallet"),{type:"internal",mode:r.mode}}});se({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:r,funcName:e}=t,n=f$(r.gullet.popToken()),i=r.gullet.popToken(),a=r.gullet.popToken();return v$(r,n,a,e==="\\\\globalfuture"),r.gullet.pushToken(a),r.gullet.pushToken(i),{type:"internal",mode:r.mode}}});var Ds=function(r,e,n){var i=ut.math[r]&&ut.math[r].replace,a=Rm(i||r,e,n);if(!a)throw new Error("Unsupported symbol "+r+" and font size "+e+".");return a},Wm=function(r,e,n,i){var a=n.havingBaseStyle(e),o=N.makeSpan(i.concat(a.sizingClasses(n)),[r],n),s=a.sizeMultiplier/n.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=a.sizeMultiplier,o},p$=function(r,e,n){var i=e.havingBaseStyle(n),a=(1-e.sizeMultiplier/i.sizeMultiplier)*e.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=te(a),r.height-=a,r.depth+=a},$N=function(r,e,n,i,a,o){var s=N.makeSymbol(r,"Main-Regular",a,i),l=Wm(s,e,i,o);return n&&p$(l,i,e),l},xN=function(r,e,n,i){return N.makeSymbol(r,"Size"+e+"-Regular",n,i)},m$=function(r,e,n,i,a,o){var s=xN(r,e,a,i),l=Wm(N.makeSpan(["delimsizing","size"+e],[s],i),we.TEXT,i,o);return n&&p$(l,i,we.TEXT),l},ld=function(r,e,n){var i;e==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=N.makeSpan(["delimsizinginner",i],[N.makeSpan([],[N.makeSymbol(r,e,n)])]);return{type:"elem",elem:a}},ud=function(r,e,n){var i=En["Size4-Regular"][r.charCodeAt(0)]?En["Size4-Regular"][r.charCodeAt(0)][4]:En["Size1-Regular"][r.charCodeAt(0)][4],a=new Ri("inner",OD(r,Math.round(1e3*e))),o=new ri([a],{width:te(i),height:te(e),style:"width:"+te(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*e),preserveAspectRatio:"xMinYMin"}),s=N.makeSvgSpan([],[o],n);return s.height=e,s.style.height=te(e),s.style.width=te(i),{type:"elem",elem:s}},Jv=.008,Du={type:"kern",size:-1*Jv},kN=["|","\\lvert","\\rvert","\\vert"],SN=["\\|","\\lVert","\\rVert","\\Vert"],g$=function(r,e,n,i,a,o){var s,l,u,c,h="",d=0;s=u=c=r,l=null;var f="Size1-Regular";r==="\\uparrow"?u=c="⏐":r==="\\Uparrow"?u=c="‖":r==="\\downarrow"?s=u="⏐":r==="\\Downarrow"?s=u="‖":r==="\\updownarrow"?(s="\\uparrow",u="⏐",c="\\downarrow"):r==="\\Updownarrow"?(s="\\Uparrow",u="‖",c="\\Downarrow"):ge.contains(kN,r)?(u="∣",h="vert",d=333):ge.contains(SN,r)?(u="∥",h="doublevert",d=556):r==="["||r==="\\lbrack"?(s="⎡",u="⎢",c="⎣",f="Size4-Regular",h="lbrack",d=667):r==="]"||r==="\\rbrack"?(s="⎤",u="⎥",c="⎦",f="Size4-Regular",h="rbrack",d=667):r==="\\lfloor"||r==="⌊"?(u=s="⎢",c="⎣",f="Size4-Regular",h="lfloor",d=667):r==="\\lceil"||r==="⌈"?(s="⎡",u=c="⎢",f="Size4-Regular",h="lceil",d=667):r==="\\rfloor"||r==="⌋"?(u=s="⎥",c="⎦",f="Size4-Regular",h="rfloor",d=667):r==="\\rceil"||r==="⌉"?(s="⎤",u=c="⎥",f="Size4-Regular",h="rceil",d=667):r==="("||r==="\\lparen"?(s="⎛",u="⎜",c="⎝",f="Size4-Regular",h="lparen",d=875):r===")"||r==="\\rparen"?(s="⎞",u="⎟",c="⎠",f="Size4-Regular",h="rparen",d=875):r==="\\{"||r==="\\lbrace"?(s="⎧",l="⎨",c="⎩",u="⎪",f="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(s="⎫",l="⎬",c="⎭",u="⎪",f="Size4-Regular"):r==="\\lgroup"||r==="⟮"?(s="⎧",c="⎩",u="⎪",f="Size4-Regular"):r==="\\rgroup"||r==="⟯"?(s="⎫",c="⎭",u="⎪",f="Size4-Regular"):r==="\\lmoustache"||r==="⎰"?(s="⎧",c="⎭",u="⎪",f="Size4-Regular"):(r==="\\rmoustache"||r==="⎱")&&(s="⎫",c="⎩",u="⎪",f="Size4-Regular");var v=Ds(s,f,a),g=v.height+v.depth,b=Ds(u,f,a),y=b.height+b.depth,$=Ds(c,f,a),k=$.height+$.depth,T=0,P=1;if(l!==null){var E=Ds(l,f,a);T=E.height+E.depth,P=2}var D=g+k+T,B=Math.max(0,Math.ceil((e-D)/(P*y))),R=D+B*P*y,A=i.fontMetrics().axisHeight;n&&(A*=i.sizeMultiplier);var z=R/2-A,L=[];if(h.length>0){var Z=R-g-k,ie=Math.round(R*1e3),oe=ID(h,Math.round(Z*1e3)),me=new Ri(h,oe),Oe=(d/1e3).toFixed(3)+"em",ze=(ie/1e3).toFixed(3)+"em",He=new ri([me],{width:Oe,height:ze,viewBox:"0 0 "+d+" "+ie}),C=N.makeSvgSpan([],[He],i);C.height=ie/1e3,C.style.width=Oe,C.style.height=ze,L.push({type:"elem",elem:C})}else{if(L.push(ld(c,f,a)),L.push(Du),l===null){var Me=R-g-k+2*Jv;L.push(ud(u,Me,i))}else{var V=(R-g-k-T)/2+2*Jv;L.push(ud(u,V,i)),L.push(Du),L.push(ld(l,f,a)),L.push(Du),L.push(ud(u,V,i))}L.push(Du),L.push(ld(s,f,a))}var S=i.havingBaseStyle(we.TEXT),pe=N.makeVList({positionType:"bottom",positionData:z,children:L},S);return Wm(N.makeSpan(["delimsizing","mult"],[pe],S),we.TEXT,i,o)},cd=80,hd=.08,dd=function(r,e,n,i,a){var o=_D(r,i,n),s=new Ri(r,o),l=new ri([s],{width:"400em",height:te(e),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return N.makeSvgSpan(["hide-tail"],[l],a)},EN=function(r,e){var n=e.havingBaseSizing(),i=$$("\\surd",r*n.sizeMultiplier,w$,n),a=n.sizeMultiplier,o=Math.max(0,e.minRuleThickness-e.fontMetrics().sqrtRuleThickness),s,l=0,u=0,c=0,h;return i.type==="small"?(c=1e3+1e3*o+cd,r<1?a=1:r<1.4&&(a=.7),l=(1+o+hd)/a,u=(1+o)/a,s=dd("sqrtMain",l,c,o,e),s.style.minWidth="0.853em",h=.833/a):i.type==="large"?(c=(1e3+cd)*Hs[i.size],u=(Hs[i.size]+o)/a,l=(Hs[i.size]+o+hd)/a,s=dd("sqrtSize"+i.size,l,c,o,e),s.style.minWidth="1.02em",h=1/a):(l=r+o+hd,u=r+o,c=Math.floor(1e3*r+o)+cd,s=dd("sqrtTall",l,c,o,e),s.style.minWidth="0.742em",h=1.056),s.height=u,s.style.height=te(l),{span:s,advanceWidth:h,ruleWidth:(e.fontMetrics().sqrtRuleThickness+o)*a}},y$=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],TN=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],b$=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Hs=[0,1.2,1.8,2.4,3],_N=function(r,e,n,i,a){if(r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle"),ge.contains(y$,r)||ge.contains(b$,r))return m$(r,e,!1,n,i,a);if(ge.contains(TN,r))return g$(r,Hs[e],!1,n,i,a);throw new Y("Illegal delimiter: '"+r+"'")},ON=[{type:"small",style:we.SCRIPTSCRIPT},{type:"small",style:we.SCRIPT},{type:"small",style:we.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],IN=[{type:"small",style:we.SCRIPTSCRIPT},{type:"small",style:we.SCRIPT},{type:"small",style:we.TEXT},{type:"stack"}],w$=[{type:"small",style:we.SCRIPTSCRIPT},{type:"small",style:we.SCRIPT},{type:"small",style:we.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],CN=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},$$=function(r,e,n,i){for(var a=Math.min(2,3-i.style.size),o=a;oe)return n[o]}return n[n.length-1]},x$=function(r,e,n,i,a,o){r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle");var s;ge.contains(b$,r)?s=ON:ge.contains(y$,r)?s=w$:s=IN;var l=$$(r,e,s,i);return l.type==="small"?$N(r,l.style,n,i,a,o):l.type==="large"?m$(r,l.size,n,i,a,o):g$(r,e,n,i,a,o)},PN=function(r,e,n,i,a,o){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,u=5/i.fontMetrics().ptPerEm,c=Math.max(e-s,n+s),h=Math.max(c/500*l,2*c-u);return x$(r,h,!0,i,a,o)},Vn={sqrtImage:EN,sizedDelim:_N,sizeToMaxHeight:Hs,customSizedDelim:x$,leftRightDelim:PN},Vy={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},AN=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Nh(t,r){var e=Mh(t);if(e&&ge.contains(AN,e.text))return e;throw e?new Y("Invalid delimiter '"+e.text+"' after '"+r.funcName+"'",t):new Y("Invalid delimiter type '"+t.type+"'",t)}se({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,r)=>{var e=Nh(r[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Vy[t.funcName].size,mclass:Vy[t.funcName].mclass,delim:e.text}},htmlBuilder:(t,r)=>t.delim==="."?N.makeSpan([t.mclass]):Vn.sizedDelim(t.delim,t.size,r,t.mode,[t.mclass]),mathmlBuilder:t=>{var r=[];t.delim!=="."&&r.push(en(t.delim,t.mode));var e=new U.MathNode("mo",r);t.mclass==="mopen"||t.mclass==="mclose"?e.setAttribute("fence","true"):e.setAttribute("fence","false"),e.setAttribute("stretchy","true");var n=te(Vn.sizeToMaxHeight[t.size]);return e.setAttribute("minsize",n),e.setAttribute("maxsize",n),e}});function Gy(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}se({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,r)=>{var e=t.parser.gullet.macros.get("\\current@color");if(e&&typeof e!="string")throw new Y("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Nh(r[0],t).text,color:e}}});se({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,r)=>{var e=Nh(r[0],t),n=t.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=Pe(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:e.text,right:a.delim,rightColor:a.color}},htmlBuilder:(t,r)=>{Gy(t);for(var e=zt(t.body,r,!0,["mopen","mclose"]),n=0,i=0,a=!1,o=0;o{Gy(t);var e=Tr(t.body,r);if(t.left!=="."){var n=new U.MathNode("mo",[en(t.left,t.mode)]);n.setAttribute("fence","true"),e.unshift(n)}if(t.right!=="."){var i=new U.MathNode("mo",[en(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),e.push(i)}return Bm(e)}});se({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,r)=>{var e=Nh(r[0],t);if(!t.parser.leftrightDepth)throw new Y("\\middle without preceding \\left",e);return{type:"middle",mode:t.parser.mode,delim:e.text}},htmlBuilder:(t,r)=>{var e;if(t.delim===".")e=il(r,[]);else{e=Vn.sizedDelim(t.delim,1,r,t.mode,[]);var n={delim:t.delim,options:r};e.isMiddle=n}return e},mathmlBuilder:(t,r)=>{var e=t.delim==="\\vert"||t.delim==="|"?en("|","text"):en(t.delim,t.mode),n=new U.MathNode("mo",[e]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var qm=(t,r)=>{var e=N.wrapFragment(je(t.body,r),r),n=t.label.slice(1),i=r.sizeMultiplier,a,o=0,s=ge.isCharacterBox(t.body);if(n==="sout")a=N.makeSpan(["stretchy","sout"]),a.height=r.fontMetrics().defaultRuleThickness/i,o=-.5*r.fontMetrics().xHeight;else if(n==="phase"){var l=pt({number:.6,unit:"pt"},r),u=pt({number:.35,unit:"ex"},r),c=r.havingBaseSizing();i=i/c.sizeMultiplier;var h=e.height+e.depth+l+u;e.style.paddingLeft=te(h/2+l);var d=Math.floor(1e3*h*i),f=ED(d),v=new ri([new Ri("phase",f)],{width:"400em",height:te(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});a=N.makeSvgSpan(["hide-tail"],[v],r),a.style.height=te(h),o=e.depth+l+u}else{/cancel/.test(n)?s||e.classes.push("cancel-pad"):n==="angl"?e.classes.push("anglpad"):e.classes.push("boxpad");var g=0,b=0,y=0;/box/.test(n)?(y=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness),g=r.fontMetrics().fboxsep+(n==="colorbox"?0:y),b=g):n==="angl"?(y=Math.max(r.fontMetrics().defaultRuleThickness,r.minRuleThickness),g=4*y,b=Math.max(0,.25-e.depth)):(g=s?.2:0,b=g),a=ii.encloseSpan(e,n,g,b,r),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=te(y)):n==="angl"&&y!==.049&&(a.style.borderTopWidth=te(y),a.style.borderRightWidth=te(y)),o=e.depth+b,t.backgroundColor&&(a.style.backgroundColor=t.backgroundColor,t.borderColor&&(a.style.borderColor=t.borderColor))}var $;if(t.backgroundColor)$=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:e,shift:0}]},r);else{var k=/cancel|phase/.test(n)?["svg-align"]:[];$=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:e,shift:0},{type:"elem",elem:a,shift:o,wrapperClasses:k}]},r)}return/cancel/.test(n)&&($.height=e.height,$.depth=e.depth),/cancel/.test(n)&&!s?N.makeSpan(["mord","cancel-lap"],[$],r):N.makeSpan(["mord"],[$],r)},Um=(t,r)=>{var e=0,n=new U.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[it(t.body,r)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(e=r.fontMetrics().fboxsep*r.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*e+"pt"),n.setAttribute("height","+"+2*e+"pt"),n.setAttribute("lspace",e+"pt"),n.setAttribute("voffset",e+"pt"),t.label==="\\fcolorbox"){var i=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};se({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,r,e){var{parser:n,funcName:i}=t,a=Pe(r[0],"color-token").color,o=r[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:qm,mathmlBuilder:Um});se({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,r,e){var{parser:n,funcName:i}=t,a=Pe(r[0],"color-token").color,o=Pe(r[1],"color-token").color,s=r[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:qm,mathmlBuilder:Um});se({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,r){var{parser:e}=t;return{type:"enclose",mode:e.mode,label:"\\fbox",body:r[0]}}});se({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,r){var{parser:e,funcName:n}=t,i=r[0];return{type:"enclose",mode:e.mode,label:n,body:i}},htmlBuilder:qm,mathmlBuilder:Um});se({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,r){var{parser:e}=t;return{type:"enclose",mode:e.mode,label:"\\angl",body:r[0]}}});var k$={};function Mn(t){for(var{type:r,names:e,props:n,handler:i,htmlBuilder:a,mathmlBuilder:o}=t,s={type:r,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l{var r=t.parser.settings;if(!r.displayMode)throw new Y("{"+t.envName+"} can be used only in display mode.")};function Vm(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function Wi(t,r,e){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:u,emptySingleRow:c,maxNumCols:h,leqno:d}=r;if(t.gullet.beginGroup(),u||t.gullet.macros.set("\\cr","\\\\\\relax"),!o){var f=t.gullet.expandMacroAsText("\\arraystretch");if(f==null)o=1;else if(o=parseFloat(f),!o||o<0)throw new Y("Invalid \\arraystretch: "+f)}t.gullet.beginGroup();var v=[],g=[v],b=[],y=[],$=l!=null?[]:void 0;function k(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function T(){$&&(t.gullet.macros.get("\\df@tag")?($.push(t.subparse([new Xr("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):$.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(k(),y.push(Ky(t));;){var P=t.parseExpression(!1,u?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),P={type:"ordgroup",mode:t.mode,body:P},e&&(P={type:"styling",mode:t.mode,style:e,body:[P]}),v.push(P);var E=t.fetch().text;if(E==="&"){if(h&&v.length===h){if(u||s)throw new Y("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(E==="\\end"){T(),v.length===1&&P.type==="styling"&&P.body[0].body.length===0&&(g.length>1||!c)&&g.pop(),y.length0&&(k+=.25),u.push({pos:k,isDashed:fr[Qt]})}for(T(o[0]),n=0;n0&&(z+=$,Dfr))for(n=0;n=s)){var We=void 0;(i>0||r.hskipBeforeAndAfter)&&(We=ge.deflt(V.pregap,d),We!==0&&(oe=N.makeSpan(["arraycolsep"],[]),oe.style.width=te(We),ie.push(oe)));var Le=[];for(n=0;n0){for(var he=N.makeLineSpan("hline",e,c),_e=N.makeLineSpan("hdashline",e,c),ye=[{type:"elem",elem:l,shift:0}];u.length>0;){var et=u.pop(),Et=et.pos-L;et.isDashed?ye.push({type:"elem",elem:_e,shift:Et}):ye.push({type:"elem",elem:he,shift:Et})}l=N.makeVList({positionType:"individualShift",children:ye},e)}if(Oe.length===0)return N.makeSpan(["mord"],[l],e);var Tt=N.makeVList({positionType:"individualShift",children:Oe},e);return Tt=N.makeSpan(["tag"],[Tt],e),N.makeFragment([l,Tt])},MN={c:"center ",l:"left ",r:"right "},Nn=function(r,e){for(var n=[],i=new U.MathNode("mtd",[],["mtr-glue"]),a=new U.MathNode("mtd",[],["mml-eqn-num"]),o=0;o0){var v=r.cols,g="",b=!1,y=0,$=v.length;v[0].type==="separator"&&(d+="top ",y=1),v[v.length-1].type==="separator"&&(d+="bottom ",$-=1);for(var k=y;k<$;k++)v[k].type==="align"?(f+=MN[v[k].align],b&&(g+="none "),b=!0):v[k].type==="separator"&&b&&(g+=v[k].separator==="|"?"solid ":"dashed ",b=!1);c.setAttribute("columnalign",f.trim()),/[sd]/.test(g)&&c.setAttribute("columnlines",g.trim())}if(r.colSeparationType==="align"){for(var T=r.cols||[],P="",E=1;E0?"left ":"",d+=B[B.length-1].length>0?"right ":"";for(var R=1;R-1?"alignat":"align",a=r.envName==="split",o=Wi(r.parser,{cols:n,addJot:!0,autoTag:a?void 0:Vm(r.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:r.parser.settings.leqno},"display"),s,l=0,u={type:"ordgroup",mode:r.mode,body:[]};if(e[0]&&e[0].type==="ordgroup"){for(var c="",h=0;h0&&f&&(b=1),n[v]={type:"align",align:g,pregap:b,postgap:0}}return o.colSeparationType=f?"align":"alignat",o};Mn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,r){var e=Mh(r[0]),n=e?[r[0]]:Pe(r[0],"ordgroup").body,i=n.map(function(o){var s=jm(o),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Y("Unknown column alignment: "+l,o)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return Wi(t.parser,a,Gm(t.envName))},htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var r={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],e="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:e}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),e=i.fetch().text,"lcr".indexOf(e)===-1)throw new Y("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:e}]}}var a=Wi(t.parser,n,Gm(t.envName)),o=Math.max(0,...a.body.map(s=>s.length));return a.cols=new Array(o).fill({type:"align",align:e}),r?{type:"leftright",mode:t.mode,body:[a],left:r[0],right:r[1],rightColor:void 0}:a},htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var r={arraystretch:.5},e=Wi(t.parser,r,"script");return e.colSeparationType="small",e},htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["subarray"],props:{numArgs:1},handler(t,r){var e=Mh(r[0]),n=e?[r[0]]:Pe(r[0],"ordgroup").body,i=n.map(function(o){var s=jm(o),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Y("Unknown column alignment: "+l,o)});if(i.length>1)throw new Y("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=Wi(t.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new Y("{subarray} can contain only one column");return a},htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var r={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},e=Wi(t.parser,r,Gm(t.envName));return{type:"leftright",mode:t.mode,body:[e],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:E$,htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){ge.contains(["gather","gather*"],t.envName)&&Rh(t);var r={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Vm(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Wi(t.parser,r,"display")},htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:E$,htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){Rh(t);var r={autoTag:Vm(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Wi(t.parser,r,"display")},htmlBuilder:Dn,mathmlBuilder:Nn});Mn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return Rh(t),bN(t.parser)},htmlBuilder:Dn,mathmlBuilder:Nn});x("\\nonumber","\\gdef\\@eqnsw{0}");x("\\notag","\\nonumber");se({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,r){throw new Y(t.funcName+" valid only within array environment")}});var Yy=k$;se({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,r){var{parser:e,funcName:n}=t,i=r[0];if(i.type!=="ordgroup")throw new Y("Invalid environment name",i);for(var a="",o=0;o{var e=t.font,n=r.withFont(e);return je(t.body,n)},_$=(t,r)=>{var e=t.font,n=r.withFont(e);return it(t.body,n)},Xy={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};se({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=Zc(r[0]),a=n;return a in Xy&&(a=Xy[a]),{type:"font",mode:e.mode,font:a.slice(1),body:i}},htmlBuilder:T$,mathmlBuilder:_$});se({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,r)=>{var{parser:e}=t,n=r[0],i=ge.isCharacterBox(n);return{type:"mclass",mode:e.mode,mclass:Dh(n),body:[{type:"font",mode:e.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}});se({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,r)=>{var{parser:e,funcName:n,breakOnTokenText:i}=t,{mode:a}=e,o=e.parseExpression(!0,i),s="math"+n.slice(1);return{type:"font",mode:a,font:s,body:{type:"ordgroup",mode:e.mode,body:o}}},htmlBuilder:T$,mathmlBuilder:_$});var O$=(t,r)=>{var e=r;return t==="display"?e=e.id>=we.SCRIPT.id?e.text():we.DISPLAY:t==="text"&&e.size===we.DISPLAY.size?e=we.TEXT:t==="script"?e=we.SCRIPT:t==="scriptscript"&&(e=we.SCRIPTSCRIPT),e},Km=(t,r)=>{var e=O$(t.size,r.style),n=e.fracNum(),i=e.fracDen(),a;a=r.havingStyle(n);var o=je(t.numer,a,r);if(t.continued){var s=8.5/r.fontMetrics().ptPerEm,l=3.5/r.fontMetrics().ptPerEm;o.height=o.height0?v=3*d:v=7*d,g=r.fontMetrics().denom1):(h>0?(f=r.fontMetrics().num2,v=d):(f=r.fontMetrics().num3,v=3*d),g=r.fontMetrics().denom2);var b;if(c){var $=r.fontMetrics().axisHeight;f-o.depth-($+.5*h){var e=new U.MathNode("mfrac",[it(t.numer,r),it(t.denom,r)]);if(!t.hasBarLine)e.setAttribute("linethickness","0px");else if(t.barSize){var n=pt(t.barSize,r);e.setAttribute("linethickness",te(n))}var i=O$(t.size,r.style);if(i.size!==r.style.size){e=new U.MathNode("mstyle",[e]);var a=i.size===we.DISPLAY.size?"true":"false";e.setAttribute("displaystyle",a),e.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var o=[];if(t.leftDelim!=null){var s=new U.MathNode("mo",[new U.TextNode(t.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(e),t.rightDelim!=null){var l=new U.MathNode("mo",[new U.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return Bm(o)}return e};se({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=r[0],a=r[1],o,s=null,l=null,u="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:e.mode,continued:!1,numer:i,denom:a,hasBarLine:o,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:Km,mathmlBuilder:Ym});se({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=r[0],a=r[1];return{type:"genfrac",mode:e.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});se({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:r,funcName:e,token:n}=t,i;switch(e){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:i,token:n}}});var Jy=["display","text","script","scriptscript"],Zy=function(r){var e=null;return r.length>0&&(e=r,e=e==="."?null:e),e};se({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,r){var{parser:e}=t,n=r[4],i=r[5],a=Zc(r[0]),o=a.type==="atom"&&a.family==="open"?Zy(a.text):null,s=Zc(r[1]),l=s.type==="atom"&&s.family==="close"?Zy(s.text):null,u=Pe(r[2],"size"),c,h=null;u.isBlank?c=!0:(h=u.value,c=h.number>0);var d="auto",f=r[3];if(f.type==="ordgroup"){if(f.body.length>0){var v=Pe(f.body[0],"textord");d=Jy[Number(v.text)]}}else f=Pe(f,"textord"),d=Jy[Number(f.text)];return{type:"genfrac",mode:e.mode,numer:n,denom:i,continued:!1,hasBarLine:c,barSize:h,leftDelim:o,rightDelim:l,size:d}},htmlBuilder:Km,mathmlBuilder:Ym});se({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,r){var{parser:e,funcName:n,token:i}=t;return{type:"infix",mode:e.mode,replaceWith:"\\\\abovefrac",size:Pe(r[0],"size").value,token:i}}});se({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=r[0],a=cD(Pe(r[1],"infix").size),o=r[2],s=a.number>0;return{type:"genfrac",mode:e.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Km,mathmlBuilder:Ym});var I$=(t,r)=>{var e=r.style,n,i;t.type==="supsub"?(n=t.sup?je(t.sup,r.havingStyle(e.sup()),r):je(t.sub,r.havingStyle(e.sub()),r),i=Pe(t.base,"horizBrace")):i=Pe(t,"horizBrace");var a=je(i.base,r.havingBaseStyle(we.DISPLAY)),o=ii.svgSpan(i,r),s;if(i.isOver?(s=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},r),s.children[0].children[0].children[1].classes.push("svg-align")):(s=N.makeVList({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},r),s.children[0].children[0].children[0].classes.push("svg-align")),n){var l=N.makeSpan(["mord",i.isOver?"mover":"munder"],[s],r);i.isOver?s=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},r):s=N.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},r)}return N.makeSpan(["mord",i.isOver?"mover":"munder"],[s],r)},DN=(t,r)=>{var e=ii.mathMLnode(t.label);return new U.MathNode(t.isOver?"mover":"munder",[it(t.base,r),e])};se({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,r){var{parser:e,funcName:n}=t;return{type:"horizBrace",mode:e.mode,label:n,isOver:/^\\over/.test(n),base:r[0]}},htmlBuilder:I$,mathmlBuilder:DN});se({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,r)=>{var{parser:e}=t,n=r[1],i=Pe(r[0],"url").url;return e.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:e.mode,href:i,body:_t(n)}:e.formatUnsupportedCmd("\\href")},htmlBuilder:(t,r)=>{var e=zt(t.body,r,!1);return N.makeAnchor(t.href,[],e,r)},mathmlBuilder:(t,r)=>{var e=Fi(t.body,r);return e instanceof Gr||(e=new Gr("mrow",[e])),e.setAttribute("href",t.href),e}});se({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,r)=>{var{parser:e}=t,n=Pe(r[0],"url").url;if(!e.settings.isTrusted({command:"\\url",url:n}))return e.formatUnsupportedCmd("\\url");for(var i=[],a=0;a{var{parser:e,funcName:n,token:i}=t,a=Pe(r[0],"raw").string,o=r[1];e.settings.strict&&e.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(n){case"\\htmlClass":l.class=a,s={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,s={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,s={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var u=a.split(","),c=0;c{var e=zt(t.body,r,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var i=N.makeSpan(n,e,r);for(var a in t.attributes)a!=="class"&&t.attributes.hasOwnProperty(a)&&i.setAttribute(a,t.attributes[a]);return i},mathmlBuilder:(t,r)=>Fi(t.body,r)});se({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,r)=>{var{parser:e}=t;return{type:"htmlmathml",mode:e.mode,html:_t(r[0]),mathml:_t(r[1])}},htmlBuilder:(t,r)=>{var e=zt(t.html,r,!1);return N.makeFragment(e)},mathmlBuilder:(t,r)=>Fi(t.mathml,r)});var fd=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var e=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!e)throw new Y("Invalid size: '"+r+"' in \\includegraphics");var n={number:+(e[1]+e[2]),unit:e[3]};if(!K7(n))throw new Y("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};se({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,r,e)=>{var{parser:n}=t,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(e[0])for(var l=Pe(e[0],"raw").string,u=l.split(","),c=0;c{var e=pt(t.height,r),n=0;t.totalheight.number>0&&(n=pt(t.totalheight,r)-e);var i=0;t.width.number>0&&(i=pt(t.width,r));var a={height:te(e+n)};i>0&&(a.width=te(i)),n>0&&(a.verticalAlign=te(-n));var o=new DD(t.src,t.alt,a);return o.height=e,o.depth=n,o},mathmlBuilder:(t,r)=>{var e=new U.MathNode("mglyph",[]);e.setAttribute("alt",t.alt);var n=pt(t.height,r),i=0;if(t.totalheight.number>0&&(i=pt(t.totalheight,r)-n,e.setAttribute("valign",te(-i))),e.setAttribute("height",te(n+i)),t.width.number>0){var a=pt(t.width,r);e.setAttribute("width",te(a))}return e.setAttribute("src",t.src),e}});se({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,r){var{parser:e,funcName:n}=t,i=Pe(r[0],"size");if(e.settings.strict){var a=n[1]==="m",o=i.value.unit==="mu";a?(o||e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),e.mode!=="math"&&e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:e.mode,dimension:i.value}},htmlBuilder(t,r){return N.makeGlue(t.dimension,r)},mathmlBuilder(t,r){var e=pt(t.dimension,r);return new U.SpaceNode(e)}});se({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=r[0];return{type:"lap",mode:e.mode,alignment:n.slice(5),body:i}},htmlBuilder:(t,r)=>{var e;t.alignment==="clap"?(e=N.makeSpan([],[je(t.body,r)]),e=N.makeSpan(["inner"],[e],r)):e=N.makeSpan(["inner"],[je(t.body,r)]);var n=N.makeSpan(["fix"],[]),i=N.makeSpan([t.alignment],[e,n],r),a=N.makeSpan(["strut"]);return a.style.height=te(i.height+i.depth),i.depth&&(a.style.verticalAlign=te(-i.depth)),i.children.unshift(a),i=N.makeSpan(["thinbox"],[i],r),N.makeSpan(["mord","vbox"],[i],r)},mathmlBuilder:(t,r)=>{var e=new U.MathNode("mpadded",[it(t.body,r)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";e.setAttribute("lspace",n+"width")}return e.setAttribute("width","0px"),e}});se({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,r){var{funcName:e,parser:n}=t,i=n.mode;n.switchMode("math");var a=e==="\\("?"\\)":"$",o=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:o}}});se({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,r){throw new Y("Mismatched "+t.funcName)}});var Qy=(t,r)=>{switch(r.style.size){case we.DISPLAY.size:return t.display;case we.TEXT.size:return t.text;case we.SCRIPT.size:return t.script;case we.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};se({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,r)=>{var{parser:e}=t;return{type:"mathchoice",mode:e.mode,display:_t(r[0]),text:_t(r[1]),script:_t(r[2]),scriptscript:_t(r[3])}},htmlBuilder:(t,r)=>{var e=Qy(t,r),n=zt(e,r,!1);return N.makeFragment(n)},mathmlBuilder:(t,r)=>{var e=Qy(t,r);return Fi(e,r)}});var C$=(t,r,e,n,i,a,o)=>{t=N.makeSpan([],[t]);var s=e&&ge.isCharacterBox(e),l,u;if(r){var c=je(r,n.havingStyle(i.sup()),n);u={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(e){var h=je(e,n.havingStyle(i.sub()),n);l={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var d;if(u&&l){var f=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+o;d=N.makeVList({positionType:"bottom",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:te(-a)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:te(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var v=t.height-o;d=N.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:te(-a)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},n)}else if(u){var g=t.depth+o;d=N.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:t},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:te(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;var b=[d];if(l&&a!==0&&!s){var y=N.makeSpan(["mspace"],[],n);y.style.marginRight=te(a),b.unshift(y)}return N.makeSpan(["mop","op-limits"],b,n)},P$=["\\smallint"],Ko=(t,r)=>{var e,n,i=!1,a;t.type==="supsub"?(e=t.sup,n=t.sub,a=Pe(t.base,"op"),i=!0):a=Pe(t,"op");var o=r.style,s=!1;o.size===we.DISPLAY.size&&a.symbol&&!ge.contains(P$,a.name)&&(s=!0);var l;if(a.symbol){var u=s?"Size2-Regular":"Size1-Regular",c="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(c=a.name.slice(1),a.name=c==="oiint"?"\\iint":"\\iiint"),l=N.makeSymbol(a.name,u,"math",r,["mop","op-symbol",s?"large-op":"small-op"]),c.length>0){var h=l.italic,d=N.staticSvg(c+"Size"+(s?"2":"1"),r);l=N.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},r),a.name="\\"+c,l.classes.unshift("mop"),l.italic=h}}else if(a.body){var f=zt(a.body,r,!0);f.length===1&&f[0]instanceof Qr?(l=f[0],l.classes[0]="mop"):l=N.makeSpan(["mop"],f,r)}else{for(var v=[],g=1;g{var e;if(t.symbol)e=new Gr("mo",[en(t.name,t.mode)]),ge.contains(P$,t.name)&&e.setAttribute("largeop","false");else if(t.body)e=new Gr("mo",Tr(t.body,r));else{e=new Gr("mi",[new js(t.name.slice(1))]);var n=new Gr("mo",[en("⁡","text")]);t.parentIsSupSub?e=new Gr("mrow",[e,n]):e=a$([e,n])}return e},NN={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};se({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=n;return i.length===1&&(i=NN[i]),{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Ko,mathmlBuilder:Ol});se({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,r)=>{var{parser:e}=t,n=r[0];return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:_t(n)}},htmlBuilder:Ko,mathmlBuilder:Ol});var RN={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};se({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:r,funcName:e}=t;return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:e}},htmlBuilder:Ko,mathmlBuilder:Ol});se({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:r,funcName:e}=t;return{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:e}},htmlBuilder:Ko,mathmlBuilder:Ol});se({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){var{parser:r,funcName:e}=t,n=e;return n.length===1&&(n=RN[n]),{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Ko,mathmlBuilder:Ol});var A$=(t,r)=>{var e,n,i=!1,a;t.type==="supsub"?(e=t.sup,n=t.sub,a=Pe(t.base,"operatorname"),i=!0):a=Pe(t,"operatorname");var o;if(a.body.length>0){for(var s=a.body.map(h=>{var d=h.text;return typeof d=="string"?{type:"textord",mode:h.mode,text:d}:h}),l=zt(s,r.withFont("mathrm"),!0),u=0;u{for(var e=Tr(t.body,r.withFont("mathrm")),n=!0,i=0;ic.toText()).join("");e=[new U.TextNode(s)]}var l=new U.MathNode("mi",e);l.setAttribute("mathvariant","normal");var u=new U.MathNode("mo",[en("⁡","text")]);return t.parentIsSupSub?new U.MathNode("mrow",[l,u]):U.newDocumentFragment([l,u])};se({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,r)=>{var{parser:e,funcName:n}=t,i=r[0];return{type:"operatorname",mode:e.mode,body:_t(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:A$,mathmlBuilder:FN});x("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Aa({type:"ordgroup",htmlBuilder(t,r){return t.semisimple?N.makeFragment(zt(t.body,r,!1)):N.makeSpan(["mord"],zt(t.body,r,!0),r)},mathmlBuilder(t,r){return Fi(t.body,r,!0)}});se({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,r){var{parser:e}=t,n=r[0];return{type:"overline",mode:e.mode,body:n}},htmlBuilder(t,r){var e=je(t.body,r.havingCrampedStyle()),n=N.makeLineSpan("overline-line",r),i=r.fontMetrics().defaultRuleThickness,a=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},r);return N.makeSpan(["mord","overline"],[a],r)},mathmlBuilder(t,r){var e=new U.MathNode("mo",[new U.TextNode("‾")]);e.setAttribute("stretchy","true");var n=new U.MathNode("mover",[it(t.body,r),e]);return n.setAttribute("accent","true"),n}});se({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,r)=>{var{parser:e}=t,n=r[0];return{type:"phantom",mode:e.mode,body:_t(n)}},htmlBuilder:(t,r)=>{var e=zt(t.body,r.withPhantom(),!1);return N.makeFragment(e)},mathmlBuilder:(t,r)=>{var e=Tr(t.body,r);return new U.MathNode("mphantom",e)}});se({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,r)=>{var{parser:e}=t,n=r[0];return{type:"hphantom",mode:e.mode,body:n}},htmlBuilder:(t,r)=>{var e=N.makeSpan([],[je(t.body,r.withPhantom())]);if(e.height=0,e.depth=0,e.children)for(var n=0;n{var e=Tr(_t(t.body),r),n=new U.MathNode("mphantom",e),i=new U.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});se({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,r)=>{var{parser:e}=t,n=r[0];return{type:"vphantom",mode:e.mode,body:n}},htmlBuilder:(t,r)=>{var e=N.makeSpan(["inner"],[je(t.body,r.withPhantom())]),n=N.makeSpan(["fix"],[]);return N.makeSpan(["mord","rlap"],[e,n],r)},mathmlBuilder:(t,r)=>{var e=Tr(_t(t.body),r),n=new U.MathNode("mphantom",e),i=new U.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}});se({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,r){var{parser:e}=t,n=Pe(r[0],"size").value,i=r[1];return{type:"raisebox",mode:e.mode,dy:n,body:i}},htmlBuilder(t,r){var e=je(t.body,r),n=pt(t.dy,r);return N.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:e}]},r)},mathmlBuilder(t,r){var e=new U.MathNode("mpadded",[it(t.body,r)]),n=t.dy.number+t.dy.unit;return e.setAttribute("voffset",n),e}});se({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:r}=t;return{type:"internal",mode:r.mode}}});se({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,r,e){var{parser:n}=t,i=e[0],a=Pe(r[0],"size"),o=Pe(r[1],"size");return{type:"rule",mode:n.mode,shift:i&&Pe(i,"size").value,width:a.value,height:o.value}},htmlBuilder(t,r){var e=N.makeSpan(["mord","rule"],[],r),n=pt(t.width,r),i=pt(t.height,r),a=t.shift?pt(t.shift,r):0;return e.style.borderRightWidth=te(n),e.style.borderTopWidth=te(i),e.style.bottom=te(a),e.width=n,e.height=i+a,e.depth=-a,e.maxFontSize=i*1.125*r.sizeMultiplier,e},mathmlBuilder(t,r){var e=pt(t.width,r),n=pt(t.height,r),i=t.shift?pt(t.shift,r):0,a=r.color&&r.getColor()||"black",o=new U.MathNode("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",te(e)),o.setAttribute("height",te(n));var s=new U.MathNode("mpadded",[o]);return i>=0?s.setAttribute("height",te(i)):(s.setAttribute("height",te(i)),s.setAttribute("depth",te(-i))),s.setAttribute("voffset",te(i)),s}});function M$(t,r,e){for(var n=zt(t,r,!1),i=r.sizeMultiplier/e.sizeMultiplier,a=0;a{var e=r.havingSize(t.size);return M$(t.body,e,r)};se({type:"sizing",names:eb,props:{numArgs:0,allowedInText:!0},handler:(t,r)=>{var{breakOnTokenText:e,funcName:n,parser:i}=t,a=i.parseExpression(!1,e);return{type:"sizing",mode:i.mode,size:eb.indexOf(n)+1,body:a}},htmlBuilder:zN,mathmlBuilder:(t,r)=>{var e=r.havingSize(t.size),n=Tr(t.body,e),i=new U.MathNode("mstyle",n);return i.setAttribute("mathsize",te(e.sizeMultiplier)),i}});se({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,r,e)=>{var{parser:n}=t,i=!1,a=!1,o=e[0]&&Pe(e[0],"ordgroup");if(o)for(var s="",l=0;l{var e=N.makeSpan([],[je(t.body,r)]);if(!t.smashHeight&&!t.smashDepth)return e;if(t.smashHeight&&(e.height=0,e.children))for(var n=0;n{var e=new U.MathNode("mpadded",[it(t.body,r)]);return t.smashHeight&&e.setAttribute("height","0px"),t.smashDepth&&e.setAttribute("depth","0px"),e}});se({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,r,e){var{parser:n}=t,i=e[0],a=r[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(t,r){var e=je(t.body,r.havingCrampedStyle());e.height===0&&(e.height=r.fontMetrics().xHeight),e=N.wrapFragment(e,r);var n=r.fontMetrics(),i=n.defaultRuleThickness,a=i;r.style.ide.height+e.depth+o&&(o=(o+h-e.height-e.depth)/2);var d=l.height-e.height-o-u;e.style.paddingLeft=te(c);var f=N.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e,wrapperClasses:["svg-align"]},{type:"kern",size:-(e.height+d)},{type:"elem",elem:l},{type:"kern",size:u}]},r);if(t.index){var v=r.havingStyle(we.SCRIPTSCRIPT),g=je(t.index,v,r),b=.6*(f.height-f.depth),y=N.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:g}]},r),$=N.makeSpan(["root"],[y]);return N.makeSpan(["mord","sqrt"],[$,f],r)}else return N.makeSpan(["mord","sqrt"],[f],r)},mathmlBuilder(t,r){var{body:e,index:n}=t;return n?new U.MathNode("mroot",[it(e,r),it(n,r)]):new U.MathNode("msqrt",[it(e,r)])}});var tb={display:we.DISPLAY,text:we.TEXT,script:we.SCRIPT,scriptscript:we.SCRIPTSCRIPT};se({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,r){var{breakOnTokenText:e,funcName:n,parser:i}=t,a=i.parseExpression(!0,e),o=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(t,r){var e=tb[t.style],n=r.havingStyle(e).withFont("");return M$(t.body,n,r)},mathmlBuilder(t,r){var e=tb[t.style],n=r.havingStyle(e),i=Tr(t.body,n),a=new U.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[t.style];return a.setAttribute("scriptlevel",s[0]),a.setAttribute("displaystyle",s[1]),a}});var BN=function(r,e){var n=r.base;if(n)if(n.type==="op"){var i=n.limits&&(e.style.size===we.DISPLAY.size||n.alwaysHandleSupSub);return i?Ko:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(e.style.size===we.DISPLAY.size||n.limits);return a?A$:null}else{if(n.type==="accent")return ge.isCharacterBox(n.base)?Hm:null;if(n.type==="horizBrace"){var o=!r.sub;return o===n.isOver?I$:null}else return null}else return null};Aa({type:"supsub",htmlBuilder(t,r){var e=BN(t,r);if(e)return e(t,r);var{base:n,sup:i,sub:a}=t,o=je(n,r),s,l,u=r.fontMetrics(),c=0,h=0,d=n&&ge.isCharacterBox(n);if(i){var f=r.havingStyle(r.style.sup());s=je(i,f,r),d||(c=o.height-f.fontMetrics().supDrop*f.sizeMultiplier/r.sizeMultiplier)}if(a){var v=r.havingStyle(r.style.sub());l=je(a,v,r),d||(h=o.depth+v.fontMetrics().subDrop*v.sizeMultiplier/r.sizeMultiplier)}var g;r.style===we.DISPLAY?g=u.sup1:r.style.cramped?g=u.sup3:g=u.sup2;var b=r.sizeMultiplier,y=te(.5/u.ptPerEm/b),$=null;if(l){var k=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(o instanceof Qr||k)&&($=te(-o.italic))}var T;if(s&&l){c=Math.max(c,g,s.depth+.25*u.xHeight),h=Math.max(h,u.sub2);var P=u.defaultRuleThickness,E=4*P;if(c-s.depth-(l.height-h)0&&(c+=D,h-=D)}var B=[{type:"elem",elem:l,shift:h,marginRight:y,marginLeft:$},{type:"elem",elem:s,shift:-c,marginRight:y}];T=N.makeVList({positionType:"individualShift",children:B},r)}else if(l){h=Math.max(h,u.sub1,l.height-.8*u.xHeight);var R=[{type:"elem",elem:l,marginLeft:$,marginRight:y}];T=N.makeVList({positionType:"shift",positionData:h,children:R},r)}else if(s)c=Math.max(c,g,s.depth+.25*u.xHeight),T=N.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:s,marginRight:y}]},r);else throw new Error("supsub must have either sup or sub.");var A=Kv(o,"right")||"mord";return N.makeSpan([A],[o,N.makeSpan(["msupsub"],[T])],r)},mathmlBuilder(t,r){var e=!1,n,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(e=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var a=[it(t.base,r)];t.sub&&a.push(it(t.sub,r)),t.sup&&a.push(it(t.sup,r));var o;if(e)o=n?"mover":"munder";else if(t.sub)if(t.sup){var u=t.base;u&&u.type==="op"&&u.limits&&r.style===we.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(r.style===we.DISPLAY||u.limits)?o="munderover":o="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(r.style===we.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||r.style===we.DISPLAY)?o="munder":o="msub"}else{var s=t.base;s&&s.type==="op"&&s.limits&&(r.style===we.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||r.style===we.DISPLAY)?o="mover":o="msup"}return new U.MathNode(o,a)}});Aa({type:"atom",htmlBuilder(t,r){return N.mathsym(t.text,t.mode,r,["m"+t.family])},mathmlBuilder(t,r){var e=new U.MathNode("mo",[en(t.text,t.mode)]);if(t.family==="bin"){var n=Lm(t,r);n==="bold-italic"&&e.setAttribute("mathvariant",n)}else t.family==="punct"?e.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&e.setAttribute("stretchy","false");return e}});var D$={mi:"italic",mn:"normal",mtext:"normal"};Aa({type:"mathord",htmlBuilder(t,r){return N.makeOrd(t,r,"mathord")},mathmlBuilder(t,r){var e=new U.MathNode("mi",[en(t.text,t.mode,r)]),n=Lm(t,r)||"italic";return n!==D$[e.type]&&e.setAttribute("mathvariant",n),e}});Aa({type:"textord",htmlBuilder(t,r){return N.makeOrd(t,r,"textord")},mathmlBuilder(t,r){var e=en(t.text,t.mode,r),n=Lm(t,r)||"normal",i;return t.mode==="text"?i=new U.MathNode("mtext",[e]):/[0-9]/.test(t.text)?i=new U.MathNode("mn",[e]):t.text==="\\prime"?i=new U.MathNode("mo",[e]):i=new U.MathNode("mi",[e]),n!==D$[i.type]&&i.setAttribute("mathvariant",n),i}});var vd={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pd={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Aa({type:"spacing",htmlBuilder(t,r){if(pd.hasOwnProperty(t.text)){var e=pd[t.text].className||"";if(t.mode==="text"){var n=N.makeOrd(t,r,"textord");return n.classes.push(e),n}else return N.makeSpan(["mspace",e],[N.mathsym(t.text,t.mode,r)],r)}else{if(vd.hasOwnProperty(t.text))return N.makeSpan(["mspace",vd[t.text]],[],r);throw new Y('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,r){var e;if(pd.hasOwnProperty(t.text))e=new U.MathNode("mtext",[new U.TextNode(" ")]);else{if(vd.hasOwnProperty(t.text))return new U.MathNode("mspace");throw new Y('Unknown type of space "'+t.text+'"')}return e}});var rb=()=>{var t=new U.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Aa({type:"tag",mathmlBuilder(t,r){var e=new U.MathNode("mtable",[new U.MathNode("mtr",[rb(),new U.MathNode("mtd",[Fi(t.body,r)]),rb(),new U.MathNode("mtd",[Fi(t.tag,r)])])]);return e.setAttribute("width","100%"),e}});var nb={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ib={"\\textbf":"textbf","\\textmd":"textmd"},LN={"\\textit":"textit","\\textup":"textup"},ab=(t,r)=>{var e=t.font;if(e){if(nb[e])return r.withTextFontFamily(nb[e]);if(ib[e])return r.withTextFontWeight(ib[e]);if(e==="\\emph")return r.fontShape==="textit"?r.withTextFontShape("textup"):r.withTextFontShape("textit")}else return r;return r.withTextFontShape(LN[e])};se({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,r){var{parser:e,funcName:n}=t,i=r[0];return{type:"text",mode:e.mode,body:_t(i),font:n}},htmlBuilder(t,r){var e=ab(t,r),n=zt(t.body,e,!0);return N.makeSpan(["mord","text"],n,e)},mathmlBuilder(t,r){var e=ab(t,r);return Fi(t.body,e)}});se({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,r){var{parser:e}=t;return{type:"underline",mode:e.mode,body:r[0]}},htmlBuilder(t,r){var e=je(t.body,r),n=N.makeLineSpan("underline-line",r),i=r.fontMetrics().defaultRuleThickness,a=N.makeVList({positionType:"top",positionData:e.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:e}]},r);return N.makeSpan(["mord","underline"],[a],r)},mathmlBuilder(t,r){var e=new U.MathNode("mo",[new U.TextNode("‾")]);e.setAttribute("stretchy","true");var n=new U.MathNode("munder",[it(t.body,r),e]);return n.setAttribute("accentunder","true"),n}});se({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,r){var{parser:e}=t;return{type:"vcenter",mode:e.mode,body:r[0]}},htmlBuilder(t,r){var e=je(t.body,r),n=r.fontMetrics().axisHeight,i=.5*(e.height-n-(e.depth+n));return N.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:e}]},r)},mathmlBuilder(t,r){return new U.MathNode("mpadded",[it(t.body,r)],["vcenter"])}});se({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,r,e){throw new Y("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,r){for(var e=ob(t),n=[],i=r.havingStyle(r.style.text()),a=0;at.body.replace(/ /g,t.star?"␣":" "),ki=n$,N$=`[ \r + ]`,jN="\\\\[a-zA-Z@]+",HN="\\\\[^\uD800-\uDFFF]",WN="("+jN+")"+N$+"*",qN=`\\\\( +|[ \r ]+ +?)[ \r ]*`,Zv="[̀-ͯ]",UN=new RegExp(Zv+"+$"),VN="("+N$+"+)|"+(qN+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Zv+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Zv+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+WN)+("|"+HN+")");class sb{constructor(r,e){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=r,this.settings=e,this.tokenRegex=new RegExp(VN,"g"),this.catcodes={"%":14,"~":13}}setCatcode(r,e){this.catcodes[r]=e}lex(){var r=this.input,e=this.tokenRegex.lastIndex;if(e===r.length)return new Xr("EOF",new Dr(this,e,e));var n=this.tokenRegex.exec(r);if(n===null||n.index!==e)throw new Y("Unexpected character: '"+r[e]+"'",new Xr(r[e],new Dr(this,e,e+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=r.indexOf(` +`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=r.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Xr(i,new Dr(this,e,this.tokenRegex.lastIndex))}}class GN{constructor(r,e){r===void 0&&(r={}),e===void 0&&(e={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=e,this.builtins=r,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Y("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var r=this.undefStack.pop();for(var e in r)r.hasOwnProperty(e)&&(r[e]==null?delete this.current[e]:this.current[e]=r[e])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(r){return this.current.hasOwnProperty(r)||this.builtins.hasOwnProperty(r)}get(r){return this.current.hasOwnProperty(r)?this.current[r]:this.builtins[r]}set(r,e,n){if(n===void 0&&(n=!1),n){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][r]=e)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(r)&&(a[r]=this.current[r])}e==null?delete this.current[r]:this.current[r]=e}}var KN=S$;x("\\noexpand",function(t){var r=t.popToken();return t.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}});x("\\expandafter",function(t){var r=t.popToken();return t.expandOnce(!0),{tokens:[r],numArgs:0}});x("\\@firstoftwo",function(t){var r=t.consumeArgs(2);return{tokens:r[0],numArgs:0}});x("\\@secondoftwo",function(t){var r=t.consumeArgs(2);return{tokens:r[1],numArgs:0}});x("\\@ifnextchar",function(t){var r=t.consumeArgs(3);t.consumeSpaces();var e=t.future();return r[0].length===1&&r[0][0].text===e.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}});x("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");x("\\TextOrMath",function(t){var r=t.consumeArgs(2);return t.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var lb={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};x("\\char",function(t){var r=t.popToken(),e,n="";if(r.text==="'")e=8,r=t.popToken();else if(r.text==='"')e=16,r=t.popToken();else if(r.text==="`")if(r=t.popToken(),r.text[0]==="\\")n=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new Y("\\char` missing argument");n=r.text.charCodeAt(0)}else e=10;if(e){if(n=lb[r.text],n==null||n>=e)throw new Y("Invalid base-"+e+" digit "+r.text);for(var i;(i=lb[t.future().text])!=null&&i{var n=t.consumeArg().tokens;if(n.length!==1)throw new Y("\\newcommand's first argument must be a macro name");var i=n[0].text,a=t.isDefined(i);if(a&&!r)throw new Y("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!e)throw new Y("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(n=t.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var s="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new Y("Invalid number of arguments: "+s);o=parseInt(s),n=t.consumeArg().tokens}return t.macros.set(i,{tokens:n,numArgs:o}),""};x("\\newcommand",t=>Xm(t,!1,!0));x("\\renewcommand",t=>Xm(t,!0,!1));x("\\providecommand",t=>Xm(t,!0,!0));x("\\message",t=>{var r=t.consumeArgs(1)[0];return console.log(r.reverse().map(e=>e.text).join("")),""});x("\\errmessage",t=>{var r=t.consumeArgs(1)[0];return console.error(r.reverse().map(e=>e.text).join("")),""});x("\\show",t=>{var r=t.popToken(),e=r.text;return console.log(r,t.macros.get(e),ki[e],ut.math[e],ut.text[e]),""});x("\\bgroup","{");x("\\egroup","}");x("~","\\nobreakspace");x("\\lq","`");x("\\rq","'");x("\\aa","\\r a");x("\\AA","\\r A");x("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");x("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");x("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");x("ℬ","\\mathscr{B}");x("ℰ","\\mathscr{E}");x("ℱ","\\mathscr{F}");x("ℋ","\\mathscr{H}");x("ℐ","\\mathscr{I}");x("ℒ","\\mathscr{L}");x("ℳ","\\mathscr{M}");x("ℛ","\\mathscr{R}");x("ℭ","\\mathfrak{C}");x("ℌ","\\mathfrak{H}");x("ℨ","\\mathfrak{Z}");x("\\Bbbk","\\Bbb{k}");x("·","\\cdotp");x("\\llap","\\mathllap{\\textrm{#1}}");x("\\rlap","\\mathrlap{\\textrm{#1}}");x("\\clap","\\mathclap{\\textrm{#1}}");x("\\mathstrut","\\vphantom{(}");x("\\underbar","\\underline{\\text{#1}}");x("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');x("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");x("\\ne","\\neq");x("≠","\\neq");x("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");x("∉","\\notin");x("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");x("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");x("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");x("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");x("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");x("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");x("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");x("⟂","\\perp");x("‼","\\mathclose{!\\mkern-0.8mu!}");x("∌","\\notni");x("⌜","\\ulcorner");x("⌝","\\urcorner");x("⌞","\\llcorner");x("⌟","\\lrcorner");x("©","\\copyright");x("®","\\textregistered");x("️","\\textregistered");x("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');x("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');x("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');x("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');x("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");x("⋮","\\vdots");x("\\varGamma","\\mathit{\\Gamma}");x("\\varDelta","\\mathit{\\Delta}");x("\\varTheta","\\mathit{\\Theta}");x("\\varLambda","\\mathit{\\Lambda}");x("\\varXi","\\mathit{\\Xi}");x("\\varPi","\\mathit{\\Pi}");x("\\varSigma","\\mathit{\\Sigma}");x("\\varUpsilon","\\mathit{\\Upsilon}");x("\\varPhi","\\mathit{\\Phi}");x("\\varPsi","\\mathit{\\Psi}");x("\\varOmega","\\mathit{\\Omega}");x("\\substack","\\begin{subarray}{c}#1\\end{subarray}");x("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");x("\\boxed","\\fbox{$\\displaystyle{#1}$}");x("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");x("\\implies","\\DOTSB\\;\\Longrightarrow\\;");x("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ub={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};x("\\dots",function(t){var r="\\dotso",e=t.expandAfterFuture().text;return e in ub?r=ub[e]:(e.slice(0,4)==="\\not"||e in ut.math&&ge.contains(["bin","rel"],ut.math[e].group))&&(r="\\dotsb"),r});var Jm={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};x("\\dotso",function(t){var r=t.future().text;return r in Jm?"\\ldots\\,":"\\ldots"});x("\\dotsc",function(t){var r=t.future().text;return r in Jm&&r!==","?"\\ldots\\,":"\\ldots"});x("\\cdots",function(t){var r=t.future().text;return r in Jm?"\\@cdots\\,":"\\@cdots"});x("\\dotsb","\\cdots");x("\\dotsm","\\cdots");x("\\dotsi","\\!\\cdots");x("\\dotsx","\\ldots\\,");x("\\DOTSI","\\relax");x("\\DOTSB","\\relax");x("\\DOTSX","\\relax");x("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");x("\\,","\\tmspace+{3mu}{.1667em}");x("\\thinspace","\\,");x("\\>","\\mskip{4mu}");x("\\:","\\tmspace+{4mu}{.2222em}");x("\\medspace","\\:");x("\\;","\\tmspace+{5mu}{.2777em}");x("\\thickspace","\\;");x("\\!","\\tmspace-{3mu}{.1667em}");x("\\negthinspace","\\!");x("\\negmedspace","\\tmspace-{4mu}{.2222em}");x("\\negthickspace","\\tmspace-{5mu}{.277em}");x("\\enspace","\\kern.5em ");x("\\enskip","\\hskip.5em\\relax");x("\\quad","\\hskip1em\\relax");x("\\qquad","\\hskip2em\\relax");x("\\tag","\\@ifstar\\tag@literal\\tag@paren");x("\\tag@paren","\\tag@literal{({#1})}");x("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Y("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});x("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");x("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");x("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");x("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");x("\\newline","\\\\\\relax");x("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var R$=te(En["Main-Regular"][84][1]-.7*En["Main-Regular"][65][1]);x("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+R$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");x("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+R$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");x("\\hspace","\\@ifstar\\@hspacer\\@hspace");x("\\@hspace","\\hskip #1\\relax");x("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");x("\\ordinarycolon",":");x("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");x("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');x("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');x("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');x("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');x("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');x("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');x("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');x("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');x("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');x("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');x("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');x("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');x("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');x("∷","\\dblcolon");x("∹","\\eqcolon");x("≔","\\coloneqq");x("≕","\\eqqcolon");x("⩴","\\Coloneqq");x("\\ratio","\\vcentcolon");x("\\coloncolon","\\dblcolon");x("\\colonequals","\\coloneqq");x("\\coloncolonequals","\\Coloneqq");x("\\equalscolon","\\eqqcolon");x("\\equalscoloncolon","\\Eqqcolon");x("\\colonminus","\\coloneq");x("\\coloncolonminus","\\Coloneq");x("\\minuscolon","\\eqcolon");x("\\minuscoloncolon","\\Eqcolon");x("\\coloncolonapprox","\\Colonapprox");x("\\coloncolonsim","\\Colonsim");x("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");x("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");x("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");x("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");x("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");x("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");x("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");x("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");x("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");x("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");x("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");x("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");x("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");x("\\nleqq","\\html@mathml{\\@nleqq}{≰}");x("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");x("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");x("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");x("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");x("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");x("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");x("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");x("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");x("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");x("\\imath","\\html@mathml{\\@imath}{ı}");x("\\jmath","\\html@mathml{\\@jmath}{ȷ}");x("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");x("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");x("⟦","\\llbracket");x("⟧","\\rrbracket");x("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");x("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");x("⦃","\\lBrace");x("⦄","\\rBrace");x("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");x("⦵","\\minuso");x("\\darr","\\downarrow");x("\\dArr","\\Downarrow");x("\\Darr","\\Downarrow");x("\\lang","\\langle");x("\\rang","\\rangle");x("\\uarr","\\uparrow");x("\\uArr","\\Uparrow");x("\\Uarr","\\Uparrow");x("\\N","\\mathbb{N}");x("\\R","\\mathbb{R}");x("\\Z","\\mathbb{Z}");x("\\alef","\\aleph");x("\\alefsym","\\aleph");x("\\Alpha","\\mathrm{A}");x("\\Beta","\\mathrm{B}");x("\\bull","\\bullet");x("\\Chi","\\mathrm{X}");x("\\clubs","\\clubsuit");x("\\cnums","\\mathbb{C}");x("\\Complex","\\mathbb{C}");x("\\Dagger","\\ddagger");x("\\diamonds","\\diamondsuit");x("\\empty","\\emptyset");x("\\Epsilon","\\mathrm{E}");x("\\Eta","\\mathrm{H}");x("\\exist","\\exists");x("\\harr","\\leftrightarrow");x("\\hArr","\\Leftrightarrow");x("\\Harr","\\Leftrightarrow");x("\\hearts","\\heartsuit");x("\\image","\\Im");x("\\infin","\\infty");x("\\Iota","\\mathrm{I}");x("\\isin","\\in");x("\\Kappa","\\mathrm{K}");x("\\larr","\\leftarrow");x("\\lArr","\\Leftarrow");x("\\Larr","\\Leftarrow");x("\\lrarr","\\leftrightarrow");x("\\lrArr","\\Leftrightarrow");x("\\Lrarr","\\Leftrightarrow");x("\\Mu","\\mathrm{M}");x("\\natnums","\\mathbb{N}");x("\\Nu","\\mathrm{N}");x("\\Omicron","\\mathrm{O}");x("\\plusmn","\\pm");x("\\rarr","\\rightarrow");x("\\rArr","\\Rightarrow");x("\\Rarr","\\Rightarrow");x("\\real","\\Re");x("\\reals","\\mathbb{R}");x("\\Reals","\\mathbb{R}");x("\\Rho","\\mathrm{P}");x("\\sdot","\\cdot");x("\\sect","\\S");x("\\spades","\\spadesuit");x("\\sub","\\subset");x("\\sube","\\subseteq");x("\\supe","\\supseteq");x("\\Tau","\\mathrm{T}");x("\\thetasym","\\vartheta");x("\\weierp","\\wp");x("\\Zeta","\\mathrm{Z}");x("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");x("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");x("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");x("\\bra","\\mathinner{\\langle{#1}|}");x("\\ket","\\mathinner{|{#1}\\rangle}");x("\\braket","\\mathinner{\\langle{#1}\\rangle}");x("\\Bra","\\left\\langle#1\\right|");x("\\Ket","\\left|#1\\right\\rangle");var F$=t=>r=>{var e=r.consumeArg().tokens,n=r.consumeArg().tokens,i=r.consumeArg().tokens,a=r.consumeArg().tokens,o=r.macros.get("|"),s=r.macros.get("\\|");r.macros.beginGroup();var l=h=>d=>{t&&(d.macros.set("|",o),i.length&&d.macros.set("\\|",s));var f=h;if(!h&&i.length){var v=d.future();v.text==="|"&&(d.popToken(),f=!0)}return{tokens:f?i:n,numArgs:0}};r.macros.set("|",l(!1)),i.length&&r.macros.set("\\|",l(!0));var u=r.consumeArg().tokens,c=r.expandTokens([...a,...u,...e]);return r.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};x("\\bra@ket",F$(!1));x("\\bra@set",F$(!0));x("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");x("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");x("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");x("\\angln","{\\angl n}");x("\\blue","\\textcolor{##6495ed}{#1}");x("\\orange","\\textcolor{##ffa500}{#1}");x("\\pink","\\textcolor{##ff00af}{#1}");x("\\red","\\textcolor{##df0030}{#1}");x("\\green","\\textcolor{##28ae7b}{#1}");x("\\gray","\\textcolor{gray}{#1}");x("\\purple","\\textcolor{##9d38bd}{#1}");x("\\blueA","\\textcolor{##ccfaff}{#1}");x("\\blueB","\\textcolor{##80f6ff}{#1}");x("\\blueC","\\textcolor{##63d9ea}{#1}");x("\\blueD","\\textcolor{##11accd}{#1}");x("\\blueE","\\textcolor{##0c7f99}{#1}");x("\\tealA","\\textcolor{##94fff5}{#1}");x("\\tealB","\\textcolor{##26edd5}{#1}");x("\\tealC","\\textcolor{##01d1c1}{#1}");x("\\tealD","\\textcolor{##01a995}{#1}");x("\\tealE","\\textcolor{##208170}{#1}");x("\\greenA","\\textcolor{##b6ffb0}{#1}");x("\\greenB","\\textcolor{##8af281}{#1}");x("\\greenC","\\textcolor{##74cf70}{#1}");x("\\greenD","\\textcolor{##1fab54}{#1}");x("\\greenE","\\textcolor{##0d923f}{#1}");x("\\goldA","\\textcolor{##ffd0a9}{#1}");x("\\goldB","\\textcolor{##ffbb71}{#1}");x("\\goldC","\\textcolor{##ff9c39}{#1}");x("\\goldD","\\textcolor{##e07d10}{#1}");x("\\goldE","\\textcolor{##a75a05}{#1}");x("\\redA","\\textcolor{##fca9a9}{#1}");x("\\redB","\\textcolor{##ff8482}{#1}");x("\\redC","\\textcolor{##f9685d}{#1}");x("\\redD","\\textcolor{##e84d39}{#1}");x("\\redE","\\textcolor{##bc2612}{#1}");x("\\maroonA","\\textcolor{##ffbde0}{#1}");x("\\maroonB","\\textcolor{##ff92c6}{#1}");x("\\maroonC","\\textcolor{##ed5fa6}{#1}");x("\\maroonD","\\textcolor{##ca337c}{#1}");x("\\maroonE","\\textcolor{##9e034e}{#1}");x("\\purpleA","\\textcolor{##ddd7ff}{#1}");x("\\purpleB","\\textcolor{##c6b9fc}{#1}");x("\\purpleC","\\textcolor{##aa87ff}{#1}");x("\\purpleD","\\textcolor{##7854ab}{#1}");x("\\purpleE","\\textcolor{##543b78}{#1}");x("\\mintA","\\textcolor{##f5f9e8}{#1}");x("\\mintB","\\textcolor{##edf2df}{#1}");x("\\mintC","\\textcolor{##e0e5cc}{#1}");x("\\grayA","\\textcolor{##f6f7f7}{#1}");x("\\grayB","\\textcolor{##f0f1f2}{#1}");x("\\grayC","\\textcolor{##e3e5e6}{#1}");x("\\grayD","\\textcolor{##d6d8da}{#1}");x("\\grayE","\\textcolor{##babec2}{#1}");x("\\grayF","\\textcolor{##888d93}{#1}");x("\\grayG","\\textcolor{##626569}{#1}");x("\\grayH","\\textcolor{##3b3e40}{#1}");x("\\grayI","\\textcolor{##21242c}{#1}");x("\\kaBlue","\\textcolor{##314453}{#1}");x("\\kaGreen","\\textcolor{##71B307}{#1}");var z$={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class YN{constructor(r,e,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=e,this.expansionCount=0,this.feed(r),this.macros=new GN(KN,e.macros),this.mode=n,this.stack=[]}feed(r){this.lexer=new sb(r,this.settings)}switchMode(r){this.mode=r}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(r){this.stack.push(r)}pushTokens(r){this.stack.push(...r)}scanArgument(r){var e,n,i;if(r){if(this.consumeSpaces(),this.future().text!=="[")return null;e=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:e,end:n}=this.consumeArg());return this.pushToken(new Xr("EOF",n.loc)),this.pushTokens(i),e.range(n,"")}consumeSpaces(){for(;;){var r=this.future();if(r.text===" ")this.stack.pop();else break}}consumeArg(r){var e=[],n=r&&r.length>0;n||this.consumeSpaces();var i=this.future(),a,o=0,s=0;do{if(a=this.popToken(),e.push(a),a.text==="{")++o;else if(a.text==="}"){if(--o,o===-1)throw new Y("Extra }",a)}else if(a.text==="EOF")throw new Y("Unexpected end of input in a macro argument, expected '"+(r&&n?r[s]:"}")+"'",a);if(r&&n)if((o===0||o===1&&r[s]==="{")&&a.text===r[s]){if(++s,s===r.length){e.splice(-s,s);break}}else s=0}while(o!==0||n);return i.text==="{"&&e[e.length-1].text==="}"&&(e.pop(),e.shift()),e.reverse(),{tokens:e,start:i,end:a}}consumeArgs(r,e){if(e){if(e.length!==r+1)throw new Y("The length of delimiters doesn't match the number of args!");for(var n=e[0],i=0;ithis.settings.maxExpand)throw new Y("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(r){var e=this.popToken(),n=e.text,i=e.noexpand?null:this._getExpansion(n);if(i==null||r&&i.unexpandable){if(r&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new Y("Undefined control sequence: "+n);return this.pushToken(e),!1}this.countExpansion(1);var a=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var l=a[s];if(l.text==="#"){if(s===0)throw new Y("Incomplete placeholder at end of macro body",l);if(l=a[--s],l.text==="#")a.splice(s+1,1);else if(/^[1-9]$/.test(l.text))a.splice(s,2,...o[+l.text-1]);else throw new Y("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var r=this.stack.pop();return r.treatAsRelax&&(r.text="\\relax"),r}throw new Error}expandMacro(r){return this.macros.has(r)?this.expandTokens([new Xr(r)]):void 0}expandTokens(r){var e=[],n=this.stack.length;for(this.pushTokens(r);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),e.push(i)}return this.countExpansion(e.length),e}expandMacroAsText(r){var e=this.expandMacro(r);return e&&e.map(n=>n.text).join("")}_getExpansion(r){var e=this.macros.get(r);if(e==null)return e;if(r.length===1){var n=this.lexer.catcodes[r];if(n!=null&&n!==13)return}var i=typeof e=="function"?e(this):e;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var o=i.replace(/##/g,"");o.indexOf("#"+(a+1))!==-1;)++a;for(var s=new sb(i,this.settings),l=[],u=s.lex();u.text!=="EOF";)l.push(u),u=s.lex();l.reverse();var c={tokens:l,numArgs:a};return c}return i}isDefined(r){return this.macros.has(r)||ki.hasOwnProperty(r)||ut.math.hasOwnProperty(r)||ut.text.hasOwnProperty(r)||z$.hasOwnProperty(r)}isExpandable(r){var e=this.macros.get(r);return e!=null?typeof e=="string"||typeof e=="function"||!e.unexpandable:ki.hasOwnProperty(r)&&!ki[r].primitive}}var cb=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Nu=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),md={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},hb={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Fh{constructor(r,e){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new YN(r,e,this.mode),this.settings=e,this.leftrightDepth=0}expect(r,e){if(e===void 0&&(e=!0),this.fetch().text!==r)throw new Y("Expected '"+r+"', got '"+this.fetch().text+"'",this.fetch());e&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(r){this.mode=r,this.gullet.switchMode(r)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var r=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),r}finally{this.gullet.endGroups()}}subparse(r){var e=this.nextToken;this.consume(),this.gullet.pushToken(new Xr("}")),this.gullet.pushTokens(r);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=e,n}parseExpression(r,e){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Fh.endOfExpression.indexOf(i.text)!==-1||e&&i.text===e||r&&ki[i.text]&&ki[i.text].infix)break;var a=this.parseAtom(e);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(r){for(var e=-1,n,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',r);var s=ut[this.mode][e].group,l=Dr.range(r),u;if(FD.hasOwnProperty(s)){var c=s;u={type:"atom",mode:this.mode,family:c,loc:l,text:e}}else u={type:s,mode:this.mode,loc:l,text:e};o=u}else if(e.charCodeAt(0)>=128)this.settings.strict&&(G7(e.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+e[0]+'" used in math mode',r):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+e[0]+'"'+(" ("+e.charCodeAt(0)+")"),r)),o={type:"textord",mode:"text",loc:Dr.range(r),text:e};else return null;if(this.consume(),a)for(var h=0;hu&&(u=c):c&&(u!==void 0&&u>-1&&l.push(` +`.repeat(u)||" "),u=-1,l.push(c))}return l.join("")}function U$(t,r,e){return t.type==="element"?SR(t,r,e):t.type==="text"?e.whitespace==="normal"?V$(t,e):ER(t):[]}function SR(t,r,e){const n=G$(t,e),i=t.children||[];let a=-1,o=[];if(xR(t))return o;let s,l;for(tp(t)||wb(t)&&mb(r,t,wb)?l=` +`:$R(t)?(s=2,l=2):q$(t)&&(s=1,l=1);++a0&&(a.properties.rel=[...d]),f&&(a.properties.target=f),c){const g=Ts(r.contentProperties,a)||{};a.children.push({type:"element",tagName:"span",properties:ca(g),children:ca(c)})}}}})}}function Ts(t,r){return typeof t=="function"?t(r):t}function yd({content:t,name:r="Assistant",format:e,onOptionClick:n,extComponent:i}){const a=qe.useRef(),o=()=>{var s,l;try{const u=JSON.parse(t),c=((l=(s=u.ext)==null?void 0:s.find(h=>h.type==="guides"))==null?void 0:l.data)||[];return I.jsxs("div",{className:"space-y-3",children:[e==="markdown"&&u.text?I.jsx("div",{ref:a,children:I.jsx(FP,{rehypePlugins:[[BR,{target:"_blank"}],AR],remarkPlugins:[VM,eR],className:`prose prose-xs prose-neutral prose-a:text-accent-foreground/50 break-words [&>*]:!my-1 leading-relaxed text-xs + prose-headings:font-semibold + prose-h1:text-base + prose-h2:text-sm + prose-h3:text-xs + prose-h4:text-xs + prose-p:text-xs + prose-ul:text-xs + prose-ol:text-xs + prose-li:text-xs + prose-code:text-xs + prose-pre:text-xs`,components:{p:({children:h})=>I.jsx("p",{className:"!my-0.5 leading-relaxed text-xs",children:h}),h1:({children:h})=>I.jsx("h1",{className:"text-base font-semibold !my-1",children:h}),h2:({children:h})=>I.jsx("h2",{className:"text-sm font-semibold !my-1",children:h}),h3:({children:h})=>I.jsx("h3",{className:"text-xs font-semibold !my-1",children:h}),h4:({children:h})=>I.jsx("h4",{className:"text-xs font-semibold !my-1",children:h}),table:({children:h})=>I.jsx("table",{className:"border-solid border border-[#979797] w-[100%] text-xs",children:h}),th:({children:h})=>I.jsx("th",{className:"border-solid bg-[#E5E7ED] dark:bg-[#FFFFFF] dark:text-[#000000] border border-[#979797] text-center pt-2 text-xs",children:h}),td:({children:h})=>{if(Array.isArray(h)&&(h==null?void 0:h.length)>0){const d=[],f=h.length;for(let v=0;v"?d.push(I.jsx("br",{})):d.push(h[v]);h=d}return I.jsx("td",{className:"border-solid border border-[#979797] text-center text-xs",children:h})},code:({children:h})=>I.jsx("code",{className:"text-xs bg-gray-100 rounded px-1",children:h}),pre:({children:h})=>I.jsx("pre",{className:"text-xs bg-gray-100 rounded p-2 overflow-x-auto",children:h}),img:({node:h,...d})=>I.jsx("div",{className:"w-1/2 mx-auto",children:I.jsx("img",{...d,loading:"lazy",className:"w-full h-auto block",onError:f=>{console.warn("Image failed to load:",d.src,"Error:",f),f.currentTarget.style.opacity="0"}})})},children:u.text})}):u.text?I.jsx("p",{className:"whitespace-pre-wrap text-left",children:u.text}):null,c.length>0&&I.jsx("div",{className:"flex flex-wrap gap-2 mt-2",children:c.map((h,d)=>I.jsx("button",{className:"px-3 py-1.5 bg-white text-gray-700 rounded-md hover:bg-gray-50 transition-colors text-[12px] w-[calc(50%-0.25rem)]",onClick:()=>n==null?void 0:n(h),children:h},d))}),i]})}catch{return I.jsx("p",{className:"whitespace-pre-wrap text-left",children:t})}};return I.jsx(mm,{name:r,children:I.jsx("div",{className:"w-full rounded-lg bg-gray-50 p-4 text-gray-700 text-sm break-words overflow-hidden",children:o()})})}function LR({content:t,name:r="Assistant",avatar:e,latestInput:n,installedNodes:i,onAddMessage:a}){var c,h;const s=((h=(c=JSON.parse(t).ext)==null?void 0:c.find(d=>d.type==="workflow"))==null?void 0:h.data)||[],l=async d=>{if(!d.id){console.error("No workflow id provided");return}try{const f=await _i.getOptimizedWorkflow(d.id,n);if(f.workflow){const v=new Set;for(const b of f.workflow.nodes)v.add(b.type);const g=Array.from(v).filter(b=>!i.includes(b));if(console.log("[WorkflowOption] Missing node types:",g),g.length>0)try{console.log("[WorkflowOption] Fetching info for missing nodes");const b=await _i.batchGetNodeInfo(g);console.log("[WorkflowOption] Received node infos:",b);const y={text:"",ext:[{type:"node_install_guide",data:b.map(k=>({name:k.name,repository_url:k.github_url}))}]},$={id:br(),role:"ai",content:JSON.stringify(y),format:"markdown",name:"Assistant",metadata:{pendingWorkflow:f.workflow,optimizedParams:f.optimized_params}};a==null||a($);return}catch(b){console.error("[WorkflowOption] Error fetching node info:",b),alert("Error checking required nodes. Please try again.");return}u(f.workflow,f.optimized_params)}}catch(f){console.error("Failed to optimize workflow:",f)}},u=(d,f)=>{Ft.loadGraphData(d);for(const[g,b,y,$,k]of f){const T=Ft.graph._nodes_by_id[g].widgets;for(const P of T)P.name===$&&(P.value=k)}Ft.graph.setDirtyCanvas(!1,!0);const v={id:br(),role:"tool",content:JSON.stringify({text:"The workflow has been successfully loaded to the canvas",ext:[]}),format:"markdown",name:"Assistant"};a==null||a(v)};return I.jsx("div",{className:"space-y-3",children:s.length>0&&I.jsx("div",{className:"flex flex-col space-y-4",children:s.map((d,f)=>I.jsxs("div",{className:"flex items-center gap-4 p-4 rounded-lg border border-gray-200 hover:bg-gray-50",children:[d.image&&I.jsx("img",{src:d.image,alt:d.name,className:"w-14 h-14 object-cover rounded-lg",onError:v=>{const g=v.target;g.onerror=null,g.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none'%3E%3Crect width='56' height='56' fill='%23F3F4F6'/%3E%3Cpath d='M28 28C30.2091 28 32 26.2091 32 24C32 21.7909 30.2091 20 28 20C25.7909 20 24 21.7909 24 24C24 26.2091 25.7909 28 28 28Z' fill='%239CA3AF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.7253 37.6307C19.8278 35.1533 22.6897 33.6 26 33.6H30C33.3103 33.6 36.1722 35.1533 37.2747 37.6307C37.6419 38.4561 37.0611 39.2 36.1694 39.2H19.8306C18.9389 39.2 18.3581 38.4561 18.7253 37.6307Z' fill='%239CA3AF'/%3E%3C/svg%3E"}}),I.jsxs("div",{className:"flex-1 break-words flex flex-col h-[4.5rem] justify-between",children:[I.jsx("div",{children:I.jsx("h3",{className:"font-medium text-sm line-clamp-2 h-10 overflow-hidden",children:d.name})}),I.jsxs("div",{className:"flex justify-between items-center mt-1",children:[d.description&&I.jsxs("div",{className:"relative group",children:[I.jsx("div",{className:"w-5 h-5 flex items-center justify-center text-gray-500 cursor-help",children:I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4",children:I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})})}),I.jsx("div",{className:"absolute bottom-full left-0 mb-2 hidden group-hover:block",children:I.jsx("div",{className:"bg-gray-900 text-white text-xs rounded-md py-1 px-2 max-w-xs",children:d.description})})]}),I.jsx("button",{onClick:()=>l(d),className:"px-3 py-1.5 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition-colors text-xs",children:"Accept"})]})]})]},f))})})}const jR=LiteGraph;function zh(t,r={}){const e=jR.createNode(t,"",r);return Ft.graph.add(e),e}function HR({content:t,name:r="Assistant",avatar:e,installedNodes:n}){var d,f;const i=JSON.parse(t),[a,o]=qe.useState(null),s=((f=(d=i.ext)==null?void 0:d.find(v=>v.type==="node"))==null?void 0:f.data)||[],l=v=>n.some(g=>g===v),u=s.filter(v=>l(v.name)),c=s.filter(v=>!l(v.name)),h=v=>v>=1e4?`${(v/1e4).toFixed(1)}w`:v>=1e3?`${(v/1e3).toFixed(1)}k`:v.toString();return I.jsxs("div",{className:"rounded-lg bg-green-50 p-3 text-gray-700 text-xs break-words overflow-visible",children:[u.length>0&&I.jsxs("div",{className:"space-y-3",children:[I.jsx("p",{className:"text-xs font-medium",children:"Installed nodes:"}),I.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:u.map(v=>I.jsxs("div",{className:`w-full p-3 bg-white rounded-lg border border-gray-200 + hover:shadow-sm transition-all duration-200 relative group`,onMouseEnter:()=>o(v.name),onMouseLeave:()=>o(null),children:[I.jsx("h3",{className:"text-sm font-medium text-gray-800 mb-4",children:v.name}),I.jsxs("div",{className:"flex items-center justify-between text-[11px]",children:[I.jsxs("div",{className:"flex items-center gap-1 text-gray-600",children:[I.jsx("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:I.jsx("path",{d:"M12 .25a.75.75 0 0 1 .673.418l3.058 6.197 6.839.994a.75.75 0 0 1 .415 1.279l-4.948 4.823 1.168 6.811a.75.75 0 0 1-1.088.791L12 18.347l-6.117 3.216a.75.75 0 0 1-1.088-.79l1.168-6.812-4.948-4.823a.75.75 0 0 1 .416-1.28l6.838-.993L11.327.668A.75.75 0 0 1 12 .25z"})}),I.jsx("span",{children:h(v.github_stars||0)})]}),I.jsxs("button",{className:`px-2 py-1 bg-blue-500 text-white rounded-md + hover:bg-blue-600 transition-colors text-[10px] flex items-center gap-1`,onClick:()=>{const g=zh(v.name);g&&g.connect(v.from_index,g,v.to_index)},children:[I.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"})}),"Add to Canvas"]})]}),a===v.name&&v.description&&I.jsxs("div",{className:`fixed transform -translate-y-full z-[9999] w-64 p-2 + bg-gray-800 text-white text-xs rounded-md shadow-lg mb-2`,style:{left:"calc(var(--mouse-x, 0) + 16px)",top:"calc(var(--mouse-y, 0) - 8px)"},children:[v.description,I.jsx("div",{className:`absolute -bottom-1 left-1/2 -translate-x-1/2 + border-4 border-transparent border-t-gray-800`})]})]},v.name))})]}),c.length>0&&I.jsxs("div",{className:`space-y-3 ${u.length>0?"mt-4":""}`,children:[I.jsx("p",{className:"text-xs font-medium",children:"Uninstalled nodes:"}),I.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:c.map(v=>I.jsxs("div",{className:`w-full p-3 bg-white rounded-lg border border-gray-200 + hover:shadow-sm transition-all duration-200 relative group`,onMouseEnter:()=>o(v.name),onMouseLeave:()=>o(null),children:[I.jsx("h3",{className:"text-[12px] font-medium text-gray-800 mb-4",children:v.name}),I.jsxs("div",{className:"flex items-center justify-between text-[11px]",children:[I.jsxs("div",{className:"flex items-center gap-1 text-gray-600",children:[I.jsx("svg",{className:"w-3.5 h-3.5",fill:"currentColor",viewBox:"0 0 24 24",children:I.jsx("path",{d:"M12 .25a.75.75 0 0 1 .673.418l3.058 6.197 6.839.994a.75.75 0 0 1 .415 1.279l-4.948 4.823 1.168 6.811a.75.75 0 0 1-1.088.791L12 18.347l-6.117 3.216a.75.75 0 0 1-1.088-.79l1.168-6.812-4.948-4.823a.75.75 0 0 1 .416-1.28l6.838-.993L11.327.668A.75.75 0 0 1 12 .25z"})}),I.jsx("span",{children:h(v.github_stars||0)})]}),I.jsxs("a",{href:v.github_url,target:"_blank",rel:"noopener noreferrer",className:`px-2 py-1 bg-white text-gray-900 rounded-md + border border-gray-900 hover:bg-gray-100 + transition-colors text-[10px] flex items-center gap-1`,children:[I.jsx("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})}),"Download"]})]}),a===v.name&&v.description&&I.jsxs("div",{className:`fixed transform -translate-y-full z-[9999] w-64 p-2 + bg-gray-800 text-white text-xs rounded-md shadow-lg mb-2`,style:{left:"calc(var(--mouse-x, 0) + 16px)",top:"calc(var(--mouse-y, 0) - 8px)"},children:[v.description,I.jsx("div",{className:`absolute -bottom-1 left-1/2 -translate-x-1/2 + border-4 border-transparent border-t-gray-800`})]})]},v.name))})]})]})}function WR({content:t,name:r="Assistant",avatar:e,installedNodes:n}){var u,c,h;const i=JSON.parse(t),[a,o]=qe.useState(null),s=((c=(u=i.ext)==null?void 0:u.find(d=>d.type==="node"))==null?void 0:c.data)||[],l=d=>n.some(f=>f===d);return I.jsxs("div",{className:"rounded-lg bg-green-50 p-3 text-gray-700 text-xs break-words overflow-visible",children:[s.length>0&&I.jsxs("div",{className:"space-y-3",children:[I.jsx("p",{className:"text-xs",children:"Recommended downstream nodes that can be connected:"}),I.jsx("div",{className:"flex flex-wrap gap-2",children:s.map(d=>{const f=l(d.name);return I.jsxs("div",{className:"relative group",children:[f?I.jsx("button",{className:`px-3 py-1.5 bg-blue-500 text-white rounded-md + hover:bg-blue-600 transition-colors text-xs`,onClick:()=>{const v=zh(d.name);if(v){const g=Object.values(Ft.canvas.selected_nodes)[0];g&&g.connect(d.from_index,v,d.to_index)}},onMouseEnter:()=>o(d.name),onMouseLeave:()=>o(null),children:d.name}):I.jsx("a",{href:d.github_url,target:"_blank",rel:"noopener noreferrer",className:`px-3 py-1.5 bg-gray-100 text-gray-700 rounded-md + hover:bg-gray-200 transition-colors text-xs border + border-gray-200`,onMouseEnter:()=>o(d.name),onMouseLeave:()=>o(null),children:d.name}),a===d.name&&d.description&&I.jsxs("div",{className:`fixed transform -translate-y-full + z-[9999] w-64 p-2 bg-gray-800 text-white text-xs + rounded-md shadow-lg mb-2`,style:{left:"calc(var(--mouse-x, 0) + 16px)",top:"calc(var(--mouse-y, 0) - 8px)"},children:[d.description,I.jsx("div",{className:`absolute -bottom-1 left-1/2 -translate-x-1/2 + border-4 border-transparent border-t-gray-800`})]})]},d.name)})})]}),((h=i.node_info)==null?void 0:h.missing_nodes)&&i.node_info.missing_nodes.length>0&&I.jsxs("div",{className:"space-y-3 mt-4",children:[I.jsx("p",{children:"Other recommended nodes (requires installation):"}),I.jsx("div",{className:"flex flex-wrap gap-2",children:i.node_info.missing_nodes.map(d=>I.jsxs("div",{className:"relative group",children:[I.jsx("a",{href:d.github_url,target:"_blank",rel:"noopener noreferrer",className:`px-3 py-1.5 bg-gray-100 text-gray-700 rounded-md + hover:bg-gray-200 transition-colors text-xs border + border-gray-200`,onMouseEnter:()=>o(d.name),onMouseLeave:()=>o(null),children:d.name}),a===d.name&&d.description&&I.jsxs("div",{className:`fixed transform -translate-y-full + z-[9999] w-64 p-2 bg-gray-800 text-white text-xs + rounded-md shadow-lg mb-2`,style:{left:"calc(var(--mouse-x, 0) + 16px)",top:"calc(var(--mouse-y, 0) - 8px)"},children:[d.description,I.jsx("div",{className:`absolute -bottom-1 left-1/2 -translate-x-1/2 + border-4 border-transparent border-t-gray-800`})]})]},d.name))})]})]})}/** + * vis-data + * http://visjs.org/ + * + * Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data. + * + * @version 7.1.9 + * @date 2023-11-24T17:53:34.179Z + * + * @copyright (c) 2011-2017 Almende B.V, http://almende.com + * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs + * + * @license + * vis.js is dual licensed under both + * + * 1. The Apache 2.0 License + * http://www.apache.org/licenses/LICENSE-2.0 + * + * and + * + * 2. The MIT License + * http://opensource.org/licenses/MIT + * + * vis.js may be distributed under either license. + */function Bh(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}var bd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ee(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var K$={exports:{}},Ru=function(t){return t&&t.Math===Math&&t},dt=Ru(typeof globalThis=="object"&&globalThis)||Ru(typeof window=="object"&&window)||Ru(typeof self=="object"&&self)||Ru(typeof bd=="object"&&bd)||function(){return this}()||bd||Function("return this")(),Xe=function(t){try{return!!t()}catch{return!0}},qR=Xe,Il=!qR(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),UR=Il,Y$=Function.prototype,$b=Y$.apply,xb=Y$.call,Yo=typeof Reflect=="object"&&Reflect.apply||(UR?xb.bind($b):function(){return xb.apply($b,arguments)}),X$=Il,J$=Function.prototype,rp=J$.call,VR=X$&&J$.bind.bind(rp,rp),ct=X$?VR:function(t){return function(){return rp.apply(t,arguments)}},Z$=ct,GR=Z$({}.toString),KR=Z$("".slice),Ui=function(t){return KR(GR(t),8,-1)},YR=Ui,XR=ct,Q$=function(t){if(YR(t)==="Function")return XR(t)},np=typeof document=="object"&&document.all,JR=typeof np>"u"&&np!==void 0,e8={all:np,IS_HTMLDDA:JR},t8=e8,ZR=t8.all,wt=t8.IS_HTMLDDA?function(t){return typeof t=="function"||t===ZR}:function(t){return typeof t=="function"},Ma={},QR=Xe,Ht=!QR(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),eF=Il,Fu=Function.prototype.call,Wt=eF?Fu.bind(Fu):function(){return Fu.apply(Fu,arguments)},Lh={},r8={}.propertyIsEnumerable,n8=Object.getOwnPropertyDescriptor,tF=n8&&!r8.call({1:2},1);Lh.f=tF?function(r){var e=n8(this,r);return!!e&&e.enumerable}:r8;var Da=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}},rF=ct,nF=Xe,iF=Ui,wd=Object,aF=rF("".split),jh=nF(function(){return!wd("z").propertyIsEnumerable(0)})?function(t){return iF(t)==="String"?aF(t,""):wd(t)}:wd,Xo=function(t){return t==null},oF=Xo,sF=TypeError,t1=function(t){if(oF(t))throw new sF("Can't call method on "+t);return t},lF=jh,uF=t1,Rn=function(t){return lF(uF(t))},kb=wt,i8=e8,cF=i8.all,Zt=i8.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:kb(t)||t===cF}:function(t){return typeof t=="object"?t!==null:kb(t)},ft={},$d=ft,xd=dt,hF=wt,Sb=function(t){return hF(t)?t:void 0},dr=function(t,r){return arguments.length<2?Sb($d[t])||Sb(xd[t]):$d[t]&&$d[t][r]||xd[t]&&xd[t][r]},dF=ct,Nt=dF({}.isPrototypeOf),Vi=typeof navigator<"u"&&String(navigator.userAgent)||"",a8=dt,kd=Vi,Eb=a8.process,Tb=a8.Deno,_b=Eb&&Eb.versions||Tb&&Tb.version,Ob=_b&&_b.v8,un,Qc;Ob&&(un=Ob.split("."),Qc=un[0]>0&&un[0]<4?1:+(un[0]+un[1]));!Qc&&kd&&(un=kd.match(/Edge\/(\d+)/),(!un||un[1]>=74)&&(un=kd.match(/Chrome\/(\d+)/),un&&(Qc=+un[1])));var Jo=Qc,Ib=Jo,fF=Xe,vF=dt,pF=vF.String,Zo=!!Object.getOwnPropertySymbols&&!fF(function(){var t=Symbol("symbol detection");return!pF(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Ib&&Ib<41}),mF=Zo,o8=mF&&!Symbol.sham&&typeof Symbol.iterator=="symbol",gF=dr,yF=wt,bF=Nt,wF=o8,$F=Object,Cl=wF?function(t){return typeof t=="symbol"}:function(t){var r=gF("Symbol");return yF(r)&&bF(r.prototype,$F(t))},xF=String,Qo=function(t){try{return xF(t)}catch{return"Object"}},kF=wt,SF=Qo,EF=TypeError,_r=function(t){if(kF(t))return t;throw new EF(SF(t)+" is not a function")},TF=_r,_F=Xo,r1=function(t,r){var e=t[r];return _F(e)?void 0:TF(e)},Sd=Wt,Ed=wt,Td=Zt,OF=TypeError,IF=function(t,r){var e,n;if(r==="string"&&Ed(e=t.toString)&&!Td(n=Sd(e,t))||Ed(e=t.valueOf)&&!Td(n=Sd(e,t))||r!=="string"&&Ed(e=t.toString)&&!Td(n=Sd(e,t)))return n;throw new OF("Can't convert object to primitive value")},s8={exports:{}},CF=!0,Cb=dt,PF=Object.defineProperty,AF=function(t,r){try{PF(Cb,t,{value:r,configurable:!0,writable:!0})}catch{Cb[t]=r}return r},MF=dt,DF=AF,Pb="__core-js_shared__",NF=MF[Pb]||DF(Pb,{}),n1=NF,Ab=n1;(s8.exports=function(t,r){return Ab[t]||(Ab[t]=r!==void 0?r:{})})("versions",[]).push({version:"3.33.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"});var es=s8.exports,RF=t1,FF=Object,Or=function(t){return FF(RF(t))},zF=ct,BF=Or,LF=zF({}.hasOwnProperty),Rt=Object.hasOwn||function(r,e){return LF(BF(r),e)},jF=ct,HF=0,WF=Math.random(),qF=jF(1 .toString),Hh=function(t){return"Symbol("+(t===void 0?"":t)+")_"+qF(++HF+WF,36)},UF=dt,VF=es,Mb=Rt,GF=Hh,KF=Zo,YF=o8,co=UF.Symbol,_d=VF("wks"),XF=YF?co.for||co:co&&co.withoutSetter||GF,mt=function(t){return Mb(_d,t)||(_d[t]=KF&&Mb(co,t)?co[t]:XF("Symbol."+t)),_d[t]},JF=Wt,Db=Zt,Nb=Cl,ZF=r1,QF=IF,ez=mt,tz=TypeError,rz=ez("toPrimitive"),nz=function(t,r){if(!Db(t)||Nb(t))return t;var e=ZF(t,rz),n;if(e){if(r===void 0&&(r="default"),n=JF(e,t,r),!Db(n)||Nb(n))return n;throw new tz("Can't convert object to primitive value")}return r===void 0&&(r="number"),QF(t,r)},iz=nz,az=Cl,Wh=function(t){var r=iz(t,"string");return az(r)?r:r+""},oz=dt,Rb=Zt,ip=oz.document,sz=Rb(ip)&&Rb(ip.createElement),i1=function(t){return sz?ip.createElement(t):{}},lz=Ht,uz=Xe,cz=i1,l8=!lz&&!uz(function(){return Object.defineProperty(cz("div"),"a",{get:function(){return 7}}).a!==7}),hz=Ht,dz=Wt,fz=Lh,vz=Da,pz=Rn,mz=Wh,gz=Rt,yz=l8,Fb=Object.getOwnPropertyDescriptor;Ma.f=hz?Fb:function(r,e){if(r=pz(r),e=mz(e),yz)try{return Fb(r,e)}catch{}if(gz(r,e))return vz(!dz(fz.f,r,e),r[e])};var bz=Xe,wz=wt,$z=/#|\.prototype\./,Pl=function(t,r){var e=kz[xz(t)];return e===Ez?!0:e===Sz?!1:wz(r)?bz(r):!!r},xz=Pl.normalize=function(t){return String(t).replace($z,".").toLowerCase()},kz=Pl.data={},Sz=Pl.NATIVE="N",Ez=Pl.POLYFILL="P",u8=Pl,zb=Q$,Tz=_r,_z=Il,Oz=zb(zb.bind),Gi=function(t,r){return Tz(t),r===void 0?t:_z?Oz(t,r):function(){return t.apply(r,arguments)}},Ir={},Iz=Ht,Cz=Xe,c8=Iz&&Cz(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Pz=Zt,Az=String,Mz=TypeError,Br=function(t){if(Pz(t))return t;throw new Mz(Az(t)+" is not an object")},Dz=Ht,Nz=l8,Rz=c8,zu=Br,Bb=Wh,Fz=TypeError,Od=Object.defineProperty,zz=Object.getOwnPropertyDescriptor,Id="enumerable",Cd="configurable",Pd="writable";Ir.f=Dz?Rz?function(r,e,n){if(zu(r),e=Bb(e),zu(n),typeof r=="function"&&e==="prototype"&&"value"in n&&Pd in n&&!n[Pd]){var i=zz(r,e);i&&i[Pd]&&(r[e]=n.value,n={configurable:Cd in n?n[Cd]:i[Cd],enumerable:Id in n?n[Id]:i[Id],writable:!1})}return Od(r,e,n)}:Od:function(r,e,n){if(zu(r),e=Bb(e),zu(n),Nz)try{return Od(r,e,n)}catch{}if("get"in n||"set"in n)throw new Fz("Accessors not supported");return"value"in n&&(r[e]=n.value),r};var Bz=Ht,Lz=Ir,jz=Da,hi=Bz?function(t,r,e){return Lz.f(t,r,jz(1,e))}:function(t,r,e){return t[r]=e,t},Bu=dt,Hz=Yo,Wz=Q$,qz=wt,Uz=Ma.f,Vz=u8,Ja=ft,Gz=Gi,Za=hi,Lb=Rt,Kz=function(t){var r=function(e,n,i){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return Hz(t,this,arguments)};return r.prototype=t.prototype,r},$e=function(t,r){var e=t.target,n=t.global,i=t.stat,a=t.proto,o=n?Bu:i?Bu[e]:(Bu[e]||{}).prototype,s=n?Ja:Ja[e]||Za(Ja,e,{})[e],l=s.prototype,u,c,h,d,f,v,g,b,y;for(d in r)u=Vz(n?d:e+(i?".":"#")+d,t.forced),c=!u&&o&&Lb(o,d),v=s[d],c&&(t.dontCallGetSet?(y=Uz(o,d),g=y&&y.value):g=o[d]),f=c&&g?g:r[d],!(c&&typeof v==typeof f)&&(t.bind&&c?b=Gz(f,Bu):t.wrap&&c?b=Kz(f):a&&qz(f)?b=Wz(f):b=f,(t.sham||f&&f.sham||v&&v.sham)&&Za(b,"sham",!0),Za(s,d,b),a&&(h=e+"Prototype",Lb(Ja,h)||Za(Ja,h,{}),Za(Ja[h],d,f),t.real&&l&&(u||!l[d])&&Za(l,d,f)))},Yz=$e,Xz=Ht,jb=Ir.f;Yz({target:"Object",stat:!0,forced:Object.defineProperty!==jb,sham:!Xz},{defineProperty:jb});var Jz=ft,h8=Jz.Object,Zz=K$.exports=function(r,e,n){return h8.defineProperty(r,e,n)};h8.defineProperty.sham&&(Zz.sham=!0);var Qz=K$.exports,eB=Qz,d8=eB,tB=d8,rB=tB,nB=rB,iB=nB,f8=iB,qh=Ee(f8),aB=Ui,Ki=Array.isArray||function(r){return aB(r)==="Array"},oB=Math.ceil,sB=Math.floor,lB=Math.trunc||function(r){var e=+r;return(e>0?sB:oB)(e)},uB=lB,Uh=function(t){var r=+t;return r!==r||r===0?0:uB(r)},cB=Uh,hB=Math.min,dB=function(t){return t>0?hB(cB(t),9007199254740991):0},fB=dB,Lr=function(t){return fB(t.length)},vB=TypeError,pB=9007199254740991,Vh=function(t){if(t>pB)throw vB("Maximum allowed index exceeded");return t},mB=Wh,gB=Ir,yB=Da,ts=function(t,r,e){var n=mB(r);n in t?gB.f(t,n,yB(0,e)):t[n]=e},bB=mt,wB=bB("toStringTag"),v8={};v8[wB]="z";var a1=String(v8)==="[object z]",$B=a1,xB=wt,Tc=Ui,kB=mt,SB=kB("toStringTag"),EB=Object,TB=Tc(function(){return arguments}())==="Arguments",_B=function(t,r){try{return t[r]}catch{}},di=$B?Tc:function(t){var r,e,n;return t===void 0?"Undefined":t===null?"Null":typeof(e=_B(r=EB(t),SB))=="string"?e:TB?Tc(r):(n=Tc(r))==="Object"&&xB(r.callee)?"Arguments":n},OB=ct,IB=wt,ap=n1,CB=OB(Function.toString);IB(ap.inspectSource)||(ap.inspectSource=function(t){return CB(t)});var p8=ap.inspectSource,PB=ct,AB=Xe,m8=wt,MB=di,DB=dr,NB=p8,g8=function(){},RB=[],y8=DB("Reflect","construct"),o1=/^\s*(?:class|function)\b/,FB=PB(o1.exec),zB=!o1.test(g8),_s=function(r){if(!m8(r))return!1;try{return y8(g8,RB,r),!0}catch{return!1}},b8=function(r){if(!m8(r))return!1;switch(MB(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return zB||!!FB(o1,NB(r))}catch{return!0}};b8.sham=!0;var Gh=!y8||AB(function(){var t;return _s(_s.call)||!_s(Object)||!_s(function(){t=!0})||t})?b8:_s,Hb=Ki,BB=Gh,LB=Zt,jB=mt,HB=jB("species"),Wb=Array,WB=function(t){var r;return Hb(t)&&(r=t.constructor,BB(r)&&(r===Wb||Hb(r.prototype))?r=void 0:LB(r)&&(r=r[HB],r===null&&(r=void 0))),r===void 0?Wb:r},qB=WB,Kh=function(t,r){return new(qB(t))(r===0?0:r)},UB=Xe,VB=mt,GB=Jo,KB=VB("species"),Al=function(t){return GB>=51||!UB(function(){var r=[],e=r.constructor={};return e[KB]=function(){return{foo:1}},r[t](Boolean).foo!==1})},YB=$e,XB=Xe,JB=Ki,ZB=Zt,QB=Or,eL=Lr,qb=Vh,Ub=ts,tL=Kh,rL=Al,nL=mt,iL=Jo,w8=nL("isConcatSpreadable"),aL=iL>=51||!XB(function(){var t=[];return t[w8]=!1,t.concat()[0]!==t}),oL=function(t){if(!ZB(t))return!1;var r=t[w8];return r!==void 0?!!r:JB(t)},sL=!aL||!rL("concat");YB({target:"Array",proto:!0,arity:1,forced:sL},{concat:function(r){var e=QB(this),n=tL(e,0),i=0,a,o,s,l,u;for(a=-1,s=arguments.length;ao;)if(s=i[o++],s!==s)return!0}else for(;a>o;o++)if((t||o in i)&&i[o]===e)return t||o||0;return!t&&-1}},mL={includes:Vb(!0),indexOf:Vb(!1)},Ml={},gL=ct,Ad=Rt,yL=Rn,bL=mL.indexOf,wL=Ml,Gb=gL([].push),$8=function(t,r){var e=yL(t),n=0,i=[],a;for(a in e)!Ad(wL,a)&&Ad(e,a)&&Gb(i,a);for(;r.length>n;)Ad(e,a=r[n++])&&(~bL(i,a)||Gb(i,a));return i},s1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$L=$8,xL=s1,Jh=Object.keys||function(r){return $L(r,xL)},kL=Ht,SL=c8,EL=Ir,TL=Br,_L=Rn,OL=Jh;Yh.f=kL&&!SL?Object.defineProperties:function(r,e){TL(r);for(var n=_L(e),i=OL(e),a=i.length,o=0,s;a>o;)EL.f(r,s=i[o++],n[s]);return r};var IL=dr,x8=IL("document","documentElement"),CL=es,PL=Hh,Kb=CL("keys"),Zh=function(t){return Kb[t]||(Kb[t]=PL(t))},AL=Br,ML=Yh,Yb=s1,DL=Ml,NL=x8,RL=i1,FL=Zh,Xb=">",Jb="<",op="prototype",sp="script",k8=FL("IE_PROTO"),Md=function(){},S8=function(t){return Jb+sp+Xb+t+Jb+"/"+sp+Xb},Zb=function(t){t.write(S8("")),t.close();var r=t.parentWindow.Object;return t=null,r},zL=function(){var t=RL("iframe"),r="java"+sp+":",e;return t.style.display="none",NL.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(S8("document.F=Object")),e.close(),e.F},Lu,_c=function(){try{Lu=new ActiveXObject("htmlfile")}catch{}_c=typeof document<"u"?document.domain&&Lu?Zb(Lu):zL():Zb(Lu);for(var t=Yb.length;t--;)delete _c[op][Yb[t]];return _c()};DL[k8]=!0;var Ra=Object.create||function(r,e){var n;return r!==null?(Md[op]=AL(r),n=new Md,Md[op]=null,n[k8]=r):n=_c(),e===void 0?n:ML.f(n,e)},Dl={},BL=$8,LL=s1,jL=LL.concat("length","prototype");Dl.f=Object.getOwnPropertyNames||function(r){return BL(r,jL)};var l1={},Qb=Xh,HL=Lr,WL=ts,qL=Array,UL=Math.max,E8=function(t,r,e){for(var n=HL(t),i=Qb(r,n),a=Qb(e===void 0?n:e,n),o=qL(UL(a-i,0)),s=0;ib;b++)if((s||b in f)&&(k=f[b],T=v(k,b,d),t))if(r)$[b]=T;else if(T)switch(t){case 3:return!0;case 5:return k;case 6:return b;case 2:i4($,k)}else switch(t){case 4:return!1;case 7:i4($,k)}return a?-1:n||i?i:$}},is={forEach:gi(0),map:gi(1),filter:gi(2),some:gi(3),every:gi(4),find:gi(5),findIndex:gi(6),filterReject:gi(7)},Qh=$e,Fl=dt,c1=Wt,Aj=ct,Po=Ht,Ao=Zo,Mj=Xe,Lt=Rt,Dj=Nt,up=Br,e0=Rn,h1=Wh,Nj=Na,cp=Da,ol=Ra,C8=Jh,Rj=Dl,P8=l1,Fj=Nl,A8=Ma,M8=Ir,zj=Yh,D8=Lh,a4=rs,Bj=u1,d1=es,Lj=Zh,N8=Ml,o4=Hh,jj=mt,Hj=Rl,Wj=$t,qj=O8,Uj=Fa,R8=ns,t0=is.forEach,wr=Lj("hidden"),r0="Symbol",sl="prototype",Vj=R8.set,s4=R8.getterFor(r0),fn=Object[sl],ha=Fl.Symbol,Ns=ha&&ha[sl],Gj=Fl.RangeError,Kj=Fl.TypeError,Rd=Fl.QObject,F8=A8.f,da=M8.f,z8=P8.f,Yj=D8.f,B8=Aj([].push),ai=d1("symbols"),zl=d1("op-symbols"),Xj=d1("wks"),hp=!Rd||!Rd[sl]||!Rd[sl].findChild,L8=function(t,r,e){var n=F8(fn,r);n&&delete fn[r],da(t,r,e),n&&t!==fn&&da(fn,r,n)},dp=Po&&Mj(function(){return ol(da({},"a",{get:function(){return da(this,"a",{value:7}).a}})).a!==7})?L8:da,Fd=function(t,r){var e=ai[t]=ol(Ns);return Vj(e,{type:r0,tag:t,description:r}),Po||(e.description=r),e},n0=function(r,e,n){r===fn&&n0(zl,e,n),up(r);var i=h1(e);return up(n),Lt(ai,i)?(n.enumerable?(Lt(r,wr)&&r[wr][i]&&(r[wr][i]=!1),n=ol(n,{enumerable:cp(0,!1)})):(Lt(r,wr)||da(r,wr,cp(1,{})),r[wr][i]=!0),dp(r,i,n)):da(r,i,n)},f1=function(r,e){up(r);var n=e0(e),i=C8(n).concat(q8(n));return t0(i,function(a){(!Po||c1(j8,n,a))&&n0(r,a,n[a])}),r},Jj=function(r,e){return e===void 0?ol(r):f1(ol(r),e)},j8=function(r){var e=h1(r),n=c1(Yj,this,e);return this===fn&&Lt(ai,e)&&!Lt(zl,e)?!1:n||!Lt(this,e)||!Lt(ai,e)||Lt(this,wr)&&this[wr][e]?n:!0},H8=function(r,e){var n=e0(r),i=h1(e);if(!(n===fn&&Lt(ai,i)&&!Lt(zl,i))){var a=F8(n,i);return a&&Lt(ai,i)&&!(Lt(n,wr)&&n[wr][i])&&(a.enumerable=!0),a}},W8=function(r){var e=z8(e0(r)),n=[];return t0(e,function(i){!Lt(ai,i)&&!Lt(N8,i)&&B8(n,i)}),n},q8=function(t){var r=t===fn,e=z8(r?zl:e0(t)),n=[];return t0(e,function(i){Lt(ai,i)&&(!r||Lt(fn,i))&&B8(n,ai[i])}),n};Ao||(ha=function(){if(Dj(Ns,this))throw new Kj("Symbol is not a constructor");var r=!arguments.length||arguments[0]===void 0?void 0:Nj(arguments[0]),e=o4(r),n=function(i){var a=this===void 0?Fl:this;a===fn&&c1(n,zl,i),Lt(a,wr)&&Lt(a[wr],e)&&(a[wr][e]=!1);var o=cp(1,i);try{dp(a,e,o)}catch(s){if(!(s instanceof Gj))throw s;L8(a,e,o)}};return Po&&hp&&dp(fn,e,{configurable:!0,set:n}),Fd(e,r)},Ns=ha[sl],a4(Ns,"toString",function(){return s4(this).tag}),a4(ha,"withoutSetter",function(t){return Fd(o4(t),t)}),D8.f=j8,M8.f=n0,zj.f=f1,A8.f=H8,Rj.f=P8.f=W8,Fj.f=q8,Hj.f=function(t){return Fd(jj(t),t)},Po&&Bj(Ns,"description",{configurable:!0,get:function(){return s4(this).description}}));Qh({global:!0,constructor:!0,wrap:!0,forced:!Ao,sham:!Ao},{Symbol:ha});t0(C8(Xj),function(t){Wj(t)});Qh({target:r0,stat:!0,forced:!Ao},{useSetter:function(){hp=!0},useSimple:function(){hp=!1}});Qh({target:"Object",stat:!0,forced:!Ao,sham:!Po},{create:Jj,defineProperty:n0,defineProperties:f1,getOwnPropertyDescriptor:H8});Qh({target:"Object",stat:!0,forced:!Ao},{getOwnPropertyNames:W8});qj();Uj(ha,r0);N8[wr]=!0;var Zj=Zo,U8=Zj&&!!Symbol.for&&!!Symbol.keyFor,Qj=$e,eH=dr,tH=Rt,rH=Na,V8=es,nH=U8,zd=V8("string-to-symbol-registry"),iH=V8("symbol-to-string-registry");Qj({target:"Symbol",stat:!0,forced:!nH},{for:function(t){var r=rH(t);if(tH(zd,r))return zd[r];var e=eH("Symbol")(r);return zd[r]=e,iH[e]=r,e}});var aH=$e,oH=Rt,sH=Cl,lH=Qo,uH=es,cH=U8,l4=uH("symbol-to-string-registry");aH({target:"Symbol",stat:!0,forced:!cH},{keyFor:function(r){if(!sH(r))throw new TypeError(lH(r)+" is not a symbol");if(oH(l4,r))return l4[r]}});var hH=ct,Bl=hH([].slice),dH=ct,u4=Ki,fH=wt,c4=Ui,vH=Na,h4=dH([].push),pH=function(t){if(fH(t))return t;if(u4(t)){for(var r=t.length,e=[],n=0;n=r.length)return t.target=void 0,qu(void 0,!0);switch(t.kind){case"keys":return qu(e,!1);case"values":return qu(r[e],!1)}return qu([e,r[e]],!1)},"values");E4.Arguments=E4.Array;var KW={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},YW=KW,XW=dt,JW=di,ZW=hi,T4=as,QW=mt,_4=QW("toStringTag");for(var Hd in YW){var O4=XW[Hd],Wd=O4&&O4.prototype;Wd&&JW(Wd)!==_4&&ZW(Wd,_4,Hd),T4[Hd]=T4.Array}var eq=JH,ax=eq,tq=mt,rq=Ir.f,I4=tq("metadata"),C4=Function.prototype;C4[I4]===void 0&&rq(C4,I4,{value:null});var nq=$t;nq("asyncDispose");var iq=$t;iq("dispose");var aq=$t;aq("metadata");var oq=ax,sq=oq,lq=dr,uq=ct,g1=lq("Symbol"),cq=g1.keyFor,hq=uq(g1.prototype.valueOf),ox=g1.isRegisteredSymbol||function(r){try{return cq(hq(r))!==void 0}catch{return!1}},dq=$e,fq=ox;dq({target:"Symbol",stat:!0},{isRegisteredSymbol:fq});var vq=es,sx=dr,pq=ct,mq=Cl,gq=mt,rh=sx("Symbol"),P4=rh.isWellKnownSymbol,lx=sx("Object","getOwnPropertyNames"),yq=pq(rh.prototype.valueOf),A4=vq("wks");for(var qd=0,M4=lx(rh),bq=M4.length;qd=a?t?"":void 0:(o=N4(n,i),o<55296||o>56319||i+1===a||(s=N4(n,i+1))<56320||s>57343?t?Rq(n,i):o:t?Fq(n,i,i+2):(o-55296<<10)+(s-56320)+65536)}},zq={codeAt:R4(!1),charAt:R4(!0)},Bq=zq.charAt,Lq=Na,cx=ns,jq=p1,F4=m1,hx="String Iterator",Hq=cx.set,Wq=cx.getterFor(hx);jq(String,"String",function(t){Hq(this,{type:hx,string:Lq(t),index:0})},function(){var r=Wq(this),e=r.string,n=r.index,i;return n>=e.length?F4(void 0,!0):(i=Bq(e,n),r.index+=i.length,F4(i,!1))});var qq=Rl,Uq=qq.f("iterator"),Vq=Uq,dx=Vq,Gq=dx,Kq=Gq,Yq=Kq,Xq=Yq,fx=Xq,Jq=Ee(fx);function Mo(t){"@babel/helpers - typeof";return Mo=typeof ho=="function"&&typeof Jq=="symbol"?function(r){return typeof r}:function(r){return r&&typeof ho=="function"&&r.constructor===ho&&r!==ho.prototype?"symbol":typeof r},Mo(t)}var Zq=Rl,Qq=Zq.f("toPrimitive"),eU=Qq,tU=eU,rU=tU,nU=rU,iU=nU,aU=iU,oU=aU,sU=Ee(oU);function lU(t,r){if(Mo(t)!=="object"||t===null)return t;var e=t[sU];if(e!==void 0){var n=e.call(t,r||"default");if(Mo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function vx(t){var r=lU(t,"string");return Mo(r)==="symbol"?r:String(r)}function z4(t,r){for(var e=0;e=0:s>l;l+=u)l in o&&(i=e(i,o[l],l,a));return i}},PU={left:j4(!1),right:j4(!0)},AU=Xe,o0=function(t,r){var e=[][t];return!!e&&AU(function(){e.call(null,r||function(){return 1},1)})},MU=dt,DU=Ui,jl=DU(MU.process)==="process",NU=$e,RU=PU.left,FU=o0,H4=Jo,zU=jl,BU=!zU&&H4>79&&H4<83,LU=BU||!FU("reduce");NU({target:"Array",proto:!0,forced:LU},{reduce:function(r){var e=arguments.length;return RU(this,r,e,e>1?arguments[1]:void 0)}});var jU=rr,HU=jU("Array","reduce"),WU=Nt,qU=HU,Gd=Array.prototype,UU=function(t){var r=t.reduce;return t===Gd||WU(Gd,t)&&r===Gd.reduce?qU:r},VU=UU,GU=VU,KU=GU,YU=Ee(KU),XU=$e,JU=is.filter,ZU=Al,QU=ZU("filter");XU({target:"Array",proto:!0,forced:!QU},{filter:function(r){return JU(this,r,arguments.length>1?arguments[1]:void 0)}});var eV=rr,tV=eV("Array","filter"),rV=Nt,nV=tV,Kd=Array.prototype,iV=function(t){var r=t.filter;return t===Kd||rV(Kd,t)&&r===Kd.filter?nV:r},aV=iV,oV=aV,sV=oV,fo=Ee(sV),lV=$e,uV=is.map,cV=Al,hV=cV("map");lV({target:"Array",proto:!0,forced:!hV},{map:function(r){return uV(this,r,arguments.length>1?arguments[1]:void 0)}});var dV=rr,fV=dV("Array","map"),vV=Nt,pV=fV,Yd=Array.prototype,mV=function(t){var r=t.map;return t===Yd||vV(Yd,t)&&r===Yd.map?pV:r},gV=mV,yV=gV,bV=yV,cn=Ee(bV),wV=Ki,$V=Lr,xV=Vh,kV=Gi,wx=function(t,r,e,n,i,a,o,s){for(var l=i,u=0,c=o?kV(o,s):!1,h,d;u0&&wV(h)?(d=$V(h),l=wx(t,r,h,d,l,a-1)-1):(xV(l+1),t[l]=h),l++),u++;return l},SV=wx,EV=$e,TV=SV,_V=_r,OV=Or,IV=Lr,CV=Kh;EV({target:"Array",proto:!0},{flatMap:function(r){var e=OV(this),n=IV(e),i;return _V(r),i=CV(e,0),i.length=TV(i,e,e,n,0,1,r,arguments.length>1?arguments[1]:void 0),i}});var PV=rr;PV("Array","flatMap");var AV=Wt,W4=Br,MV=r1,$x=function(t,r,e){var n,i;W4(t);try{if(n=MV(t,"return"),!n){if(r==="throw")throw e;return e}n=AV(n,t)}catch(a){i=!0,n=a}if(r==="throw")throw e;if(i)throw n;return W4(n),e},DV=Br,NV=$x,RV=function(t,r,e,n){try{return n?r(DV(e)[0],e[1]):r(e)}catch(i){NV(t,"throw",i)}},FV=mt,zV=as,BV=FV("iterator"),LV=Array.prototype,xx=function(t){return t!==void 0&&(zV.Array===t||LV[BV]===t)},jV=di,q4=r1,HV=Xo,WV=as,qV=mt,UV=qV("iterator"),s0=function(t){if(!HV(t))return q4(t,UV)||q4(t,"@@iterator")||WV[jV(t)]},VV=Wt,GV=_r,KV=Br,YV=Qo,XV=s0,JV=TypeError,w1=function(t,r){var e=arguments.length<2?XV(t):r;if(GV(e))return KV(VV(e,t));throw new JV(YV(t)+" is not iterable")},ZV=Gi,QV=Wt,eG=Or,tG=RV,rG=xx,nG=Gh,iG=Lr,U4=ts,aG=w1,oG=s0,V4=Array,sG=function(r){var e=eG(r),n=nG(this),i=arguments.length,a=i>1?arguments[1]:void 0,o=a!==void 0;o&&(a=ZV(a,i>2?arguments[2]:void 0));var s=oG(e),l=0,u,c,h,d,f,v;if(s&&!(this===V4&&rG(s)))for(d=aG(e,s),f=d.next,c=n?new this:[];!(h=QV(f,d)).done;l++)v=o?tG(d,a,[h.value,l],!0):h.value,U4(c,l,v);else for(u=iG(e),c=n?new this(u):V4(u);u>l;l++)v=o?a(e[l],l):e[l],U4(c,l,v);return c.length=l,c},lG=mt,kx=lG("iterator"),Sx=!1;try{var uG=0,G4={next:function(){return{done:!!uG++}},return:function(){Sx=!0}};G4[kx]=function(){return this},Array.from(G4,function(){throw 2})}catch{}var Ex=function(t,r){try{if(!r&&!Sx)return!1}catch{return!1}var e=!1;try{var n={};n[kx]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch{}return e},cG=$e,hG=sG,dG=Ex,fG=!dG(function(t){Array.from(t)});cG({target:"Array",stat:!0,forced:fG},{from:hG});var vG=ft,pG=vG.Array.from,mG=pG,Tx=mG,gG=Tx,$1=Ee(gG),yG=s0,bG=yG,wG=bG,$G=wG,xG=$G,kG=xG,SG=kG,EG=SG,_x=EG,Ox=Ee(_x),TG=_x,x1=Ee(TG),_G=$e,OG=Ki;_G({target:"Array",stat:!0},{isArray:OG});var IG=ft,CG=IG.Array.isArray,PG=CG,Ix=PG,AG=Ix,MG=AG,DG=MG,NG=DG,RG=NG,Cx=Ee(RG);function FG(t){if(Cx(t))return t}var zG=Ht,BG=Ki,LG=TypeError,jG=Object.getOwnPropertyDescriptor,HG=zG&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),Px=HG?function(t,r){if(BG(t)&&!jG(t,"length").writable)throw new LG("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r},WG=$e,qG=Or,UG=Lr,VG=Px,GG=Vh,KG=Xe,YG=KG(function(){return[].push.call({length:4294967296},1)!==4294967297}),XG=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},JG=YG||!XG();WG({target:"Array",proto:!0,arity:1,forced:JG},{push:function(r){var e=qG(this),n=UG(e),i=arguments.length;GG(n+i);for(var a=0;at.length)&&(r=t.length);for(var e=0,n=new Array(r);e1?arguments[1]:void 0)},_Y=$e,X4=TY;_Y({target:"Array",proto:!0,forced:[].forEach!==X4},{forEach:X4});var OY=rr,IY=OY("Array","forEach"),CY=IY,PY=CY,AY=di,MY=Rt,DY=Nt,NY=PY,ef=Array.prototype,RY={DOMTokenList:!0,NodeList:!0},zx=function(t){var r=t.forEach;return t===ef||DY(ef,t)&&r===ef.forEach||MY(RY,AY(t))?NY:r},FY=zx,xa=Ee(FY),zY=$e,BY=ct,LY=Ki,jY=BY([].reverse),J4=[1,2];zY({target:"Array",proto:!0,forced:String(J4)===String(J4.reverse())},{reverse:function(){return LY(this)&&(this.length=this.length),jY(this)}});var HY=rr,WY=HY("Array","reverse"),qY=Nt,UY=WY,tf=Array.prototype,VY=function(t){var r=t.reverse;return t===tf||qY(tf,t)&&r===tf.reverse?UY:r},GY=VY,Bx=GY,KY=Bx,YY=Ee(KY),Z4=Qo,XY=TypeError,Lx=function(t,r){if(!delete t[r])throw new XY("Cannot delete property "+Z4(r)+" of "+Z4(t))},JY=$e,ZY=Or,QY=Xh,eX=Uh,tX=Lr,rX=Px,nX=Vh,iX=Kh,aX=ts,rf=Lx,oX=Al,sX=oX("splice"),lX=Math.max,uX=Math.min;JY({target:"Array",proto:!0,forced:!sX},{splice:function(r,e){var n=ZY(this),i=tX(n),a=QY(r,i),o=arguments.length,s,l,u,c,h,d;for(o===0?s=l=0:o===1?(s=0,l=i-a):(s=o-2,l=uX(lX(eX(e),0),i-a)),nX(i+s-l),u=iX(n,l),c=0;ci-l+s;c--)rf(n,c-1)}else if(s>l)for(c=i-l;c>a;c--)h=c+l-1,d=c+s-1,h in n?n[d]=n[h]:rf(n,d);for(c=0;ca;)for(var l=SX(arguments[a++]),u=o?EX(af(l),o(l)):af(l),c=u.length,h=0,d;c>h;)d=u[h++],(!Q4||bX(s,l,d))&&(n[d]=l[d]);return n}:eo,_X=$e,t2=TX;_X({target:"Object",stat:!0,arity:2,forced:Object.assign!==t2},{assign:t2});var OX=ft,IX=OX.Object.assign,CX=IX,PX=CX,AX=PX,MX=Ee(AX),DX=$e,NX=Xe,RX=Or,Hx=i0,FX=Q8,zX=NX(function(){Hx(1)});DX({target:"Object",stat:!0,forced:zX,sham:!FX},{getPrototypeOf:function(r){return Hx(RX(r))}});var BX=ft,LX=BX.Object.getPrototypeOf,jX=LX,HX=jX,WX=$e,qX=Ht,UX=Ra;WX({target:"Object",stat:!0,sham:!qX},{create:UX});var VX=ft,GX=VX.Object,KX=function(r,e){return GX.create(r,e)},YX=KX,Wx=YX,XX=Wx,JX=Ee(XX),gp=ft,ZX=Yo;gp.JSON||(gp.JSON={stringify:JSON.stringify});var QX=function(r,e,n){return ZX(gp.JSON.stringify,null,arguments)},eJ=QX,tJ=eJ,rJ=tJ,nJ=Ee(rJ),iJ=typeof Bun=="function"&&Bun&&typeof Bun.version=="string",aJ=TypeError,qx=function(t,r){if(te,o=sJ(n)?n:dJ(n),s=a?cJ(arguments,e):[],l=a?function(){oJ(o,this,s)}:o;return r?t(l,i):t(l)}:t},vJ=$e,Gx=dt,pJ=Vx,r2=pJ(Gx.setInterval,!0);vJ({global:!0,bind:!0,forced:Gx.setInterval!==r2},{setInterval:r2});var mJ=$e,Kx=dt,gJ=Vx,n2=gJ(Kx.setTimeout,!0);mJ({global:!0,bind:!0,forced:Kx.setTimeout!==n2},{setTimeout:n2});var yJ=ft,bJ=yJ.setTimeout,wJ=bJ,$J=Ee(wJ),Yx={exports:{}};(function(t){function r(n){if(n)return e(n);this._callbacks=new Map}function e(n){return Object.assign(n,r.prototype),n._callbacks=new Map,n}r.prototype.on=function(n,i){const a=this._callbacks.get(n)??[];return a.push(i),this._callbacks.set(n,a),this},r.prototype.once=function(n,i){const a=(...o)=>{this.off(n,a),i.apply(this,o)};return a.fn=i,this.on(n,a),this},r.prototype.off=function(n,i){if(n===void 0&&i===void 0)return this._callbacks.clear(),this;if(i===void 0)return this._callbacks.delete(n),this;const a=this._callbacks.get(n);if(a){for(const[o,s]of a.entries())if(s===i||s.fn===i){a.splice(o,1);break}a.length===0?this._callbacks.delete(n):this._callbacks.set(n,a)}return this},r.prototype.emit=function(n,...i){const a=this._callbacks.get(n);if(a){const o=[...a];for(const s of o)s.apply(this,i)}return this},r.prototype.listeners=function(n){return this._callbacks.get(n)??[]},r.prototype.listenerCount=function(n){if(n)return this.listeners(n).length;let i=0;for(const a of this._callbacks.values())i+=a.length;return i},r.prototype.hasListeners=function(n){return this.listenerCount(n)>0},r.prototype.addEventListener=r.prototype.on,r.prototype.removeListener=r.prototype.off,r.prototype.removeEventListener=r.prototype.off,r.prototype.removeAllListeners=r.prototype.off,t.exports=r})(Yx);var xJ=Yx.exports,kJ=Ee(xJ);/*! Hammer.JS - v2.0.17-rc - 2019-12-16 + * http://naver.github.io/egjs + * + * Forked By Naver egjs + * Copyright (c) hammerjs + * Licensed under the MIT license */function mn(){return mn=Object.assign||function(t){for(var r=1;r"u"?{style:{}}:document.createElement("div"),EJ="function",vo=Math.round,Sa=Math.abs,E1=Date.now;function h0(t,r){for(var e,n,i=r[0].toUpperCase()+r.slice(1),a=0;a"u"?Kn={}:Kn=window;var Xx=h0(SJ.style,"touchAction"),Jx=Xx!==void 0;function TJ(){if(!Jx)return!1;var t={},r=Kn.CSS&&Kn.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){return t[e]=r?Kn.CSS.supports("touch-action",e):!0}),t}var Zx="compute",Qx="auto",bp="manipulation",fa="none",ll="pan-x",ul="pan-y",Vu=TJ(),_J=/mobile|tablet|ip(ad|hone|od)|android/i,e9="ontouchstart"in Kn,OJ=h0(Kn,"PointerEvent")!==void 0,IJ=e9&&_J.test(navigator.userAgent),Hl="touch",CJ="pen",T1="mouse",PJ="kinect",AJ=25,ur=1,za=2,Pt=4,Sr=8,nh=1,Wl=2,ql=4,Ul=8,Do=16,In=Wl|ql,va=Ul|Do,t9=In|va,r9=["x","y"],ih=["clientX","clientY"];function Yn(t,r,e){var n;if(t)if(t.forEach)t.forEach(r,e);else if(t.length!==void 0)for(n=0;n-1}function MJ(t){if(sa(t,fa))return fa;var r=sa(t,ll),e=sa(t,ul);return r&&e?fa:r||e?r?ll:ul:sa(t,bp)?bp:Qx}var n9=function(){function t(e,n){this.manager=e,this.set(n)}var r=t.prototype;return r.set=function(n){n===Zx&&(n=this.compute()),Jx&&this.manager.element.style&&Vu[n]&&(this.manager.element.style[Xx]=n),this.actions=n.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var n=[];return Yn(this.manager.recognizers,function(i){d0(i.options.enable,[i])&&(n=n.concat(i.getTouchAction()))}),MJ(n.join(" "))},r.preventDefaults=function(n){var i=n.srcEvent,a=n.offsetDirection;if(this.manager.session.prevented){i.preventDefault();return}var o=this.actions,s=sa(o,fa)&&!Vu[fa],l=sa(o,ul)&&!Vu[ul],u=sa(o,ll)&&!Vu[ll];if(s){var c=n.pointers.length===1,h=n.distance<2,d=n.deltaTime<250;if(c&&h&&d)return}if(!(u&&l)&&(s||l&&a&In||u&&a&va))return this.preventSrc(i)},r.preventSrc=function(n){this.manager.session.prevented=!0,n.preventDefault()},t}();function _1(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function i9(t){var r=t.length;if(r===1)return{x:vo(t[0].clientX),y:vo(t[0].clientY)};for(var e=0,n=0,i=0;i=Sa(r)?t<0?Wl:ql:r<0?Ul:Do}function DJ(t,r){var e=r.center,n=t.offsetDelta||{},i=t.prevDelta||{},a=t.prevInput||{};(r.eventType===ur||a.eventType===Pt)&&(i=t.prevDelta={x:a.deltaX||0,y:a.deltaY||0},n=t.offsetDelta={x:e.x,y:e.y}),r.deltaX=i.x+(e.x-n.x),r.deltaY=i.y+(e.y-n.y)}function o9(t,r,e){return{x:r/t||0,y:e/t||0}}function NJ(t,r){return ah(r[0],r[1],ih)/ah(t[0],t[1],ih)}function RJ(t,r){return wp(r[1],r[0],ih)+wp(t[1],t[0],ih)}function FJ(t,r){var e=t.lastInterval||r,n=r.timeStamp-e.timeStamp,i,a,o,s;if(r.eventType!==Sr&&(n>AJ||e.velocity===void 0)){var l=r.deltaX-e.deltaX,u=r.deltaY-e.deltaY,c=o9(n,l,u);a=c.x,o=c.y,i=Sa(c.x)>Sa(c.y)?c.x:c.y,s=a9(l,u),t.lastInterval=r}else i=e.velocity,a=e.velocityX,o=e.velocityY,s=e.direction;r.velocity=i,r.velocityX=a,r.velocityY=o,r.direction=s}function zJ(t,r){var e=t.session,n=r.pointers,i=n.length;e.firstInput||(e.firstInput=a2(r)),i>1&&!e.firstMultiple?e.firstMultiple=a2(r):i===1&&(e.firstMultiple=!1);var a=e.firstInput,o=e.firstMultiple,s=o?o.center:a.center,l=r.center=i9(n);r.timeStamp=E1(),r.deltaTime=r.timeStamp-a.timeStamp,r.angle=wp(s,l),r.distance=ah(s,l),DJ(e,r),r.offsetDirection=a9(r.deltaX,r.deltaY);var u=o9(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=u.x,r.overallVelocityY=u.y,r.overallVelocity=Sa(u.x)>Sa(u.y)?u.x:u.y,r.scale=o?NJ(o.pointers,n):1,r.rotation=o?RJ(o.pointers,n):0,r.maxPointers=e.prevInput?r.pointers.length>e.prevInput.maxPointers?r.pointers.length:e.prevInput.maxPointers:r.pointers.length,FJ(e,r);var c=t.element,h=r.srcEvent,d;h.composedPath?d=h.composedPath()[0]:h.path?d=h.path[0]:d=h.target,_1(d,c)&&(c=d),r.target=c}function BJ(t,r,e){var n=e.pointers.length,i=e.changedPointers.length,a=r&ur&&n-i===0,o=r&(Pt|Sr)&&n-i===0;e.isFirst=!!a,e.isFinal=!!o,a&&(t.session={}),e.eventType=r,zJ(t,e),t.emit("hammer.input",e),t.recognize(e),t.session.prevInput=e}function cl(t){return t.trim().split(/\s+/g)}function Ws(t,r,e){Yn(cl(r),function(n){t.addEventListener(n,e,!1)})}function qs(t,r,e){Yn(cl(r),function(n){t.removeEventListener(n,e,!1)})}function o2(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var os=function(){function t(e,n){var i=this;this.manager=e,this.callback=n,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(a){d0(e.options.enable,[e])&&i.handler(a)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Ws(this.element,this.evEl,this.domHandler),this.evTarget&&Ws(this.target,this.evTarget,this.domHandler),this.evWin&&Ws(o2(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&qs(this.element,this.evEl,this.domHandler),this.evTarget&&qs(this.target,this.evTarget,this.domHandler),this.evWin&&qs(o2(this.element),this.evWin,this.domHandler)},t}();function Ea(t,r,e){if(t.indexOf&&!e)return t.indexOf(r);for(var n=0;nl[r]}):n=n.sort()),n}var HJ={touchstart:ur,touchmove:za,touchend:Pt,touchcancel:Sr},WJ="touchstart touchmove touchend touchcancel",I1=function(t){rn(r,t);function r(){var n;return r.prototype.evTarget=WJ,n=t.apply(this,arguments)||this,n.targetIds={},n}var e=r.prototype;return e.handler=function(i){var a=HJ[i.type],o=qJ.call(this,i,a);o&&this.callback(this.manager,a,{pointers:o[0],changedPointers:o[1],pointerType:Hl,srcEvent:i})},r}(os);function qJ(t,r){var e=hl(t.touches),n=this.targetIds;if(r&(ur|za)&&e.length===1)return n[e[0].identifier]=!0,[e,e];var i,a,o=hl(t.changedTouches),s=[],l=this.target;if(a=e.filter(function(u){return _1(u.target,l)}),r===ur)for(i=0;i-1&&i.splice(s,1)};setTimeout(a,KJ)}}function YJ(t,r){t&ur?(this.primaryTouch=r.changedPointers[0].identifier,l2.call(this,r)):t&(Pt|Sr)&&l2.call(this,r)}function XJ(t){for(var r=t.srcEvent.clientX,e=t.srcEvent.clientY,n=0;n-1&&this.requireFail.splice(i,1),this},r.hasRequireFailures=function(){return this.requireFail.length>0},r.canRecognizeWith=function(n){return!!this.simultaneous[n.id]},r.emit=function(n){var i=this,a=this.state;function o(s){i.manager.emit(s,n)}a=Ci&&o(i.options.event+u2(a))},r.tryEmit=function(n){if(this.canEmit())return this.emit(n);this.state=Tn},r.canEmit=function(){for(var n=0;na.threshold&&l&a.direction},e.attrTest=function(i){return Ro.prototype.attrTest.call(this,i)&&(this.state&Jr||!(this.state&Jr)&&this.directionTest(i))},e.emit=function(i){this.pX=i.deltaX,this.pY=i.deltaY;var a=h9(i.direction);a&&(i.additionalEvent=this.options.event+a),t.prototype.emit.call(this,i)},r}(Ro),d9=function(t){rn(r,t);function r(n){return n===void 0&&(n={}),t.call(this,mn({event:"swipe",threshold:10,velocity:.3,direction:In|va,pointers:1},n))||this}var e=r.prototype;return e.getTouchAction=function(){return P1.prototype.getTouchAction.call(this)},e.attrTest=function(i){var a=this.options.direction,o;return a&(In|va)?o=i.overallVelocity:a&In?o=i.overallVelocityX:a&va&&(o=i.overallVelocityY),t.prototype.attrTest.call(this,i)&&a&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers===this.options.pointers&&Sa(o)>this.options.velocity&&i.eventType&Pt},e.emit=function(i){var a=h9(i.offsetDirection);a&&this.manager.emit(this.options.event+a,i),this.manager.emit(this.options.event,i)},r}(Ro),f9=function(t){rn(r,t);function r(n){return n===void 0&&(n={}),t.call(this,mn({event:"pinch",threshold:0,pointers:2},n))||this}var e=r.prototype;return e.getTouchAction=function(){return[fa]},e.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||this.state&Jr)},e.emit=function(i){if(i.scale!==1){var a=i.scale<1?"in":"out";i.additionalEvent=this.options.event+a}t.prototype.emit.call(this,i)},r}(Ro),v9=function(t){rn(r,t);function r(n){return n===void 0&&(n={}),t.call(this,mn({event:"rotate",threshold:0,pointers:2},n))||this}var e=r.prototype;return e.getTouchAction=function(){return[fa]},e.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||this.state&Jr)},r}(Ro),p9=function(t){rn(r,t);function r(n){var i;return n===void 0&&(n={}),i=t.call(this,mn({event:"press",pointers:1,time:251,threshold:9},n))||this,i._timer=null,i._input=null,i}var e=r.prototype;return e.getTouchAction=function(){return[Qx]},e.process=function(i){var a=this,o=this.options,s=i.pointers.length===o.pointers,l=i.distanceo.time;if(this._input=i,!l||!s||i.eventType&(Pt|Sr)&&!u)this.reset();else if(i.eventType&ur)this.reset(),this._timer=setTimeout(function(){a.state=Xn,a.tryEmit()},o.time);else if(i.eventType&Pt)return Xn;return Tn},e.reset=function(){clearTimeout(this._timer)},e.emit=function(i){this.state===Xn&&(i&&i.eventType&Pt?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=E1(),this.manager.emit(this.options.event,this._input)))},r}(Vl),m9={domEvents:!1,touchAction:Zx,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},c2=[[v9,{enable:!1}],[f9,{enable:!1},["rotate"]],[d9,{direction:In}],[P1,{direction:In},["swipe"]],[$p],[$p,{event:"doubletap",taps:2},["tap"]],[p9]],eZ=1,h2=2;function d2(t,r){var e=t.element;if(e.style){var n;Yn(t.options.cssProps,function(i,a){n=h0(e.style,a),r?(t.oldCssProps[n]=e.style[n],e.style[n]=i):e.style[n]=t.oldCssProps[n]||""}),r||(t.oldCssProps={})}}function tZ(t,r){var e=document.createEvent("Event");e.initEvent(t,!0,!0),e.gesture=r,r.target.dispatchEvent(e)}var f2=function(){function t(e,n){var i=this;this.options=ka({},m9,n||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=JJ(this),this.touchAction=new n9(this,this.options.touchAction),d2(this,!0),Yn(this.options.recognizers,function(a){var o=i.add(new a[0](a[1]));a[2]&&o.recognizeWith(a[2]),a[3]&&o.requireFailure(a[3])},this)}var r=t.prototype;return r.set=function(n){return ka(this.options,n),n.touchAction&&this.touchAction.update(),n.inputTarget&&(this.input.destroy(),this.input.target=n.inputTarget,this.input.init()),this},r.stop=function(n){this.session.stopped=n?h2:eZ},r.recognize=function(n){var i=this.session;if(!i.stopped){this.touchAction.preventDefaults(n);var a,o=this.recognizers,s=i.curRecognizer;(!s||s&&s.state&Xn)&&(i.curRecognizer=null,s=null);for(var l=0;l\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=window.console&&(window.console.warn||window.console.log);return o&&o.call(window.console,n,a),t.apply(this,arguments)}}var y9=g9(function(t,r,e){for(var n=Object.keys(r),i=0;i=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function hZ(t,r){var e;if(t){if(typeof t=="string")return p2(t,r);var n=c0(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return $1(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p2(t,r)}}function p2(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e1?e-1:0),i=1;i2){var n;return oh.apply(void 0,u0(n=[$9(r[0],r[1])]).call(n,$r(c0(r).call(r,2))))}var i=r[0],a=r[1];if(i instanceof Date&&a instanceof Date)return i.setTime(a.getTime()),i;var o=b9(dY(a)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;Object.prototype.propertyIsEnumerable.call(a,l)&&(a[l]===w9?delete i[l]:i[l]!==null&&a[l]!==null&&typeof i[l]=="object"&&typeof a[l]=="object"&&!Nr(i[l])&&!Nr(a[l])?i[l]=oh(i[l],a[l]):i[l]=x9(a[l]))}}catch(u){o.e(u)}finally{o.f()}return i}function x9(t){return Nr(t)?cn(t).call(t,function(r){return x9(r)}):typeof t=="object"&&t!==null?t instanceof Date?new Date(t.getTime()):oh({},t):t}function k9(t){for(var r=0,e=S1(t);ro;)l=n(e,s=i[o++]),l!==void 0&&JZ(a,s,l);return a}});var ZZ=ft,QZ=ZZ.Object.getOwnPropertyDescriptors,eQ=QZ,tQ=eQ,rQ=tQ,w2=Ee(rQ),M9={exports:{}},nQ=$e,iQ=Ht,$2=Yh.f;nQ({target:"Object",stat:!0,forced:Object.defineProperties!==$2,sham:!iQ},{defineProperties:$2});var aQ=ft,D9=aQ.Object,oQ=M9.exports=function(r,e){return D9.defineProperties(r,e)};D9.defineProperties.sham&&(oQ.sham=!0);var sQ=M9.exports,lQ=sQ,uQ=lQ,cQ=uQ,hQ=Ee(cQ),dQ=d8,fQ=Ee(dQ);function N9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var vQ=Wx,pQ=vQ,mQ=pQ,gQ=mQ,R9=gQ,yQ=Ee(R9),bQ=$e,wQ=rx;bQ({target:"Object",stat:!0},{setPrototypeOf:wQ});var $Q=ft,xQ=$Q.Object.setPrototypeOf,kQ=xQ,SQ=kQ,EQ=SQ,TQ=EQ,_Q=TQ,OQ=_Q,F9=OQ,xp=Ee(F9),IQ=yx,CQ=IQ,PQ=CQ,AQ=PQ,MQ=AQ,z9=Ee(MQ);function kp(t,r){var e;return kp=xp?z9(e=xp).call(e):function(i,a){return i.__proto__=a,i},kp(t,r)}function DQ(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=yQ(r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),qh(t,"prototype",{writable:!1}),kp(t,r)}function NQ(t,r){if(r&&(Mo(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N9(t)}var RQ=HX,FQ=RQ,zQ=FQ,BQ=zQ,B9=BQ,x2=Ee(B9);function sh(t){var r;return sh=xp?z9(r=x2).call(r):function(n){return n.__proto__||x2(n)},sh(t)}var L9={exports:{}},j9={exports:{}};(function(t){var r=y1,e=fx;function n(i){"@babel/helpers - typeof";return t.exports=n=typeof r=="function"&&typeof e=="symbol"?function(a){return typeof a}:function(a){return a&&typeof r=="function"&&a.constructor===r&&a!==r.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(i)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})(j9);var LQ=j9.exports,jQ=zx,HQ=jQ,WQ=HQ,qQ=WQ,UQ=qQ,k2=Rt,VQ=k1,GQ=Ma,KQ=Ir,YQ=function(t,r,e){for(var n=VQ(r),i=KQ.f,a=GQ.f,o=0;oh;h++)if(f=y(t[h]),f&&E2(_2,f))return f;return new Cc(!1)}u=gee(t,c)}for(v=a?t.next:u.next;!(g=dee(v,u)).done;){try{f=y(g.value)}catch($){T2(u,"throw",$)}if(typeof f=="object"&&f&&E2(_2,f))return f}return new Cc(!1)},wee=Na,$ee=function(t,r){return t===void 0?arguments.length<2?"":r:wee(t)},xee=$e,kee=Nt,See=i0,lh=rx,Eee=YQ,q9=Ra,sf=hi,lf=Da,Tee=ZQ,_ee=cee,Oee=Ba,Iee=$ee,Cee=mt,Pee=Cee("toStringTag"),uh=Error,Aee=[].push,Fo=function(r,e){var n=kee(uf,this),i;lh?i=lh(new uh,n?See(this):uf):(i=n?this:q9(uf),sf(i,Pee,"Error")),e!==void 0&&sf(i,"message",Iee(e)),_ee(i,Fo,i.stack,1),arguments.length>2&&Tee(i,arguments[2]);var a=[];return Oee(r,Aee,{that:a}),sf(i,"errors",a),i};lh?lh(Fo,uh):Eee(Fo,uh,{name:!0});var uf=Fo.prototype=q9(uh.prototype,{constructor:lf(1,Fo),message:lf(1,""),name:lf(1,"AggregateError")});xee({global:!0,constructor:!0,arity:2},{AggregateError:Fo});var Mee=dr,Dee=u1,Nee=mt,Ree=Ht,O2=Nee("species"),U9=function(t){var r=Mee(t);Ree&&r&&!r[O2]&&Dee(r,O2,{configurable:!0,get:function(){return this}})},Fee=Nt,zee=TypeError,M1=function(t,r){if(Fee(r,t))return t;throw new zee("Incorrect invocation")},I2=Br,Bee=S9,Lee=Xo,jee=mt,Hee=jee("species"),V9=function(t,r){var e=I2(t).constructor,n;return e===void 0||Lee(n=I2(e)[Hee])?r:Bee(n)},Wee=Vi,G9=/(?:ipad|iphone|ipod).*applewebkit/i.test(Wee),Rr=dt,qee=Yo,Uee=Gi,C2=wt,Vee=Rt,K9=Xe,P2=x8,Gee=Bl,A2=i1,Kee=qx,Yee=G9,Xee=jl,Sp=Rr.setImmediate,Ep=Rr.clearImmediate,Jee=Rr.process,cf=Rr.Dispatch,Zee=Rr.Function,M2=Rr.MessageChannel,Qee=Rr.String,hf=0,Us={},D2="onreadystatechange",fl,na,df,ff;K9(function(){fl=Rr.location});var D1=function(t){if(Vee(Us,t)){var r=Us[t];delete Us[t],r()}},vf=function(t){return function(){D1(t)}},N2=function(t){D1(t.data)},R2=function(t){Rr.postMessage(Qee(t),fl.protocol+"//"+fl.host)};(!Sp||!Ep)&&(Sp=function(r){Kee(arguments.length,1);var e=C2(r)?r:Zee(r),n=Gee(arguments,1);return Us[++hf]=function(){qee(e,void 0,n)},na(hf),hf},Ep=function(r){delete Us[r]},Xee?na=function(t){Jee.nextTick(vf(t))}:cf&&cf.now?na=function(t){cf.now(vf(t))}:M2&&!Yee?(df=new M2,ff=df.port2,df.port1.onmessage=N2,na=Uee(ff.postMessage,ff)):Rr.addEventListener&&C2(Rr.postMessage)&&!Rr.importScripts&&fl&&fl.protocol!=="file:"&&!K9(R2)?(na=R2,Rr.addEventListener("message",N2,!1)):D2 in A2("script")?na=function(t){P2.appendChild(A2("script"))[D2]=function(){P2.removeChild(this),D1(t)}}:na=function(t){setTimeout(vf(t),0)});var Y9={set:Sp,clear:Ep},X9=function(){this.head=null,this.tail=null};X9.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}};var J9=X9,ete=Vi,tte=/ipad|iphone|ipod/i.test(ete)&&typeof Pebble<"u",rte=Vi,nte=/web0s(?!.*chrome)/i.test(rte),Ta=dt,F2=Gi,ite=Ma.f,pf=Y9.set,ate=J9,ote=G9,ste=tte,lte=nte,mf=jl,z2=Ta.MutationObserver||Ta.WebKitMutationObserver,B2=Ta.document,L2=Ta.process,Ku=Ta.Promise,j2=ite(Ta,"queueMicrotask"),Tp=j2&&j2.value,to,gf,yf,Yu,H2;if(!Tp){var Xu=new ate,Ju=function(){var t,r;for(mf&&(t=L2.domain)&&t.exit();r=Xu.get();)try{r()}catch(e){throw Xu.head&&to(),e}t&&t.enter()};!ote&&!mf&&!lte&&z2&&B2?(gf=!0,yf=B2.createTextNode(""),new z2(Ju).observe(yf,{characterData:!0}),to=function(){yf.data=gf=!gf}):!ste&&Ku&&Ku.resolve?(Yu=Ku.resolve(void 0),Yu.constructor=Ku,H2=F2(Yu.then,Yu),to=function(){H2(Ju)}):mf?to=function(){L2.nextTick(Ju)}:(pf=F2(pf,Ta),to=function(){pf(Ju)}),Tp=function(t){Xu.head||to(),Xu.add(t)}}var ute=Tp,cte=function(t,r){try{arguments.length===1?console.error(t):console.error(t,r)}catch{}},ss=function(t){try{return{error:!1,value:t()}}catch(r){return{error:!0,value:r}}},hte=dt,ls=hte.Promise,Z9=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",dte=Z9,fte=jl,vte=!dte&&!fte&&typeof window=="object"&&typeof document=="object",pte=dt,Vs=ls,mte=wt,gte=u8,yte=p8,bte=mt,wte=vte,$te=Z9,bf=Jo,W2=Vs&&Vs.prototype,xte=bte("species"),_p=!1,Q9=mte(pte.PromiseRejectionEvent),kte=gte("Promise",function(){var t=yte(Vs),r=t!==String(Vs);if(!r&&bf===66||!(W2.catch&&W2.finally))return!0;if(!bf||bf<51||!/native code/.test(t)){var e=new Vs(function(a){a(1)}),n=function(a){a(function(){},function(){})},i=e.constructor={};if(i[xte]=n,_p=e.then(function(){})instanceof n,!_p)return!0}return!r&&(wte||$te)&&!Q9}),Gl={CONSTRUCTOR:kte,REJECTION_EVENT:Q9,SUBCLASSING:_p},Fn={},q2=_r,Ste=TypeError,Ete=function(t){var r,e;this.promise=new t(function(n,i){if(r!==void 0||e!==void 0)throw new Ste("Bad Promise constructor");r=n,e=i}),this.resolve=q2(r),this.reject=q2(e)};Fn.f=function(t){return new Ete(t)};var Tte=$e,ch=jl,zi=dt,Kl=Wt,_te=rs,Ote=Fa,Ite=U9,Cte=_r,Op=wt,Pte=Zt,Ate=M1,Mte=V9,ek=Y9.set,N1=ute,Dte=cte,Nte=ss,Rte=J9,tk=ns,Ip=ls,rk=Gl,nk=Fn,f0="Promise",ik=rk.CONSTRUCTOR,Fte=rk.REJECTION_EVENT,wf=tk.getterFor(f0),zte=tk.set,Bte=Ip&&Ip.prototype,mo=Ip,$f=Bte,ak=zi.TypeError,Cp=zi.document,R1=zi.process,Pp=nk.f,Lte=Pp,jte=!!(Cp&&Cp.createEvent&&zi.dispatchEvent),ok="unhandledrejection",Hte="rejectionhandled",U2=0,sk=1,Wte=2,F1=1,lk=2,Zu,V2,qte,uk=function(t){var r;return Pte(t)&&Op(r=t.then)?r:!1},ck=function(t,r){var e=r.value,n=r.state===sk,i=n?t.ok:t.fail,a=t.resolve,o=t.reject,s=t.domain,l,u,c;try{i?(n||(r.rejection===lk&&Vte(r),r.rejection=F1),i===!0?l=e:(s&&s.enter(),l=i(e),s&&(s.exit(),c=!0)),l===t.promise?o(new ak("Promise-chain cycle")):(u=uk(l))?Kl(u,l,a,o):a(l)):o(e)}catch(h){s&&!c&&s.exit(),o(h)}},hk=function(t,r){t.notified||(t.notified=!0,N1(function(){for(var e=t.reactions,n;n=e.get();)ck(n,t);t.notified=!1,r&&!t.rejection&&Ute(t)}))},dk=function(t,r,e){var n,i;jte?(n=Cp.createEvent("Event"),n.promise=r,n.reason=e,n.initEvent(t,!1,!0),zi.dispatchEvent(n)):n={promise:r,reason:e},!Fte&&(i=zi["on"+t])?i(n):t===ok&&Dte("Unhandled promise rejection",e)},Ute=function(t){Kl(ek,zi,function(){var r=t.facade,e=t.value,n=G2(t),i;if(n&&(i=Nte(function(){ch?R1.emit("unhandledRejection",e,r):dk(ok,r,e)}),t.rejection=ch||G2(t)?lk:F1,i.error))throw i.value})},G2=function(t){return t.rejection!==F1&&!t.parent},Vte=function(t){Kl(ek,zi,function(){var r=t.facade;ch?R1.emit("rejectionHandled",r):dk(Hte,r,t.value)})},go=function(t,r,e){return function(n){t(r,n,e)}},Eo=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=Wte,hk(t,!0))},Ap=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new ak("Promise can't be resolved itself");var n=uk(r);n?N1(function(){var i={done:!1};try{Kl(n,r,go(Ap,i,t),go(Eo,i,t))}catch(a){Eo(i,a,t)}}):(t.value=r,t.state=sk,hk(t,!1))}catch(i){Eo({done:!1},i,t)}}};ik&&(mo=function(r){Ate(this,$f),Cte(r),Kl(Zu,this);var e=wf(this);try{r(go(Ap,e),go(Eo,e))}catch(n){Eo(e,n)}},$f=mo.prototype,Zu=function(r){zte(this,{type:f0,done:!1,notified:!1,parent:!1,reactions:new Rte,rejection:!1,state:U2,value:void 0})},Zu.prototype=_te($f,"then",function(r,e){var n=wf(this),i=Pp(Mte(this,mo));return n.parent=!0,i.ok=Op(r)?r:!0,i.fail=Op(e)&&e,i.domain=ch?R1.domain:void 0,n.state===U2?n.reactions.add(i):N1(function(){ck(i,n)}),i.promise}),V2=function(){var t=new Zu,r=wf(t);this.promise=t,this.resolve=go(Ap,r),this.reject=go(Eo,r)},nk.f=Pp=function(t){return t===mo||t===qte?new V2(t):Lte(t)});Tte({global:!0,constructor:!0,wrap:!0,forced:ik},{Promise:mo});Ote(mo,f0,!1,!0);Ite(f0);var Gte=ls,Kte=Ex,Yte=Gl.CONSTRUCTOR,v0=Yte||!Kte(function(t){Gte.all(t).then(void 0,function(){})}),Xte=$e,Jte=Wt,Zte=_r,Qte=Fn,ere=ss,tre=Ba,rre=v0;Xte({target:"Promise",stat:!0,forced:rre},{all:function(r){var e=this,n=Qte.f(e),i=n.resolve,a=n.reject,o=ere(function(){var s=Zte(e.resolve),l=[],u=0,c=1;tre(r,function(h){var d=u++,f=!1;c++,Jte(s,e,h).then(function(v){f||(f=!0,l[d]=v,--c||i(l))},a)}),--c||i(l)});return o.error&&a(o.value),n.promise}});var nre=$e,ire=Gl.CONSTRUCTOR,K2=ls;K2&&K2.prototype;nre({target:"Promise",proto:!0,forced:ire,real:!0},{catch:function(t){return this.then(void 0,t)}});var are=$e,ore=Wt,sre=_r,lre=Fn,ure=ss,cre=Ba,hre=v0;are({target:"Promise",stat:!0,forced:hre},{race:function(r){var e=this,n=lre.f(e),i=n.reject,a=ure(function(){var o=sre(e.resolve);cre(r,function(s){ore(o,e,s).then(n.resolve,i)})});return a.error&&i(a.value),n.promise}});var dre=$e,fre=Wt,vre=Fn,pre=Gl.CONSTRUCTOR;dre({target:"Promise",stat:!0,forced:pre},{reject:function(r){var e=vre.f(this);return fre(e.reject,void 0,r),e.promise}});var mre=Br,gre=Zt,yre=Fn,fk=function(t,r){if(mre(t),gre(r)&&r.constructor===t)return r;var e=yre.f(t),n=e.resolve;return n(r),e.promise},bre=$e,wre=dr,$re=CF,xre=ls,kre=Gl.CONSTRUCTOR,Sre=fk,Ere=wre("Promise"),Tre=!kre;bre({target:"Promise",stat:!0,forced:$re},{resolve:function(r){return Sre(Tre&&this===Ere?xre:this,r)}});var _re=$e,Ore=Wt,Ire=_r,Cre=Fn,Pre=ss,Are=Ba,Mre=v0;_re({target:"Promise",stat:!0,forced:Mre},{allSettled:function(r){var e=this,n=Cre.f(e),i=n.resolve,a=n.reject,o=Pre(function(){var s=Ire(e.resolve),l=[],u=0,c=1;Are(r,function(h){var d=u++,f=!1;c++,Ore(s,e,h).then(function(v){f||(f=!0,l[d]={status:"fulfilled",value:v},--c||i(l))},function(v){f||(f=!0,l[d]={status:"rejected",reason:v},--c||i(l))})}),--c||i(l)});return o.error&&a(o.value),n.promise}});var Dre=$e,Nre=Wt,Rre=_r,Fre=dr,zre=Fn,Bre=ss,Lre=Ba,jre=v0,Y2="No one promise resolved";Dre({target:"Promise",stat:!0,forced:jre},{any:function(r){var e=this,n=Fre("AggregateError"),i=zre.f(e),a=i.resolve,o=i.reject,s=Bre(function(){var l=Rre(e.resolve),u=[],c=0,h=1,d=!1;Lre(r,function(f){var v=c++,g=!1;h++,Nre(l,e,f).then(function(b){g||d||(d=!0,a(b))},function(b){g||d||(g=!0,u[v]=b,--h||o(new n(u,Y2)))})}),--h||o(new n(u,Y2))});return s.error&&o(s.value),i.promise}});var Hre=$e,Mp=ls,Wre=Xe,qre=dr,Ure=wt,Vre=V9,X2=fk,Gre=Mp&&Mp.prototype,Kre=!!Mp&&Wre(function(){Gre.finally.call({then:function(){}},function(){})});Hre({target:"Promise",proto:!0,real:!0,forced:Kre},{finally:function(t){var r=Vre(this,qre("Promise")),e=Ure(t);return this.then(e?function(n){return X2(r,t()).then(function(){return n})}:t,e?function(n){return X2(r,t()).then(function(){throw n})}:t)}});var Yre=ft,Xre=Yre.Promise,Jre=Xre,Zre=Jre,Qre=$e,ene=Fn;Qre({target:"Promise",stat:!0},{withResolvers:function(){var r=ene.f(this);return{promise:r.promise,resolve:r.resolve,reject:r.reject}}});var tne=Zre,rne=tne,nne=$e,ine=Fn,ane=ss;nne({target:"Promise",stat:!0,forced:!0},{try:function(t){var r=ine.f(this),e=ane(t);return(e.error?r.reject:r.resolve)(e.value),r.promise}});var one=rne,sne=one,lne=sne,une=Bx,cne=une,hne=cne,dne=hne,fne=dne;(function(t){var r=LQ.default,e=f8,n=y1,i=R9,a=B9,o=UQ,s=Ax,l=F9,u=lne,c=fne,h=Dx;function d(){t.exports=d=function(){return v},t.exports.__esModule=!0,t.exports.default=t.exports;var f,v={},g=Object.prototype,b=g.hasOwnProperty,y=e||function(Q,W,G){Q[W]=G.value},$=typeof n=="function"?n:{},k=$.iterator||"@@iterator",T=$.asyncIterator||"@@asyncIterator",P=$.toStringTag||"@@toStringTag";function E(Q,W,G){return e(Q,W,{value:G,enumerable:!0,configurable:!0,writable:!0}),Q[W]}try{E({},"")}catch{E=function(G,he,_e){return G[he]=_e}}function D(Q,W,G,he){var _e=W&&W.prototype instanceof ie?W:ie,ye=i(_e.prototype),et=new We(he||[]);return y(ye,"_invoke",{value:S(Q,G,et)}),ye}function B(Q,W,G){try{return{type:"normal",arg:Q.call(W,G)}}catch(he){return{type:"throw",arg:he}}}v.wrap=D;var R="suspendedStart",A="suspendedYield",z="executing",L="completed",Z={};function ie(){}function oe(){}function me(){}var Oe={};E(Oe,k,function(){return this});var ze=a,He=ze&&ze(ze(Le([])));He&&He!==g&&b.call(He,k)&&(Oe=He);var C=me.prototype=ie.prototype=i(Oe);function Me(Q){var W;o(W=["next","throw","return"]).call(W,function(G){E(Q,G,function(he){return this._invoke(G,he)})})}function V(Q,W){function G(_e,ye,et,Et){var Tt=B(Q[_e],Q,ye);if(Tt.type!=="throw"){var fr=Tt.arg,Qt=fr.value;return Qt&&r(Qt)=="object"&&b.call(Qt,"__await")?W.resolve(Qt.__await).then(function(yn){G("next",yn,et,Et)},function(yn){G("throw",yn,et,Et)}):W.resolve(Qt).then(function(yn){fr.value=yn,et(fr)},function(yn){return G("throw",yn,et,Et)})}Et(Tt.arg)}var he;y(this,"_invoke",{value:function(ye,et){function Et(){return new W(function(Tt,fr){G(ye,et,Tt,fr)})}return he=he?he.then(Et,Et):Et()}})}function S(Q,W,G){var he=R;return function(_e,ye){if(he===z)throw new Error("Generator is already running");if(he===L){if(_e==="throw")throw ye;return{value:f,done:!0}}for(G.method=_e,G.arg=ye;;){var et=G.delegate;if(et){var Et=pe(et,G);if(Et){if(Et===Z)continue;return Et}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(he===R)throw he=L,G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);he=z;var Tt=B(Q,W,G);if(Tt.type==="normal"){if(he=G.done?L:A,Tt.arg===Z)continue;return{value:Tt.arg,done:G.done}}Tt.type==="throw"&&(he=L,G.method="throw",G.arg=Tt.arg)}}}function pe(Q,W){var G=W.method,he=Q.iterator[G];if(he===f)return W.delegate=null,G==="throw"&&Q.iterator.return&&(W.method="return",W.arg=f,pe(Q,W),W.method==="throw")||G!=="return"&&(W.method="throw",W.arg=new TypeError("The iterator does not provide a '"+G+"' method")),Z;var _e=B(he,Q.iterator,W.arg);if(_e.type==="throw")return W.method="throw",W.arg=_e.arg,W.delegate=null,Z;var ye=_e.arg;return ye?ye.done?(W[Q.resultName]=ye.value,W.next=Q.nextLoc,W.method!=="return"&&(W.method="next",W.arg=f),W.delegate=null,Z):ye:(W.method="throw",W.arg=new TypeError("iterator result is not an object"),W.delegate=null,Z)}function Se(Q){var W,G={tryLoc:Q[0]};1 in Q&&(G.catchLoc=Q[1]),2 in Q&&(G.finallyLoc=Q[2],G.afterLoc=Q[3]),s(W=this.tryEntries).call(W,G)}function Ae(Q){var W=Q.completion||{};W.type="normal",delete W.arg,Q.completion=W}function We(Q){this.tryEntries=[{tryLoc:"root"}],o(Q).call(Q,Se,this),this.reset(!0)}function Le(Q){if(Q||Q===""){var W=Q[k];if(W)return W.call(Q);if(typeof Q.next=="function")return Q;if(!isNaN(Q.length)){var G=-1,he=function _e(){for(;++G=0;--_e){var ye=this.tryEntries[_e],et=ye.completion;if(ye.tryLoc==="root")return he("end");if(ye.tryLoc<=this.prev){var Et=b.call(ye,"catchLoc"),Tt=b.call(ye,"finallyLoc");if(Et&&Tt){if(this.prev=0;--he){var _e=this.tryEntries[he];if(_e.tryLoc<=this.prev&&b.call(_e,"finallyLoc")&&this.prev<_e.finallyLoc){var ye=_e;break}}ye&&(W==="break"||W==="continue")&&ye.tryLoc<=G&&G<=ye.finallyLoc&&(ye=null);var et=ye?ye.completion:{};return et.type=W,et.arg=G,ye?(this.method="next",this.next=ye.finallyLoc,Z):this.complete(et)},complete:function(W,G){if(W.type==="throw")throw W.arg;return W.type==="break"||W.type==="continue"?this.next=W.arg:W.type==="return"?(this.rval=this.arg=W.arg,this.method="return",this.next="end"):W.type==="normal"&&G&&(this.next=G),Z},finish:function(W){for(var G=this.tryEntries.length-1;G>=0;--G){var he=this.tryEntries[G];if(he.finallyLoc===W)return this.complete(he.completion,he.afterLoc),Ae(he),Z}},catch:function(W){for(var G=this.tryEntries.length-1;G>=0;--G){var he=this.tryEntries[G];if(he.tryLoc===W){var _e=he.completion;if(_e.type==="throw"){var ye=_e.arg;Ae(he)}return ye}}throw new Error("illegal catch attempt")},delegateYield:function(W,G,he){return this.delegate={iterator:Le(W),resultName:G,nextLoc:he},this.method==="next"&&(this.arg=f),Z}},v}t.exports=d,t.exports.__esModule=!0,t.exports.default=t.exports})(L9);var vne=L9.exports,Pc=vne(),pne=Pc;try{regeneratorRuntime=Pc}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=Pc:Function("r","regeneratorRuntime = r")(Pc)}var mr=Ee(pne),vk={exports:{}},mne=Xe,gne=mne(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),yne=Xe,bne=Zt,wne=Ui,J2=gne,Ac=Object.isExtensible,$ne=yne(function(){Ac(1)}),xne=$ne||J2?function(r){return!bne(r)||J2&&wne(r)==="ArrayBuffer"?!1:Ac?Ac(r):!0}:Ac,kne=Xe,Sne=!kne(function(){return Object.isExtensible(Object.preventExtensions({}))}),Ene=$e,Tne=ct,_ne=Ml,One=Zt,z1=Rt,Ine=Ir.f,Z2=Dl,Cne=l1,B1=xne,Pne=Hh,Ane=Sne,pk=!1,oi=Pne("meta"),Mne=0,L1=function(t){Ine(t,oi,{value:{objectID:"O"+Mne++,weakData:{}}})},Dne=function(t,r){if(!One(t))return typeof t=="symbol"?t:(typeof t=="string"?"S":"P")+t;if(!z1(t,oi)){if(!B1(t))return"F";if(!r)return"E";L1(t)}return t[oi].objectID},Nne=function(t,r){if(!z1(t,oi)){if(!B1(t))return!0;if(!r)return!1;L1(t)}return t[oi].weakData},Rne=function(t){return Ane&&pk&&B1(t)&&!z1(t,oi)&&L1(t),t},Fne=function(){zne.enable=function(){},pk=!0;var t=Z2.f,r=Tne([].splice),e={};e[oi]=1,t(e).length&&(Z2.f=function(n){for(var i=t(n),a=0,o=i.length;a1?arguments[1]:void 0),f;f=f?f.next:h.first;)for(d(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(c){return!!l(this,c)}}),Q2(a,e?{get:function(c){var h=l(this,c);return h&&h.value},set:function(c,h){return s(this,c===0?0:c,h)}}:{add:function(c){return s(this,c=c===0?0:c,c)}}),Os&&iie(a,"size",{configurable:!0,get:function(){return o(this).size}}),i},setStrong:function(t,r,e){var n=r+" Iterator",i=xf(r),a=xf(n);uie(t,r,function(o,s){t5(this,{type:n,target:o,state:i(o),kind:s,last:void 0})},function(){for(var o=a(this),s=o.kind,l=o.last;l&&l.removed;)l=l.previous;return!o.target||!(o.last=l=l?l.next:o.state.first)?(o.target=void 0,Qu(void 0,!0)):Qu(s==="keys"?l.key:s==="values"?l.value:[l.key,l.value],!1)},e?"entries":"values",!e,!0),cie(r)}},hie=yk,die=wk;hie("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},die);var fie=ft,vie=fie.Map,pie=vie,mie=pie,gie=mie,$k=Ee(gie),yie=$e,bie=is.some,wie=o0,$ie=wie("some");yie({target:"Array",proto:!0,forced:!$ie},{some:function(r){return bie(this,r,arguments.length>1?arguments[1]:void 0)}});var xie=rr,kie=xie("Array","some"),Sie=Nt,Eie=kie,kf=Array.prototype,Tie=function(t){var r=t.some;return t===kf||Sie(kf,t)&&r===kf.some?Eie:r},_ie=Tie,Oie=_ie,Iie=Oie,Cie=Ee(Iie),Pie=rr,Aie=Pie("Array","keys"),Mie=Aie,Die=Mie,Nie=di,Rie=Rt,Fie=Nt,zie=Die,Sf=Array.prototype,Bie={DOMTokenList:!0,NodeList:!0},Lie=function(t){var r=t.keys;return t===Sf||Fie(Sf,t)&&r===Sf.keys||Rie(Bie,Nie(t))?zie:r},jie=Lie,ro=Ee(jie),r5=E8,Hie=Math.floor,Dp=function(t,r){var e=t.length,n=Hie(e/2);return e<8?Wie(t,r):qie(t,Dp(r5(t,0,n),r),Dp(r5(t,n),r),r)},Wie=function(t,r){for(var e=t.length,n=1,i,a;n0;)t[a]=t[--a];a!==n++&&(t[a]=i)}return t},qie=function(t,r,e,n){for(var i=r.length,a=e.length,o=0,s=0;o3)){if(iae)return!0;if(u5)return u5<603;var t="",r,e,n,i;for(r=65;r<76;r++){switch(e=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)Si.push({k:e+i,v:n})}for(Si.sort(function(a,o){return o.v-a.v}),i=0;io5(e)?1:-1}};Zie({target:"Array",proto:!0,forced:uae},{sort:function(r){r!==void 0&&Qie(r);var e=eae(this);if(kk)return r===void 0?c5(e):c5(e,r);var n=[],i=a5(e),a,o;for(o=0;othis.max&&this.flush(),this._timeout!=null&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&typeof this.delay=="number"&&(this._timeout=$J(function(){e.flush()},this.delay))}},{key:"flush",value:function(){var e,n;xa(e=jx(n=this._queue).call(n,0)).call(e,function(i){i.fn.apply(i.context||i.fn,i.args||[])})}}],[{key:"extend",value:function(e,n){var i=new t(n);if(e.flush!==void 0)throw new Error("Target object already has a property flush");e.flush=function(){i.flush()};var a=[{name:"flush",original:void 0}];if(n&&n.replace)for(var o=0;o=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function foe(t,r){var e;if(t){if(typeof t=="string")return v5(t,r);var n=c0(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return $1(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v5(t,r)}}function v5(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);es&&(s=h,o=c)}return o}},{key:"min",value:function(n){var i=If(this._pairs),a=i.next();if(a.done)return null;for(var o=a.value[1],s=n(a.value[1],a.value[0]);!(a=i.next()).done;){var l=vr(a.value,2),u=l[0],c=l[1],h=n(c,u);h=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function voe(t,r){var e;if(t){if(typeof t=="string")return y5(t,r);var n=c0(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return $1(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y5(t,r)}}function y5(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e"u"||!Ic||Ic.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Ic(Boolean,[],function(){})),!0}catch{return!1}}function goe(t,r){return t[r]==null&&(t[r]=Gae()),t}var hh=function(t){DQ(e,t);var r=poe(e);function e(n,i){var a;return Bh(this,e),a=r.call(this),Ii(N9(a),"_queue",null),n&&!Nr(n)&&(i=n,n=[]),a._options=i||{},a._data=new $k,a.length=0,a._idProp=a._options.fieldId||"id",n&&n.length&&a.add(n),a.setOptions(i),a}return a0(e,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(i){i&&i.queue!==void 0&&(i.queue===!1?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=Kae.extend(this,{replace:["add","update","remove"]})),i.queue&&typeof i.queue=="object"&&this._queue.setOptions(i.queue)))}},{key:"add",value:function(i,a){var o=this,s=[],l;if(Nr(i)){var u=cn(i).call(i,function(d){return d[o._idProp]});if(Cie(u).call(u,function(d){return o._data.has(d)}))throw new Error("A duplicate id was found in the parameter array.");for(var c=0,h=i.length;cc?1:us)&&(o=c,s=h)}}catch(d){l.e(d)}finally{l.f()}return o||null}},{key:"min",value:function(i){var a,o=null,s=null,l=Cf(h5(a=this._data).call(a)),u;try{for(l.s();!(u=l.n()).done;){var c=u.value,h=c[i];typeof h=="number"&&(s==null||h"u"&&Fp!==void 0,Ik={all:Fp,IS_HTMLDDA:Toe},Ck=Ik,_oe=Ck.all,qt=Ck.IS_HTMLDDA?function(t){return typeof t=="function"||t===_oe}:function(t){return typeof t=="function"},us={},Ooe=Ve,Ut=!Ooe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Ioe=Yl,rc=Function.prototype.call,jr=Ioe?rc.bind(rc):function(){return rc.apply(rc,arguments)},p0={},Pk={}.propertyIsEnumerable,Ak=Object.getOwnPropertyDescriptor,Coe=Ak&&!Pk.call({1:2},1);p0.f=Coe?function(r){var e=Ak(this,r);return!!e&&e.enumerable}:Pk;var Jl=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}},Poe=Ke,Aoe=Ve,Moe=fi,Af=Object,Doe=Poe("".split),m0=Aoe(function(){return!Af("z").propertyIsEnumerable(0)})?function(t){return Moe(t)==="String"?Doe(t,""):Af(t)}:Af,cs=function(t){return t==null},Noe=cs,Roe=TypeError,Zl=function(t){if(Noe(t))throw new Roe("Can't call method on "+t);return t},Foe=m0,zoe=Zl,zn=function(t){return Foe(zoe(t))},$5=qt,Mk=Ik,Boe=Mk.all,Vt=Mk.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:$5(t)||t===Boe}:function(t){return typeof t=="object"?t!==null:$5(t)},Ge={},Mf=Ge,Df=xt,Loe=qt,x5=function(t){return Loe(t)?t:void 0},nn=function(t,r){return arguments.length<2?x5(Mf[t])||x5(Df[t]):Mf[t]&&Mf[t][r]||Df[t]&&Df[t][r]},joe=Ke,It=joe({}.isPrototypeOf),Ql=typeof navigator<"u"&&String(navigator.userAgent)||"",Dk=xt,Nf=Ql,k5=Dk.process,S5=Dk.Deno,E5=k5&&k5.versions||S5&&S5.version,T5=E5&&E5.v8,hn,dh;T5&&(hn=T5.split("."),dh=hn[0]>0&&hn[0]<4?1:+(hn[0]+hn[1]));!dh&&Nf&&(hn=Nf.match(/Edge\/(\d+)/),(!hn||hn[1]>=74)&&(hn=Nf.match(/Chrome\/(\d+)/),hn&&(dh=+hn[1])));var eu=dh,_5=eu,Hoe=Ve,Woe=xt,qoe=Woe.String,hs=!!Object.getOwnPropertySymbols&&!Hoe(function(){var t=Symbol("symbol detection");return!qoe(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&_5&&_5<41}),Uoe=hs,Nk=Uoe&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Voe=nn,Goe=qt,Koe=It,Yoe=Nk,Xoe=Object,tu=Yoe?function(t){return typeof t=="symbol"}:function(t){var r=Voe("Symbol");return Goe(r)&&Koe(r.prototype,Xoe(t))},Joe=String,ds=function(t){try{return Joe(t)}catch{return"Object"}},Zoe=qt,Qoe=ds,ese=TypeError,La=function(t){if(Zoe(t))return t;throw new ese(Qoe(t)+" is not a function")},tse=La,rse=cs,W1=function(t,r){var e=t[r];return rse(e)?void 0:tse(e)},Rf=jr,Ff=qt,zf=Vt,nse=TypeError,ise=function(t,r){var e,n;if(r==="string"&&Ff(e=t.toString)&&!zf(n=Rf(e,t))||Ff(e=t.valueOf)&&!zf(n=Rf(e,t))||r!=="string"&&Ff(e=t.toString)&&!zf(n=Rf(e,t)))return n;throw new nse("Can't convert object to primitive value")},Rk={exports:{}},O5=xt,ase=Object.defineProperty,ose=function(t,r){try{ase(O5,t,{value:r,configurable:!0,writable:!0})}catch{O5[t]=r}return r},sse=xt,lse=ose,I5="__core-js_shared__",use=sse[I5]||lse(I5,{}),q1=use,C5=q1;(Rk.exports=function(t,r){return C5[t]||(C5[t]=r!==void 0?r:{})})("versions",[]).push({version:"3.33.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"});var fs=Rk.exports,cse=Zl,hse=Object,Cr=function(t){return hse(cse(t))},dse=Ke,fse=Cr,vse=dse({}.hasOwnProperty),Gt=Object.hasOwn||function(r,e){return vse(fse(r),e)},pse=Ke,mse=0,gse=Math.random(),yse=pse(1 .toString),g0=function(t){return"Symbol("+(t===void 0?"":t)+")_"+yse(++mse+gse,36)},bse=xt,wse=fs,P5=Gt,$se=g0,xse=hs,kse=Nk,bo=bse.Symbol,Bf=wse("wks"),Sse=kse?bo.for||bo:bo&&bo.withoutSetter||$se,kt=function(t){return P5(Bf,t)||(Bf[t]=xse&&P5(bo,t)?bo[t]:Sse("Symbol."+t)),Bf[t]},Ese=jr,A5=Vt,M5=tu,Tse=W1,_se=ise,Ose=kt,Ise=TypeError,Cse=Ose("toPrimitive"),Pse=function(t,r){if(!A5(t)||M5(t))return t;var e=Tse(t,Cse),n;if(e){if(r===void 0&&(r="default"),n=Ese(e,t,r),!A5(n)||M5(n))return n;throw new Ise("Can't convert object to primitive value")}return r===void 0&&(r="number"),_se(t,r)},Ase=Pse,Mse=tu,y0=function(t){var r=Ase(t,"string");return Mse(r)?r:r+""},Dse=xt,D5=Vt,zp=Dse.document,Nse=D5(zp)&&D5(zp.createElement),Fk=function(t){return Nse?zp.createElement(t):{}},Rse=Ut,Fse=Ve,zse=Fk,zk=!Rse&&!Fse(function(){return Object.defineProperty(zse("div"),"a",{get:function(){return 7}}).a!==7}),Bse=Ut,Lse=jr,jse=p0,Hse=Jl,Wse=zn,qse=y0,Use=Gt,Vse=zk,N5=Object.getOwnPropertyDescriptor;us.f=Bse?N5:function(r,e){if(r=Wse(r),e=qse(e),Vse)try{return N5(r,e)}catch{}if(Use(r,e))return Hse(!Lse(jse.f,r,e),r[e])};var Gse=Ve,Kse=qt,Yse=/#|\.prototype\./,ru=function(t,r){var e=Jse[Xse(t)];return e===Qse?!0:e===Zse?!1:Kse(r)?Gse(r):!!r},Xse=ru.normalize=function(t){return String(t).replace(Yse,".").toLowerCase()},Jse=ru.data={},Zse=ru.NATIVE="N",Qse=ru.POLYFILL="P",ele=ru,R5=H1,tle=La,rle=Yl,nle=R5(R5.bind),nu=function(t,r){return tle(t),r===void 0?t:rle?nle(t,r):function(){return t.apply(r,arguments)}},Hr={},ile=Ut,ale=Ve,Bk=ile&&ale(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),ole=Vt,sle=String,lle=TypeError,Wr=function(t){if(ole(t))return t;throw new lle(sle(t)+" is not an object")},ule=Ut,cle=zk,hle=Bk,nc=Wr,F5=y0,dle=TypeError,Lf=Object.defineProperty,fle=Object.getOwnPropertyDescriptor,jf="enumerable",Hf="configurable",Wf="writable";Hr.f=ule?hle?function(r,e,n){if(nc(r),e=F5(e),nc(n),typeof r=="function"&&e==="prototype"&&"value"in n&&Wf in n&&!n[Wf]){var i=fle(r,e);i&&i[Wf]&&(r[e]=n.value,n={configurable:Hf in n?n[Hf]:i[Hf],enumerable:jf in n?n[jf]:i[jf],writable:!1})}return Lf(r,e,n)}:Lf:function(r,e,n){if(nc(r),e=F5(e),nc(n),cle)try{return Lf(r,e,n)}catch{}if("get"in n||"set"in n)throw new dle("Accessors not supported");return"value"in n&&(r[e]=n.value),r};var vle=Ut,ple=Hr,mle=Jl,vs=vle?function(t,r,e){return ple.f(t,r,mle(1,e))}:function(t,r,e){return t[r]=e,t},ic=xt,gle=Xl,yle=H1,ble=qt,wle=us.f,$le=ele,no=Ge,xle=nu,io=vs,z5=Gt,kle=function(t){var r=function(e,n,i){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return gle(t,this,arguments)};return r.prototype=t.prototype,r},ke=function(t,r){var e=t.target,n=t.global,i=t.stat,a=t.proto,o=n?ic:i?ic[e]:(ic[e]||{}).prototype,s=n?no:no[e]||io(no,e,{})[e],l=s.prototype,u,c,h,d,f,v,g,b,y;for(d in r)u=$le(n?d:e+(i?".":"#")+d,t.forced),c=!u&&o&&z5(o,d),v=s[d],c&&(t.dontCallGetSet?(y=wle(o,d),g=y&&y.value):g=o[d]),f=c&&g?g:r[d],!(c&&typeof v==typeof f)&&(t.bind&&c?b=xle(f,ic):t.wrap&&c?b=kle(f):a&&ble(f)?b=yle(f):b=f,(t.sham||f&&f.sham||v&&v.sham)&&io(b,"sham",!0),io(s,d,b),a&&(h=e+"Prototype",z5(no,h)||io(no,h,{}),io(no[h],d,f),t.real&&l&&(u||!l[d])&&io(l,d,f)))},Sle=Math.ceil,Ele=Math.floor,Tle=Math.trunc||function(r){var e=+r;return(e>0?Ele:Sle)(e)},_le=Tle,b0=function(t){var r=+t;return r!==r||r===0?0:_le(r)},Ole=b0,Ile=Math.max,Cle=Math.min,iu=function(t,r){var e=Ole(t);return e<0?Ile(e+r,0):Cle(e,r)},Ple=b0,Ale=Math.min,Mle=function(t){return t>0?Ale(Ple(t),9007199254740991):0},Dle=Mle,an=function(t){return Dle(t.length)},Nle=zn,Rle=iu,Fle=an,B5=function(t){return function(r,e,n){var i=Nle(r),a=Fle(i),o=Rle(n,a),s;if(t&&e!==e){for(;a>o;)if(s=i[o++],s!==s)return!0}else for(;a>o;o++)if((t||o in i)&&i[o]===e)return t||o||0;return!t&&-1}},U1={includes:B5(!0),indexOf:B5(!1)},au={},zle=Ke,qf=Gt,Ble=zn,Lle=U1.indexOf,jle=au,L5=zle([].push),Lk=function(t,r){var e=Ble(t),n=0,i=[],a;for(a in e)!qf(jle,a)&&qf(e,a)&&L5(i,a);for(;r.length>n;)qf(e,a=r[n++])&&(~Lle(i,a)||L5(i,a));return i},V1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hle=Lk,Wle=V1,w0=Object.keys||function(r){return Hle(r,Wle)},ou={};ou.f=Object.getOwnPropertySymbols;var j5=Ut,qle=Ke,Ule=jr,Vle=Ve,Uf=w0,Gle=ou,Kle=p0,Yle=Cr,Xle=m0,ao=Object.assign,H5=Object.defineProperty,Jle=qle([].concat),Zle=!ao||Vle(function(){if(j5&&ao({b:1},ao(H5({},"a",{enumerable:!0,get:function(){H5(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},r={},e=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[e]=7,n.split("").forEach(function(i){r[i]=i}),ao({},t)[e]!==7||Uf(ao({},r)).join("")!==n})?function(r,e){for(var n=Yle(r),i=arguments.length,a=1,o=Gle.f,s=Kle.f;i>a;)for(var l=Xle(arguments[a++]),u=o?Jle(Uf(l),o(l)):Uf(l),c=u.length,h=0,d;c>h;)d=u[h++],(!j5||Ule(s,l,d))&&(n[d]=l[d]);return n}:ao,Qle=ke,W5=Zle;Qle({target:"Object",stat:!0,arity:2,forced:Object.assign!==W5},{assign:W5});var eue=Ge,tue=eue.Object.assign,rue=tue,nue=rue,iue=nue,At=ve(iue),aue=Ke,$0=aue([].slice),jk=Ke,oue=La,sue=Vt,lue=Gt,q5=$0,uue=Yl,Hk=Function,cue=jk([].concat),hue=jk([].join),Vf={},due=function(t,r,e){if(!lue(Vf,r)){for(var n=[],i=0;i=.1;)v=+a[h++%o],v>c&&(v=c),f=Math.sqrt(v*v/(1+u*u)),f=s<0?-f:f,r+=f,e+=u*f,d===!0?t.lineTo(r,e):t.moveTo(r,e),c-=v,d=!d}function _ue(t,r,e,n){t.beginPath();var i=6,a=Math.PI*2/i;t.moveTo(r+n,e);for(var o=1;o1?e-1:0),i=1;i=a?t?"":void 0:(o=G5(n,i),o<55296||o>56319||i+1===a||(s=G5(n,i+1))<56320||s>57343?t?que(n,i):o:t?Uue(n,i,i+2):(o-55296<<10)+(s-56320)+65536)}},Vue={codeAt:K5(!1),charAt:K5(!0)},Gue=xt,Kue=qt,Y5=Gue.WeakMap,Jk=Kue(Y5)&&/native code/.test(String(Y5)),Yue=fs,Xue=g0,X5=Yue("keys"),x0=function(t){return X5[t]||(X5[t]=Xue(t))},Jue=Jk,Zk=xt,Zue=Vt,Que=vs,Kf=Gt,Yf=q1,ece=x0,tce=au,J5="Object already initialized",Lp=Zk.TypeError,rce=Zk.WeakMap,fh,vl,vh,nce=function(t){return vh(t)?vl(t):fh(t,{})},ice=function(t){return function(r){var e;if(!Zue(r)||(e=vl(r)).type!==t)throw new Lp("Incompatible receiver, "+t+" required");return e}};if(Jue||Yf.state){var $n=Yf.state||(Yf.state=new rce);$n.get=$n.get,$n.has=$n.has,$n.set=$n.set,fh=function(t,r){if($n.has(t))throw new Lp(J5);return r.facade=t,$n.set(t,r),r},vl=function(t){return $n.get(t)||{}},vh=function(t){return $n.has(t)}}else{var oo=ece("state");tce[oo]=!0,fh=function(t,r){if(Kf(t,oo))throw new Lp(J5);return r.facade=t,Que(t,oo,r),r},vl=function(t){return Kf(t,oo)?t[oo]:{}},vh=function(t){return Kf(t,oo)}}var Ha={set:fh,get:vl,has:vh,enforce:nce,getterFor:ice},jp=Ut,ace=Gt,Qk=Function.prototype,oce=jp&&Object.getOwnPropertyDescriptor,X1=ace(Qk,"name"),sce=X1&&(function(){}).name==="something",lce=X1&&(!jp||jp&&oce(Qk,"name").configurable),uce={EXISTS:X1,PROPER:sce,CONFIGURABLE:lce},k0={},cce=Ut,hce=Bk,dce=Hr,fce=Wr,vce=zn,pce=w0;k0.f=cce&&!hce?Object.defineProperties:function(r,e){fce(r);for(var n=vce(e),i=pce(e),a=i.length,o=0,s;a>o;)dce.f(r,s=i[o++],n[s]);return r};var mce=nn,gce=mce("document","documentElement"),yce=Wr,bce=k0,Z5=V1,wce=au,$ce=gce,xce=Fk,kce=x0,Q5=">",e3="<",Hp="prototype",Wp="script",eS=kce("IE_PROTO"),Xf=function(){},tS=function(t){return e3+Wp+Q5+t+e3+"/"+Wp+Q5},t3=function(t){t.write(tS("")),t.close();var r=t.parentWindow.Object;return t=null,r},Sce=function(){var t=xce("iframe"),r="java"+Wp+":",e;return t.style.display="none",$ce.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(tS("document.F=Object")),e.close(),e.F},ac,Dc=function(){try{ac=new ActiveXObject("htmlfile")}catch{}Dc=typeof document<"u"?document.domain&&ac?t3(ac):Sce():t3(ac);for(var t=Z5.length;t--;)delete Dc[Hp][Z5[t]];return Dc()};wce[eS]=!0;var ps=Object.create||function(r,e){var n;return r!==null?(Xf[Hp]=yce(r),n=new Xf,Xf[Hp]=null,n[eS]=r):n=Dc(),e===void 0?n:bce.f(n,e)},Ece=Ve,rS=!Ece(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Tce=Gt,_ce=qt,Oce=Cr,Ice=x0,Cce=rS,r3=Ice("IE_PROTO"),qp=Object,Pce=qp.prototype,S0=Cce?qp.getPrototypeOf:function(t){var r=Oce(t);if(Tce(r,r3))return r[r3];var e=r.constructor;return _ce(e)&&r instanceof e?e.prototype:r instanceof qp?Pce:null},Ace=vs,su=function(t,r,e,n){return n&&n.enumerable?t[r]=e:Ace(t,r,e),t},Mce=Ve,Dce=qt,Nce=Vt,Rce=ps,n3=S0,Fce=su,zce=kt,Up=zce("iterator"),nS=!1,Jn,Jf,Zf;[].keys&&(Zf=[].keys(),"next"in Zf?(Jf=n3(n3(Zf)),Jf!==Object.prototype&&(Jn=Jf)):nS=!0);var Bce=!Nce(Jn)||Mce(function(){var t={};return Jn[Up].call(t)!==t});Bce?Jn={}:Jn=Rce(Jn);Dce(Jn[Up])||Fce(Jn,Up,function(){return this});var iS={IteratorPrototype:Jn,BUGGY_SAFARI_ITERATORS:nS},Lce=K1,jce=ja,Hce=Lce?{}.toString:function(){return"[object "+jce(this)+"]"},Wce=K1,qce=Hr.f,Uce=vs,Vce=Gt,Gce=Hce,Kce=kt,i3=Kce("toStringTag"),ms=function(t,r,e,n){if(t){var i=e?t:t.prototype;Vce(i,i3)||qce(i,i3,{configurable:!0,value:r}),n&&!Wce&&Uce(i,"toString",Gce)}},gs={},Yce=iS.IteratorPrototype,Xce=ps,Jce=Jl,Zce=ms,Qce=gs,ehe=function(){return this},the=function(t,r,e,n){var i=r+" Iterator";return t.prototype=Xce(Yce,{next:Jce(+!n,e)}),Zce(t,i,!1,!0),Qce[i]=ehe,t},rhe=Ke,nhe=La,ihe=function(t,r,e){try{return rhe(nhe(Object.getOwnPropertyDescriptor(t,r)[e]))}catch{}},ahe=qt,ohe=String,she=TypeError,lhe=function(t){if(typeof t=="object"||ahe(t))return t;throw new she("Can't set "+ohe(t)+" as a prototype")},uhe=ihe,che=Wr,hhe=lhe,dhe=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,r={},e;try{e=uhe(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch{}return function(i,a){return che(i),hhe(a),t?e(i,a):i.__proto__=a,i}}():void 0),fhe=ke,vhe=jr,phe=uce,mhe=the,ghe=S0,yhe=ms,a3=su,bhe=kt,o3=gs,whe=iS,$he=phe.PROPER,oc=whe.BUGGY_SAFARI_ITERATORS,Qf=bhe("iterator"),s3="keys",sc="values",l3="entries",xhe=function(){return this},J1=function(t,r,e,n,i,a,o){mhe(e,r,n);var s=function(y){if(y===i&&d)return d;if(!oc&&y&&y in c)return c[y];switch(y){case s3:return function(){return new e(this,y)};case sc:return function(){return new e(this,y)};case l3:return function(){return new e(this,y)}}return function(){return new e(this)}},l=r+" Iterator",u=!1,c=t.prototype,h=c[Qf]||c["@@iterator"]||i&&c[i],d=!oc&&h||s(i),f=r==="Array"&&c.entries||h,v,g,b;if(f&&(v=ghe(f.call(new t)),v!==Object.prototype&&v.next&&(yhe(v,l,!0,!0),o3[l]=xhe)),$he&&i===sc&&h&&h.name!==sc&&(u=!0,d=function(){return vhe(h,this)}),i)if(g={values:s(sc),keys:a?d:s(s3),entries:s(l3)},o)for(b in g)(oc||u||!(b in c))&&a3(c,b,g[b]);else fhe({target:r,proto:!0,forced:oc||u},g);return o&&c[Qf]!==d&&a3(c,Qf,d,{name:i}),o3[r]=d,g},Z1=function(t,r){return{value:t,done:r}},khe=Vue.charAt,She=Bn,aS=Ha,Ehe=J1,u3=Z1,oS="String Iterator",The=aS.set,_he=aS.getterFor(oS);Ehe(String,"String",function(t){The(this,{type:oS,string:She(t),index:0})},function(){var r=_he(this),e=r.string,n=r.index,i;return n>=e.length?u3(void 0,!0):(i=khe(e,n),r.index+=i.length,u3(i,!1))});var Ohe=jr,c3=Wr,Ihe=W1,sS=function(t,r,e){var n,i;c3(t);try{if(n=Ihe(t,"return"),!n){if(r==="throw")throw e;return e}n=Ohe(n,t)}catch(a){i=!0,n=a}if(r==="throw")throw e;if(i)throw n;return c3(n),e},Che=Wr,Phe=sS,Ahe=function(t,r,e,n){try{return n?r(Che(e)[0],e[1]):r(e)}catch(i){Phe(t,"throw",i)}},Mhe=kt,Dhe=gs,Nhe=Mhe("iterator"),Rhe=Array.prototype,lS=function(t){return t!==void 0&&(Dhe.Array===t||Rhe[Nhe]===t)},Fhe=Ke,zhe=qt,Vp=q1,Bhe=Fhe(Function.toString);zhe(Vp.inspectSource)||(Vp.inspectSource=function(t){return Bhe(t)});var Lhe=Vp.inspectSource,jhe=Ke,Hhe=Ve,uS=qt,Whe=ja,qhe=nn,Uhe=Lhe,cS=function(){},Vhe=[],hS=qhe("Reflect","construct"),Q1=/^\s*(?:class|function)\b/,Ghe=jhe(Q1.exec),Khe=!Q1.test(cS),Is=function(r){if(!uS(r))return!1;try{return hS(cS,Vhe,r),!0}catch{return!1}},dS=function(r){if(!uS(r))return!1;switch(Whe(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Khe||!!Ghe(Q1,Uhe(r))}catch{return!0}};dS.sham=!0;var E0=!hS||Hhe(function(){var t;return Is(Is.call)||!Is(Object)||!Is(function(){t=!0})||t})?dS:Is,Yhe=y0,Xhe=Hr,Jhe=Jl,ys=function(t,r,e){var n=Yhe(r);n in t?Xhe.f(t,n,Jhe(0,e)):t[n]=e},Zhe=ja,h3=W1,Qhe=cs,e0e=gs,t0e=kt,r0e=t0e("iterator"),T0=function(t){if(!Qhe(t))return h3(t,r0e)||h3(t,"@@iterator")||e0e[Zhe(t)]},n0e=jr,i0e=La,a0e=Wr,o0e=ds,s0e=T0,l0e=TypeError,fS=function(t,r){var e=arguments.length<2?s0e(t):r;if(i0e(e))return a0e(n0e(e,t));throw new l0e(o0e(t)+" is not iterable")},u0e=nu,c0e=jr,h0e=Cr,d0e=Ahe,f0e=lS,v0e=E0,p0e=an,d3=ys,m0e=fS,g0e=T0,f3=Array,y0e=function(r){var e=h0e(r),n=v0e(this),i=arguments.length,a=i>1?arguments[1]:void 0,o=a!==void 0;o&&(a=u0e(a,i>2?arguments[2]:void 0));var s=g0e(e),l=0,u,c,h,d,f,v;if(s&&!(this===f3&&f0e(s)))for(d=m0e(e,s),f=d.next,c=n?new this:[];!(h=c0e(f,d)).done;l++)v=o?d0e(d,a,[h.value,l],!0):h.value,d3(c,l,v);else for(u=p0e(e),c=n?new this(u):f3(u);u>l;l++)v=o?a(e[l],l):e[l],d3(c,l,v);return c.length=l,c},b0e=kt,vS=b0e("iterator"),pS=!1;try{var w0e=0,v3={next:function(){return{done:!!w0e++}},return:function(){pS=!0}};v3[vS]=function(){return this},Array.from(v3,function(){throw 2})}catch{}var $0e=function(t,r){try{if(!r&&!pS)return!1}catch{return!1}var e=!1;try{var n={};n[vS]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch{}return e},x0e=ke,k0e=y0e,S0e=$0e,E0e=!S0e(function(t){Array.from(t)});x0e({target:"Array",stat:!0,forced:E0e},{from:k0e});var T0e=Ge,_0e=T0e.Array.from,O0e=_0e,mS=O0e,I0e=mS,Wa=ve(I0e),C0e=zn,p3=gs,gS=Ha;Hr.f;var P0e=J1,lc=Z1,yS="Array Iterator",A0e=gS.set,M0e=gS.getterFor(yS);P0e(Array,"Array",function(t,r){A0e(this,{type:yS,target:C0e(t),index:0,kind:r})},function(){var t=M0e(this),r=t.target,e=t.kind,n=t.index++;if(!r||n>=r.length)return t.target=void 0,lc(void 0,!0);switch(e){case"keys":return lc(n,!1);case"values":return lc(r[n],!1)}return lc([n,r[n]],!1)},"values");p3.Arguments=p3.Array;var D0e=T0,N0e=D0e,R0e={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},F0e=R0e,z0e=xt,B0e=ja,L0e=vs,m3=gs,j0e=kt,g3=j0e("toStringTag");for(var ev in F0e){var y3=z0e[ev],tv=y3&&y3.prototype;tv&&B0e(tv)!==g3&&L0e(tv,g3,ev),m3[ev]=m3.Array}var H0e=N0e,W0e=H0e,q0e=W0e,U0e=q0e,V0e=U0e,G0e=V0e,bS=G0e,wS=ve(bS),K0e=bS,qa=ve(K0e);function re(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}var $S={exports:{}},Y0e=ke,X0e=Ut,b3=Hr.f;Y0e({target:"Object",stat:!0,forced:Object.defineProperty!==b3,sham:!X0e},{defineProperty:b3});var J0e=Ge,xS=J0e.Object,Z0e=$S.exports=function(r,e,n){return xS.defineProperty(r,e,n)};xS.defineProperty.sham&&(Z0e.sham=!0);var Q0e=$S.exports,ede=Q0e,kS=ede,tde=kS,rde=tde,nde=rde,ide=nde,ade=ide,_0=ve(ade),ode=fi,Ua=Array.isArray||function(r){return ode(r)==="Array"},sde=TypeError,lde=9007199254740991,eg=function(t){if(t>lde)throw sde("Maximum allowed index exceeded");return t},w3=Ua,ude=E0,cde=Vt,hde=kt,dde=hde("species"),$3=Array,fde=function(t){var r;return w3(t)&&(r=t.constructor,ude(r)&&(r===$3||w3(r.prototype))?r=void 0:cde(r)&&(r=r[dde],r===null&&(r=void 0))),r===void 0?$3:r},vde=fde,tg=function(t,r){return new(vde(t))(r===0?0:r)},pde=Ve,mde=kt,gde=eu,yde=mde("species"),lu=function(t){return gde>=51||!pde(function(){var r=[],e=r.constructor={};return e[yde]=function(){return{foo:1}},r[t](Boolean).foo!==1})},bde=ke,wde=Ve,$de=Ua,xde=Vt,kde=Cr,Sde=an,x3=eg,k3=ys,Ede=tg,Tde=lu,_de=kt,Ode=eu,SS=_de("isConcatSpreadable"),Ide=Ode>=51||!wde(function(){var t=[];return t[SS]=!1,t.concat()[0]!==t}),Cde=function(t){if(!xde(t))return!1;var r=t[SS];return r!==void 0?!!r:$de(t)},Pde=!Ide||!Tde("concat");bde({target:"Array",proto:!0,arity:1,forced:Pde},{concat:function(r){var e=kde(this),n=Ede(e,0),i=0,a,o,s,l,u;for(a=-1,s=arguments.length;ab;b++)if((s||b in f)&&(k=f[b],T=v(k,b,d),t))if(r)$[b]=T;else if(T)switch(t){case 3:return!0;case 5:return k;case 6:return b;case 2:T3($,k)}else switch(t){case 4:return!1;case 7:T3($,k)}return a?-1:n||i?i:$}},Yi={forEach:yi(0),map:yi(1),filter:yi(2),some:yi(3),every:yi(4),find:yi(5),findIndex:yi(6),filterReject:yi(7)},I0=ke,C0=xt,ng=jr,ife=Ke,zo=Ut,Bo=hs,afe=Ve,jt=Gt,ofe=It,Gp=Wr,P0=zn,ig=y0,sfe=Bn,Kp=Jl,pl=ps,IS=w0,lfe=uu,CS=O0,ufe=ou,PS=us,AS=Hr,cfe=k0,MS=p0,_3=su,hfe=rg,ag=fs,dfe=x0,DS=au,O3=g0,ffe=kt,vfe=cu,pfe=St,mfe=OS,gfe=ms,NS=Ha,A0=Yi.forEach,xr=dfe("hidden"),M0="Symbol",ml="prototype",yfe=NS.set,I3=NS.getterFor(M0),vn=Object[ml],pa=C0.Symbol,Rs=pa&&pa[ml],bfe=C0.RangeError,wfe=C0.TypeError,rv=C0.QObject,RS=PS.f,ma=AS.f,FS=CS.f,$fe=MS.f,zS=ife([].push),si=ag("symbols"),hu=ag("op-symbols"),xfe=ag("wks"),Yp=!rv||!rv[ml]||!rv[ml].findChild,BS=function(t,r,e){var n=RS(vn,r);n&&delete vn[r],ma(t,r,e),n&&t!==vn&&ma(vn,r,n)},Xp=zo&&afe(function(){return pl(ma({},"a",{get:function(){return ma(this,"a",{value:7}).a}})).a!==7})?BS:ma,nv=function(t,r){var e=si[t]=pl(Rs);return yfe(e,{type:M0,tag:t,description:r}),zo||(e.description=r),e},D0=function(r,e,n){r===vn&&D0(hu,e,n),Gp(r);var i=ig(e);return Gp(n),jt(si,i)?(n.enumerable?(jt(r,xr)&&r[xr][i]&&(r[xr][i]=!1),n=pl(n,{enumerable:Kp(0,!1)})):(jt(r,xr)||ma(r,xr,Kp(1,{})),r[xr][i]=!0),Xp(r,i,n)):ma(r,i,n)},og=function(r,e){Gp(r);var n=P0(e),i=IS(n).concat(WS(n));return A0(i,function(a){(!zo||ng(LS,n,a))&&D0(r,a,n[a])}),r},kfe=function(r,e){return e===void 0?pl(r):og(pl(r),e)},LS=function(r){var e=ig(r),n=ng($fe,this,e);return this===vn&&jt(si,e)&&!jt(hu,e)?!1:n||!jt(this,e)||!jt(si,e)||jt(this,xr)&&this[xr][e]?n:!0},jS=function(r,e){var n=P0(r),i=ig(e);if(!(n===vn&&jt(si,i)&&!jt(hu,i))){var a=RS(n,i);return a&&jt(si,i)&&!(jt(n,xr)&&n[xr][i])&&(a.enumerable=!0),a}},HS=function(r){var e=FS(P0(r)),n=[];return A0(e,function(i){!jt(si,i)&&!jt(DS,i)&&zS(n,i)}),n},WS=function(t){var r=t===vn,e=FS(r?hu:P0(t)),n=[];return A0(e,function(i){jt(si,i)&&(!r||jt(vn,i))&&zS(n,si[i])}),n};Bo||(pa=function(){if(ofe(Rs,this))throw new wfe("Symbol is not a constructor");var r=!arguments.length||arguments[0]===void 0?void 0:sfe(arguments[0]),e=O3(r),n=function(i){this===vn&&ng(n,hu,i),jt(this,xr)&&jt(this[xr],e)&&(this[xr][e]=!1);var a=Kp(1,i);try{Xp(this,e,a)}catch(o){if(!(o instanceof bfe))throw o;BS(this,e,a)}};return zo&&Yp&&Xp(vn,e,{configurable:!0,set:n}),nv(e,r)},Rs=pa[ml],_3(Rs,"toString",function(){return I3(this).tag}),_3(pa,"withoutSetter",function(t){return nv(O3(t),t)}),MS.f=LS,AS.f=D0,cfe.f=og,PS.f=jS,lfe.f=CS.f=HS,ufe.f=WS,vfe.f=function(t){return nv(ffe(t),t)},zo&&hfe(Rs,"description",{configurable:!0,get:function(){return I3(this).description}}));I0({global:!0,constructor:!0,wrap:!0,forced:!Bo,sham:!Bo},{Symbol:pa});A0(IS(xfe),function(t){pfe(t)});I0({target:M0,stat:!0,forced:!Bo},{useSetter:function(){Yp=!0},useSimple:function(){Yp=!1}});I0({target:"Object",stat:!0,forced:!Bo,sham:!zo},{create:kfe,defineProperty:D0,defineProperties:og,getOwnPropertyDescriptor:jS});I0({target:"Object",stat:!0,forced:!Bo},{getOwnPropertyNames:HS});mfe();gfe(pa,M0);DS[xr]=!0;var Sfe=hs,qS=Sfe&&!!Symbol.for&&!!Symbol.keyFor,Efe=ke,Tfe=nn,_fe=Gt,Ofe=Bn,US=fs,Ife=qS,iv=US("string-to-symbol-registry"),Cfe=US("symbol-to-string-registry");Efe({target:"Symbol",stat:!0,forced:!Ife},{for:function(t){var r=Ofe(t);if(_fe(iv,r))return iv[r];var e=Tfe("Symbol")(r);return iv[r]=e,Cfe[e]=r,e}});var Pfe=ke,Afe=Gt,Mfe=tu,Dfe=ds,Nfe=fs,Rfe=qS,C3=Nfe("symbol-to-string-registry");Pfe({target:"Symbol",stat:!0,forced:!Rfe},{keyFor:function(r){if(!Mfe(r))throw new TypeError(Dfe(r)+" is not a symbol");if(Afe(C3,r))return C3[r]}});var Ffe=Ke,P3=Ua,zfe=qt,A3=fi,Bfe=Bn,M3=Ffe([].push),Lfe=function(t){if(zfe(t))return t;if(P3(t)){for(var r=t.length,e=[],n=0;nt.length)&&(r=t.length);for(var e=0,n=new Array(r);e1?arguments[1]:void 0)}});var c1e=Kt,h1e=c1e("Array").map,d1e=It,f1e=h1e,cv=Array.prototype,v1e=function(t){var r=t.map;return t===cv||d1e(cv,t)&&r===cv.map?f1e:r},p1e=v1e,m1e=p1e,g1e=m1e,Lo=ve(g1e),y1e=ke,b1e=Cr,uE=w0,w1e=Ve,$1e=w1e(function(){uE(1)});y1e({target:"Object",stat:!0,forced:$1e},{keys:function(r){return uE(b1e(r))}});var x1e=Ge,k1e=x1e.Object.keys,S1e=k1e,E1e=S1e,T1e=E1e,yt=ve(T1e),_1e=ke,O1e=Ke,cE=Date,I1e=O1e(cE.prototype.getTime);_1e({target:"Date",stat:!0},{now:function(){return I1e(new cE)}});var C1e=Ge,P1e=C1e.Date.now,A1e=P1e,M1e=A1e,D1e=M1e,mh=ve(D1e),N1e=Ve,bs=function(t,r){var e=[][t];return!!e&&N1e(function(){e.call(null,r||function(){return 1},1)})},R1e=Yi.forEach,F1e=bs,z1e=F1e("forEach"),B1e=z1e?[].forEach:function(r){return R1e(this,r,arguments.length>1?arguments[1]:void 0)},L1e=ke,X3=B1e;L1e({target:"Array",proto:!0,forced:[].forEach!==X3},{forEach:X3});var j1e=Kt,H1e=j1e("Array").forEach,W1e=H1e,q1e=W1e,U1e=ja,V1e=Gt,G1e=It,K1e=q1e,hv=Array.prototype,Y1e={DOMTokenList:!0,NodeList:!0},X1e=function(t){var r=t.forEach;return t===hv||G1e(hv,t)&&r===hv.forEach||V1e(Y1e,U1e(t))?K1e:r},J1e=X1e,rt=ve(J1e),Z1e=ke,Q1e=Ke,ege=Ua,tge=Q1e([].reverse),J3=[1,2];Z1e({target:"Array",proto:!0,forced:String(J3)===String(J3.reverse())},{reverse:function(){return ege(this)&&(this.length=this.length),tge(this)}});var rge=Kt,nge=rge("Array").reverse,ige=It,age=nge,dv=Array.prototype,oge=function(t){var r=t.reverse;return t===dv||ige(dv,t)&&r===dv.reverse?age:r},sge=oge,lge=sge,uge=lge,ga=ve(uge),Z3=ds,cge=TypeError,hE=function(t,r){if(!delete t[r])throw new cge("Cannot delete property "+Z3(r)+" of "+Z3(t))},hge=ke,dge=Cr,fge=iu,vge=b0,pge=an,mge=aE,gge=eg,yge=tg,bge=ys,fv=hE,wge=lu,$ge=wge("splice"),xge=Math.max,kge=Math.min;hge({target:"Array",proto:!0,forced:!$ge},{splice:function(r,e){var n=dge(this),i=pge(n),a=fge(r,i),o=arguments.length,s,l,u,c,h,d;for(o===0?s=l=0:o===1?(s=0,l=i-a):(s=o-2,l=kge(xge(vge(e),0),i-a)),gge(i+s-l),u=yge(n,l),c=0;ci-l+s;c--)fv(n,c-1)}else if(s>l)for(c=i-l;c>a;c--)h=c+l-1,d=c+s-1,h in n?n[d]=n[h]:fv(n,d);for(c=0;c1?arguments[1]:void 0)}});var Rge=Kt,Fge=Rge("Array").includes,zge=Vt,Bge=fi,Lge=kt,jge=Lge("match"),Hge=function(t){var r;return zge(t)&&((r=t[jge])!==void 0?!!r:Bge(t)==="RegExp")},Wge=Hge,qge=TypeError,Uge=function(t){if(Wge(t))throw new qge("The method doesn't accept regular expressions");return t},Vge=kt,Gge=Vge("match"),Kge=function(t){var r=/./;try{"/./"[t](r)}catch{try{return r[Gge]=!1,"/./"[t](r)}catch{}}return!1},Yge=ke,Xge=Ke,Jge=Uge,Zge=Zl,Q3=Bn,Qge=Kge,eye=Xge("".indexOf);Yge({target:"String",proto:!0,forced:!Qge("includes")},{includes:function(r){return!!~eye(Q3(Zge(this)),Q3(Jge(r)),arguments.length>1?arguments[1]:void 0)}});var tye=Kt,rye=tye("String").includes,e6=It,nye=Fge,iye=rye,pv=Array.prototype,mv=String.prototype,aye=function(t){var r=t.includes;return t===pv||e6(pv,t)&&r===pv.includes?nye:typeof t=="string"||t===mv||e6(mv,t)&&r===mv.includes?iye:r},oye=aye,sye=oye,lye=sye,Ai=ve(lye),uye=ke,cye=Ve,hye=Cr,dE=S0,dye=rS,fye=cye(function(){dE(1)});uye({target:"Object",stat:!0,forced:fye,sham:!dye},{getPrototypeOf:function(r){return dE(hye(r))}});var vye=Ge,pye=vye.Object.getPrototypeOf,mye=pye,fE=mye,gye=fE,t6=ve(gye),yye=ke,bye=Yi.filter,wye=lu,$ye=wye("filter");yye({target:"Array",proto:!0,forced:!$ye},{filter:function(r){return bye(this,r,arguments.length>1?arguments[1]:void 0)}});var xye=Kt,kye=xye("Array").filter,Sye=It,Eye=kye,gv=Array.prototype,Tye=function(t){var r=t.filter;return t===gv||Sye(gv,t)&&r===gv.filter?Eye:r},_ye=Tye,Oye=_ye,Iye=Oye,kr=ve(Iye),ug=` +\v\f\r                 \u2028\u2029\uFEFF`,Cye=Ke,Pye=Zl,Aye=Bn,Zp=ug,r6=Cye("".replace),Mye=RegExp("^["+Zp+"]+"),Dye=RegExp("(^|[^"+Zp+"])["+Zp+"]+$"),yv=function(t){return function(r){var e=Aye(Pye(r));return t&1&&(e=r6(e,Mye,"")),t&2&&(e=r6(e,Dye,"$1")),e}},vE={start:yv(1),end:yv(2),trim:yv(3)},pE=xt,Nye=Ve,Rye=Ke,Fye=Bn,zye=vE.trim,n6=ug,Gs=pE.parseInt,i6=pE.Symbol,a6=i6&&i6.iterator,mE=/^[+-]?0x/i,Bye=Rye(mE.exec),Lye=Gs(n6+"08")!==8||Gs(n6+"0x16")!==22||a6&&!Nye(function(){Gs(Object(a6))}),jye=Lye?function(r,e){var n=zye(Fye(r));return Gs(n,e>>>0||(Bye(mE,n)?16:10))}:Gs,Hye=ke,o6=jye;Hye({global:!0,forced:parseInt!==o6},{parseInt:o6});var Wye=Ge,qye=Wye.parseInt,Uye=qye,Vye=Uye,Gye=Vye,dn=ve(Gye),Kye=ke,Yye=H1,Xye=U1.indexOf,Jye=bs,Qp=Yye([].indexOf),gE=!!Qp&&1/Qp([1],1,-0)<0,Zye=gE||!Jye("indexOf");Kye({target:"Array",proto:!0,forced:Zye},{indexOf:function(r){var e=arguments.length>1?arguments[1]:void 0;return gE?Qp(this,r,e)||0:Xye(this,r,e)}});var Qye=Kt,ebe=Qye("Array").indexOf,tbe=It,rbe=ebe,bv=Array.prototype,nbe=function(t){var r=t.indexOf;return t===bv||tbe(bv,t)&&r===bv.indexOf?rbe:r},ibe=nbe,abe=ibe,obe=abe,Ue=ve(obe),sbe=ke,lbe=Ut,ube=ps;sbe({target:"Object",stat:!0,sham:!lbe},{create:ube});var cbe=Ge,hbe=cbe.Object,dbe=function(r,e){return hbe.create(r,e)},fbe=dbe,yE=fbe,vbe=yE,ya=ve(vbe),em=Ge,pbe=Xl;em.JSON||(em.JSON={stringify:JSON.stringify});var mbe=function(r,e,n){return pbe(em.JSON.stringify,null,arguments)},gbe=mbe,ybe=gbe,bbe=ybe,fu=ve(bbe),wbe=typeof Bun=="function"&&Bun&&typeof Bun.version=="string",$be=TypeError,xbe=function(t,r){if(te,o=Sbe(n)?n:Ibe(n),s=a?_be(arguments,e):[],l=a?function(){kbe(o,this,s)}:o;return r?t(l,i):t(l)}:t},Pbe=ke,$E=xt,Abe=wE,s6=Abe($E.setInterval,!0);Pbe({global:!0,bind:!0,forced:$E.setInterval!==s6},{setInterval:s6});var Mbe=ke,xE=xt,Dbe=wE,l6=Dbe(xE.setTimeout,!0);Mbe({global:!0,bind:!0,forced:xE.setTimeout!==l6},{setTimeout:l6});var Nbe=Ge,Rbe=Nbe.setTimeout,Fbe=Rbe,Cn=ve(Fbe),zbe=Cr,u6=iu,Bbe=an,Lbe=function(r){for(var e=zbe(this),n=Bbe(e),i=arguments.length,a=u6(i>1?arguments[1]:void 0,n),o=i>2?arguments[2]:void 0,s=o===void 0?n:u6(o,n);s>a;)e[a++]=r;return e},jbe=ke,Hbe=Lbe;jbe({target:"Array",proto:!0},{fill:Hbe});var Wbe=Kt,qbe=Wbe("Array").fill,Ube=It,Vbe=qbe,wv=Array.prototype,Gbe=function(t){var r=t.fill;return t===wv||Ube(wv,t)&&r===wv.fill?Vbe:r},Kbe=Gbe,Ybe=Kbe,Xbe=Ybe,vu=ve(Xbe);/*! Hammer.JS - v2.0.17-rc - 2019-12-16 + * http://naver.github.io/egjs + * + * Forked By Naver egjs + * Copyright (c) hammerjs + * Licensed under the MIT license */function gn(){return gn=Object.assign||function(t){for(var r=1;r"u"?{style:{}}:document.createElement("div"),Zbe="function",$o=Math.round,Oa=Math.abs,cg=Date.now;function N0(t,r){for(var e,n,i=r[0].toUpperCase()+r.slice(1),a=0;a"u"?Qn={}:Qn=window;var kE=N0(Jbe.style,"touchAction"),SE=kE!==void 0;function Qbe(){if(!SE)return!1;var t={},r=Qn.CSS&&Qn.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){return t[e]=r?Qn.CSS.supports("touch-action",e):!0}),t}var EE="compute",TE="auto",rm="manipulation",ba="none",gl="pan-x",yl="pan-y",hc=Qbe(),e4e=/mobile|tablet|ip(ad|hone|od)|android/i,_E="ontouchstart"in Qn,t4e=N0(Qn,"PointerEvent")!==void 0,r4e=_E&&e4e.test(navigator.userAgent),pu="touch",n4e="pen",hg="mouse",i4e="kinect",a4e=25,cr=1,Va=2,Mt=4,Er=8,gh=1,mu=2,gu=4,yu=8,jo=16,Pn=mu|gu,wa=yu|jo,OE=Pn|wa,IE=["x","y"],yh=["clientX","clientY"];function ei(t,r,e){var n;if(t)if(t.forEach)t.forEach(r,e);else if(t.length!==void 0)for(n=0;n-1}function o4e(t){if(la(t,ba))return ba;var r=la(t,gl),e=la(t,yl);return r&&e?ba:r||e?r?gl:yl:la(t,rm)?rm:TE}var CE=function(){function t(e,n){this.manager=e,this.set(n)}var r=t.prototype;return r.set=function(n){n===EE&&(n=this.compute()),SE&&this.manager.element.style&&hc[n]&&(this.manager.element.style[kE]=n),this.actions=n.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var n=[];return ei(this.manager.recognizers,function(i){R0(i.options.enable,[i])&&(n=n.concat(i.getTouchAction()))}),o4e(n.join(" "))},r.preventDefaults=function(n){var i=n.srcEvent,a=n.offsetDirection;if(this.manager.session.prevented){i.preventDefault();return}var o=this.actions,s=la(o,ba)&&!hc[ba],l=la(o,yl)&&!hc[yl],u=la(o,gl)&&!hc[gl];if(s){var c=n.pointers.length===1,h=n.distance<2,d=n.deltaTime<250;if(c&&h&&d)return}if(!(u&&l)&&(s||l&&a&Pn||u&&a&wa))return this.preventSrc(i)},r.preventSrc=function(n){this.manager.session.prevented=!0,n.preventDefault()},t}();function dg(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function PE(t){var r=t.length;if(r===1)return{x:$o(t[0].clientX),y:$o(t[0].clientY)};for(var e=0,n=0,i=0;i=Oa(r)?t<0?mu:gu:r<0?yu:jo}function s4e(t,r){var e=r.center,n=t.offsetDelta||{},i=t.prevDelta||{},a=t.prevInput||{};(r.eventType===cr||a.eventType===Mt)&&(i=t.prevDelta={x:a.deltaX||0,y:a.deltaY||0},n=t.offsetDelta={x:e.x,y:e.y}),r.deltaX=i.x+(e.x-n.x),r.deltaY=i.y+(e.y-n.y)}function ME(t,r,e){return{x:r/t||0,y:e/t||0}}function l4e(t,r){return bh(r[0],r[1],yh)/bh(t[0],t[1],yh)}function u4e(t,r){return nm(r[1],r[0],yh)+nm(t[1],t[0],yh)}function c4e(t,r){var e=t.lastInterval||r,n=r.timeStamp-e.timeStamp,i,a,o,s;if(r.eventType!==Er&&(n>a4e||e.velocity===void 0)){var l=r.deltaX-e.deltaX,u=r.deltaY-e.deltaY,c=ME(n,l,u);a=c.x,o=c.y,i=Oa(c.x)>Oa(c.y)?c.x:c.y,s=AE(l,u),t.lastInterval=r}else i=e.velocity,a=e.velocityX,o=e.velocityY,s=e.direction;r.velocity=i,r.velocityX=a,r.velocityY=o,r.direction=s}function h4e(t,r){var e=t.session,n=r.pointers,i=n.length;e.firstInput||(e.firstInput=h6(r)),i>1&&!e.firstMultiple?e.firstMultiple=h6(r):i===1&&(e.firstMultiple=!1);var a=e.firstInput,o=e.firstMultiple,s=o?o.center:a.center,l=r.center=PE(n);r.timeStamp=cg(),r.deltaTime=r.timeStamp-a.timeStamp,r.angle=nm(s,l),r.distance=bh(s,l),s4e(e,r),r.offsetDirection=AE(r.deltaX,r.deltaY);var u=ME(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=u.x,r.overallVelocityY=u.y,r.overallVelocity=Oa(u.x)>Oa(u.y)?u.x:u.y,r.scale=o?l4e(o.pointers,n):1,r.rotation=o?u4e(o.pointers,n):0,r.maxPointers=e.prevInput?r.pointers.length>e.prevInput.maxPointers?r.pointers.length:e.prevInput.maxPointers:r.pointers.length,c4e(e,r);var c=t.element,h=r.srcEvent,d;h.composedPath?d=h.composedPath()[0]:h.path?d=h.path[0]:d=h.target,dg(d,c)&&(c=d),r.target=c}function d4e(t,r,e){var n=e.pointers.length,i=e.changedPointers.length,a=r&cr&&n-i===0,o=r&(Mt|Er)&&n-i===0;e.isFirst=!!a,e.isFinal=!!o,a&&(t.session={}),e.eventType=r,h4e(t,e),t.emit("hammer.input",e),t.recognize(e),t.session.prevInput=e}function bl(t){return t.trim().split(/\s+/g)}function Ks(t,r,e){ei(bl(r),function(n){t.addEventListener(n,e,!1)})}function Ys(t,r,e){ei(bl(r),function(n){t.removeEventListener(n,e,!1)})}function d6(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var ws=function(){function t(e,n){var i=this;this.manager=e,this.callback=n,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(a){R0(e.options.enable,[e])&&i.handler(a)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Ks(this.element,this.evEl,this.domHandler),this.evTarget&&Ks(this.target,this.evTarget,this.domHandler),this.evWin&&Ks(d6(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&Ys(this.element,this.evEl,this.domHandler),this.evTarget&&Ys(this.target,this.evTarget,this.domHandler),this.evWin&&Ys(d6(this.element),this.evWin,this.domHandler)},t}();function Ia(t,r,e){if(t.indexOf&&!e)return t.indexOf(r);for(var n=0;nl[r]}):n=n.sort()),n}var p4e={touchstart:cr,touchmove:Va,touchend:Mt,touchcancel:Er},m4e="touchstart touchmove touchend touchcancel",vg=function(t){on(r,t);function r(){var n;return r.prototype.evTarget=m4e,n=t.apply(this,arguments)||this,n.targetIds={},n}var e=r.prototype;return e.handler=function(i){var a=p4e[i.type],o=g4e.call(this,i,a);o&&this.callback(this.manager,a,{pointers:o[0],changedPointers:o[1],pointerType:pu,srcEvent:i})},r}(ws);function g4e(t,r){var e=wl(t.touches),n=this.targetIds;if(r&(cr|Va)&&e.length===1)return n[e[0].identifier]=!0,[e,e];var i,a,o=wl(t.changedTouches),s=[],l=this.target;if(a=e.filter(function(u){return dg(u.target,l)}),r===cr)for(i=0;i-1&&i.splice(s,1)};setTimeout(a,$4e)}}function x4e(t,r){t&cr?(this.primaryTouch=r.changedPointers[0].identifier,v6.call(this,r)):t&(Mt|Er)&&v6.call(this,r)}function k4e(t){for(var r=t.srcEvent.clientX,e=t.srcEvent.clientY,n=0;n-1&&this.requireFail.splice(i,1),this},r.hasRequireFailures=function(){return this.requireFail.length>0},r.canRecognizeWith=function(n){return!!this.simultaneous[n.id]},r.emit=function(n){var i=this,a=this.state;function o(s){i.manager.emit(s,n)}a=Mi&&o(i.options.event+p6(a))},r.tryEmit=function(n){if(this.canEmit())return this.emit(n);this.state=_n},r.canEmit=function(){for(var n=0;na.threshold&&l&a.direction},e.attrTest=function(i){return Wo.prototype.attrTest.call(this,i)&&(this.state&Zr||!(this.state&Zr)&&this.directionTest(i))},e.emit=function(i){this.pX=i.deltaX,this.pY=i.deltaY;var a=zE(i.direction);a&&(i.additionalEvent=this.options.event+a),t.prototype.emit.call(this,i)},r}(Wo),BE=function(t){on(r,t);function r(n){return n===void 0&&(n={}),t.call(this,gn({event:"swipe",threshold:10,velocity:.3,direction:Pn|wa,pointers:1},n))||this}var e=r.prototype;return e.getTouchAction=function(){return mg.prototype.getTouchAction.call(this)},e.attrTest=function(i){var a=this.options.direction,o;return a&(Pn|wa)?o=i.overallVelocity:a&Pn?o=i.overallVelocityX:a&wa&&(o=i.overallVelocityY),t.prototype.attrTest.call(this,i)&&a&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers===this.options.pointers&&Oa(o)>this.options.velocity&&i.eventType&Mt},e.emit=function(i){var a=zE(i.offsetDirection);a&&this.manager.emit(this.options.event+a,i),this.manager.emit(this.options.event,i)},r}(Wo),LE=function(t){on(r,t);function r(n){return n===void 0&&(n={}),t.call(this,gn({event:"pinch",threshold:0,pointers:2},n))||this}var e=r.prototype;return e.getTouchAction=function(){return[ba]},e.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||this.state&Zr)},e.emit=function(i){if(i.scale!==1){var a=i.scale<1?"in":"out";i.additionalEvent=this.options.event+a}t.prototype.emit.call(this,i)},r}(Wo),jE=function(t){on(r,t);function r(n){return n===void 0&&(n={}),t.call(this,gn({event:"rotate",threshold:0,pointers:2},n))||this}var e=r.prototype;return e.getTouchAction=function(){return[ba]},e.attrTest=function(i){return t.prototype.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||this.state&Zr)},r}(Wo),HE=function(t){on(r,t);function r(n){var i;return n===void 0&&(n={}),i=t.call(this,gn({event:"press",pointers:1,time:251,threshold:9},n))||this,i._timer=null,i._input=null,i}var e=r.prototype;return e.getTouchAction=function(){return[TE]},e.process=function(i){var a=this,o=this.options,s=i.pointers.length===o.pointers,l=i.distanceo.time;if(this._input=i,!l||!s||i.eventType&(Mt|Er)&&!u)this.reset();else if(i.eventType&cr)this.reset(),this._timer=setTimeout(function(){a.state=ti,a.tryEmit()},o.time);else if(i.eventType&Mt)return ti;return _n},e.reset=function(){clearTimeout(this._timer)},e.emit=function(i){this.state===ti&&(i&&i.eventType&Mt?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=cg(),this.manager.emit(this.options.event,this._input)))},r}(bu),WE={domEvents:!1,touchAction:EE,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},m6=[[jE,{enable:!1}],[LE,{enable:!1},["rotate"]],[BE,{direction:Pn}],[mg,{direction:Pn},["swipe"]],[im],[im,{event:"doubletap",taps:2},["tap"]],[HE]],_4e=1,g6=2;function y6(t,r){var e=t.element;if(e.style){var n;ei(t.options.cssProps,function(i,a){n=N0(e.style,a),r?(t.oldCssProps[n]=e.style[n],e.style[n]=i):e.style[n]=t.oldCssProps[n]||""}),r||(t.oldCssProps={})}}function O4e(t,r){var e=document.createEvent("Event");e.initEvent(t,!0,!0),e.gesture=r,r.target.dispatchEvent(e)}var b6=function(){function t(e,n){var i=this;this.options=_a({},WE,n||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=S4e(this),this.touchAction=new CE(this,this.options.touchAction),y6(this,!0),ei(this.options.recognizers,function(a){var o=i.add(new a[0](a[1]));a[2]&&o.recognizeWith(a[2]),a[3]&&o.requireFailure(a[3])},this)}var r=t.prototype;return r.set=function(n){return _a(this.options,n),n.touchAction&&this.touchAction.update(),n.inputTarget&&(this.input.destroy(),this.input.target=n.inputTarget,this.input.init()),this},r.stop=function(n){this.session.stopped=n?g6:_4e},r.recognize=function(n){var i=this.session;if(!i.stopped){this.touchAction.preventDefaults(n);var a,o=this.recognizers,s=i.curRecognizer;(!s||s&&s.state&ti)&&(i.curRecognizer=null,s=null);for(var l=0;l\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=window.console&&(window.console.warn||window.console.log);return o&&o.call(window.console,n,a),t.apply(this,arguments)}}var UE=qE(function(t,r,e){for(var n=Object.keys(r),i=0;i=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function F4e(t,r){var e;if(t){if(typeof t=="string")return $6(t,r);var n=Jt(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Wa(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $6(t,r)}}function $6(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e>>0,i-=t,i*=t,t=i>>>0,i-=t,t+=i*4294967296}return(t>>>0)*23283064365386963e-26}}function j4e(){var t=function(){};return{on:t,off:t,destroy:t,emit:t,get:function(){return{set:t}}}}var gg=typeof window<"u"?window.Hammer||R4e:function(){return j4e()};function On(t){var r=this,e;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(function(){r._dom.overlay.parentNode.removeChild(r._dom.overlay)});var n=gg(this._dom.overlay);n.on("tap",J(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push(function(){n.destroy()});var i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];rt(i).call(i,function(a){n.on(a,function(o){o.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=function(a){H4e(a.target,t)||r.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(function(){document.body.removeEventListener("click",r._onClick)})),this._escListener=function(a){("key"in a?a.key==="Escape":a.keyCode===27)&&r.deactivate()}}Yk(On.prototype);On.current=null;On.prototype.destroy=function(){var t,r;this.deactivate();var e=GE(ga(t=Zn(r=this._cleanupQueue).call(r,0)).call(t)),n;try{for(e.s();!(n=e.n()).done;){var i=n.value;i()}}catch(a){e.e(a)}finally{e.f()}};On.prototype.activate=function(){On.current&&On.current.deactivate(),On.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)};On.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")};On.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};function H4e(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}var W4e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,q4e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,U4e=/^rgb\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *\)$/i,V4e=/^rgba\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *([01]|0?\.\d+) *\)$/i;function $i(t){if(t)for(;t.hasChildNodes()===!0;){var r=t.firstChild;r&&($i(r),t.removeChild(r))}}function To(t){return t instanceof String||typeof t=="string"}function x6(t){return Qe(t)==="object"&&t!==null}function Ca(t,r,e,n){var i=!1;n===!0&&(i=r[e]===null&&t[e]!==void 0),i?delete t[e]:t[e]=r[e]}function KE(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;for(var n in t)if(r[n]!==void 0)if(r[n]===null||Qe(r[n])!=="object")Ca(t,r,n,e);else{var i=t[n],a=r[n];x6(i)&&x6(a)&&KE(i,a,e)}}function $s(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Je(e))throw new TypeError("Arrays are not supported by deepExtend");for(var i=0;i3&&arguments[3]!==void 0?arguments[3]:!1;if(Je(e))throw new TypeError("Arrays are not supported by deepExtend");for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&!Ai(t).call(t,i))if(e[i]&&e[i].constructor===Object)r[i]===void 0&&(r[i]={}),r[i].constructor===Object?st(r[i],e[i]):Ca(r,e,i,n);else if(Je(e[i])){r[i]=[];for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:!1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)||e===!0)if(Qe(r[i])==="object"&&r[i]!==null&&t6(r[i])===Object.prototype)t[i]===void 0?t[i]=st({},r[i],e):Qe(t[i])==="object"&&t[i]!==null&&t6(t[i])===Object.prototype?st(t[i],r[i],e):Ca(t,r,i,n);else if(Je(r[i])){var a;t[i]=Jt(a=r[i]).call(a)}else Ca(t,r,i,n);return t}function $h(t,r){var e;return lg(e=[]).call(e,Sn(t),[r])}function G4e(t){return Jt(t).call(t)}function K4e(t){return t.getBoundingClientRect().left}function Y4e(t){return t.getBoundingClientRect().top}function Ne(t,r){if(Je(t))for(var e=t.length,n=0;n3&&arguments[3]!==void 0?arguments[3]:{},i=function(v){return v!=null},a=function(v){return v!==null&&Qe(v)==="object"},o=function(v){for(var g in v)if(Object.prototype.hasOwnProperty.call(v,g))return!1;return!0};if(!a(t))throw new Error("Parameter mergeTarget must be an object");if(!a(r))throw new Error("Parameter options must be an object");if(!i(e))throw new Error("Parameter option must have a value");if(!a(n))throw new Error("Parameter globalOptions must be an object");var s=function(v,g,b){a(v[b])||(v[b]={});var y=g[b],$=v[b];for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&($[k]=y[k])},l=r[e],u=a(n)&&!o(n),c=u?n[e]:void 0,h=c?c.enabled:void 0;if(l!==void 0){if(typeof l=="boolean"){a(t[e])||(t[e]={}),t[e].enabled=l;return}if(l===null&&!a(t[e]))if(i(c))t[e]=ya(c);else return;if(a(l)){var d=!0;l.enabled!==void 0?d=l.enabled:h!==void 0&&(d=c.enabled),s(t,r,e),t[e].enabled=d}}}var Z4e={linear:function(r){return r},easeInQuad:function(r){return r*r},easeOutQuad:function(r){return r*(2-r)},easeInOutQuad:function(r){return r<.5?2*r*r:-1+(4-2*r)*r},easeInCubic:function(r){return r*r*r},easeOutCubic:function(r){return--r*r*r+1},easeInOutCubic:function(r){return r<.5?4*r*r*r:(r-1)*(2*r-2)*(2*r-2)+1},easeInQuart:function(r){return r*r*r*r},easeOutQuart:function(r){return 1- --r*r*r*r},easeInOutQuart:function(r){return r<.5?8*r*r*r*r:1-8*--r*r*r*r},easeInQuint:function(r){return r*r*r*r*r},easeOutQuint:function(r){return 1+--r*r*r*r*r},easeInOutQuint:function(r){return r<.5?16*r*r*r*r*r:1+16*--r*r*r*r*r}};function xi(t,r){var e;Je(r)||(r=[r]);var n=GE(t),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;if(a){e=a[r[0]];for(var o=1;o0&&arguments[0]!==void 0?arguments[0]:1;re(this,t),this.pixelRatio=r,this.generated=!1,this.centerCoordinates={x:289/2,y:289/2},this.r=289*.49,this.color={r:255,g:255,b:255,a:1},this.hueCircle=void 0,this.initialColor={r:255,g:255,b:255,a:1},this.previousColor=void 0,this.applied=!1,this.updateCallback=function(){},this.closeCallback=function(){},this._create()}return ne(t,[{key:"insertTo",value:function(e){this.hammer!==void 0&&(this.hammer.destroy(),this.hammer=void 0),this.container=e,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}},{key:"setUpdateCallback",value:function(e){if(typeof e=="function")this.updateCallback=e;else throw new Error("Function attempted to set as colorPicker update callback is not a function.")}},{key:"setCloseCallback",value:function(e){if(typeof e=="function")this.closeCallback=e;else throw new Error("Function attempted to set as colorPicker closing callback is not a function.")}},{key:"_isColorString",value:function(e){if(typeof e=="string")return Q4e[e]}},{key:"setColor",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(e!=="none"){var i,a=this._isColorString(e);if(a!==void 0&&(e=a),To(e)===!0){if(JE(e)===!0){var o=e.substr(4).substr(0,e.length-5).split(",");i={r:o[0],g:o[1],b:o[2],a:1}}else if(J4e(e)===!0){var s=e.substr(5).substr(0,e.length-6).split(",");i={r:s[0],g:s[1],b:s[2],a:s[3]}}else if(XE(e)===!0){var l=yg(e);i={r:l.r,g:l.g,b:l.b,a:1}}}else if(e instanceof Object&&e.r!==void 0&&e.g!==void 0&&e.b!==void 0){var u=e.a!==void 0?e.a:"1.0";i={r:e.r,g:e.g,b:e.b,a:u}}if(i===void 0)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+fu(e));this._setColor(i,n)}}},{key:"show",value:function(){this.closeCallback!==void 0&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}},{key:"_hide",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;n===!0&&(this.previousColor=At({},this.color)),this.applied===!0&&this.updateCallback(this.initialColor),this.frame.style.display="none",Cn(function(){e.closeCallback!==void 0&&(e.closeCallback(),e.closeCallback=void 0)},0)}},{key:"_save",value:function(){this.updateCallback(this.color),this.applied=!1,this._hide()}},{key:"_apply",value:function(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}},{key:"_loadLast",value:function(){this.previousColor!==void 0?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}},{key:"_setColor",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;n===!0&&(this.initialColor=At({},e)),this.color=e;var i=Fs(e.r,e.g,e.b),a=2*Math.PI,o=this.r*i.s,s=this.centerCoordinates.x+o*Math.sin(a*i.h),l=this.centerCoordinates.y+o*Math.cos(a*i.h);this.colorPickerSelector.style.left=s-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=l-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(e)}},{key:"_setOpacity",value:function(e){this.color.a=e/100,this._updatePicker(this.color)}},{key:"_setBrightness",value:function(e){var n=Fs(this.color.r,this.color.g,this.color.b);n.v=e/100;var i=Rc(n.h,n.s,n.v);i.a=this.color.a,this.color=i,this._updatePicker()}},{key:"_updatePicker",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.color,n=Fs(e.r,e.g,e.b),i=this.colorPickerCanvas.getContext("2d");this.pixelRation===void 0&&(this.pixelRatio=(window.devicePixelRatio||1)/(i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1)),i.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var a=this.colorPickerCanvas.clientWidth,o=this.colorPickerCanvas.clientHeight;i.clearRect(0,0,a,o),i.putImageData(this.hueCircle,0,0),i.fillStyle="rgba(0,0,0,"+(1-n.v)+")",i.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),vu(i).call(i),this.brightnessRange.value=100*n.v,this.opacityRange.value=100*e.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}},{key:"_setSize",value:function(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}},{key:"_create",value:function(){var e,n,i,a;if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){var s=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(s.webkitBackingStorePixelRatio||s.mozBackingStorePixelRatio||s.msBackingStorePixelRatio||s.oBackingStorePixelRatio||s.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{var o=document.createElement("DIV");o.style.color="red",o.style.fontWeight="bold",o.style.padding="10px",o.innerText="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(o)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch{}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch{}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);var l=this;this.opacityRange.onchange=function(){l._setOpacity(this.value)},this.opacityRange.oninput=function(){l._setOpacity(this.value)},this.brightnessRange.onchange=function(){l._setBrightness(this.value)},this.brightnessRange.oninput=function(){l._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerText="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerText="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerText="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerText="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerText="cancel",this.cancelButton.onclick=J(e=this._hide).call(e,this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerText="apply",this.applyButton.onclick=J(n=this._apply).call(n,this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerText="save",this.saveButton.onclick=J(i=this._save).call(i,this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerText="load last",this.loadButton.onclick=J(a=this._loadLast).call(a,this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}},{key:"_bindHammer",value:function(){var e=this;this.drag={},this.pinch={},this.hammer=new gg(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.on("hammer.input",function(n){n.isFirst&&e._moveSelector(n)}),this.hammer.on("tap",function(n){e._moveSelector(n)}),this.hammer.on("panstart",function(n){e._moveSelector(n)}),this.hammer.on("panmove",function(n){e._moveSelector(n)}),this.hammer.on("panend",function(n){e._moveSelector(n)})}},{key:"_generateHueCircle",value:function(){if(this.generated===!1){var e=this.colorPickerCanvas.getContext("2d");this.pixelRation===void 0&&(this.pixelRatio=(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)),e.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var n=this.colorPickerCanvas.clientWidth,i=this.colorPickerCanvas.clientHeight;e.clearRect(0,0,n,i);var a,o,s,l;this.centerCoordinates={x:n*.5,y:i*.5},this.r=.49*n;var u=2*Math.PI/360,c=1/360,h=1/this.r,d;for(s=0;s<360;s++)for(l=0;l3&&arguments[3]!==void 0?arguments[3]:1,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){return!1};re(this,t),this.parent=r,this.changedOptions=[],this.container=e,this.allowCreation=!1,this.hideOption=a,this.options={},this.initialized=!1,this.popupCounter=0,this.defaultOptions={enabled:!1,filter:!0,container:void 0,showButton:!0},At(this.options,this.defaultOptions),this.configureOptions=n,this.moduleOptions={},this.domElements=[],this.popupDiv={},this.popupLimit=5,this.popupHistory={},this.colorPicker=new e2e(i),this.wrapper=void 0}return ne(t,[{key:"setOptions",value:function(e){if(e!==void 0){this.popupHistory={},this._removePopup();var n=!0;if(typeof e=="string")this.options.filter=e;else if(Je(e))this.options.filter=e.join();else if(Qe(e)==="object"){if(e==null)throw new TypeError("options cannot be null");e.container!==void 0&&(this.options.container=e.container),kr(e)!==void 0&&(this.options.filter=kr(e)),e.showButton!==void 0&&(this.options.showButton=e.showButton),e.enabled!==void 0&&(n=e.enabled)}else typeof e=="boolean"?(this.options.filter=!0,n=e):typeof e=="function"&&(this.options.filter=e,n=!0);kr(this.options)===!1&&(n=!1),this.options.enabled=n}this._clean()}},{key:"setModuleOptions",value:function(e){this.moduleOptions=e,this.options.enabled===!0&&(this._clean(),this.options.container!==void 0&&(this.container=this.options.container),this._create())}},{key:"_create",value:function(){this._clean(),this.changedOptions=[];var e=kr(this.options),n=0,i=!1;for(var a in this.configureOptions)Object.prototype.hasOwnProperty.call(this.configureOptions,a)&&(this.allowCreation=!1,i=!1,typeof e=="function"?(i=e(a,[]),i=i||this._handleObject(this.configureOptions[a],[a],!0)):(e===!0||Ue(e).call(e,a)!==-1)&&(i=!0),i!==!1&&(this.allowCreation=!0,n>0&&this._makeItem([]),this._makeHeader(a),this._handleObject(this.configureOptions[a],[a])),n++);this._makeButton(),this._push()}},{key:"_push",value:function(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(var e=0;e1?i-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:!1,a=document.createElement("div");if(a.className="vis-configuration vis-config-label vis-config-s"+n.length,i===!0){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(sm("i","b",e))}else a.innerText=e+":";return a}},{key:"_makeDropdown",value:function(e,n,i){var a=document.createElement("select");a.className="vis-configuration vis-config-select";var o=0;n!==void 0&&Ue(e).call(e,n)!==-1&&(o=Ue(e).call(e,n));for(var s=0;ss&&s!==1&&(u.max=Math.ceil(n*d),h=u.max,c="range increased"),u.value=n}else u.value=a;var f=document.createElement("input");f.className="vis-configuration vis-config-rangeinput",f.value=u.value;var v=this;u.onchange=function(){f.value=this.value,v._update(Number(this.value),i)},u.oninput=function(){f.value=this.value};var g=this._makeLabel(i[i.length-1],i),b=this._makeItem(i,g,u,f);c!==""&&this.popupHistory[b]!==h&&(this.popupHistory[b]=h,this._setupPopup(c,b))}},{key:"_makeButton",value:function(){var e=this;if(this.options.showButton===!0){var n=document.createElement("div");n.className="vis-configuration vis-config-button",n.innerText="generate options",n.onclick=function(){e._printOptions()},n.onmouseover=function(){n.className="vis-configuration vis-config-button hover"},n.onmouseout=function(){n.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(n)}}},{key:"_setupPopup",value:function(e,n){var i=this;if(this.initialized===!0&&this.allowCreation===!0&&this.popupCounter1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=!1,o=kr(this.options),s=!1;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){a=!0;var u=e[l],c=$h(n,l);if(typeof o=="function"&&(a=o(l,n),a===!1&&!Je(u)&&typeof u!="string"&&typeof u!="boolean"&&u instanceof Object&&(this.allowCreation=!1,a=this._handleObject(u,c,!0),this.allowCreation=i===!1)),a!==!1){s=!0;var h=this._getValue(c);if(Je(u))this._handleArray(u,h,c);else if(typeof u=="string")this._makeTextInput(u,h,c);else if(typeof u=="boolean")this._makeCheckbox(u,h,c);else if(u instanceof Object){if(!this.hideOption(n,l,this.moduleOptions))if(u.enabled!==void 0){var d=$h(c,"enabled"),f=this._getValue(d);if(f===!0){var v=this._makeLabel(l,c,!0);this._makeItem(c,v),s=this._handleObject(u,c)||s}else this._makeCheckbox(u,f,c)}else{var g=this._makeLabel(l,c,!0);this._makeItem(c,g),s=this._handleObject(u,c)||s}}else console.error("dont know how to handle",u,l,c)}}return s}},{key:"_handleArray",value:function(e,n,i){typeof e[0]=="string"&&e[0]==="color"?(this._makeColorField(e,n,i),e[1]!==n&&this.changedOptions.push({path:i,value:n})):typeof e[0]=="string"?(this._makeDropdown(e,n,i),e[0]!==n&&this.changedOptions.push({path:i,value:n})):typeof e[0]=="number"&&(this._makeRange(e,n,i),e[0]!==n&&this.changedOptions.push({path:i,value:Number(n)}))}},{key:"_update",value:function(e,n){var i=this._constructOptions(e,n);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",i),this.initialized=!0,this.parent.setOptions(i)}},{key:"_constructOptions",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=i;e=e==="true"?!0:e,e=e==="false"?!1:e;for(var o=0;oo-this.padding&&(u=!0),u?s=this.x-i:s=this.x,c?l=this.y-n:l=this.y}else l=this.y-n,l+n+this.padding>a&&(l=a-n-this.padding),lo&&(s=o-i-this.padding),so.distance?u=" in "+t.printLocation(a.path,e,"")+"Perhaps it was misplaced? Matching option found at: "+t.printLocation(o.path,o.closestMatch,""):a.distance<=s?u='. Did you mean "'+a.closestMatch+'"?'+t.printLocation(a.path,e):u=". Did you mean one of these: "+t.print(yt(n))+t.printLocation(i,e),console.error('%cUnknown option detected: "'+e+'"'+u,lm),Cs=!0}},{key:"findInOptions",value:function(e,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=1e9,s="",l=[],u=e.toLowerCase(),c=void 0;for(var h in n){var d=void 0;if(n[h].__type__!==void 0&&a===!0){var f=t.findInOptions(e,n[h],$h(i,h));o>f.distance&&(s=f.closestMatch,l=f.path,o=f.distance,c=f.indexMatch)}else{var v;Ue(v=h.toLowerCase()).call(v,u)!==-1&&(c=h),d=t.levenshteinDistance(e,h),o>d&&(s=h,l=G4e(i),o=d)}}return{closestMatch:s,path:l,distance:o,indexMatch:c}}},{key:"printLocation",value:function(e,n){for(var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`Problem value found at: +`,a=` + +`+i+`options = { +`,o=0;o":!0,"--":!0},Ei="",qo=0,De="",xe="",yr=ir.NULL;function u2e(){qo=0,De=Ei.charAt(0)}function Bt(){qo++,De=Ei.charAt(qo)}function so(){return Ei.charAt(qo+1)}function E6(t){var r=t.charCodeAt(0);return r<47?r===35||r===46:r<59?r>47:r<91?r>64:r<96?r===95:r<123?r>96:!1}function Bi(t,r){if(t||(t={}),r)for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e]);return t}function c2e(t,r,e){for(var n=r.split("."),i=t;n.length;){var a=n.shift();n.length?(i[a]||(i[a]={}),i=i[a]):i[a]=e}}function eT(t,r){for(var e,n,i=null,a=[t],o=t;o.parent;)a.push(o.parent),o=o.parent;if(o.nodes){for(e=0,n=o.nodes.length;e=0;e--){var s,l=a[e];l.nodes||(l.nodes=[]),Ue(s=l.nodes).call(s,i)===-1&&l.nodes.push(i)}r.attr&&(i.attr=Bi(i.attr,r.attr))}function h2e(t,r){if(t.edges||(t.edges=[]),t.edges.push(r),t.edge){var e=Bi({},t.edge);r.attr=Bi(e,r.attr)}}function tT(t,r,e,n,i){var a={from:r,to:e,type:n};return t.edge&&(a.attr=Bi({},t.edge)),a.attr=Bi(a.attr||{},i),i!=null&&i.hasOwnProperty("arrows")&&i.arrows!=null&&(a.arrows={to:{enabled:!0,type:i.arrows.type}},i.arrows=null),a}function lt(){for(yr=ir.NULL,xe="";De===" "||De===" "||De===` +`||De==="\r";)Bt();do{var t=!1;if(De==="#"){for(var r=qo-1;Ei.charAt(r)===" "||Ei.charAt(r)===" ";)r--;if(Ei.charAt(r)===` +`||Ei.charAt(r)===""){for(;De!=""&&De!=` +`;)Bt();t=!0}}if(De==="/"&&so()==="/"){for(;De!=""&&De!=` +`;)Bt();t=!0}if(De==="/"&&so()==="*"){for(;De!="";)if(De==="*"&&so()==="/"){Bt(),Bt();break}else Bt();t=!0}for(;De===" "||De===" "||De===` +`||De==="\r";)Bt()}while(t);if(De===""){yr=ir.DELIMITER;return}var e=De+so();if(S6[e]){yr=ir.DELIMITER,xe=e,Bt(),Bt();return}if(S6[De]){yr=ir.DELIMITER,xe=De,Bt();return}if(E6(De)||De==="-"){for(xe+=De,Bt();E6(De);)xe+=De,Bt();xe==="false"?xe=!1:xe==="true"?xe=!0:isNaN(Number(xe))||(xe=Number(xe)),yr=ir.IDENTIFIER;return}if(De==='"'){for(Bt();De!=""&&(De!='"'||De==='"'&&so()==='"');)De==='"'?(xe+=De,Bt()):De==="\\"&&so()==="n"?(xe+=` +`,Bt()):xe+=De,Bt();if(De!='"')throw ar('End of string " expected');Bt(),yr=ir.IDENTIFIER;return}for(yr=ir.UNKNOWN;De!="";)xe+=De,Bt();throw new SyntaxError('Syntax error in part "'+aT(xe,30)+'"')}function d2e(){var t={};if(u2e(),lt(),xe==="strict"&&(t.strict=!0,lt()),(xe==="graph"||xe==="digraph")&&(t.type=xe,lt()),yr===ir.IDENTIFIER&&(t.id=xe,lt()),xe!="{")throw ar("Angle bracket { expected");if(lt(),rT(t),xe!="}")throw ar("Angle bracket } expected");if(lt(),xe!=="")throw ar("End of file expected");return lt(),delete t.node,delete t.edge,delete t.graph,t}function rT(t){for(;xe!==""&&xe!="}";)f2e(t),xe===";"&<()}function f2e(t){var r=nT(t);if(r){iT(t,r);return}var e=v2e(t);if(!e){if(yr!=ir.IDENTIFIER)throw ar("Identifier expected");var n=xe;if(lt(),xe==="="){if(lt(),yr!=ir.IDENTIFIER)throw ar("Identifier expected");t[n]=xe,lt()}else p2e(t,n)}}function nT(t){var r=null;if(xe==="subgraph"&&(r={},r.type="subgraph",lt(),yr===ir.IDENTIFIER&&(r.id=xe,lt())),xe==="{"){if(lt(),r||(r={}),r.parent=t,r.node=t.node,r.edge=t.edge,r.graph=t.graph,rT(r),xe!="}")throw ar("Angle bracket } expected");lt(),delete r.node,delete r.edge,delete r.graph,delete r.parent,t.subgraphs||(t.subgraphs=[]),t.subgraphs.push(r)}return r}function v2e(t){return xe==="node"?(lt(),t.node=Xs(),"node"):xe==="edge"?(lt(),t.edge=Xs(),"edge"):xe==="graph"?(lt(),t.graph=Xs(),"graph"):null}function p2e(t,r){var e={id:r},n=Xs();n&&(e.attr=n),eT(t,e),iT(t,r)}function iT(t,r){for(;xe==="->"||xe==="--";){var e,n=xe;lt();var i=nT(t);if(i)e=i;else{if(yr!=ir.IDENTIFIER)throw ar("Identifier or subgraph expected");e=xe,eT(t,{id:e}),lt()}var a=Xs(),o=tT(t,r,e,n,a);h2e(t,o),r=e}}function Xs(){for(var t,r=null,e={dashed:!0,solid:!1,dotted:[1,5]},n={dot:"circle",box:"box",crow:"crow",curve:"curve",icurve:"inv_curve",normal:"triangle",inv:"inv_triangle",diamond:"diamond",tee:"bar",vee:"vee"},i=new Array,a=new Array;xe==="[";){for(lt(),r={};xe!==""&&xe!="]";){if(yr!=ir.IDENTIFIER)throw ar("Attribute name expected");var o=xe;if(lt(),xe!="=")throw ar("Equal sign = expected");if(lt(),yr!=ir.IDENTIFIER)throw ar("Attribute value expected");var s=xe;o==="style"&&(s=e[s]);var l;o==="arrowhead"&&(l=n[s],o="arrows",s={to:{enabled:!0,type:l}}),o==="arrowtail"&&(l=n[s],o="arrows",s={from:{enabled:!0,type:l}}),i.push({attr:r,name:o,value:s}),a.push(o),lt(),xe==","&<()}if(xe!="]")throw ar("Bracket ] expected");lt()}if(Ai(a).call(a,"dir")){var u={};for(u.arrows={},t=0;t"&&(l.arrows="to"),l};rt(i=r.edges).call(i,function(o){var s,l;if(o.from instanceof Object?s=o.from.nodes:s={id:o.from},o.to instanceof Object?l=o.to.nodes:l={id:o.to},o.from instanceof Object&&o.from.edges){var u;rt(u=o.from.edges).call(u,function(h){var d=a(h);e.edges.push(d)})}if(m2e(s,l,function(h,d){var f=tT(e,h.id,d.id,o.type,o.attr),v=a(f);e.edges.push(v)}),o.to instanceof Object&&o.to.edges){var c;rt(c=o.to.edges).call(c,function(h){var d=a(h);e.edges.push(d)})}})}return r.attr&&(e.options=r.attr),e}function y2e(t,r){var e,n={edges:{inheritColor:!1},nodes:{fixed:!1,parseColor:!1}};r!=null&&(r.fixed!=null&&(n.nodes.fixed=r.fixed),r.parseColor!=null&&(n.nodes.parseColor=r.parseColor),r.inheritColor!=null&&(n.edges.inheritColor=r.inheritColor));var i=t.edges,a=Lo(i).call(i,function(s){var l={from:s.source,id:s.id,to:s.target};return s.attributes!=null&&(l.attributes=s.attributes),s.label!=null&&(l.label=s.label),s.attributes!=null&&s.attributes.title!=null&&(l.title=s.attributes.title),s.type==="Directed"&&(l.arrows="to"),s.color&&n.edges.inheritColor===!1&&(l.color=s.color),l}),o=Lo(e=t.nodes).call(e,function(s){var l={id:s.id,fixed:n.nodes.fixed&&s.x!=null&&s.y!=null};return s.attributes!=null&&(l.attributes=s.attributes),s.label!=null&&(l.label=s.label),s.size!=null&&(l.size=s.size),s.attributes!=null&&s.attributes.title!=null&&(l.title=s.attributes.title),s.title!=null&&(l.title=s.title),s.x!=null&&(l.x=s.x),s.y!=null&&(l.y=s.y),s.color!=null&&(n.nodes.parseColor===!0?l.color=s.color:l.color={background:s.color,border:s.color,highlight:{background:s.color,border:s.color},hover:{background:s.color,border:s.color}}),l});return{nodes:o,edges:a}}var b2e={addDescription:"Click in an empty space to place a new node.",addEdge:"Add Edge",addNode:"Add Node",back:"Back",close:"Close",createEdgeError:"Cannot link edges to a cluster.",del:"Delete selected",deleteClusterError:"Clusters cannot be deleted.",edgeDescription:"Click on a node and drag the edge to another node to connect them.",edit:"Edit",editClusterError:"Clusters cannot be edited.",editEdge:"Edit Edge",editEdgeDescription:"Click on the control points and drag them to a node to connect to it.",editNode:"Edit Node"},w2e={addDescription:"Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.",addEdge:"Kante hinzufügen",addNode:"Knoten hinzufügen",back:"Zurück",close:"Schließen",createEdgeError:"Es ist nicht möglich, Kanten mit Clustern zu verbinden.",del:"Lösche Auswahl",deleteClusterError:"Cluster können nicht gelöscht werden.",edgeDescription:"Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.",edit:"Editieren",editClusterError:"Cluster können nicht editiert werden.",editEdge:"Kante editieren",editEdgeDescription:"Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.",editNode:"Knoten editieren"},$2e={addDescription:"Haga clic en un lugar vacío para colocar un nuevo nodo.",addEdge:"Añadir arista",addNode:"Añadir nodo",back:"Atrás",close:"Cerrar",createEdgeError:"No se puede conectar una arista a un grupo.",del:"Eliminar selección",deleteClusterError:"No es posible eliminar grupos.",edgeDescription:"Haga clic en un nodo y arrastre la arista hacia otro nodo para conectarlos.",edit:"Editar",editClusterError:"No es posible editar grupos.",editEdge:"Editar arista",editEdgeDescription:"Haga clic en un punto de control y arrastrelo a un nodo para conectarlo.",editNode:"Editar nodo"},x2e={addDescription:"Clicca per aggiungere un nuovo nodo",addEdge:"Aggiungi un vertice",addNode:"Aggiungi un nodo",back:"Indietro",close:"Chiudere",createEdgeError:"Non si possono collegare vertici ad un cluster",del:"Cancella la selezione",deleteClusterError:"I cluster non possono essere cancellati",edgeDescription:"Clicca su un nodo e trascinalo ad un altro nodo per connetterli.",edit:"Modifica",editClusterError:"I clusters non possono essere modificati.",editEdge:"Modifica il vertice",editEdgeDescription:"Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.",editNode:"Modifica il nodo"},k2e={addDescription:"Klik op een leeg gebied om een nieuwe node te maken.",addEdge:"Link toevoegen",addNode:"Node toevoegen",back:"Terug",close:"Sluiten",createEdgeError:"Kan geen link maken naar een cluster.",del:"Selectie verwijderen",deleteClusterError:"Clusters kunnen niet worden verwijderd.",edgeDescription:"Klik op een node en sleep de link naar een andere node om ze te verbinden.",edit:"Wijzigen",editClusterError:"Clusters kunnen niet worden aangepast.",editEdge:"Link wijzigen",editEdgeDescription:"Klik op de verbindingspunten en sleep ze naar een node om daarmee te verbinden.",editNode:"Node wijzigen"},S2e={addDescription:"Clique em um espaço em branco para adicionar um novo nó",addEdge:"Adicionar aresta",addNode:"Adicionar nó",back:"Voltar",close:"Fechar",createEdgeError:"Não foi possível linkar arestas a um cluster.",del:"Remover selecionado",deleteClusterError:"Clusters não puderam ser removidos.",edgeDescription:"Clique em um nó e arraste a aresta até outro nó para conectá-los",edit:"Editar",editClusterError:"Clusters não puderam ser editados.",editEdge:"Editar aresta",editEdgeDescription:"Clique nos pontos de controle e os arraste para um nó para conectá-los",editNode:"Editar nó"},E2e={addDescription:"Кликните в свободное место, чтобы добавить новый узел.",addEdge:"Добавить ребро",addNode:"Добавить узел",back:"Назад",close:"Закрывать",createEdgeError:"Невозможно соединить ребра в кластер.",del:"Удалить выбранное",deleteClusterError:"Кластеры не могут быть удалены",edgeDescription:"Кликните на узел и протяните ребро к другому узлу, чтобы соединить их.",edit:"Редактировать",editClusterError:"Кластеры недоступны для редактирования.",editEdge:"Редактировать ребро",editEdgeDescription:"Кликните на контрольные точки и перетащите их в узел, чтобы подключиться к нему.",editNode:"Редактировать узел"},T2e={addDescription:"单击空白处放置新节点。",addEdge:"添加连接线",addNode:"添加节点",back:"返回",close:"關閉",createEdgeError:"无法将连接线连接到群集。",del:"删除选定",deleteClusterError:"无法删除群集。",edgeDescription:"单击某个节点并将该连接线拖动到另一个节点以连接它们。",edit:"编辑",editClusterError:"无法编辑群集。",editEdge:"编辑连接线",editEdgeDescription:"单击控制节点并将它们拖到节点上连接。",editNode:"编辑节点"},_2e={addDescription:"Kлікніть на вільне місце, щоб додати новий вузол.",addEdge:"Додати край",addNode:"Додати вузол",back:"Назад",close:"Закрити",createEdgeError:"Не можливо об'єднати краї в групу.",del:"Видалити обране",deleteClusterError:"Групи не можуть бути видалені.",edgeDescription:"Клікніть на вузол і перетягніть край до іншого вузла, щоб їх з'єднати.",edit:"Редагувати",editClusterError:"Групи недоступні для редагування.",editEdge:"Редагувати край",editEdgeDescription:"Клікніть на контрольні точки і перетягніть їх у вузол, щоб підключитися до нього.",editNode:"Редагувати вузол"},O2e={addDescription:"Cliquez dans un endroit vide pour placer un nœud.",addEdge:"Ajouter un lien",addNode:"Ajouter un nœud",back:"Retour",close:"Fermer",createEdgeError:"Impossible de créer un lien vers un cluster.",del:"Effacer la sélection",deleteClusterError:"Les clusters ne peuvent pas être effacés.",edgeDescription:"Cliquez sur un nœud et glissez le lien vers un autre nœud pour les connecter.",edit:"Éditer",editClusterError:"Les clusters ne peuvent pas être édités.",editEdge:"Éditer le lien",editEdgeDescription:"Cliquez sur les points de contrôle et glissez-les pour connecter un nœud.",editNode:"Éditer le nœud"},I2e={addDescription:"Kluknutím do prázdného prostoru můžete přidat nový vrchol.",addEdge:"Přidat hranu",addNode:"Přidat vrchol",back:"Zpět",close:"Zavřít",createEdgeError:"Nelze připojit hranu ke shluku.",del:"Smazat výběr",deleteClusterError:"Nelze mazat shluky.",edgeDescription:"Přetažením z jednoho vrcholu do druhého můžete spojit tyto vrcholy novou hranou.",edit:"Upravit",editClusterError:"Nelze upravovat shluky.",editEdge:"Upravit hranu",editEdgeDescription:"Přetažením kontrolního vrcholu hrany ji můžete připojit k jinému vrcholu.",editNode:"Upravit vrchol"},C2e=Object.freeze({__proto__:null,cn:T2e,cs:I2e,de:w2e,en:b2e,es:$2e,fr:O2e,it:x2e,nl:k2e,pt:S2e,ru:E2e,uk:_2e});function P2e(t,r){try{var e=r.split(/[-_ /]/,2),n=bt(e,2),i=n[0],a=n[1],o=i!=null?i.toLowerCase():null,s=a!=null?a.toUpperCase():null;if(o&&s){var l=o+"-"+s;if(Object.prototype.hasOwnProperty.call(t,l))return l;var u;console.warn(lg(u="Unknown variant ".concat(s," of language ")).call(u,o,"."))}if(o){var c=o;if(Object.prototype.hasOwnProperty.call(t,c))return c;console.warn("Unknown language ".concat(o))}return console.warn("Unknown locale ".concat(r,", falling back to English.")),"en"}catch(h){return console.error(h),console.warn("Unexpected error while normalizing locale ".concat(r,", falling back to English.")),"en"}}var A2e=function(){function t(){re(this,t),this.NUM_ITERATIONS=4,this.image=new Image,this.canvas=document.createElement("canvas")}return ne(t,[{key:"init",value:function(){if(!this.initialized()){this.src=this.image.src;var e=this.image.width,n=this.image.height;this.width=e,this.height=n;var i=Math.floor(n/2),a=Math.floor(n/4),o=Math.floor(n/8),s=Math.floor(n/16),l=Math.floor(e/2),u=Math.floor(e/4),c=Math.floor(e/8),h=Math.floor(e/16);this.canvas.width=3*u,this.canvas.height=i,this.coordinates=[[0,0,l,i],[l,0,u,a],[l,a,c,o],[5*c,a,h,s]],this._fillMipMap()}}},{key:"initialized",value:function(){return this.coordinates!==void 0}},{key:"_fillMipMap",value:function(){var e=this.canvas.getContext("2d"),n=this.coordinates[0];e.drawImage(this.image,n[0],n[1],n[2],n[3]);for(var i=1;i2){n*=.5;for(var l=0;n>2&&l=this.NUM_ITERATIONS&&(l=this.NUM_ITERATIONS-1);var u=this.coordinates[l];e.drawImage(this.canvas,u[0],u[1],u[2],u[3],i,a,o,s)}else e.drawImage(this.image,i,a,o,s)}}]),t}(),M2e=function(){function t(r){re(this,t),this.images={},this.imageBroken={},this.callback=r}return ne(t,[{key:"_tryloadBrokenUrl",value:function(e,n,i){if(!(e===void 0||i===void 0)){if(n===void 0){console.warn("No broken url image defined");return}i.image.onerror=function(){console.error("Could not load brokenImage:",n)},i.image.src=n}}},{key:"_redrawWithImage",value:function(e){this.callback&&this.callback(e)}},{key:"load",value:function(e,n){var i=this,a=this.images[e];if(a)return a;var o=new A2e;return this.images[e]=o,o.image.onload=function(){i._fixImageCoordinates(o.image),o.init(),i._redrawWithImage(o)},o.image.onerror=function(){console.error("Could not load image:",e),i._tryloadBrokenUrl(e,n,o)},o.image.src=e,o}},{key:"_fixImageCoordinates",value:function(e){e.width===0&&(document.body.appendChild(e),e.width=e.offsetWidth,e.height=e.offsetHeight,document.body.removeChild(e))}}]),t}(),oT={exports:{}},D2e=Ve,N2e=D2e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),R2e=Ve,F2e=Vt,z2e=fi,_6=N2e,Fc=Object.isExtensible,B2e=R2e(function(){Fc(1)}),L2e=B2e||_6?function(r){return!F2e(r)||_6&&z2e(r)==="ArrayBuffer"?!1:Fc?Fc(r):!0}:Fc,j2e=Ve,sT=!j2e(function(){return Object.isExtensible(Object.preventExtensions({}))}),H2e=ke,W2e=Ke,q2e=au,U2e=Vt,wg=Gt,V2e=Hr.f,O6=uu,G2e=O0,$g=L2e,K2e=g0,Y2e=sT,lT=!1,li=K2e("meta"),X2e=0,xg=function(t){V2e(t,li,{value:{objectID:"O"+X2e++,weakData:{}}})},J2e=function(t,r){if(!U2e(t))return typeof t=="symbol"?t:(typeof t=="string"?"S":"P")+t;if(!wg(t,li)){if(!$g(t))return"F";if(!r)return"E";xg(t)}return t[li].objectID},Z2e=function(t,r){if(!wg(t,li)){if(!$g(t))return!0;if(!r)return!1;xg(t)}return t[li].weakData},Q2e=function(t){return Y2e&&lT&&$g(t)&&!wg(t,li)&&xg(t),t},e5e=function(){t5e.enable=function(){},lT=!0;var t=O6.f,r=W2e([].splice),e={};e[li]=1,t(e).length&&(O6.f=function(n){for(var i=t(n),a=0,o=i.length;ah;h++)if(f=y(t[h]),f&&I6(P6,f))return f;return new zc(!1)}u=l5e(t,c)}for(v=a?t.next:u.next;!(g=n5e(v,u)).done;){try{f=y(g.value)}catch($){C6(u,"throw",$)}if(typeof f=="object"&&f&&I6(P6,f))return f}return new zc(!1)},h5e=It,d5e=TypeError,Sg=function(t,r){if(h5e(r,t))return t;throw new d5e("Incorrect invocation")},f5e=ke,v5e=xt,p5e=z0,m5e=Ve,g5e=vs,y5e=kg,b5e=Sg,w5e=qt,$5e=Vt,x5e=cs,k5e=ms,S5e=Hr.f,E5e=Yi.forEach,T5e=Ut,uT=Ha,_5e=uT.set,O5e=uT.getterFor,Eg=function(t,r,e){var n=t.indexOf("Map")!==-1,i=t.indexOf("Weak")!==-1,a=n?"set":"add",o=v5e[t],s=o&&o.prototype,l={},u;if(!T5e||!w5e(o)||!(i||s.forEach&&!m5e(function(){new o().entries().next()})))u=e.getConstructor(r,t,n,a),p5e.enable();else{u=r(function(d,f){_5e(b5e(d,c),{type:t,collection:new o}),x5e(f)||y5e(f,d[a],{that:d,AS_ENTRIES:n})});var c=u.prototype,h=O5e(t);E5e(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(d){var f=d==="add"||d==="set";d in s&&!(i&&d==="clear")&&g5e(c,d,function(v,g){var b=h(this).collection;if(!f&&i&&!$5e(v))return d==="get"?void 0:!1;var y=b[d](v===0?0:v,g);return f?this:y})}),i||S5e(c,"size",{configurable:!0,get:function(){return h(this).collection.size}})}return k5e(u,t,!1,!0),l[t]=u,f5e({global:!0,forced:!0},l),i||e.setStrong(u,t,n),u},I5e=su,Tg=function(t,r,e){for(var n in r)e&&e.unsafe&&t[n]?t[n]=r[n]:I5e(t,n,r[n],e);return t},C5e=nn,P5e=rg,A5e=kt,M5e=Ut,A6=A5e("species"),D5e=function(t){var r=C5e(t);M5e&&r&&!r[A6]&&P5e(r,A6,{configurable:!0,get:function(){return this}})},N5e=ps,R5e=rg,M6=Tg,F5e=nu,z5e=Sg,B5e=cs,L5e=kg,j5e=J1,fc=Z1,H5e=D5e,Ps=Ut,D6=z0.fastKey,cT=Ha,N6=cT.set,xv=cT.getterFor,hT={getConstructor:function(t,r,e,n){var i=t(function(u,c){z5e(u,a),N6(u,{type:r,index:N5e(null),first:void 0,last:void 0,size:0}),Ps||(u.size=0),B5e(c)||L5e(c,u[n],{that:u,AS_ENTRIES:e})}),a=i.prototype,o=xv(r),s=function(u,c,h){var d=o(u),f=l(u,c),v,g;return f?f.value=h:(d.last=f={index:g=D6(c,!0),key:c,value:h,previous:v=d.last,next:void 0,removed:!1},d.first||(d.first=f),v&&(v.next=f),Ps?d.size++:u.size++,g!=="F"&&(d.index[g]=f)),u},l=function(u,c){var h=o(u),d=D6(c),f;if(d!=="F")return h.index[d];for(f=h.first;f;f=f.next)if(f.key===c)return f};return M6(a,{clear:function(){for(var c=this,h=o(c),d=h.index,f=h.first;f;)f.removed=!0,f.previous&&(f.previous=f.previous.next=void 0),delete d[f.index],f=f.next;h.first=h.last=void 0,Ps?h.size=0:c.size=0},delete:function(u){var c=this,h=o(c),d=l(c,u);if(d){var f=d.next,v=d.previous;delete h.index[d.index],d.removed=!0,v&&(v.next=f),f&&(f.previous=v),h.first===d&&(h.first=f),h.last===d&&(h.last=v),Ps?h.size--:c.size--}return!!d},forEach:function(c){for(var h=o(this),d=F5e(c,arguments.length>1?arguments[1]:void 0),f;f=f?f.next:h.first;)for(d(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(c){return!!l(this,c)}}),M6(a,e?{get:function(c){var h=l(this,c);return h&&h.value},set:function(c,h){return s(this,c===0?0:c,h)}}:{add:function(c){return s(this,c=c===0?0:c,c)}}),Ps&&R5e(a,"size",{configurable:!0,get:function(){return o(this).size}}),i},setStrong:function(t,r,e){var n=r+" Iterator",i=xv(r),a=xv(n);j5e(t,r,function(o,s){N6(this,{type:n,target:o,state:i(o),kind:s,last:void 0})},function(){for(var o=a(this),s=o.kind,l=o.last;l&&l.removed;)l=l.previous;return!o.target||!(o.last=l=l?l.next:o.state.first)?(o.target=void 0,fc(void 0,!0)):fc(s==="keys"?l.key:s==="values"?l.value:[l.key,l.value],!1)},e?"entries":"values",!e,!0),H5e(r)}},W5e=Eg,q5e=hT;W5e("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},q5e);var U5e=Ge,V5e=U5e.Map,G5e=V5e,K5e=G5e,Y5e=K5e,dT=ve(Y5e),X5e=function(){function t(){re(this,t),this.clear(),this._defaultIndex=0,this._groupIndex=0,this._defaultGroups=[{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},{border:"#FFA500",background:"#FFFF00",highlight:{border:"#FFA500",background:"#FFFFA3"},hover:{border:"#FFA500",background:"#FFFFA3"}},{border:"#FA0A10",background:"#FB7E81",highlight:{border:"#FA0A10",background:"#FFAFB1"},hover:{border:"#FA0A10",background:"#FFAFB1"}},{border:"#41A906",background:"#7BE141",highlight:{border:"#41A906",background:"#A1EC76"},hover:{border:"#41A906",background:"#A1EC76"}},{border:"#E129F0",background:"#EB7DF4",highlight:{border:"#E129F0",background:"#F0B3F5"},hover:{border:"#E129F0",background:"#F0B3F5"}},{border:"#7C29F0",background:"#AD85E4",highlight:{border:"#7C29F0",background:"#D3BDF0"},hover:{border:"#7C29F0",background:"#D3BDF0"}},{border:"#C37F00",background:"#FFA807",highlight:{border:"#C37F00",background:"#FFCA66"},hover:{border:"#C37F00",background:"#FFCA66"}},{border:"#4220FB",background:"#6E6EFD",highlight:{border:"#4220FB",background:"#9B9BFD"},hover:{border:"#4220FB",background:"#9B9BFD"}},{border:"#FD5A77",background:"#FFC0CB",highlight:{border:"#FD5A77",background:"#FFD1D9"},hover:{border:"#FD5A77",background:"#FFD1D9"}},{border:"#4AD63A",background:"#C2FABC",highlight:{border:"#4AD63A",background:"#E6FFE3"},hover:{border:"#4AD63A",background:"#E6FFE3"}},{border:"#990000",background:"#EE0000",highlight:{border:"#BB0000",background:"#FF3333"},hover:{border:"#BB0000",background:"#FF3333"}},{border:"#FF6000",background:"#FF6000",highlight:{border:"#FF6000",background:"#FF6000"},hover:{border:"#FF6000",background:"#FF6000"}},{border:"#97C2FC",background:"#2B7CE9",highlight:{border:"#D2E5FF",background:"#2B7CE9"},hover:{border:"#D2E5FF",background:"#2B7CE9"}},{border:"#399605",background:"#255C03",highlight:{border:"#399605",background:"#255C03"},hover:{border:"#399605",background:"#255C03"}},{border:"#B70054",background:"#FF007E",highlight:{border:"#B70054",background:"#FF007E"},hover:{border:"#B70054",background:"#FF007E"}},{border:"#AD85E4",background:"#7C29F0",highlight:{border:"#D3BDF0",background:"#7C29F0"},hover:{border:"#D3BDF0",background:"#7C29F0"}},{border:"#4557FA",background:"#000EA1",highlight:{border:"#6E6EFD",background:"#000EA1"},hover:{border:"#6E6EFD",background:"#000EA1"}},{border:"#FFC0CB",background:"#FD5A77",highlight:{border:"#FFD1D9",background:"#FD5A77"},hover:{border:"#FFD1D9",background:"#FD5A77"}},{border:"#C2FABC",background:"#74D66A",highlight:{border:"#E6FFE3",background:"#74D66A"},hover:{border:"#E6FFE3",background:"#74D66A"}},{border:"#EE0000",background:"#990000",highlight:{border:"#FF3333",background:"#BB0000"},hover:{border:"#FF3333",background:"#BB0000"}}],this.options={},this.defaultOptions={useDefaultGroups:!0},At(this.options,this.defaultOptions)}return ne(t,[{key:"setOptions",value:function(e){var n=["useDefaultGroups"];if(e!==void 0){for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&Ue(n).call(n,i)===-1){var a=e[i];this.add(i,a)}}}},{key:"clear",value:function(){this._groups=new dT,this._groupNames=[]}},{key:"get",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=this._groups.get(e);if(i===void 0&&n)if(this.options.useDefaultGroups===!1&&this._groupNames.length>0){var a=this._groupIndex%this._groupNames.length;++this._groupIndex,i={},i.color=this._groups.get(this._groupNames[a]),this._groups.set(e,i)}else{var o=this._defaultIndex%this._defaultGroups.length;this._defaultIndex++,i={},i.color=this._defaultGroups[o],this._groups.set(e,i)}return i}},{key:"add",value:function(e,n){return this._groups.has(e)||this._groupNames.push(e),this._groups.set(e,n),n}}]),t}(),J5e=ke;J5e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}});var Z5e=Ge,Q5e=Z5e.Number.isNaN,e3e=Q5e,t3e=e3e,r3e=t3e,um=ve(r3e),n3e=xt,i3e=n3e.isFinite,a3e=Number.isFinite||function(r){return typeof r=="number"&&i3e(r)},o3e=ke,s3e=a3e;o3e({target:"Number",stat:!0},{isFinite:s3e});var l3e=Ge,u3e=l3e.Number.isFinite,c3e=u3e,h3e=c3e,d3e=h3e,ua=ve(d3e),f3e=ke,v3e=Yi.some,p3e=bs,m3e=p3e("some");f3e({target:"Array",proto:!0,forced:!m3e},{some:function(r){return v3e(this,r,arguments.length>1?arguments[1]:void 0)}});var g3e=Kt,y3e=g3e("Array").some,b3e=It,w3e=y3e,kv=Array.prototype,$3e=function(t){var r=t.some;return t===kv||b3e(kv,t)&&r===kv.some?w3e:r},x3e=$3e,k3e=x3e,S3e=k3e,E3e=ve(S3e),T3e=Ge,_3e=T3e.Object.getOwnPropertySymbols,O3e=_3e,I3e=O3e,C3e=I3e,Li=ve(C3e),fT={exports:{}},P3e=ke,A3e=Ve,M3e=zn,vT=us.f,pT=Ut,D3e=!pT||A3e(function(){vT(1)});P3e({target:"Object",stat:!0,forced:D3e,sham:!pT},{getOwnPropertyDescriptor:function(r,e){return vT(M3e(r),e)}});var N3e=Ge,mT=N3e.Object,R3e=fT.exports=function(r,e){return mT.getOwnPropertyDescriptor(r,e)};mT.getOwnPropertyDescriptor.sham&&(R3e.sham=!0);var F3e=fT.exports,z3e=F3e,gT=z3e,B3e=gT,Ji=ve(B3e),L3e=ke,j3e=Ut,H3e=i1e,W3e=zn,q3e=us,U3e=ys;L3e({target:"Object",stat:!0,sham:!j3e},{getOwnPropertyDescriptors:function(r){for(var e=W3e(r),n=q3e.f,i=H3e(e),a={},o=0,s,l;i.length>o;)l=n(e,s=i[o++]),l!==void 0&&U3e(a,s,l);return a}});var V3e=Ge,G3e=V3e.Object.getOwnPropertyDescriptors,K3e=G3e,Y3e=K3e,X3e=Y3e,ji=ve(X3e),yT={exports:{}},J3e=ke,Z3e=Ut,R6=k0.f;J3e({target:"Object",stat:!0,forced:Object.defineProperties!==R6,sham:!Z3e},{defineProperties:R6});var Q3e=Ge,bT=Q3e.Object,e6e=yT.exports=function(r,e){return bT.defineProperties(r,e)};bT.defineProperties.sham&&(e6e.sham=!0);var t6e=yT.exports,r6e=t6e,n6e=r6e,i6e=n6e,B0=ve(i6e),a6e=kS,L0=ve(a6e);function j0(t,r,e){return r=rE(r),r in t?_0(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var wT=xt,o6e=Ve,s6e=Ke,l6e=Bn,u6e=vE.trim,c6e=ug,h6e=s6e("".charAt),xh=wT.parseFloat,F6=wT.Symbol,z6=F6&&F6.iterator,d6e=1/xh(c6e+"-0")!==-1/0||z6&&!o6e(function(){xh(Object(z6))}),f6e=d6e?function(r){var e=u6e(l6e(r)),n=xh(e);return n===0&&h6e(e,0)==="-"?-0:n}:xh,v6e=ke,B6=f6e;v6e({global:!0,forced:parseFloat!==B6},{parseFloat:B6});var p6e=Ge,m6e=p6e.parseFloat,g6e=m6e,y6e=g6e,b6e=y6e,$T=ve(b6e),w6e=ke,$6e=Ve,x6e=O0.f,k6e=$6e(function(){return!Object.getOwnPropertyNames(1)});w6e({target:"Object",stat:!0,forced:k6e},{getOwnPropertyNames:x6e});var S6e=Ge,E6e=S6e.Object,T6e=function(r){return E6e.getOwnPropertyNames(r)},_6e=T6e,O6e=_6e,I6e=O6e,C6e=ve(I6e);function _g(t,r){var e=["node","edge","label"],n=!0,i=xi(r,"chosen");if(typeof i=="boolean")n=i;else if(Qe(i)==="object"){if(Ue(e).call(e,t)===-1)throw new Error("choosify: subOption '"+t+"' should be one of '"+e.join("', '")+"'");var a=xi(r,["chosen",t]);(typeof a=="boolean"||typeof a=="function")&&(n=a)}return n}function cm(t,r,e){if(t.width<=0||t.height<=0)return!1;if(e!==void 0){var n={x:r.x-e.x,y:r.y-e.y};if(e.angle!==0){var i=-e.angle,a={x:Math.cos(i)*n.x-Math.sin(i)*n.y,y:Math.sin(i)*n.x+Math.cos(i)*n.y};r=a}else r=n}var o=t.x+t.width,s=t.y+t.width;return t.leftr.x&&t.topr.y}function kh(t){return typeof t=="string"&&t!==""}function xT(t,r,e,n){var i=n.x,a=n.y;if(typeof n.distanceToBorder=="function"){var o=n.distanceToBorder(t,r),s=Math.sin(r)*o,l=Math.cos(r)*o;l===o?(i+=o,a=n.y):s===o?(i=n.x,a-=o):(i+=l,a-=s)}else n.shape.width>n.shape.height?(i=n.x+n.shape.width*.5,a=n.y-e):(i=n.x+e,a=n.y-n.shape.height*.5);return{x:i,y:a}}var P6e=Kt,A6e=P6e("Array").values,M6e=A6e,D6e=M6e,N6e=ja,R6e=Gt,F6e=It,z6e=D6e,Sv=Array.prototype,B6e={DOMTokenList:!0,NodeList:!0},L6e=function(t){var r=t.values;return t===Sv||F6e(Sv,t)&&r===Sv.values||R6e(B6e,N6e(t))?z6e:r},j6e=L6e,kT=ve(j6e),H6e=function(){function t(r){re(this,t),this.measureText=r,this.current=0,this.width=0,this.height=0,this.lines=[]}return ne(t,[{key:"_add",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal";this.lines[e]===void 0&&(this.lines[e]={width:0,height:0,blocks:[]});var a=n;(n===void 0||n==="")&&(a=" ");var o=this.measureText(a,i),s=At({},kT(o));s.text=n,s.width=o.width,s.mod=i,(n===void 0||n==="")&&(s.width=0),this.lines[e].blocks.push(s),this.lines[e].width+=s.width}},{key:"curWidth",value:function(){var e=this.lines[this.current];return e===void 0?0:e.width}},{key:"append",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"normal";this._add(this.current,e,n)}},{key:"newLine",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"normal";this._add(this.current,e,n),this.current++}},{key:"determineLineHeights",value:function(){for(var e=0;ee&&(e=a.width),n+=a.height}this.width=e,this.height=n}},{key:"removeEmptyBlocks",value:function(){for(var e=[],n=0;n"://,""://,""://,"":/<\/b>/,"":/<\/i>/,"":/<\/code>/,"*":/\*/,_:/_/,"`":/`/,afterBold:/[^*]/,afterItal:/[^_]/,afterMono:/[^`]/},L6=function(){function t(r){re(this,t),this.text=r,this.bold=!1,this.ital=!1,this.mono=!1,this.spacing=!1,this.position=0,this.buffer="",this.modStack=[],this.blocks=[]}return ne(t,[{key:"mod",value:function(){return this.modStack.length===0?"normal":this.modStack[0]}},{key:"modName",value:function(){if(this.modStack.length===0)return"normal";if(this.modStack[0]==="mono")return"mono";if(this.bold&&this.ital)return"boldital";if(this.bold)return"bold";if(this.ital)return"ital"}},{key:"emitBlock",value:function(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(this.blocks.push({text:this.buffer,mod:this.modName()}),this.buffer="")}},{key:"add",value:function(e){e===" "&&(this.spacing=!0),this.spacing&&(this.buffer+=" ",this.spacing=!1),e!=" "&&(this.buffer+=e)}},{key:"parseWS",value:function(e){return/[ \t]/.test(e)?(this.mono?this.add(e):this.spacing=!0,!0):!1}},{key:"setTag",value:function(e){this.emitBlock(),this[e]=!0,this.modStack.unshift(e)}},{key:"unsetTag",value:function(e){this.emitBlock(),this[e]=!1,this.modStack.shift()}},{key:"parseStartTag",value:function(e,n){return!this.mono&&!this[e]&&this.match(n)?(this.setTag(e),!0):!1}},{key:"match",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=this.prepareRegExp(e),a=bt(i,2),o=a[0],s=a[1],l=o.test(this.text.substr(this.position,s));return l&&n&&(this.position+=s-1),l}},{key:"parseEndTag",value:function(e,n,i){var a=this.mod()===e;return e==="mono"?a=a&&this.mono:a=a&&!this.mono,a&&this.match(n)?(i!==void 0?(this.position===this.text.length-1||this.match(i,!1))&&this.unsetTag(e):this.unsetTag(e),!0):!1}},{key:"replace",value:function(e,n){return this.match(e)?(this.add(n),this.position+=length-1,!0):!1}},{key:"prepareRegExp",value:function(e){var n,i;if(e instanceof RegExp)i=e,n=1;else{var a=W6e[e];a!==void 0?i=a:i=new RegExp(e),n=e.length}return[i,n]}}]),t}(),q6e=function(){function t(r,e,n,i){var a=this;re(this,t),this.ctx=r,this.parent=e,this.selected=n,this.hover=i;var o=function(l,u){if(l===void 0)return 0;var c=a.parent.getFormattingValues(r,n,i,u),h=0;if(l!==""){var d=a.ctx.measureText(l);h=d.width}return{width:h,values:c}};this.lines=new H6e(o)}return ne(t,[{key:"process",value:function(e){if(!kh(e))return this.lines.finalize();var n=this.parent.fontOptions;e=e.replace(/\r\n/g,` +`),e=e.replace(/\r/g,` +`);var i=String(e).split(` +`),a=i.length;if(n.multi)for(var o=0;o0)for(var l=0;l0)for(var v=0;v")||n.parseStartTag("ital","")||n.parseStartTag("mono","")||n.parseEndTag("bold","")||n.parseEndTag("ital","")||n.parseEndTag("mono",""))||i(a);o||n.add(a),n.position++}return n.emitBlock(),n.blocks}},{key:"splitMarkdownBlocks",value:function(e){for(var n=this,i=new L6(e),a=!0,o=function(c){return/\\/.test(c)?(i.positionthis.parent.fontOptions.maxWdt}},{key:"getLongestFit",value:function(e){for(var n="",i=0;i1&&arguments[1]!==void 0?arguments[1]:"normal",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.parent.getFormattingValues(this.ctx,this.selected,this.hover,n),e=e.replace(/^( +)/g,"$1\r"),e=e.replace(/([^\r][^ ]*)( +)/g,"$1\r$2\r");for(var a=e.split("\r");a.length>0;){var o=this.getLongestFit(a);if(o===0){var s=a[0],l=this.getLongestFitWord(s);this.lines.newLine(Jt(s).call(s,0,l),n),a[0]=Jt(s).call(s,l)}else{var u=o;a[o-1]===" "?o--:a[u]===" "&&u++;var c=Jt(a).call(a,0,o).join("");o==a.length&&i?this.lines.append(c,n):this.lines.newLine(c,n),a=Jt(a).call(a,u)}}}}]),t}(),As=["bold","ital","boldital","mono"],ST=function(){function t(r,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;re(this,t),this.body=r,this.pointToSelf=!1,this.baseSize=void 0,this.fontOptions={},this.setOptions(e),this.size={top:0,left:0,width:0,height:0,yLine:0},this.isEdgeLabel=n}return ne(t,[{key:"setOptions",value:function(e){if(this.elementOptions=e,this.initFontOptions(e.font),kh(e.label)?this.labelDirty=!0:e.label=void 0,e.font!==void 0&&e.font!==null){if(typeof e.font=="string")this.baseSize=this.fontOptions.size;else if(Qe(e.font)==="object"){var n=e.font.size;n!==void 0&&(this.baseSize=n)}}}},{key:"initFontOptions",value:function(e){var n=this;if(Ne(As,function(i){n.fontOptions[i]={}}),t.parseFontString(this.fontOptions,e)){this.fontOptions.vadjust=0;return}Ne(e,function(i,a){i!=null&&Qe(i)!=="object"&&(n.fontOptions[a]=i)})}},{key:"constrain",value:function(e){var n={constrainWidth:!1,maxWdt:-1,minWdt:-1,constrainHeight:!1,minHgt:-1,valign:"middle"},i=xi(e,"widthConstraint");if(typeof i=="number")n.maxWdt=Number(i),n.minWdt=Number(i);else if(Qe(i)==="object"){var a=xi(e,["widthConstraint","maximum"]);typeof a=="number"&&(n.maxWdt=Number(a));var o=xi(e,["widthConstraint","minimum"]);typeof o=="number"&&(n.minWdt=Number(o))}var s=xi(e,"heightConstraint");if(typeof s=="number")n.minHgt=Number(s);else if(Qe(s)==="object"){var l=xi(e,["heightConstraint","minimum"]);typeof l=="number"&&(n.minHgt=Number(l));var u=xi(e,["heightConstraint","valign"]);typeof u=="string"&&(u==="top"||u==="bottom")&&(n.valign=u)}return n}},{key:"update",value:function(e,n){this.setOptions(e,!0),this.propagateFonts(n),st(this.fontOptions,this.constrain(n)),this.fontOptions.chooser=_g("label",n)}},{key:"adjustSizes",value:function(e){var n=e?e.right+e.left:0;this.fontOptions.constrainWidth&&(this.fontOptions.maxWdt-=n,this.fontOptions.minWdt-=n);var i=e?e.top+e.bottom:0;this.fontOptions.constrainHeight&&(this.fontOptions.minHgt-=i)}},{key:"addFontOptionsToPile",value:function(e,n){for(var i=0;i5&&arguments[5]!==void 0?arguments[5]:"middle";if(this.elementOptions.label!==void 0){var l=this.fontOptions.size*this.body.view.scale;this.elementOptions.label&&l=this.elementOptions.scaling.label.maxVisible&&(l=Number(this.elementOptions.scaling.label.maxVisible)/this.body.view.scale),this.calculateLabelSize(e,a,o,n,i,s),this._drawBackground(e),this._drawText(e,n,this.size.yLine,s,l))}}},{key:"_drawBackground",value:function(e){if(this.fontOptions.background!==void 0&&this.fontOptions.background!=="none"){e.fillStyle=this.fontOptions.background;var n=this.getSize();e.fillRect(n.left,n.top,n.width,n.height)}}},{key:"_drawText",value:function(e,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"middle",o=arguments.length>4?arguments[4]:void 0,s=this._setAlignment(e,n,i,a),l=bt(s,2);n=l[0],i=l[1],e.textAlign="left",n=n-this.size.width/2,this.fontOptions.valign&&this.size.height>this.size.labelHeight&&(this.fontOptions.valign==="top"&&(i-=(this.size.height-this.size.labelHeight)/2),this.fontOptions.valign==="bottom"&&(i+=(this.size.height-this.size.labelHeight)/2));for(var u=0;u0&&(e.lineWidth=f.strokeWidth,e.strokeStyle=y,e.lineJoin="round"),e.fillStyle=b,f.strokeWidth>0&&e.strokeText(f.text,n+h,i+f.vadjust),e.fillText(f.text,n+h,i+f.vadjust),h+=f.width}i+=c.height}}}},{key:"_setAlignment",value:function(e,n,i,a){if(this.isEdgeLabel&&this.fontOptions.align!=="horizontal"&&this.pointToSelf===!1){n=0,i=0;var o=2;this.fontOptions.align==="top"?(e.textBaseline="alphabetic",i-=2*o):this.fontOptions.align==="bottom"?(e.textBaseline="hanging",i+=2*o):e.textBaseline="middle"}else e.textBaseline=a;return[n,i]}},{key:"_getColor",value:function(e,n,i){var a=e||"#000000",o=i||"#ffffff";if(n<=this.elementOptions.scaling.label.drawThreshold){var s=Math.max(0,Math.min(1,1-(this.elementOptions.scaling.label.drawThreshold-n)));a=Kr(a,s),o=Kr(o,s)}return[a,o]}},{key:"getTextSize",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this._processLabel(e,n,i),{width:this.size.width,height:this.size.height,lineCount:this.lineCount}}},{key:"getSize",value:function(){var e=2,n=this.size.left,i=this.size.top-.5*e;if(this.isEdgeLabel){var a=-this.size.width*.5;switch(this.fontOptions.align){case"middle":n=a,i=-this.size.height*.5;break;case"top":n=a,i=-(this.size.height+e);break;case"bottom":n=a,i=e;break}}var o={left:n,top:i,width:this.size.width,height:this.size.height};return o}},{key:"calculateLabelSize",value:function(e,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"middle";this._processLabel(e,n,i),this.size.left=a-this.size.width*.5,this.size.top=o-this.size.height*.5,this.size.yLine=o+(1-this.lineCount)*.5*this.fontOptions.size,s==="hanging"&&(this.size.top+=.5*this.fontOptions.size,this.size.top+=4,this.size.yLine+=4)}},{key:"getFormattingValues",value:function(e,n,i,a){var o=function(c,h,d){return h==="normal"?d==="mod"?"":c[d]:c[h][d]!==void 0?c[h][d]:c[d]},s={color:o(this.fontOptions,a,"color"),size:o(this.fontOptions,a,"size"),face:o(this.fontOptions,a,"face"),mod:o(this.fontOptions,a,"mod"),vadjust:o(this.fontOptions,a,"vadjust"),strokeWidth:this.fontOptions.strokeWidth,strokeColor:this.fontOptions.strokeColor};(n||i)&&(a==="normal"&&this.fontOptions.chooser===!0&&this.elementOptions.labelHighlightBold?s.mod="bold":typeof this.fontOptions.chooser=="function"&&this.fontOptions.chooser(s,this.elementOptions.id,n,i));var l="";return s.mod!==void 0&&s.mod!==""&&(l+=s.mod+" "),l+=s.size+"px "+s.face,e.font=l.replace(/"/g,""),s.font=e.font,s.height=s.size,s}},{key:"differentState",value:function(e,n){return e!==this.selectedState||n!==this.hoverState}},{key:"_processLabelText",value:function(e,n,i,a){var o=new q6e(e,this,n,i);return o.process(a)}},{key:"_processLabel",value:function(e,n,i){if(!(this.labelDirty===!1&&!this.differentState(n,i))){var a=this._processLabelText(e,n,i,this.elementOptions.label);this.fontOptions.minWdt>0&&a.width0&&a.height0&&(this.enableBorderDashes(e,n),e.stroke(),this.disableBorderDashes(e,n)),e.restore()}},{key:"performFill",value:function(e,n){e.save(),e.fillStyle=n.color,this.enableShadow(e,n),vu(e).call(e),this.disableShadow(e,n),e.restore(),this.performStroke(e,n)}},{key:"_addBoundingBoxMargin",value:function(e){this.boundingBox.left-=e,this.boundingBox.top-=e,this.boundingBox.bottom+=e,this.boundingBox.right+=e}},{key:"_updateBoundingBox",value:function(e,n,i,a,o){i!==void 0&&this.resize(i,a,o),this.left=e-this.width/2,this.top=n-this.height/2,this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width}},{key:"updateBoundingBox",value:function(e,n,i,a,o){this._updateBoundingBox(e,n,i,a,o)}},{key:"getDimensionsFromLabel",value:function(e,n,i){this.textSize=this.labelModule.getTextSize(e,n,i);var a=this.textSize.width,o=this.textSize.height,s=14;return a===0&&(a=s,o=s),{width:a,height:o}}}]),t}();function Nwe(t){var r=Rwe();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function Rwe(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Fwe=function(t){Ye(e,t);var r=Nwe(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o._setMargins(a),o}return ne(e,[{key:"resize",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.selected,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.hover;if(this.needsRefresh(a,o)){var s=this.getDimensionsFromLabel(i,a,o);this.width=s.width+this.margin.right+this.margin.left,this.height=s.height+this.margin.top+this.margin.bottom,this.radius=this.width/2}}},{key:"draw",value:function(i,a,o,s,l,u){this.resize(i,s,l),this.left=a-this.width/2,this.top=o-this.height/2,this.initContextForDraw(i,u),Uk(i,this.left,this.top,this.width,this.height,u.borderRadius),this.performFill(i,u),this.updateBoundingBox(a,o,i,s,l),this.labelModule.draw(i,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,s,l)}},{key:"updateBoundingBox",value:function(i,a,o,s,l){this._updateBoundingBox(i,a,o,s,l);var u=this.options.shapeProperties.borderRadius;this._addBoundingBoxMargin(u)}},{key:"distanceToBorder",value:function(i,a){i&&this.resize(i);var o=this.options.borderWidth;return Math.min(Math.abs(this.width/2/Math.cos(a)),Math.abs(this.height/2/Math.sin(a)))+o}}]),e}(Ga);function zwe(t){var r=Bwe();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function Bwe(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Cg=function(t){Ye(e,t);var r=zwe(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o.labelOffset=0,o.selected=!1,o}return ne(e,[{key:"setOptions",value:function(i,a,o){this.options=i,a===void 0&&o===void 0||this.setImages(a,o)}},{key:"setImages",value:function(i,a){a&&this.selected?(this.imageObj=a,this.imageObjAlt=i):(this.imageObj=i,this.imageObjAlt=a)}},{key:"switchImages",value:function(i){var a=i&&!this.selected||!i&&this.selected;if(this.selected=i,this.imageObjAlt!==void 0&&a){var o=this.imageObj;this.imageObj=this.imageObjAlt,this.imageObjAlt=o}}},{key:"_getImagePadding",value:function(){var i={top:0,right:0,bottom:0,left:0};if(this.options.imagePadding){var a=this.options.imagePadding;Qe(a)=="object"?(i.top=a.top,i.right=a.right,i.bottom=a.bottom,i.left=a.left):(i.top=a,i.right=a,i.bottom=a,i.left=a)}return i}},{key:"_resizeImage",value:function(){var i,a;if(this.options.shapeProperties.useImageSize===!1){var o=1,s=1;this.imageObj.width&&this.imageObj.height&&(this.imageObj.width>this.imageObj.height?o=this.imageObj.width/this.imageObj.height:s=this.imageObj.height/this.imageObj.width),i=this.options.size*2*o,a=this.options.size*2*s}else{var l=this._getImagePadding();i=this.imageObj.width+l.left+l.right,a=this.imageObj.height+l.top+l.bottom}this.width=i,this.height=a,this.radius=.5*this.width}},{key:"_drawRawCircle",value:function(i,a,o,s){this.initContextForDraw(i,s),G1(i,a,o,s.size),this.performFill(i,s)}},{key:"_drawImageAtPosition",value:function(i,a){if(this.imageObj.width!=0){i.globalAlpha=a.opacity!==void 0?a.opacity:1,this.enableShadow(i,a);var o=1;this.options.shapeProperties.interpolation===!0&&(o=this.imageObj.width/this.width/this.body.view.scale);var s=this._getImagePadding(),l=this.left+s.left,u=this.top+s.top,c=this.width-s.left-s.right,h=this.height-s.top-s.bottom;this.imageObj.drawImageAtPosition(i,o,l,u,c,h),this.disableShadow(i,a)}}},{key:"_drawImageLabel",value:function(i,a,o,s,l){var u=0;if(this.height!==void 0){u=this.height*.5;var c=this.labelModule.getTextSize(i,s,l);c.lineCount>=1&&(u+=c.height/2)}var h=o+u;this.options.label&&(this.labelOffset=u),this.labelModule.draw(i,a,h,s,l,"hanging")}}]),e}(Ga);function Lwe(t){var r=jwe();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function jwe(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Hwe=function(t){Ye(e,t);var r=Lwe(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o._setMargins(a),o}return ne(e,[{key:"resize",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.selected,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.hover;if(this.needsRefresh(a,o)){var s=this.getDimensionsFromLabel(i,a,o),l=Math.max(s.width+this.margin.right+this.margin.left,s.height+this.margin.top+this.margin.bottom);this.options.size=l/2,this.width=l,this.height=l,this.radius=this.width/2}}},{key:"draw",value:function(i,a,o,s,l,u){this.resize(i,s,l),this.left=a-this.width/2,this.top=o-this.height/2,this._drawRawCircle(i,a,o,u),this.updateBoundingBox(a,o),this.labelModule.draw(i,this.left+this.textSize.width/2+this.margin.left,o,s,l)}},{key:"updateBoundingBox",value:function(i,a){this.boundingBox.top=a-this.options.size,this.boundingBox.left=i-this.options.size,this.boundingBox.right=i+this.options.size,this.boundingBox.bottom=a+this.options.size}},{key:"distanceToBorder",value:function(i){return i&&this.resize(i),this.width*.5}}]),e}(Cg);function Wwe(t){var r=qwe();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function qwe(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Uwe=function(t){Ye(e,t);var r=Wwe(e);function e(n,i,a,o,s){var l;return re(this,e),l=r.call(this,n,i,a),l.setImages(o,s),l}return ne(e,[{key:"resize",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.selected,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.hover,s=this.imageObj.src===void 0||this.imageObj.width===void 0||this.imageObj.height===void 0;if(s){var l=this.options.size*2;this.width=l,this.height=l,this.radius=.5*this.width;return}this.needsRefresh(a,o)&&this._resizeImage()}},{key:"draw",value:function(i,a,o,s,l,u){this.switchImages(s),this.resize();var c=a,h=o;this.options.shapeProperties.coordinateOrigin==="top-left"?(this.left=a,this.top=o,c+=this.width/2,h+=this.height/2):(this.left=a-this.width/2,this.top=o-this.height/2),this._drawRawCircle(i,c,h,u),i.save(),i.clip(),this._drawImageAtPosition(i,u),i.restore(),this._drawImageLabel(i,c,h,s,l),this.updateBoundingBox(a,o)}},{key:"updateBoundingBox",value:function(i,a){this.options.shapeProperties.coordinateOrigin==="top-left"?(this.boundingBox.top=a,this.boundingBox.left=i,this.boundingBox.right=i+this.options.size*2,this.boundingBox.bottom=a+this.options.size*2):(this.boundingBox.top=a-this.options.size,this.boundingBox.left=i-this.options.size,this.boundingBox.right=i+this.options.size,this.boundingBox.bottom=a+this.options.size),this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset)}},{key:"distanceToBorder",value:function(i){return i&&this.resize(i),this.width*.5}}]),e}(Cg);function Vwe(t){var r=Gwe();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function Gwe(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Zi=function(t){Ye(e,t);var r=Vwe(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"resize",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.selected,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.hover,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{size:this.options.size};if(this.needsRefresh(a,o)){var l,u;this.labelModule.getTextSize(i,a,o);var c=2*s.size;this.width=(l=this.customSizeWidth)!==null&&l!==void 0?l:c,this.height=(u=this.customSizeHeight)!==null&&u!==void 0?u:c,this.radius=.5*this.width}}},{key:"_drawShape",value:function(i,a,o,s,l,u,c,h){var d=this;return this.resize(i,u,c,h),this.left=s-this.width/2,this.top=l-this.height/2,this.initContextForDraw(i,h),Oue(a)(i,s,l,h.size),this.performFill(i,h),this.options.icon!==void 0&&this.options.icon.code!==void 0&&(i.font=(u?"bold ":"")+this.height/2+"px "+(this.options.icon.face||"FontAwesome"),i.fillStyle=this.options.icon.color||"black",i.textAlign="center",i.textBaseline="middle",i.fillText(this.options.icon.code,s,l)),{drawExternalLabel:function(){if(d.options.label!==void 0){d.labelModule.calculateLabelSize(i,u,c,s,l,"hanging");var v=l+.5*d.height+.5*d.labelModule.size.height;d.labelModule.draw(i,s,v,u,c,"hanging")}d.updateBoundingBox(s,l)}}}},{key:"updateBoundingBox",value:function(i,a){this.boundingBox.top=a-this.options.size,this.boundingBox.left=i-this.options.size,this.boundingBox.right=i+this.options.size,this.boundingBox.bottom=a+this.options.size,this.options.label!==void 0&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height))}}]),e}(Ga);function U6(t,r){var e=yt(t);if(Li){var n=Li(t);r&&(n=kr(n).call(n,function(i){return Ji(t,i).enumerable})),e.push.apply(e,n)}return e}function Kwe(t){for(var r=1;r"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Jwe=function(t){Ye(e,t);var r=Ywe(e);function e(n,i,a,o){var s;return re(this,e),s=r.call(this,n,i,a,o),s.ctxRenderer=o,s}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){this.resize(i,s,l,u),this.left=a-this.width/2,this.top=o-this.height/2,i.save();var c=this.ctxRenderer({ctx:i,id:this.options.id,x:a,y:o,state:{selected:s,hover:l},style:Kwe({},u),label:this.options.label});if(c.drawNode!=null&&c.drawNode(),i.restore(),c.drawExternalLabel){var h=c.drawExternalLabel;c.drawExternalLabel=function(){i.save(),h(),i.restore()}}return c.nodeDimensions&&(this.customSizeWidth=c.nodeDimensions.width,this.customSizeHeight=c.nodeDimensions.height),c}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Zi);function Zwe(t){var r=Qwe();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function Qwe(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var e7e=function(t){Ye(e,t);var r=Zwe(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o._setMargins(a),o}return ne(e,[{key:"resize",value:function(i,a,o){if(this.needsRefresh(a,o)){var s=this.getDimensionsFromLabel(i,a,o),l=s.width+this.margin.right+this.margin.left;this.width=l,this.height=l,this.radius=this.width/2}}},{key:"draw",value:function(i,a,o,s,l,u){this.resize(i,s,l),this.left=a-this.width/2,this.top=o-this.height/2,this.initContextForDraw(i,u),Vk(i,a-this.width/2,o-this.height/2,this.width,this.height),this.performFill(i,u),this.updateBoundingBox(a,o,i,s,l),this.labelModule.draw(i,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,s,l)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Ga);function t7e(t){var r=r7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function r7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var n7e=function(t){Ye(e,t);var r=t7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){return this._drawShape(i,"diamond",4,a,o,s,l,u)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Zi);function i7e(t){var r=a7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function a7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var o7e=function(t){Ye(e,t);var r=i7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){return this._drawShape(i,"circle",2,a,o,s,l,u)}},{key:"distanceToBorder",value:function(i){return i&&this.resize(i),this.options.size}}]),e}(Zi);function s7e(t){var r=l7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function l7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var V6=function(t){Ye(e,t);var r=s7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"resize",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.selected,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.hover;if(this.needsRefresh(a,o)){var s=this.getDimensionsFromLabel(i,a,o);this.height=s.height*2,this.width=s.width+s.height,this.radius=.5*this.width}}},{key:"draw",value:function(i,a,o,s,l,u){this.resize(i,s,l),this.left=a-this.width*.5,this.top=o-this.height*.5,this.initContextForDraw(i,u),Bp(i,this.left,this.top,this.width,this.height),this.performFill(i,u),this.updateBoundingBox(a,o,i,s,l),this.labelModule.draw(i,a,o,s,l)}},{key:"distanceToBorder",value:function(i,a){i&&this.resize(i);var o=this.width*.5,s=this.height*.5,l=Math.sin(a)*o,u=Math.cos(a)*s;return o*s/Math.sqrt(l*l+u*u)}}]),e}(Ga);function u7e(t){var r=c7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function c7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var h7e=function(t){Ye(e,t);var r=u7e(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o._setMargins(a),o}return ne(e,[{key:"resize",value:function(i,a,o){this.needsRefresh(a,o)&&(this.iconSize={width:Number(this.options.icon.size),height:Number(this.options.icon.size)},this.width=this.iconSize.width+this.margin.right+this.margin.left,this.height=this.iconSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(i,a,o,s,l,u){var c=this;return this.resize(i,s,l),this.options.icon.size=this.options.icon.size||50,this.left=a-this.width/2,this.top=o-this.height/2,this._icon(i,a,o,s,l,u),{drawExternalLabel:function(){if(c.options.label!==void 0){var d=5;c.labelModule.draw(i,c.left+c.iconSize.width/2+c.margin.left,o+c.height/2+d,s)}c.updateBoundingBox(a,o)}}}},{key:"updateBoundingBox",value:function(i,a){if(this.boundingBox.top=a-this.options.icon.size*.5,this.boundingBox.left=i-this.options.icon.size*.5,this.boundingBox.right=i+this.options.icon.size*.5,this.boundingBox.bottom=a+this.options.icon.size*.5,this.options.label!==void 0&&this.labelModule.size.width>0){var o=5;this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height+o)}}},{key:"_icon",value:function(i,a,o,s,l,u){var c=Number(this.options.icon.size);this.options.icon.code!==void 0?(i.font=[this.options.icon.weight!=null?this.options.icon.weight:s?"bold":"",(this.options.icon.weight!=null&&s?5:0)+c+"px",this.options.icon.face].join(" "),i.fillStyle=this.options.icon.color||"black",i.textAlign="center",i.textBaseline="middle",this.enableShadow(i,u),i.fillText(this.options.icon.code,a,o),this.disableShadow(i,u)):console.error("When using the icon shape, you need to define the code in the icon options object. This can be done per node or globally.")}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Ga);function d7e(t){var r=f7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function f7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var v7e=function(t){Ye(e,t);var r=d7e(e);function e(n,i,a,o,s){var l;return re(this,e),l=r.call(this,n,i,a),l.setImages(o,s),l}return ne(e,[{key:"resize",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.selected,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.hover,s=this.imageObj.src===void 0||this.imageObj.width===void 0||this.imageObj.height===void 0;if(s){var l=this.options.size*2;this.width=l,this.height=l;return}this.needsRefresh(a,o)&&this._resizeImage()}},{key:"draw",value:function(i,a,o,s,l,u){i.save(),this.switchImages(s),this.resize();var c=a,h=o;if(this.options.shapeProperties.coordinateOrigin==="top-left"?(this.left=a,this.top=o,c+=this.width/2,h+=this.height/2):(this.left=a-this.width/2,this.top=o-this.height/2),this.options.shapeProperties.useBorderWithImage===!0){var d=this.options.borderWidth,f=this.options.borderWidthSelected||2*this.options.borderWidth,v=(s?f:d)/this.body.view.scale;i.lineWidth=Math.min(this.width,v),i.beginPath();var g=s?this.options.color.highlight.border:l?this.options.color.hover.border:this.options.color.border,b=s?this.options.color.highlight.background:l?this.options.color.hover.background:this.options.color.background;u.opacity!==void 0&&(g=Kr(g,u.opacity),b=Kr(b,u.opacity)),i.strokeStyle=g,i.fillStyle=b,i.rect(this.left-.5*i.lineWidth,this.top-.5*i.lineWidth,this.width+i.lineWidth,this.height+i.lineWidth),vu(i).call(i),this.performStroke(i,u),i.closePath()}this._drawImageAtPosition(i,u),this._drawImageLabel(i,c,h,s,l),this.updateBoundingBox(a,o),i.restore()}},{key:"updateBoundingBox",value:function(i,a){this.resize(),this.options.shapeProperties.coordinateOrigin==="top-left"?(this.left=i,this.top=a):(this.left=i-this.width/2,this.top=a-this.height/2),this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width,this.options.label!==void 0&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset))}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Cg);function p7e(t){var r=m7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function m7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var g7e=function(t){Ye(e,t);var r=p7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){return this._drawShape(i,"square",2,a,o,s,l,u)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Zi);function y7e(t){var r=b7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function b7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var w7e=function(t){Ye(e,t);var r=y7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){return this._drawShape(i,"hexagon",4,a,o,s,l,u)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Zi);function $7e(t){var r=x7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function x7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var k7e=function(t){Ye(e,t);var r=$7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){return this._drawShape(i,"star",4,a,o,s,l,u)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Zi);function S7e(t){var r=E7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function E7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var T7e=function(t){Ye(e,t);var r=S7e(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o._setMargins(a),o}return ne(e,[{key:"resize",value:function(i,a,o){this.needsRefresh(a,o)&&(this.textSize=this.labelModule.getTextSize(i,a,o),this.width=this.textSize.width+this.margin.right+this.margin.left,this.height=this.textSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(i,a,o,s,l,u){this.resize(i,s,l),this.left=a-this.width/2,this.top=o-this.height/2,this.enableShadow(i,u),this.labelModule.draw(i,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,s,l),this.disableShadow(i,u),this.updateBoundingBox(a,o,i,s,l)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Ga);function _7e(t){var r=O7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function O7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var I7e=function(t){Ye(e,t);var r=_7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){return this._drawShape(i,"triangle",3,a,o,s,l,u)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Zi);function C7e(t){var r=P7e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function P7e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var A7e=function(t){Ye(e,t);var r=C7e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"draw",value:function(i,a,o,s,l,u){return this._drawShape(i,"triangleDown",3,a,o,s,l,u)}},{key:"distanceToBorder",value:function(i,a){return this._distanceToBorder(i,a)}}]),e}(Zi);function G6(t,r){var e=yt(t);if(Li){var n=Li(t);r&&(n=kr(n).call(n,function(i){return Ji(t,i).enumerable})),e.push.apply(e,n)}return e}function K6(t){for(var r=1;re.left&&this.shape.tope.top}},{key:"isBoundingBoxOverlappingWith",value:function(e){return this.shape.boundingBox.lefte.left&&this.shape.boundingBox.tope.top}}],[{key:"checkOpacity",value:function(e){return 0<=e&&e<=1}},{key:"checkCoordinateOrigin",value:function(e){return e===void 0||e==="center"||e==="top-left"}},{key:"updateGroupOptions",value:function(e,n,i){var a;if(i!==void 0){var o=e.group;if(n!==void 0&&n.group!==void 0&&o!==n.group)throw new Error("updateGroupOptions: group values in options don't match.");var s=typeof o=="number"||typeof o=="string"&&o!="";if(s){var l=i.get(o);l.opacity!==void 0&&n.opacity===void 0&&(t.checkOpacity(l.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+l.opacity),l.opacity=void 0));var u=kr(a=C6e(n)).call(a,function(c){return n[c]!=null});u.push("font"),wh(u,e,l),e.color=am(e.color)}}}},{key:"parseOptions",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,s=["color","fixed","shadow"];if(wh(s,e,n,i),t.checkMass(n),e.opacity!==void 0&&(t.checkOpacity(e.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+e.opacity),e.opacity=void 0)),n.opacity!==void 0&&(t.checkOpacity(n.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+n.opacity),n.opacity=void 0)),n.shapeProperties&&!t.checkCoordinateOrigin(n.shapeProperties.coordinateOrigin)&&console.error("Invalid option for node coordinateOrigin, found: "+n.shapeProperties.coordinateOrigin),Ur(e,n,"shadow",a),n.color!==void 0&&n.color!==null){var l=am(n.color);KE(e.color,l)}else i===!0&&n.color===null&&(e.color=Di(a.color));n.fixed!==void 0&&n.fixed!==null&&(typeof n.fixed=="boolean"?(e.fixed.x=n.fixed,e.fixed.y=n.fixed):(n.fixed.x!==void 0&&typeof n.fixed.x=="boolean"&&(e.fixed.x=n.fixed.x),n.fixed.y!==void 0&&typeof n.fixed.y=="boolean"&&(e.fixed.y=n.fixed.y))),i===!0&&n.font===null&&(e.font=Di(a.font)),t.updateGroupOptions(e,n,o),n.scaling!==void 0&&Ur(e.scaling,n.scaling,"label",a.scaling)}},{key:"checkMass",value:function(e,n){if(e.mass!==void 0&&e.mass<=0){var i="";n!==void 0&&(i=" in node id: "+n),console.error("%cNegative or zero mass disallowed"+i+", setting mass to 1.",ZE),e.mass=1}}}]),t}();function M7e(t,r){var e=typeof Xi<"u"&&qa(t)||t["@@iterator"];if(!e){if(Je(t)||(e=D7e(t))||r){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function D7e(t,r){var e;if(t){if(typeof t=="string")return Y6(t,r);var n=Jt(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Wa(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y6(t,r)}}function Y6(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e1?console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+e.opacity):this.options.opacity=e.opacity),e.shape!==void 0)for(var n in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,n)&&this.body.nodes[n].updateShape();if(typeof e.font<"u"||typeof e.widthConstraint<"u"||typeof e.heightConstraint<"u")for(var i=0,a=yt(this.body.nodes);i1&&arguments[1]!==void 0?arguments[1]:!1,i=this.body.data.nodes;if(Sk("id",e))this.body.data.nodes=e;else if(Je(e))this.body.data.nodes=new hh,this.body.data.nodes.add(e);else if(!e)this.body.data.nodes=new hh;else throw new TypeError("Array or DataSet expected");if(i&&Ne(this.nodesListeners,function(s,l){i.off(l,s)}),this.body.nodes={},this.body.data.nodes){var a=this;Ne(this.nodesListeners,function(s,l){a.body.data.nodes.on(l,s)});var o=this.body.data.nodes.getIds();this.add(o,!0)}n===!1&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i,a=[],o=0;o1&&arguments[1]!==void 0?arguments[1]:Mr;return new n(e,this.body,this.images,this.groups,this.options,this.defaultOptions)}},{key:"refresh",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ne(this.body.nodes,function(i,a){var o=e.body.data.nodes.get(a);o!==void 0&&(n===!0&&i.setOptions({x:null,y:null}),i.setOptions({fixed:!1}),i.setOptions(o))})}},{key:"getPositions",value:function(e){var n={};if(e!==void 0){if(Je(e)===!0){for(var i=0;i0?(l=s/o,n+=l*l):n+=s;return o===1/0?1/0:o*l$e(n)}});var c$e=Ge,h$e=c$e.Math.hypot,d$e=h$e,f$e=d$e,v$e=f$e,p$e=ve(v$e);function IT(t){var r=m$e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function m$e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Ot=function(){function t(){re(this,t)}return ne(t,null,[{key:"transform",value:function(e,n){Je(e)||(e=[e]);for(var i=n.point.x,a=n.point.y,o=n.angle,s=n.length,l=0;l4&&arguments[4]!==void 0?arguments[4]:this.getViaNode();e.strokeStyle=this.getColor(e,n),e.lineWidth=n.width,n.dashes!==!1?this._drawDashedLine(e,n,o):this._drawLine(e,n,o)}},{key:"_drawLine",value:function(e,n,i,a,o){if(this.from!=this.to)this._line(e,n,i,a,o);else{var s=this._getCircleData(e),l=bt(s,3),u=l[0],c=l[1],h=l[2];this._circle(e,n,u,c,h)}}},{key:"_drawDashedLine",value:function(e,n,i,a,o){e.lineCap="round";var s=Je(n.dashes)?n.dashes:[5,5];if(e.setLineDash!==void 0){if(e.save(),e.setLineDash(s),e.lineDashOffset=0,this.from!=this.to)this._line(e,n,i);else{var l=this._getCircleData(e),u=bt(l,3),c=u[0],h=u[1],d=u[2];this._circle(e,n,c,h,d)}e.setLineDash([0]),e.lineDashOffset=0,e.restore()}else{if(this.from!=this.to)Gk(e,this.from.x,this.from.y,this.to.x,this.to.y,s);else{var f=this._getCircleData(e),v=bt(f,3),g=v[0],b=v[1],y=v[2];this._circle(e,n,g,b,y)}this.enableShadow(e,n),e.stroke(),this.disableShadow(e,n)}}},{key:"findBorderPosition",value:function(e,n,i){return this.from!=this.to?this._findBorderPosition(e,n,i):this._findBorderPositionCircle(e,n,i)}},{key:"findBorderPositions",value:function(e){if(this.from!=this.to)return{from:this._findBorderPosition(this.from,e),to:this._findBorderPosition(this.to,e)};var n,i=Jt(n=this._getCircleData(e)).call(n,0,2),a=bt(i,2),o=a[0],s=a[1];return{from:this._findBorderPositionCircle(this.from,e,{x:o,y:s,low:.25,high:.6,direction:-1}),to:this._findBorderPositionCircle(this.from,e,{x:o,y:s,low:.6,high:.8,direction:1})}}},{key:"_getCircleData",value:function(e){var n=this.options.selfReference.size;e!==void 0&&this.from.shape.width===void 0&&this.from.shape.resize(e);var i=xT(e,this.options.selfReference.angle,n,this.from);return[i.x,i.y,n]}},{key:"_pointOnCircle",value:function(e,n,i,a){var o=a*2*Math.PI;return{x:e+i*Math.cos(o),y:n-i*Math.sin(o)}}},{key:"_findBorderPositionCircle",value:function(e,n,i){var a=i.x,o=i.y,s=i.low,l=i.high,u=i.direction,c=10,h=this.options.selfReference.size,d=.05,f,v=(s+l)*.5,g=0;this.options.arrowStrikethrough===!0&&(u===-1?g=this.options.endPointOffset.from:u===1&&(g=this.options.endPointOffset.to));var b=0;do{v=(s+l)*.5,f=this._pointOnCircle(a,o,h,v);var y=Math.atan2(e.y-f.y,e.x-f.x),$=e.distanceToBorder(n,y)+g,k=Math.sqrt(Math.pow(f.x-e.x,2)+Math.pow(f.y-e.y,2)),T=$-k;if(Math.abs(T)0?u>0?s=v:l=v:u>0?l=v:s=v,++b}while(s<=l&&b1?h=1:h<0&&(h=0);var d=e+h*l,f=n+h*u,v=d-o,g=f-s;return Math.sqrt(v*v+g*g)}},{key:"getArrowData",value:function(e,n,i,a,o,s){var l,u,c,h,d,f,v,g=s.width;n==="from"?(c=this.from,h=this.to,d=s.fromArrowScale<0,f=Math.abs(s.fromArrowScale),v=s.fromArrowType):n==="to"?(c=this.to,h=this.from,d=s.toArrowScale<0,f=Math.abs(s.toArrowScale),v=s.toArrowType):(c=this.to,h=this.from,d=s.middleArrowScale<0,f=Math.abs(s.middleArrowScale),v=s.middleArrowType);var b=15*f+3*g;if(c!=h){var y=p$e(c.x-h.x,c.y-h.y),$=b/y;if(n!=="middle")if(this.options.smooth.enabled===!0){var k=this._findBorderPosition(c,e,{via:i}),T=this.getPoint(k.t+$*(n==="from"?1:-1),i);l=Math.atan2(k.y-T.y,k.x-T.x),u=k}else l=Math.atan2(c.y-h.y,c.x-h.x),u=this._findBorderPosition(c,e);else{var P=(d?-$:$)/2,E=this.getPoint(.5+P,i),D=this.getPoint(.5-P,i);l=Math.atan2(E.y-D.y,E.x-D.x),u=this.getPoint(.5,i)}}else{var B=this._getCircleData(e),R=bt(B,3),A=R[0],z=R[1],L=R[2];if(n==="from"){var Z=this.options.selfReference.angle,ie=this.options.selfReference.angle+Math.PI,oe=this._findBorderPositionCircle(this.from,e,{x:A,y:z,low:Z,high:ie,direction:-1});l=oe.t*-2*Math.PI+1.5*Math.PI+.1*Math.PI,u=oe}else if(n==="to"){var me=this.options.selfReference.angle,Oe=this.options.selfReference.angle+Math.PI,ze=this._findBorderPositionCircle(this.from,e,{x:A,y:z,low:me,high:Oe,direction:1});l=ze.t*-2*Math.PI+1.5*Math.PI-1.1*Math.PI,u=ze}else{var He=this.options.selfReference.angle/(2*Math.PI);u=this._pointOnCircle(A,z,L,He),l=He*-2*Math.PI+1.5*Math.PI+.1*Math.PI}}var C=u.x-b*.9*Math.cos(l),Me=u.y-b*.9*Math.sin(l),V={x:C,y:Me};return{point:u,core:V,angle:l,length:b,type:v}}},{key:"drawArrowHead",value:function(e,n,i,a,o){e.strokeStyle=this.getColor(e,n),e.fillStyle=e.strokeStyle,e.lineWidth=n.width;var s=CT.draw(e,o);s&&(this.enableShadow(e,n),vu(e).call(e),this.disableShadow(e,n))}},{key:"enableShadow",value:function(e,n){n.shadow===!0&&(e.shadowColor=n.shadowColor,e.shadowBlur=n.shadowSize,e.shadowOffsetX=n.shadowX,e.shadowOffsetY=n.shadowY)}},{key:"disableShadow",value:function(e,n){n.shadow===!0&&(e.shadowColor="rgba(0,0,0,0)",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0)}},{key:"drawBackground",value:function(e,n){if(n.background!==!1){var i={strokeStyle:e.strokeStyle,lineWidth:e.lineWidth,dashes:e.dashes};e.strokeStyle=n.backgroundColor,e.lineWidth=n.backgroundSize,this.setStrokeDashed(e,n.backgroundDashes),e.stroke(),e.strokeStyle=i.strokeStyle,e.lineWidth=i.lineWidth,e.dashes=i.dashes,this.setStrokeDashed(e,n.dashes)}}},{key:"setStrokeDashed",value:function(e,n){if(n!==!1)if(e.setLineDash!==void 0){var i=Je(n)?n:[5,5];e.setLineDash(i)}else console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.");else e.setLineDash!==void 0?e.setLineDash([]):console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.")}}]),t}();function tw(t,r){var e=yt(t);if(Li){var n=Li(t);r&&(n=kr(n).call(n,function(i){return Ji(t,i).enumerable})),e.push.apply(e,n)}return e}function rw(t){for(var r=1;r"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var Pg=function(t){Ye(e,t);var r=I$e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"_findBorderPositionBezier",value:function(i,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this._getViaCoordinates(),s=10,l=.2,u=!1,c=1,h=0,d=this.to,f,v,g=this.options.endPointOffset?this.options.endPointOffset.to:0;i.id===this.from.id&&(d=this.from,u=!0,g=this.options.endPointOffset?this.options.endPointOffset.from:0),this.options.arrowStrikethrough===!1&&(g=0);var b=0;do{v=(h+c)*.5,f=this.getPoint(v,o);var y=Math.atan2(d.y-f.y,d.x-f.x),$=d.distanceToBorder(a,y)+g,k=Math.sqrt(Math.pow(f.x-d.x,2)+Math.pow(f.y-d.y,2)),T=$-k;if(Math.abs(T)0&&(d=this._getDistanceToLine(y,$,g,b,l,u),h=d"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var nw=function(t){Ye(e,t);var r=P$e(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o.via=o.via,o._boundFunction=function(){o.positionBezierNode()},o._body.emitter.on("_repositionBezierNodes",o._boundFunction),o}return ne(e,[{key:"setOptions",value:function(i){Bc(ue(e.prototype),"setOptions",this).call(this,i);var a=!1;this.options.physics!==i.physics&&(a=!0),this.options=i,this.id=this.options.id,this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.setupSupportNode(),this.connect(),a===!0&&(this.via.setOptions({physics:this.options.physics}),this.positionBezierNode())}},{key:"connect",value:function(){this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.from===void 0||this.to===void 0||this.options.physics===!1?this.via.setOptions({physics:!1}):this.from.id===this.to.id?this.via.setOptions({physics:!1}):this.via.setOptions({physics:!0})}},{key:"cleanup",value:function(){return this._body.emitter.off("_repositionBezierNodes",this._boundFunction),this.via!==void 0?(delete this._body.nodes[this.via.id],this.via=void 0,!0):!1}},{key:"setupSupportNode",value:function(){if(this.via===void 0){var i="edgeId:"+this.id,a=this._body.functions.createNode({id:i,shape:"circle",physics:!0,hidden:!0});this._body.nodes[i]=a,this.via=a,this.via.parentEdgeId=this.id,this.positionBezierNode()}}},{key:"positionBezierNode",value:function(){this.via!==void 0&&this.from!==void 0&&this.to!==void 0?(this.via.x=.5*(this.from.x+this.to.x),this.via.y=.5*(this.from.y+this.to.y)):this.via!==void 0&&(this.via.x=0,this.via.y=0)}},{key:"_line",value:function(i,a,o){this._bezierCurve(i,a,o)}},{key:"_getViaCoordinates",value:function(){return this.via}},{key:"getViaNode",value:function(){return this.via}},{key:"getPoint",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.via;if(this.from===this.to){var o=this._getCircleData(),s=bt(o,3),l=s[0],u=s[1],c=s[2],h=2*Math.PI*(1-i);return{x:l+c*Math.sin(h),y:u+c-c*(1-Math.cos(h))}}else return{x:Math.pow(1-i,2)*this.fromPoint.x+2*i*(1-i)*a.x+Math.pow(i,2)*this.toPoint.x,y:Math.pow(1-i,2)*this.fromPoint.y+2*i*(1-i)*a.y+Math.pow(i,2)*this.toPoint.y}}},{key:"_findBorderPosition",value:function(i,a){return this._findBorderPositionBezier(i,a,this.via)}},{key:"_getDistanceToEdge",value:function(i,a,o,s,l,u){return this._getDistanceToBezierEdge(i,a,o,s,l,u,this.via)}}]),e}(Pg);function M$e(t){var r=D$e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function D$e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var iw=function(t){Ye(e,t);var r=M$e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"_line",value:function(i,a,o){this._bezierCurve(i,a,o)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_getViaCoordinates",value:function(){var i=this.options.smooth.roundness,a=this.options.smooth.type,o=Math.abs(this.from.x-this.to.x),s=Math.abs(this.from.y-this.to.y);if(a==="discrete"||a==="diagonalCross"){var l,u;o<=s?l=u=i*s:l=u=i*o,this.from.x>this.to.x&&(l=-l),this.from.y>=this.to.y&&(u=-u);var c=this.from.x+l,h=this.from.y+u;return a==="discrete"&&(o<=s?c=othis.to.x&&(B=-B),this.from.y>=this.to.y&&(R=-R);var A=this.from.x+B,z=this.from.y+R;return o<=s?this.from.x<=this.to.x?A=this.to.xA?this.to.x:A:this.from.y>=this.to.y?z=this.to.y>z?this.to.y:z:z=this.to.y2&&arguments[2]!==void 0?arguments[2]:{};return this._findBorderPositionBezier(i,a,o.via)}},{key:"_getDistanceToEdge",value:function(i,a,o,s,l,u){var c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:this._getViaCoordinates();return this._getDistanceToBezierEdge(i,a,o,s,l,u,c)}},{key:"getPoint",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._getViaCoordinates(),o=i,s=Math.pow(1-o,2)*this.fromPoint.x+2*o*(1-o)*a.x+Math.pow(o,2)*this.toPoint.x,l=Math.pow(1-o,2)*this.fromPoint.y+2*o*(1-o)*a.y+Math.pow(o,2)*this.toPoint.y;return{x:s,y:l}}}]),e}(Pg);function N$e(t){var r=R$e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function R$e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var F$e=function(t){Ye(e,t);var r=N$e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"_getDistanceToBezierEdge2",value:function(i,a,o,s,l,u,c,h){for(var d=1e9,f=i,v=a,g=[0,0,0,0],b=1;b<10;b++){var y=.1*b;g[0]=Math.pow(1-y,3),g[1]=3*y*Math.pow(1-y,2),g[2]=3*Math.pow(y,2)*(1-y),g[3]=Math.pow(y,3);var $=g[0]*i+g[1]*c.x+g[2]*h.x+g[3]*o,k=g[0]*a+g[1]*c.y+g[2]*h.y+g[3]*s;if(b>0){var T=this._getDistanceToLine(f,v,$,k,l,u);d=T"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var aw=function(t){Ye(e,t);var r=z$e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"_line",value:function(i,a,o){var s=o[0],l=o[1];this._bezierCurve(i,a,s,l)}},{key:"_getViaCoordinates",value:function(){var i=this.from.x-this.to.x,a=this.from.y-this.to.y,o,s,l,u,c=this.options.smooth.roundness;return(Math.abs(i)>Math.abs(a)||this.options.smooth.forceDirection===!0||this.options.smooth.forceDirection==="horizontal")&&this.options.smooth.forceDirection!=="vertical"?(s=this.from.y,u=this.to.y,o=this.from.x-c*i,l=this.to.x+c*i):(s=this.from.y-c*a,u=this.to.y+c*a,o=this.from.x,l=this.to.x),[{x:o,y:s},{x:l,y:u}]}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_findBorderPosition",value:function(i,a){return this._findBorderPositionBezier(i,a)}},{key:"_getDistanceToEdge",value:function(i,a,o,s,l,u){var c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:this._getViaCoordinates(),h=bt(c,2),d=h[0],f=h[1];return this._getDistanceToBezierEdge2(i,a,o,s,l,u,d,f)}},{key:"getPoint",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._getViaCoordinates(),o=bt(a,2),s=o[0],l=o[1],u=i,c=[Math.pow(1-u,3),3*u*Math.pow(1-u,2),3*Math.pow(u,2)*(1-u),Math.pow(u,3)],h=c[0]*this.fromPoint.x+c[1]*s.x+c[2]*l.x+c[3]*this.toPoint.x,d=c[0]*this.fromPoint.y+c[1]*s.y+c[2]*l.y+c[3]*this.toPoint.y;return{x:h,y:d}}}]),e}(F$e);function L$e(t){var r=j$e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function j$e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var ow=function(t){Ye(e,t);var r=L$e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"_line",value:function(i,a){i.beginPath(),i.moveTo(this.fromPoint.x,this.fromPoint.y),i.lineTo(this.toPoint.x,this.toPoint.y),this.enableShadow(i,a),i.stroke(),this.disableShadow(i,a)}},{key:"getViaNode",value:function(){}},{key:"getPoint",value:function(i){return{x:(1-i)*this.fromPoint.x+i*this.toPoint.x,y:(1-i)*this.fromPoint.y+i*this.toPoint.y}}},{key:"_findBorderPosition",value:function(i,a){var o=this.to,s=this.from;i.id===this.from.id&&(o=this.from,s=this.to);var l=Math.atan2(o.y-s.y,o.x-s.x),u=o.x-s.x,c=o.y-s.y,h=Math.sqrt(u*u+c*c),d=i.distanceToBorder(a,l),f=(h-d)/h;return{x:(1-f)*s.x+f*o.x,y:(1-f)*s.y+f*o.y,t:0}}},{key:"_getDistanceToEdge",value:function(i,a,o,s,l,u){return this._getDistanceToLine(i,a,o,s,l,u)}}]),e}(PT),Oo=function(){function t(r,e,n,i,a){if(re(this,t),e===void 0)throw new Error("No body provided");this.options=Di(i),this.globalOptions=i,this.defaultOptions=a,this.body=e,this.imagelist=n,this.id=void 0,this.fromId=void 0,this.toId=void 0,this.selected=!1,this.hover=!1,this.labelDirty=!0,this.baseWidth=this.options.width,this.baseFontSize=this.options.font.size,this.from=void 0,this.to=void 0,this.edgeType=void 0,this.connected=!1,this.labelModule=new ST(this.body,this.options,!0),this.setOptions(r)}return ne(t,[{key:"setOptions",value:function(e){if(e){var n=typeof e.physics<"u"&&this.options.physics!==e.physics||typeof e.hidden<"u"&&(this.options.hidden||!1)!==(e.hidden||!1)||typeof e.from<"u"&&this.options.from!==e.from||typeof e.to<"u"&&this.options.to!==e.to;t.parseOptions(this.options,e,!0,this.globalOptions),e.id!==void 0&&(this.id=e.id),e.from!==void 0&&(this.fromId=e.from),e.to!==void 0&&(this.toId=e.to),e.title!==void 0&&(this.title=e.title),e.value!==void 0&&(e.value=$T(e.value));var i=[e,this.options,this.defaultOptions];return this.chooser=_g("edge",i),this.updateLabelModule(e),n=this.updateEdgeType()||n,this._setInteractionWidths(),this.connect(),n}}},{key:"getFormattingValues",value:function(){var e=this.options.arrows.to===!0||this.options.arrows.to.enabled===!0,n=this.options.arrows.from===!0||this.options.arrows.from.enabled===!0,i=this.options.arrows.middle===!0||this.options.arrows.middle.enabled===!0,a=this.options.color.inherit,o={toArrow:e,toArrowScale:this.options.arrows.to.scaleFactor,toArrowType:this.options.arrows.to.type,toArrowSrc:this.options.arrows.to.src,toArrowImageWidth:this.options.arrows.to.imageWidth,toArrowImageHeight:this.options.arrows.to.imageHeight,middleArrow:i,middleArrowScale:this.options.arrows.middle.scaleFactor,middleArrowType:this.options.arrows.middle.type,middleArrowSrc:this.options.arrows.middle.src,middleArrowImageWidth:this.options.arrows.middle.imageWidth,middleArrowImageHeight:this.options.arrows.middle.imageHeight,fromArrow:n,fromArrowScale:this.options.arrows.from.scaleFactor,fromArrowType:this.options.arrows.from.type,fromArrowSrc:this.options.arrows.from.src,fromArrowImageWidth:this.options.arrows.from.imageWidth,fromArrowImageHeight:this.options.arrows.from.imageHeight,arrowStrikethrough:this.options.arrowStrikethrough,color:a?void 0:this.options.color.color,inheritsColor:a,opacity:this.options.color.opacity,hidden:this.options.hidden,length:this.options.length,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y,dashes:this.options.dashes,width:this.options.width,background:this.options.background.enabled,backgroundColor:this.options.background.color,backgroundSize:this.options.background.size,backgroundDashes:this.options.background.dashes};if(this.selected||this.hover)if(this.chooser===!0){if(this.selected){var s=this.options.selectionWidth;typeof s=="function"?o.width=s(o.width):typeof s=="number"&&(o.width+=s),o.width=Math.max(o.width,.3/this.body.view.scale),o.color=this.options.color.highlight,o.shadow=this.options.shadow.enabled}else if(this.hover){var l=this.options.hoverWidth;typeof l=="function"?o.width=l(o.width):typeof l=="number"&&(o.width+=l),o.width=Math.max(o.width,.3/this.body.view.scale),o.color=this.options.color.hover,o.shadow=this.options.shadow.enabled}}else typeof this.chooser=="function"&&(this.chooser(o,this.options.id,this.selected,this.hover),o.color!==void 0&&(o.inheritsColor=!1),o.shadow===!1&&(o.shadowColor!==this.options.shadow.color||o.shadowSize!==this.options.shadow.size||o.shadowX!==this.options.shadow.x||o.shadowY!==this.options.shadow.y)&&(o.shadow=!0));else o.shadow=this.options.shadow.enabled,o.width=Math.max(o.width,.3/this.body.view.scale);return o}},{key:"updateLabelModule",value:function(e){var n=[e,this.options,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,n),this.labelModule.baseSize!==void 0&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateEdgeType",value:function(){var e=this.options.smooth,n=!1,i=!0;return this.edgeType!==void 0&&((this.edgeType instanceof nw&&e.enabled===!0&&e.type==="dynamic"||this.edgeType instanceof aw&&e.enabled===!0&&e.type==="cubicBezier"||this.edgeType instanceof iw&&e.enabled===!0&&e.type!=="dynamic"&&e.type!=="cubicBezier"||this.edgeType instanceof ow&&e.type.enabled===!1)&&(i=!1),i===!0&&(n=this.cleanup())),i===!0?e.enabled===!0?e.type==="dynamic"?(n=!0,this.edgeType=new nw(this.options,this.body,this.labelModule)):e.type==="cubicBezier"?this.edgeType=new aw(this.options,this.body,this.labelModule):this.edgeType=new iw(this.options,this.body,this.labelModule):this.edgeType=new ow(this.options,this.body,this.labelModule):this.edgeType.setOptions(this.options),n}},{key:"connect",value:function(){this.disconnect(),this.from=this.body.nodes[this.fromId]||void 0,this.to=this.body.nodes[this.toId]||void 0,this.connected=this.from!==void 0&&this.to!==void 0,this.connected===!0?(this.from.attachEdge(this),this.to.attachEdge(this)):(this.from&&this.from.detachEdge(this),this.to&&this.to.detachEdge(this)),this.edgeType.connect()}},{key:"disconnect",value:function(){this.from&&(this.from.detachEdge(this),this.from=void 0),this.to&&(this.to.detachEdge(this),this.to=void 0),this.connected=!1}},{key:"getTitle",value:function(){return this.title}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"setValueRange",value:function(e,n,i){if(this.options.value!==void 0){var a=this.options.scaling.customScalingFunction(e,n,i,this.options.value),o=this.options.scaling.max-this.options.scaling.min;if(this.options.scaling.label.enabled===!0){var s=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+a*s}this.options.width=this.options.scaling.min+a*o}else this.options.width=this.baseWidth,this.options.font.size=this.baseFontSize;this._setInteractionWidths(),this.updateLabelModule()}},{key:"_setInteractionWidths",value:function(){typeof this.options.hoverWidth=="function"?this.edgeType.hoverWidth=this.options.hoverWidth(this.options.width):this.edgeType.hoverWidth=this.options.hoverWidth+this.options.width,typeof this.options.selectionWidth=="function"?this.edgeType.selectionWidth=this.options.selectionWidth(this.options.width):this.edgeType.selectionWidth=this.options.selectionWidth+this.options.width}},{key:"draw",value:function(e){var n=this.getFormattingValues();if(!n.hidden){var i=this.edgeType.getViaNode();this.edgeType.drawLine(e,n,this.selected,this.hover,i),this.drawLabel(e,i)}}},{key:"drawArrows",value:function(e){var n=this.getFormattingValues();if(!n.hidden){var i=this.edgeType.getViaNode(),a={};this.edgeType.fromPoint=this.edgeType.from,this.edgeType.toPoint=this.edgeType.to,n.fromArrow&&(a.from=this.edgeType.getArrowData(e,"from",i,this.selected,this.hover,n),n.arrowStrikethrough===!1&&(this.edgeType.fromPoint=a.from.core),n.fromArrowSrc&&(a.from.image=this.imagelist.load(n.fromArrowSrc)),n.fromArrowImageWidth&&(a.from.imageWidth=n.fromArrowImageWidth),n.fromArrowImageHeight&&(a.from.imageHeight=n.fromArrowImageHeight)),n.toArrow&&(a.to=this.edgeType.getArrowData(e,"to",i,this.selected,this.hover,n),n.arrowStrikethrough===!1&&(this.edgeType.toPoint=a.to.core),n.toArrowSrc&&(a.to.image=this.imagelist.load(n.toArrowSrc)),n.toArrowImageWidth&&(a.to.imageWidth=n.toArrowImageWidth),n.toArrowImageHeight&&(a.to.imageHeight=n.toArrowImageHeight)),n.middleArrow&&(a.middle=this.edgeType.getArrowData(e,"middle",i,this.selected,this.hover,n),n.middleArrowSrc&&(a.middle.image=this.imagelist.load(n.middleArrowSrc)),n.middleArrowImageWidth&&(a.middle.imageWidth=n.middleArrowImageWidth),n.middleArrowImageHeight&&(a.middle.imageHeight=n.middleArrowImageHeight)),n.fromArrow&&this.edgeType.drawArrowHead(e,n,this.selected,this.hover,a.from),n.middleArrow&&this.edgeType.drawArrowHead(e,n,this.selected,this.hover,a.middle),n.toArrow&&this.edgeType.drawArrowHead(e,n,this.selected,this.hover,a.to)}}},{key:"drawLabel",value:function(e,n){if(this.options.label!==void 0){var i=this.from,a=this.to;this.labelModule.differentState(this.selected,this.hover)&&this.labelModule.getTextSize(e,this.selected,this.hover);var o;if(i.id!=a.id){this.labelModule.pointToSelf=!1,o=this.edgeType.getPoint(.5,n),e.save();var s=this._getRotation(e);s.angle!=0&&(e.translate(s.x,s.y),e.rotate(s.angle)),this.labelModule.draw(e,o.x,o.y,this.selected,this.hover),e.restore()}else{this.labelModule.pointToSelf=!0;var l=xT(e,this.options.selfReference.angle,this.options.selfReference.size,i);o=this._pointOnCircle(l.x,l.y,this.options.selfReference.size,this.options.selfReference.angle),this.labelModule.draw(e,o.x,o.y,this.selected,this.hover)}}}},{key:"getItemsOnPoint",value:function(e){var n=[];if(this.labelModule.visible()){var i=this._getRotation();cm(this.labelModule.getSize(),e,i)&&n.push({edgeId:this.id,labelId:0})}var a={left:e.x,top:e.y};return this.isOverlappingWith(a)&&n.push({edgeId:this.id}),n}},{key:"isOverlappingWith",value:function(e){if(this.connected){var n=10,i=this.from.x,a=this.from.y,o=this.to.x,s=this.to.y,l=e.left,u=e.top,c=this.edgeType.getDistanceToEdge(i,a,o,s,l,u);return c0&&s<0)&&(l+=Math.PI),a.angle=l,a}},{key:"_pointOnCircle",value:function(e,n,i,a){return{x:e+i*Math.cos(a),y:n-i*Math.sin(a)}}},{key:"select",value:function(){this.selected=!0}},{key:"unselect",value:function(){this.selected=!1}},{key:"cleanup",value:function(){return this.edgeType.cleanup()}},{key:"remove",value:function(){this.cleanup(),this.disconnect(),delete this.body.edges[this.id]}},{key:"endPointsValid",value:function(){return this.body.nodes[this.fromId]!==void 0&&this.body.nodes[this.toId]!==void 0}}],[{key:"parseOptions",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,s=["endPointOffset","arrowStrikethrough","id","from","hidden","hoverWidth","labelHighlightBold","length","line","opacity","physics","scaling","selectionWidth","selfReferenceSize","selfReference","to","title","value","width","font","chosen","widthConstraint"];if($s(s,e,n,i),n.endPointOffset!==void 0&&n.endPointOffset.from!==void 0&&(ua(n.endPointOffset.from)?e.endPointOffset.from=n.endPointOffset.from:(e.endPointOffset.from=a.endPointOffset.from!==void 0?a.endPointOffset.from:0,console.error("endPointOffset.from is not a valid number"))),n.endPointOffset!==void 0&&n.endPointOffset.to!==void 0&&(ua(n.endPointOffset.to)?e.endPointOffset.to=n.endPointOffset.to:(e.endPointOffset.to=a.endPointOffset.to!==void 0?a.endPointOffset.to:0,console.error("endPointOffset.to is not a valid number"))),kh(n.label)?e.label=n.label:kh(e.label)||(e.label=void 0),Ur(e,n,"smooth",a),Ur(e,n,"shadow",a),Ur(e,n,"background",a),n.dashes!==void 0&&n.dashes!==null?e.dashes=n.dashes:i===!0&&n.dashes===null&&(e.dashes=ya(a.dashes)),n.scaling!==void 0&&n.scaling!==null?(n.scaling.min!==void 0&&(e.scaling.min=n.scaling.min),n.scaling.max!==void 0&&(e.scaling.max=n.scaling.max),Ur(e.scaling,n.scaling,"label",a.scaling)):i===!0&&n.scaling===null&&(e.scaling=ya(a.scaling)),n.arrows!==void 0&&n.arrows!==null)if(typeof n.arrows=="string"){var l=n.arrows.toLowerCase();e.arrows.to.enabled=Ue(l).call(l,"to")!=-1,e.arrows.middle.enabled=Ue(l).call(l,"middle")!=-1,e.arrows.from.enabled=Ue(l).call(l,"from")!=-1}else if(Qe(n.arrows)==="object")Ur(e.arrows,n.arrows,"to",a.arrows),Ur(e.arrows,n.arrows,"middle",a.arrows),Ur(e.arrows,n.arrows,"from",a.arrows);else throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:"+fu(n.arrows));else i===!0&&n.arrows===null&&(e.arrows=ya(a.arrows));if(n.color!==void 0&&n.color!==null){var u=To(n.color)?{color:n.color,highlight:n.color,hover:n.color,inherit:!1,opacity:1}:n.color,c=e.color;if(o)st(c,a.color,!1,i);else for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&delete c[h];if(To(c))c.color=c,c.highlight=c,c.hover=c,c.inherit=!1,u.opacity===void 0&&(c.opacity=1);else{var d=!1;u.color!==void 0&&(c.color=u.color,d=!0),u.highlight!==void 0&&(c.highlight=u.highlight,d=!0),u.hover!==void 0&&(c.hover=u.hover,d=!0),u.inherit!==void 0&&(c.inherit=u.inherit),u.opacity!==void 0&&(c.opacity=Math.min(1,Math.max(0,u.opacity))),d===!0?c.inherit=!1:c.inherit===void 0&&(c.inherit="from")}}else i===!0&&n.color===null&&(e.color=Di(a.color));i===!0&&n.font===null&&(e.font=Di(a.font)),Object.prototype.hasOwnProperty.call(n,"selfReferenceSize")&&(console.warn("The selfReferenceSize property has been deprecated. Please use selfReference property instead. The selfReference can be set like thise selfReference:{size:30, angle:Math.PI / 4}"),e.selfReference.size=n.selfReferenceSize)}}]),t}(),H$e=function(){function t(r,e,n){var i,a=this;re(this,t),this.body=r,this.images=e,this.groups=n,this.body.functions.createEdge=J(i=this.create).call(i,this),this.edgesListeners={add:function(s,l){a.add(l.items)},update:function(s,l){a.update(l.items)},remove:function(s,l){a.remove(l.items)}},this.options={},this.defaultOptions={arrows:{to:{enabled:!1,scaleFactor:1,type:"arrow"},middle:{enabled:!1,scaleFactor:1,type:"arrow"},from:{enabled:!1,scaleFactor:1,type:"arrow"}},endPointOffset:{from:0,to:0},arrowStrikethrough:!0,color:{color:"#848484",highlight:"#848484",hover:"#848484",inherit:"from",opacity:1},dashes:!1,font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:2,strokeColor:"#ffffff",align:"horizontal",multi:!1,vadjust:0,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"courier new",vadjust:2}},hidden:!1,hoverWidth:1.5,label:void 0,labelHighlightBold:!0,length:void 0,physics:!0,scaling:{min:1,max:15,label:{enabled:!0,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(s,l,u,c){if(l===s)return .5;var h=1/(l-s);return Math.max(0,(c-s)*h)}},selectionWidth:1.5,selfReference:{size:20,angle:Math.PI/4,renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},background:{enabled:!1,color:"rgba(111,111,111,1)",size:10,dashes:!1},smooth:{enabled:!0,type:"dynamic",forceDirection:"none",roundness:.5},title:void 0,width:1,value:void 0},st(this.options,this.defaultOptions),this.bindEventListeners()}return ne(t,[{key:"bindEventListeners",value:function(){var e=this,n,i;this.body.emitter.on("_forceDisableDynamicCurves",function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;a==="dynamic"&&(a="continuous");var s=!1;for(var l in e.body.edges)if(Object.prototype.hasOwnProperty.call(e.body.edges,l)){var u=e.body.edges[l],c=e.body.data.edges.get(l);if(c!=null){var h=c.smooth;h!==void 0&&h.enabled===!0&&h.type==="dynamic"&&(a===void 0?u.setOptions({smooth:!1}):u.setOptions({smooth:{type:a}}),s=!0)}}o===!0&&s===!0&&e.body.emitter.emit("_dataChanged")}),this.body.emitter.on("_dataUpdated",function(){e.reconnectEdges()}),this.body.emitter.on("refreshEdges",J(n=this.refresh).call(n,this)),this.body.emitter.on("refresh",J(i=this.refresh).call(i,this)),this.body.emitter.on("destroy",function(){Ne(e.edgesListeners,function(a,o){e.body.data.edges&&e.body.data.edges.off(o,a)}),delete e.body.functions.createEdge,delete e.edgesListeners.add,delete e.edgesListeners.update,delete e.edgesListeners.remove,delete e.edgesListeners})}},{key:"setOptions",value:function(e){if(e!==void 0){Oo.parseOptions(this.options,e,!0,this.defaultOptions,!0);var n=!1;if(e.smooth!==void 0)for(var i in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,i)&&(n=this.body.edges[i].updateEdgeType()||n);if(e.font!==void 0)for(var a in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,a)&&this.body.edges[a].updateLabelModule();(e.hidden!==void 0||e.physics!==void 0||n===!0)&&this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=this.body.data.edges;if(Sk("id",e))this.body.data.edges=e;else if(Je(e))this.body.data.edges=new hh,this.body.data.edges.add(e);else if(!e)this.body.data.edges=new hh;else throw new TypeError("Array or DataSet expected");if(a&&Ne(this.edgesListeners,function(s,l){a.off(l,s)}),this.body.edges={},this.body.data.edges){Ne(this.edgesListeners,function(s,l){n.body.data.edges.on(l,s)});var o=this.body.data.edges.getIds();this.add(o,!0)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),i===!1&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=this.body.edges,a=this.body.data.edges,o=0;o1&&arguments[1]!==void 0?arguments[1]:!0;if(e.length!==0){var i=this.body.edges;Ne(e,function(a){var o=i[a];o!==void 0&&o.remove()}),n&&this.body.emitter.emit("_dataChanged")}}},{key:"refresh",value:function(){var e=this;Ne(this.body.edges,function(n,i){var a=e.body.data.edges.get(i);a!==void 0&&n.setOptions(a)})}},{key:"create",value:function(e){return new Oo(e,this.body,this.images,this.options,this.defaultOptions)}},{key:"reconnectEdges",value:function(){var e,n=this.body.nodes,i=this.body.edges;for(e in n)Object.prototype.hasOwnProperty.call(n,e)&&(n[e].edges=[]);for(e in i)if(Object.prototype.hasOwnProperty.call(i,e)){var a=i[e];a.from=null,a.to=null,a.connect()}}},{key:"getConnectedNodes",value:function(e){var n=[];if(this.body.edges[e]!==void 0){var i=this.body.edges[e];i.fromId!==void 0&&n.push(i.fromId),i.toId!==void 0&&n.push(i.toId)}return n}},{key:"_updateState",value:function(){this._addMissingEdges(),this._removeInvalidEdges()}},{key:"_removeInvalidEdges",value:function(){var e=this,n=[];Ne(this.body.edges,function(i,a){var o=e.body.nodes[i.toId],s=e.body.nodes[i.fromId];o!==void 0&&o.isCluster===!0||s!==void 0&&s.isCluster===!0||(o===void 0||s===void 0)&&n.push(a)}),this.remove(n,!1)}},{key:"_addMissingEdges",value:function(){var e=this.body.data.edges;if(e!=null){var n=this.body.edges,i=[];rt(e).call(e,function(a,o){var s=n[o];s===void 0&&i.push(o)}),this.add(i,!0)}}}]),t}(),AT=function(){function t(r,e,n){re(this,t),this.body=r,this.physicsBody=e,this.barnesHutTree,this.setOptions(n),this._rng=F0("BARNES HUT SOLVER")}return ne(t,[{key:"setOptions",value:function(e){this.options=e,this.thetaInversed=1/this.options.theta,this.overlapAvoidanceFactor=1-Math.max(0,Math.min(1,this.options.avoidOverlap))}},{key:"solve",value:function(){if(this.options.gravitationalConstant!==0&&this.physicsBody.physicsNodeIndices.length>0){var e,n=this.body.nodes,i=this.physicsBody.physicsNodeIndices,a=i.length,o=this._formBarnesHutTree(n,i);this.barnesHutTree=o;for(var s=0;s0&&this._getForceContributions(o.root,e)}}},{key:"_getForceContributions",value:function(e,n){this._getForceContribution(e.children.NW,n),this._getForceContribution(e.children.NE,n),this._getForceContribution(e.children.SW,n),this._getForceContribution(e.children.SE,n)}},{key:"_getForceContribution",value:function(e,n){if(e.childrenCount>0){var i=e.centerOfMass.x-n.x,a=e.centerOfMass.y-n.y,o=Math.sqrt(i*i+a*a);o*e.calcSize>this.thetaInversed?this._calculateForces(o,i,a,n,e):e.childrenCount===4?this._getForceContributions(e,n):e.children.data.id!=n.id&&this._calculateForces(o,i,a,n,e)}}},{key:"_calculateForces",value:function(e,n,i,a,o){e===0&&(e=.1,n=e),this.overlapAvoidanceFactor<1&&a.shape.radius&&(e=Math.max(.1+this.overlapAvoidanceFactor*a.shape.radius,e-a.shape.radius));var s=this.options.gravitationalConstant*o.mass*a.options.mass/Math.pow(e,3),l=n*s,u=i*s;this.physicsBody.forces[a.id].x+=l,this.physicsBody.forces[a.id].y+=u}},{key:"_formBarnesHutTree",value:function(e,n){for(var i,a=n.length,o=e[n[0]].x,s=e[n[0]].y,l=e[n[0]].x,u=e[n[0]].y,c=1;c0&&(dl&&(l=d),fu&&(u=f))}var v=Math.abs(l-o)-Math.abs(u-s);v>0?(s-=.5*v,u+=.5*v):(o+=.5*v,l-=.5*v);var g=1e-5,b=Math.max(g,Math.abs(l-o)),y=.5*b,$=.5*(o+l),k=.5*(s+u),T={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:$-y,maxX:$+y,minY:k-y,maxY:k+y},size:b,calcSize:1/b,children:{data:null},maxWidth:0,level:0,childrenCount:4}};this._splitBranch(T.root);for(var P=0;P0&&this._placeInTree(T.root,i);return T}},{key:"_updateBranchMass",value:function(e,n){var i=e.centerOfMass,a=e.mass+n.options.mass,o=1/a;i.x=i.x*e.mass+n.x*n.options.mass,i.x*=o,i.y=i.y*e.mass+n.y*n.options.mass,i.y*=o,e.mass=a;var s=Math.max(Math.max(n.height,n.radius),n.width);e.maxWidth=e.maxWidthn.x?a.maxY>n.y?o="NW":o="SW":a.maxY>n.y?o="NE":o="SE",this._placeInRegion(e,n,o)}},{key:"_placeInRegion",value:function(e,n,i){var a=e.children[i];switch(a.childrenCount){case 0:a.children.data=n,a.childrenCount=1,this._updateBranchMass(a,n);break;case 1:a.children.data.x===n.x&&a.children.data.y===n.y?(n.x+=this._rng(),n.y+=this._rng()):(this._splitBranch(a),this._placeInTree(a,n));break;case 4:this._placeInTree(a,n);break}}},{key:"_splitBranch",value:function(e){var n=null;e.childrenCount===1&&(n=e.children.data,e.mass=0,e.centerOfMass.x=0,e.centerOfMass.y=0),e.childrenCount=4,e.children.data=null,this._insertRegion(e,"NW"),this._insertRegion(e,"NE"),this._insertRegion(e,"SW"),this._insertRegion(e,"SE"),n!=null&&this._placeInTree(e,n)}},{key:"_insertRegion",value:function(e,n){var i,a,o,s,l=.5*e.size;switch(n){case"NW":i=e.range.minX,a=e.range.minX+l,o=e.range.minY,s=e.range.minY+l;break;case"NE":i=e.range.minX+l,a=e.range.maxX,o=e.range.minY,s=e.range.minY+l;break;case"SW":i=e.range.minX,a=e.range.minX+l,o=e.range.minY+l,s=e.range.maxY;break;case"SE":i=e.range.minX+l,a=e.range.maxX,o=e.range.minY+l,s=e.range.maxY;break}e.children[n]={centerOfMass:{x:0,y:0},mass:0,range:{minX:i,maxX:a,minY:o,maxY:s},size:.5*e.size,calcSize:2*e.calcSize,children:{data:null},maxWidth:0,level:e.level+1,childrenCount:0}}},{key:"_debug",value:function(e,n){this.barnesHutTree!==void 0&&(e.lineWidth=1,this._drawBranch(this.barnesHutTree.root,e,n))}},{key:"_drawBranch",value:function(e,n,i){i===void 0&&(i="#FF0000"),e.childrenCount===4&&(this._drawBranch(e.children.NW,n),this._drawBranch(e.children.NE,n),this._drawBranch(e.children.SE,n),this._drawBranch(e.children.SW,n)),n.strokeStyle=i,n.beginPath(),n.moveTo(e.range.minX,e.range.minY),n.lineTo(e.range.maxX,e.range.minY),n.stroke(),n.beginPath(),n.moveTo(e.range.maxX,e.range.minY),n.lineTo(e.range.maxX,e.range.maxY),n.stroke(),n.beginPath(),n.moveTo(e.range.maxX,e.range.maxY),n.lineTo(e.range.minX,e.range.maxY),n.stroke(),n.beginPath(),n.moveTo(e.range.minX,e.range.maxY),n.lineTo(e.range.minX,e.range.minY),n.stroke()}}]),t}(),W$e=function(){function t(r,e,n){re(this,t),this._rng=F0("REPULSION SOLVER"),this.body=r,this.physicsBody=e,this.setOptions(n)}return ne(t,[{key:"setOptions",value:function(e){this.options=e}},{key:"solve",value:function(){for(var e,n,i,a,o,s,l,u,c=this.body.nodes,h=this.physicsBody.physicsNodeIndices,d=this.physicsBody.forces,f=this.options.nodeDistance,v=-2/3/f,g=4/3,b=0;b"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var K$e=function(t){Ye(e,t);var r=V$e(e);function e(n,i,a){var o;return re(this,e),o=r.call(this,n,i,a),o._rng=F0("FORCE ATLAS 2 BASED REPULSION SOLVER"),o}return ne(e,[{key:"_calculateForces",value:function(i,a,o,s,l){i===0&&(i=.1*this._rng(),a=i),this.overlapAvoidanceFactor<1&&s.shape.radius&&(i=Math.max(.1+this.overlapAvoidanceFactor*s.shape.radius,i-s.shape.radius));var u=s.edges.length+1,c=this.options.gravitationalConstant*l.mass*s.options.mass*u/Math.pow(i,2),h=a*c,d=o*c;this.physicsBody.forces[s.id].x+=h,this.physicsBody.forces[s.id].y+=d}}]),e}(AT);function Y$e(t){var r=X$e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function X$e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var J$e=function(t){Ye(e,t);var r=Y$e(e);function e(n,i,a){return re(this,e),r.call(this,n,i,a)}return ne(e,[{key:"_calculateForces",value:function(i,a,o,s,l){if(i>0){var u=l.edges.length+1,c=this.options.centralGravity*u*l.options.mass;s[l.id].x=a*c,s[l.id].y=o*c}}}]),e}(Lc),Z$e=function(){function t(r){re(this,t),this.body=r,this.physicsBody={physicsNodeIndices:[],physicsEdgeIndices:[],forces:{},velocities:{}},this.physicsEnabled=!0,this.simulationInterval=1e3/60,this.requiresTimeout=!0,this.previousStates={},this.referenceState={},this.freezeCache={},this.renderTimer=void 0,this.adaptiveTimestep=!1,this.adaptiveTimestepEnabled=!1,this.adaptiveCounter=0,this.adaptiveInterval=3,this.stabilized=!1,this.startedStabilization=!1,this.stabilizationIterations=0,this.ready=!1,this.options={},this.defaultOptions={enabled:!0,barnesHut:{theta:.5,gravitationalConstant:-2e3,centralGravity:.3,springLength:95,springConstant:.04,damping:.09,avoidOverlap:0},forceAtlas2Based:{theta:.5,gravitationalConstant:-50,centralGravity:.01,springConstant:.08,springLength:100,damping:.4,avoidOverlap:0},repulsion:{centralGravity:.2,springLength:200,springConstant:.05,nodeDistance:100,damping:.09,avoidOverlap:0},hierarchicalRepulsion:{centralGravity:0,springLength:100,springConstant:.01,nodeDistance:120,damping:.09},maxVelocity:50,minVelocity:.75,solver:"barnesHut",stabilization:{enabled:!0,iterations:1e3,updateInterval:50,onlyDynamicEdges:!1,fit:!0},timestep:.5,adaptiveTimestep:!0,wind:{x:0,y:0}},At(this.options,this.defaultOptions),this.timestep=.5,this.layoutFailed=!1,this.bindEventListeners()}return ne(t,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("initPhysics",function(){e.initPhysics()}),this.body.emitter.on("_layoutFailed",function(){e.layoutFailed=!0}),this.body.emitter.on("resetPhysics",function(){e.stopSimulation(),e.ready=!1}),this.body.emitter.on("disablePhysics",function(){e.physicsEnabled=!1,e.stopSimulation()}),this.body.emitter.on("restorePhysics",function(){e.setOptions(e.options),e.ready===!0&&e.startSimulation()}),this.body.emitter.on("startSimulation",function(){e.ready===!0&&e.startSimulation()}),this.body.emitter.on("stopSimulation",function(){e.stopSimulation()}),this.body.emitter.on("destroy",function(){e.stopSimulation(!1),e.body.emitter.off()}),this.body.emitter.on("_dataChanged",function(){e.updatePhysicsData()})}},{key:"setOptions",value:function(e){if(e!==void 0)if(e===!1)this.options.enabled=!1,this.physicsEnabled=!1,this.stopSimulation();else if(e===!0)this.options.enabled=!0,this.physicsEnabled=!0,this.startSimulation();else{this.physicsEnabled=!0,wh(["stabilization"],this.options,e),Ur(this.options,e,"stabilization"),e.enabled===void 0&&(this.options.enabled=!0),this.options.enabled===!1&&(this.physicsEnabled=!1,this.stopSimulation());var n=this.options.wind;n&&((typeof n.x!="number"||um(n.x))&&(n.x=0),(typeof n.y!="number"||um(n.y))&&(n.y=0)),this.timestep=this.options.timestep}this.init()}},{key:"init",value:function(){var e;this.options.solver==="forceAtlas2Based"?(e=this.options.forceAtlas2Based,this.nodesSolver=new K$e(this.body,this.physicsBody,e),this.edgesSolver=new Tv(this.body,this.physicsBody,e),this.gravitySolver=new J$e(this.body,this.physicsBody,e)):this.options.solver==="repulsion"?(e=this.options.repulsion,this.nodesSolver=new W$e(this.body,this.physicsBody,e),this.edgesSolver=new Tv(this.body,this.physicsBody,e),this.gravitySolver=new Lc(this.body,this.physicsBody,e)):this.options.solver==="hierarchicalRepulsion"?(e=this.options.hierarchicalRepulsion,this.nodesSolver=new q$e(this.body,this.physicsBody,e),this.edgesSolver=new U$e(this.body,this.physicsBody,e),this.gravitySolver=new Lc(this.body,this.physicsBody,e)):(e=this.options.barnesHut,this.nodesSolver=new AT(this.body,this.physicsBody,e),this.edgesSolver=new Tv(this.body,this.physicsBody,e),this.gravitySolver=new Lc(this.body,this.physicsBody,e)),this.modelOptions=e}},{key:"initPhysics",value:function(){this.physicsEnabled===!0&&this.options.enabled===!0?this.options.stabilization.enabled===!0?this.stabilize():(this.stabilized=!1,this.ready=!0,this.body.emitter.emit("fit",{},this.layoutFailed),this.startSimulation()):(this.ready=!0,this.body.emitter.emit("fit"))}},{key:"startSimulation",value:function(){if(this.physicsEnabled===!0&&this.options.enabled===!0){if(this.stabilized=!1,this.adaptiveTimestep=!1,this.body.emitter.emit("_resizeNodes"),this.viewFunction===void 0){var e;this.viewFunction=J(e=this.simulationStep).call(e,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering")}}else this.body.emitter.emit("_redraw")}},{key:"stopSimulation",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.stabilized=!0,e===!0&&this._emitStabilized(),this.viewFunction!==void 0&&(this.body.emitter.off("initRedraw",this.viewFunction),this.viewFunction=void 0,e===!0&&this.body.emitter.emit("_stopRendering"))}},{key:"simulationStep",value:function(){var e=mh();this.physicsTick();var n=mh()-e;(n<.4*this.simulationInterval||this.runDoubleSpeed===!0)&&this.stabilized===!1&&(this.physicsTick(),this.runDoubleSpeed=!0),this.stabilized===!0&&this.stopSimulation()}},{key:"_emitStabilized",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.stabilizationIterations;(this.stabilizationIterations>1||this.startedStabilization===!0)&&Cn(function(){e.body.emitter.emit("stabilized",{iterations:n}),e.startedStabilization=!1,e.stabilizationIterations=0},0)}},{key:"physicsStep",value:function(){this.gravitySolver.solve(),this.nodesSolver.solve(),this.edgesSolver.solve(),this.moveNodes()}},{key:"adjustTimeStep",value:function(){var e=1.2;this._evaluateStepQuality()===!0?this.timestep=e*this.timestep:this.timestep/es))return!1;return!0}},{key:"moveNodes",value:function(){for(var e=this.physicsBody.physicsNodeIndices,n=0,i=0,a=5,o=0;os&&(e=e>0?s:-s),e}},{key:"_performStep",value:function(e){var n=this.body.nodes[e],i=this.physicsBody.forces[e];this.options.wind&&(i.x+=this.options.wind.x,i.y+=this.options.wind.y);var a=this.physicsBody.velocities[e];this.previousStates[e]={x:n.x,y:n.y,vx:a.x,vy:a.y},n.options.fixed.x===!1?(a.x=this.calculateComponentVelocity(a.x,i.x,n.options.mass),n.x+=a.x*this.timestep):(i.x=0,a.x=0),n.options.fixed.y===!1?(a.y=this.calculateComponentVelocity(a.y,i.y,n.options.mass),n.y+=a.y*this.timestep):(i.y=0,a.y=0);var o=Math.sqrt(Math.pow(a.x,2)+Math.pow(a.y,2));return o}},{key:"_freezeNodes",value:function(){var e=this.body.nodes;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&e[n].x&&e[n].y){var i=e[n].options.fixed;this.freezeCache[n]={x:i.x,y:i.y},i.x=!0,i.y=!0}}},{key:"_restoreFrozenNodes",value:function(){var e=this.body.nodes;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.freezeCache[n]!==void 0&&(e[n].options.fixed.x=this.freezeCache[n].x,e[n].options.fixed.y=this.freezeCache[n].y);this.freezeCache={}}},{key:"stabilize",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.stabilization.iterations;if(typeof n!="number"&&(n=this.options.stabilization.iterations,console.error("The stabilize method needs a numeric amount of iterations. Switching to default: ",n)),this.physicsBody.physicsNodeIndices.length===0){this.ready=!0;return}this.adaptiveTimestep=this.options.adaptiveTimestep,this.body.emitter.emit("_resizeNodes"),this.stopSimulation(),this.stabilized=!1,this.body.emitter.emit("_blockRedraw"),this.targetIterations=n,this.options.stabilization.onlyDynamicEdges===!0&&this._freezeNodes(),this.stabilizationIterations=0,Cn(function(){return e._stabilizationBatch()},0)}},{key:"_startStabilizing",value:function(){return this.startedStabilization===!0?!1:(this.body.emitter.emit("startStabilizing"),this.startedStabilization=!0,!0)}},{key:"_stabilizationBatch",value:function(){var e=this,n=function(){return e.stabilized===!1&&e.stabilizationIterations1&&arguments[1]!==void 0?arguments[1]:[],i=1e9,a=-1e9,o=1e9,s=-1e9,l;if(n.length>0)for(var u=0;ul.shape.boundingBox.left&&(o=l.shape.boundingBox.left),sl.shape.boundingBox.top&&(i=l.shape.boundingBox.top),a1&&arguments[1]!==void 0?arguments[1]:[],i=1e9,a=-1e9,o=1e9,s=-1e9,l;if(n.length>0)for(var u=0;ul.x&&(o=l.x),sl.y&&(i=l.y),a"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var a8e=function(t){Ye(e,t);var r=n8e(e);function e(n,i,a,o,s,l){var u;return re(this,e),u=r.call(this,n,i,a,o,s,l),u.isCluster=!0,u.containedNodes={},u.containedEdges={},u}return ne(e,[{key:"_openChildCluster",value:function(i){var a=this,o=this.body.nodes[i];if(this.containedNodes[i]===void 0)throw new Error("node with id: "+i+" not in current cluster");if(!o.isCluster)throw new Error("node with id: "+i+" is not a cluster");delete this.containedNodes[i],Ne(o.edges,function(s){delete a.containedEdges[s.id]}),Ne(o.containedNodes,function(s,l){a.containedNodes[l]=s}),o.containedNodes={},Ne(o.containedEdges,function(s,l){a.containedEdges[l]=s}),o.containedEdges={},Ne(o.edges,function(s){Ne(a.edges,function(l){var u,c,h=Ue(u=l.clusteringEdgeReplacingIds).call(u,s.id);h!==-1&&(Ne(s.clusteringEdgeReplacingIds,function(d){l.clusteringEdgeReplacingIds.push(d),a.body.edges[d].edgeReplacedById=l.id}),Zn(c=l.clusteringEdgeReplacingIds).call(c,h,1))})}),o.edges=[]}}]),e}(Mr),o8e=function(){function t(r){var e=this;re(this,t),this.body=r,this.clusteredNodes={},this.clusteredEdges={},this.options={},this.defaultOptions={},At(this.options,this.defaultOptions),this.body.emitter.on("_resetData",function(){e.clusteredNodes={},e.clusteredEdges={}})}return ne(t,[{key:"clusterByHubsize",value:function(e,n){e===void 0?e=this._getHubSize():Qe(e)==="object"&&(n=this._checkOptions(e),e=this._getHubSize());for(var i=[],a=0;a=e&&i.push(o.id)}for(var s=0;s0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(n.joinCondition===void 0)throw new Error("Cannot call clusterByNodeData without a joinCondition function in the options.");n=this._checkOptions(n);var a={},o={};Ne(this.body.nodes,function(s,l){s.options&&n.joinCondition(s.options)===!0&&(a[l]=s,Ne(s.edges,function(u){e.clusteredEdges[u.id]===void 0&&(o[u.id]=u)}))}),this._cluster(a,o,n,i)}},{key:"clusterByEdgeCount",value:function(e,n){var i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;n=this._checkOptions(n);for(var o=[],s={},l,u,c,h=function(){var g={},b={},y=i.body.nodeIndices[d],$=i.body.nodes[y];if(s[y]===void 0){c=0,u=[];for(var k=0;k<$.edges.length;k++)l=$.edges[k],i.clusteredEdges[l.id]===void 0&&(l.toId!==l.fromId&&c++,u.push(l));if(c===e){for(var T=function(Z){if(n.joinCondition===void 0||n.joinCondition===null)return!0;var ie=or.cloneOptions(Z);return n.joinCondition(ie)},P=!0,E=0;E0&&yt(b).length>0&&P===!0){var B=function(){for(var Z=0;Z1&&arguments[1]!==void 0?arguments[1]:!0;this.clusterByEdgeCount(1,e,n)}},{key:"clusterBridges",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.clusterByEdgeCount(2,e,n)}},{key:"clusterByConnection",value:function(e,n){var i,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0)throw new Error("No nodeId supplied to clusterByConnection!");if(this.body.nodes[e]===void 0)throw new Error("The nodeId given to clusterByConnection does not exist!");var o=this.body.nodes[e];n=this._checkOptions(n,o),n.clusterNodeProperties.x===void 0&&(n.clusterNodeProperties.x=o.x),n.clusterNodeProperties.y===void 0&&(n.clusterNodeProperties.y=o.y),n.clusterNodeProperties.fixed===void 0&&(n.clusterNodeProperties.fixed={},n.clusterNodeProperties.fixed.x=o.options.fixed.x,n.clusterNodeProperties.fixed.y=o.options.fixed.y);var s={},l={},u=o.id,c=or.cloneOptions(o);s[u]=o;for(var h=0;h-1&&(l[k.id]=k)}this._cluster(s,l,n,a)}},{key:"_createClusterEdges",value:function(e,n,i,a){for(var o,s,l,u,c,h,d=yt(e),f=[],v=0;v0&&arguments[0]!==void 0?arguments[0]:{};return e.clusterEdgeProperties===void 0&&(e.clusterEdgeProperties={}),e.clusterNodeProperties===void 0&&(e.clusterNodeProperties={}),e}},{key:"_cluster",value:function(e,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,o=[];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&this.clusteredNodes[s]!==void 0&&o.push(s);for(var l=0;la?l.x:a,o=l.ys?l.y:s;return{x:.5*(i+a),y:.5*(o+s)}}},{key:"openCluster",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0)throw new Error("No clusterNodeId supplied to openCluster.");var a=this.body.nodes[e];if(a===void 0)throw new Error("The clusterNodeId supplied to openCluster does not exist.");if(a.isCluster!==!0||a.containedNodes===void 0||a.containedEdges===void 0)throw new Error("The node:"+e+" is not a valid cluster.");var o=this.findNode(e),s=Ue(o).call(o,e)-1;if(s>=0){var l=o[s],u=this.body.nodes[l];u._openChildCluster(e),delete this.body.nodes[e],i===!0&&this.body.emitter.emit("_dataChanged");return}var c=a.containedNodes,h=a.containedEdges;if(n!==void 0&&n.releaseFunction!==void 0&&typeof n.releaseFunction=="function"){var d={},f={x:a.x,y:a.y};for(var v in c)if(Object.prototype.hasOwnProperty.call(c,v)){var g=this.body.nodes[v];d[v]={x:g.x,y:g.y}}var b=n.releaseFunction(f,d);for(var y in c)if(Object.prototype.hasOwnProperty.call(c,y)){var $=this.body.nodes[y];b[y]!==void 0&&($.x=b[y].x===void 0?a.x:b[y].x,$.y=b[y].y===void 0?a.y:b[y].y)}}else Ne(c,function(ze){ze.options.fixed.x===!1&&(ze.x=a.x),ze.options.fixed.y===!1&&(ze.y=a.y)});for(var k in c)if(Object.prototype.hasOwnProperty.call(c,k)){var T=this.body.nodes[k];T.vx=a.vx,T.vy=a.vy,T.setOptions({physics:!0}),delete this.clusteredNodes[k]}for(var P=[],E=0;E0&&sa&&(a=s.edges.length),e+=s.edges.length,n+=Math.pow(s.edges.length,2),i+=1}e=e/i,n=n/i;var l=n-Math.pow(e,2),u=Math.sqrt(l),c=Math.floor(e+2*u);return c>a&&(c=a),c}},{key:"_createClusteredEdge",value:function(e,n,i,a,o){var s=or.cloneOptions(i,"edge");st(s,a),s.from=e,s.to=n,s.id="clusterEdge:"+Js(),o!==void 0&&st(s,o);var l=this.body.functions.createEdge(s);return l.clusteringEdgeReplacingIds=[i.id],l.connect(),this.body.edges[l.id]=l,l}},{key:"_clusterEdges",value:function(e,n,i,a){if(n instanceof Oo){var o=n,s={};s[o.id]=o,n=s}if(e instanceof Mr){var l=e,u={};u[l.id]=l,e=u}if(i==null)throw new Error("_clusterEdges: parameter clusterNode required");a===void 0&&(a=i.clusterEdgeProperties),this._createClusterEdges(e,n,i,a);for(var c in n)if(Object.prototype.hasOwnProperty.call(n,c)&&this.body.edges[c]!==void 0){var h=this.body.edges[c];this._backupEdgeOptions(h),h.setOptions({physics:!1})}for(var d in e)Object.prototype.hasOwnProperty.call(e,d)&&(this.clusteredNodes[d]={clusterId:i.id,node:this.body.nodes[d]},this.body.nodes[d].setOptions({physics:!1}))}},{key:"_getClusterNodeForNode",value:function(e){if(e!==void 0){var n=this.clusteredNodes[e];if(n!==void 0){var i=n.clusterId;if(i!==void 0)return this.body.nodes[i]}}}},{key:"_filter",value:function(e,n){var i=[];return Ne(e,function(a){n(a)&&i.push(a)}),i}},{key:"_updateState",value:function(){var e=this,n,i=[],a={},o=function(v){Ne(e.body.nodes,function(g){g.isCluster===!0&&v(g)})};for(n in this.clusteredNodes)if(Object.prototype.hasOwnProperty.call(this.clusteredNodes,n)){var s=this.body.nodes[n];s===void 0&&i.push(n)}o(function(f){for(var v=0;v0}(!f.endPointsValid()||!g)&&(a[v]=v)}),o(function(f){Ne(a,function(v){delete f.containedEdges[v],Ne(f.edges,function(g,b){if(g.id===v){f.edges[b]=null;return}g.clusteringEdgeReplacingIds=e._filter(g.clusteringEdgeReplacingIds,function(y){return!a[y]})}),f.edges=e._filter(f.edges,function(g){return g!==null})})}),Ne(a,function(f){delete e.clusteredEdges[f]}),Ne(a,function(f){delete e.body.edges[f]});var u=yt(this.body.edges);Ne(u,function(f){var v=e.body.edges[f],g=e._isClusteredNode(v.fromId)||e._isClusteredNode(v.toId);if(g!==e._isClusteredEdge(v.id))if(g){var b=e._getClusterNodeForNode(v.fromId);b!==void 0&&e._clusterEdges(e.body.nodes[v.fromId],v,b);var y=e._getClusterNodeForNode(v.toId);y!==void 0&&e._clusterEdges(e.body.nodes[v.toId],v,y)}else delete e._clusterEdges[f],e._restoreEdge(v)});for(var c=!1,h=!0,d=function(){var v=[];o(function(b){var y=yt(b.containedNodes).length,$=b.options.allowSingleNodeCluster===!0;($&&y<1||!$&&y<2)&&v.push(b.id)});for(var g=0;g0,c=c||h};h;)d();c&&this._updateState()}},{key:"_isClusteredNode",value:function(e){return this.clusteredNodes[e]!==void 0}},{key:"_isClusteredEdge",value:function(e){return this.clusteredEdges[e]!==void 0}}]),t}();function s8e(){var t;window!==void 0&&(t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),t===void 0?window.requestAnimationFrame=function(r){r()}:window.requestAnimationFrame=t}var l8e=function(){function t(r,e){re(this,t),s8e(),this.body=r,this.canvas=e,this.redrawRequested=!1,this.renderTimer=void 0,this.requiresTimeout=!0,this.renderingActive=!1,this.renderRequests=0,this.allowRedraw=!0,this.dragging=!1,this.zooming=!1,this.options={},this.defaultOptions={hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1},At(this.options,this.defaultOptions),this._determineBrowserMethod(),this.bindEventListeners()}return ne(t,[{key:"bindEventListeners",value:function(){var e=this,n;this.body.emitter.on("dragStart",function(){e.dragging=!0}),this.body.emitter.on("dragEnd",function(){e.dragging=!1}),this.body.emitter.on("zoom",function(){e.zooming=!0,window.clearTimeout(e.zoomTimeoutId),e.zoomTimeoutId=Cn(function(){var i;e.zooming=!1,J(i=e._requestRedraw).call(i,e)()},250)}),this.body.emitter.on("_resizeNodes",function(){e._resizeNodes()}),this.body.emitter.on("_redraw",function(){e.renderingActive===!1&&e._redraw()}),this.body.emitter.on("_blockRedraw",function(){e.allowRedraw=!1}),this.body.emitter.on("_allowRedraw",function(){e.allowRedraw=!0,e.redrawRequested=!1}),this.body.emitter.on("_requestRedraw",J(n=this._requestRedraw).call(n,this)),this.body.emitter.on("_startRendering",function(){e.renderRequests+=1,e.renderingActive=!0,e._startRendering()}),this.body.emitter.on("_stopRendering",function(){e.renderRequests-=1,e.renderingActive=e.renderRequests>0,e.renderTimer=void 0}),this.body.emitter.on("destroy",function(){e.renderRequests=0,e.allowRedraw=!1,e.renderingActive=!1,e.requiresTimeout===!0?clearTimeout(e.renderTimer):window.cancelAnimationFrame(e.renderTimer),e.body.emitter.off()})}},{key:"setOptions",value:function(e){if(e!==void 0){var n=["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag"];$s(n,this.options,e)}}},{key:"_requestNextFrame",value:function(e,n){if(!(typeof window>"u")){var i,a=window;return this.requiresTimeout===!0?i=Cn(e,n):a.requestAnimationFrame&&(i=a.requestAnimationFrame(e)),i}}},{key:"_startRendering",value:function(){if(this.renderingActive===!0&&this.renderTimer===void 0){var e;this.renderTimer=this._requestNextFrame(J(e=this._renderStep).call(e,this),this.simulationInterval)}}},{key:"_renderStep",value:function(){this.renderingActive===!0&&(this.renderTimer=void 0,this.requiresTimeout===!0&&this._startRendering(),this._redraw(),this.requiresTimeout===!1&&this._startRendering())}},{key:"redraw",value:function(){this.body.emitter.emit("setSize"),this._redraw()}},{key:"_requestRedraw",value:function(){var e=this;this.redrawRequested!==!0&&this.renderingActive===!1&&this.allowRedraw===!0&&(this.redrawRequested=!0,this._requestNextFrame(function(){e._redraw(!1)},0))}},{key:"_redraw",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(this.allowRedraw===!0){this.body.emitter.emit("initRedraw"),this.redrawRequested=!1;var n={drawExternalLabels:null};(this.canvas.frame.canvas.width===0||this.canvas.frame.canvas.height===0)&&this.canvas.setSize(),this.canvas.setTransform();var i=this.canvas.getContext(),a=this.canvas.frame.canvas.clientWidth,o=this.canvas.frame.canvas.clientHeight;if(i.clearRect(0,0,a,o),this.canvas.frame.clientWidth===0)return;if(i.save(),i.translate(this.body.view.translation.x,this.body.view.translation.y),i.scale(this.body.view.scale,this.body.view.scale),i.beginPath(),this.body.emitter.emit("beforeDrawing",i),i.closePath(),e===!1&&(this.dragging===!1||this.dragging===!0&&this.options.hideEdgesOnDrag===!1)&&(this.zooming===!1||this.zooming===!0&&this.options.hideEdgesOnZoom===!1)&&this._drawEdges(i),this.dragging===!1||this.dragging===!0&&this.options.hideNodesOnDrag===!1){var s=this._drawNodes(i,e),l=s.drawExternalLabels;n.drawExternalLabels=l}e===!1&&(this.dragging===!1||this.dragging===!0&&this.options.hideEdgesOnDrag===!1)&&(this.zooming===!1||this.zooming===!0&&this.options.hideEdgesOnZoom===!1)&&this._drawArrows(i),n.drawExternalLabels!=null&&n.drawExternalLabels(),e===!1&&this._drawSelectionBox(i),i.beginPath(),this.body.emitter.emit("afterDrawing",i),i.closePath(),i.restore(),e===!0&&i.clearRect(0,0,a,o)}}},{key:"_resizeNodes",value:function(){this.canvas.setTransform();var e=this.canvas.getContext();e.save(),e.translate(this.body.view.translation.x,this.body.view.translation.y),e.scale(this.body.view.scale,this.body.view.scale);var n=this.body.nodes,i;for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i=n[a],i.resize(e),i.updateBoundingBox(e,i.selected));e.restore()}},{key:"_drawNodes",value:function(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=this.body.nodes,a=this.body.nodeIndices,o,s=[],l=[],u=20,c=this.canvas.DOMtoCanvas({x:-20,y:-20}),h=this.canvas.DOMtoCanvas({x:this.canvas.frame.canvas.clientWidth+u,y:this.canvas.frame.canvas.clientHeight+u}),d={top:c.y,left:c.x,bottom:h.y,right:h.x},f=[],v=0;v0&&arguments[0]!==void 0?arguments[0]:this.pixelRatio;this.initialized===!0&&(this.cameraState.previousWidth=this.frame.canvas.width/e,this.cameraState.previousHeight=this.frame.canvas.height/e,this.cameraState.scale=this.body.view.scale,this.cameraState.position=this.DOMtoCanvas({x:.5*this.frame.canvas.width/e,y:.5*this.frame.canvas.height/e}))}},{key:"_setCameraState",value:function(){if(this.cameraState.scale!==void 0&&this.frame.canvas.clientWidth!==0&&this.frame.canvas.clientHeight!==0&&this.pixelRatio!==0&&this.cameraState.previousWidth>0&&this.cameraState.previousHeight>0){var e=this.frame.canvas.width/this.pixelRatio/this.cameraState.previousWidth,n=this.frame.canvas.height/this.pixelRatio/this.cameraState.previousHeight,i=this.cameraState.scale;e!=1&&n!=1?i=this.cameraState.scale*.5*(e+n):e!=1?i=this.cameraState.scale*e:n!=1&&(i=this.cameraState.scale*n),this.body.view.scale=i;var a=this.DOMtoCanvas({x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight}),o={x:a.x-this.cameraState.position.x,y:a.y-this.cameraState.position.y};this.body.view.translation.x+=o.x*this.body.view.scale,this.body.view.translation.y+=o.y*this.body.view.scale}}},{key:"_prepareValue",value:function(e){if(typeof e=="number")return e+"px";if(typeof e=="string"){if(Ue(e).call(e,"%")!==-1||Ue(e).call(e,"px")!==-1)return e;if(Ue(e).call(e,"%")===-1)return e+"px"}throw new Error("Could not use the value supplied for width or height:"+e)}},{key:"_create",value:function(){for(;this.body.container.hasChildNodes();)this.body.container.removeChild(this.body.container.firstChild);if(this.frame=document.createElement("div"),this.frame.className="vis-network",this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.tabIndex=0,this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas),this.frame.canvas.getContext)this._setPixelRatio(),this.setTransform();else{var e=document.createElement("DIV");e.style.color="red",e.style.fontWeight="bold",e.style.padding="10px",e.innerText="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(e)}this.body.container.appendChild(this.frame),this.body.view.scale=1,this.body.view.translation={x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight},this._bindHammer()}},{key:"_bindHammer",value:function(){var e=this;this.hammer!==void 0&&this.hammer.destroy(),this.drag={},this.pinch={},this.hammer=new _o(this.frame.canvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.get("pan").set({threshold:5,direction:_o.DIRECTION_ALL}),Sh(this.hammer,function(n){e.body.eventListeners.onTouch(n)}),this.hammer.on("tap",function(n){e.body.eventListeners.onTap(n)}),this.hammer.on("doubletap",function(n){e.body.eventListeners.onDoubleTap(n)}),this.hammer.on("press",function(n){e.body.eventListeners.onHold(n)}),this.hammer.on("panstart",function(n){e.body.eventListeners.onDragStart(n)}),this.hammer.on("panmove",function(n){e.body.eventListeners.onDrag(n)}),this.hammer.on("panend",function(n){e.body.eventListeners.onDragEnd(n)}),this.hammer.on("pinch",function(n){e.body.eventListeners.onPinch(n)}),this.frame.canvas.addEventListener("wheel",function(n){e.body.eventListeners.onMouseWheel(n)}),this.frame.canvas.addEventListener("mousemove",function(n){e.body.eventListeners.onMouseMove(n)}),this.frame.canvas.addEventListener("contextmenu",function(n){e.body.eventListeners.onContext(n)}),this.hammerFrame=new _o(this.frame),MT(this.hammerFrame,function(n){e.body.eventListeners.onRelease(n)})}},{key:"setSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.height;e=this._prepareValue(e),n=this._prepareValue(n);var i=!1,a=this.frame.canvas.width,o=this.frame.canvas.height,s=this.pixelRatio;if(this._setPixelRatio(),e!=this.options.width||n!=this.options.height||this.frame.style.width!=e||this.frame.style.height!=n)this._getCameraState(s),this.frame.style.width=e,this.frame.style.height=n,this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),this.frame.canvas.height=Math.round(this.frame.canvas.clientHeight*this.pixelRatio),this.options.width=e,this.options.height=n,this.canvasViewCenter={x:.5*this.frame.clientWidth,y:.5*this.frame.clientHeight},i=!0;else{var l=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),u=Math.round(this.frame.canvas.clientHeight*this.pixelRatio);(this.frame.canvas.width!==l||this.frame.canvas.height!==u)&&this._getCameraState(s),this.frame.canvas.width!==l&&(this.frame.canvas.width=l,i=!0),this.frame.canvas.height!==u&&(this.frame.canvas.height=u,i=!0)}return i===!0&&(this.body.emitter.emit("resize",{width:Math.round(this.frame.canvas.width/this.pixelRatio),height:Math.round(this.frame.canvas.height/this.pixelRatio),oldWidth:Math.round(a/this.pixelRatio),oldHeight:Math.round(o/this.pixelRatio)}),this._setCameraState()),this.initialized=!0,i}},{key:"getContext",value:function(){return this.frame.canvas.getContext("2d")}},{key:"_determinePixelRatio",value:function(){var e=this.getContext();if(e===void 0)throw new Error("Could not get canvax context");var n=1;typeof window<"u"&&(n=window.devicePixelRatio||1);var i=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return n/i}},{key:"_setPixelRatio",value:function(){this.pixelRatio=this._determinePixelRatio()}},{key:"setTransform",value:function(){var e=this.getContext();if(e===void 0)throw new Error("Could not get canvax context");e.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}},{key:"_XconvertDOMtoCanvas",value:function(e){return(e-this.body.view.translation.x)/this.body.view.scale}},{key:"_XconvertCanvasToDOM",value:function(e){return e*this.body.view.scale+this.body.view.translation.x}},{key:"_YconvertDOMtoCanvas",value:function(e){return(e-this.body.view.translation.y)/this.body.view.scale}},{key:"_YconvertCanvasToDOM",value:function(e){return e*this.body.view.scale+this.body.view.translation.y}},{key:"canvasToDOM",value:function(e){return{x:this._XconvertCanvasToDOM(e.x),y:this._YconvertCanvasToDOM(e.y)}}},{key:"DOMtoCanvas",value:function(e){return{x:this._XconvertDOMtoCanvas(e.x),y:this._YconvertDOMtoCanvas(e.y)}}}]),t}();function v8e(t,r){var e=At({nodes:r,minZoomLevel:Number.MIN_VALUE,maxZoomLevel:1},t??{});if(!Je(e.nodes))throw new TypeError("Nodes has to be an array of ids.");if(e.nodes.length===0&&(e.nodes=r),!(typeof e.minZoomLevel=="number"&&e.minZoomLevel>0))throw new TypeError("Min zoom level has to be a number higher than zero.");if(!(typeof e.maxZoomLevel=="number"&&e.minZoomLevel<=e.maxZoomLevel))throw new TypeError("Max zoom level has to be a number higher than min zoom level.");return e}var p8e=function(){function t(r,e){var n,i=this,a;re(this,t),this.body=r,this.canvas=e,this.animationSpeed=1/this.renderRefreshRate,this.animationEasingFunction="easeInOutQuint",this.easingTime=0,this.sourceScale=0,this.targetScale=0,this.sourceTranslation=0,this.targetTranslation=0,this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0,this.touchTime=0,this.viewFunction=void 0,this.body.emitter.on("fit",J(n=this.fit).call(n,this)),this.body.emitter.on("animationFinished",function(){i.body.emitter.emit("_stopRendering")}),this.body.emitter.on("unlockNode",J(a=this.releaseNode).call(a,this))}return ne(t,[{key:"setOptions",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.options=e}},{key:"fit",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;e=v8e(e,this.body.nodeIndices);var i=this.canvas.frame.canvas.clientWidth,a=this.canvas.frame.canvas.clientHeight,o,s;if(i===0||a===0)s=1,o=or.getRange(this.body.nodes,e.nodes);else if(n===!0){var l=0;for(var u in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,u)){var c=this.body.nodes[u];c.predefinedPosition===!0&&(l+=1)}if(l>.5*this.body.nodeIndices.length){this.fit(e,!1);return}o=or.getRange(this.body.nodes,e.nodes);var h=this.body.nodeIndices.length;s=12.662/(h+7.4147)+.0964822;var d=Math.min(i/600,a/600);s*=d}else{this.body.emitter.emit("_resizeNodes"),o=or.getRange(this.body.nodes,e.nodes);var f=Math.abs(o.maxX-o.minX)*1.1,v=Math.abs(o.maxY-o.minY)*1.1,g=i/f,b=a/v;s=g<=b?g:b}s>e.maxZoomLevel?s=e.maxZoomLevel:s1&&arguments[1]!==void 0?arguments[1]:{};if(this.body.nodes[e]!==void 0){var i={x:this.body.nodes[e].x,y:this.body.nodes[e].y};n.position=i,n.lockedOnNode=e,this.moveTo(n)}else console.error("Node: "+e+" cannot be found.")}},{key:"moveTo",value:function(e){if(e===void 0){e={};return}if(e.offset!=null){if(e.offset.x!=null){if(e.offset.x=+e.offset.x,!ua(e.offset.x))throw new TypeError('The option "offset.x" has to be a finite number.')}else e.offset.x=0;if(e.offset.y!=null){if(e.offset.y=+e.offset.y,!ua(e.offset.y))throw new TypeError('The option "offset.y" has to be a finite number.')}else e.offset.x=0}else e.offset={x:0,y:0};if(e.position!=null){if(e.position.x!=null){if(e.position.x=+e.position.x,!ua(e.position.x))throw new TypeError('The option "position.x" has to be a finite number.')}else e.position.x=0;if(e.position.y!=null){if(e.position.y=+e.position.y,!ua(e.position.y))throw new TypeError('The option "position.y" has to be a finite number.')}else e.position.x=0}else e.position=this.getViewPosition();if(e.scale!=null){if(e.scale=+e.scale,!(e.scale>0))throw new TypeError('The option "scale" has to be a number greater than zero.')}else e.scale=this.body.view.scale;e.animation===void 0&&(e.animation={duration:0}),e.animation===!1&&(e.animation={duration:0}),e.animation===!0&&(e.animation={}),e.animation.duration===void 0&&(e.animation.duration=1e3),e.animation.easingFunction===void 0&&(e.animation.easingFunction="easeInOutQuad"),this.animateView(e)}},{key:"animateView",value:function(e){if(e!==void 0){this.animationEasingFunction=e.animation.easingFunction,this.releaseNode(),e.locked===!0&&(this.lockedOnNodeId=e.lockedOnNode,this.lockedOnNodeOffset=e.offset),this.easingTime!=0&&this._transitionRedraw(!0),this.sourceScale=this.body.view.scale,this.sourceTranslation=this.body.view.translation,this.targetScale=e.scale,this.body.view.scale=this.targetScale;var n=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),i={x:n.x-e.position.x,y:n.y-e.position.y};if(this.targetTranslation={x:this.sourceTranslation.x+i.x*this.targetScale+e.offset.x,y:this.sourceTranslation.y+i.y*this.targetScale+e.offset.y},e.animation.duration===0)if(this.lockedOnNodeId!=null){var a;this.viewFunction=J(a=this._lockedRedraw).call(a,this),this.body.emitter.on("initRedraw",this.viewFunction)}else this.body.view.scale=this.targetScale,this.body.view.translation=this.targetTranslation,this.body.emitter.emit("_requestRedraw");else{var o;this.animationSpeed=1/(60*e.animation.duration*.001)||1/60,this.animationEasingFunction=e.animation.easingFunction,this.viewFunction=J(o=this._transitionRedraw).call(o,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering")}}}},{key:"_lockedRedraw",value:function(){var e={x:this.body.nodes[this.lockedOnNodeId].x,y:this.body.nodes[this.lockedOnNodeId].y},n=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),i={x:n.x-e.x,y:n.y-e.y},a=this.body.view.translation,o={x:a.x+i.x*this.body.view.scale+this.lockedOnNodeOffset.x,y:a.y+i.y*this.body.view.scale+this.lockedOnNodeOffset.y};this.body.view.translation=o}},{key:"releaseNode",value:function(){this.lockedOnNodeId!==void 0&&this.viewFunction!==void 0&&(this.body.emitter.off("initRedraw",this.viewFunction),this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0)}},{key:"_transitionRedraw",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.easingTime+=this.animationSpeed,this.easingTime=e===!0?1:this.easingTime;var n=Z4e[this.animationEasingFunction](this.easingTime);if(this.body.view.scale=this.sourceScale+(this.targetScale-this.sourceScale)*n,this.body.view.translation={x:this.sourceTranslation.x+(this.targetTranslation.x-this.sourceTranslation.x)*n,y:this.sourceTranslation.y+(this.targetTranslation.y-this.sourceTranslation.y)*n},this.easingTime>=1){if(this.body.emitter.off("initRedraw",this.viewFunction),this.easingTime=0,this.lockedOnNodeId!=null){var i;this.viewFunction=J(i=this._lockedRedraw).call(i,this),this.body.emitter.on("initRedraw",this.viewFunction)}this.body.emitter.emit("animationFinished")}}},{key:"getScale",value:function(){return this.body.view.scale}},{key:"getViewPosition",value:function(){return this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight})}}]),t}();function lw(t){var r=t&&t.preventDefault||!1,e=t&&t.container||window,n={},i={keydown:{},keyup:{}},a={},o;for(o=97;o<=122;o++)a[String.fromCharCode(o)]={code:65+(o-97),shift:!1};for(o=65;o<=90;o++)a[String.fromCharCode(o)]={code:o,shift:!0};for(o=0;o<=9;o++)a[""+o]={code:48+o,shift:!1};for(o=1;o<=12;o++)a["F"+o]={code:111+o,shift:!1};for(o=0;o<=9;o++)a["num"+o]={code:96+o,shift:!1};a["num*"]={code:106,shift:!1},a["num+"]={code:107,shift:!1},a["num-"]={code:109,shift:!1},a["num/"]={code:111,shift:!1},a["num."]={code:110,shift:!1},a.left={code:37,shift:!1},a.up={code:38,shift:!1},a.right={code:39,shift:!1},a.down={code:40,shift:!1},a.space={code:32,shift:!1},a.enter={code:13,shift:!1},a.shift={code:16,shift:void 0},a.esc={code:27,shift:!1},a.backspace={code:8,shift:!1},a.tab={code:9,shift:!1},a.ctrl={code:17,shift:!1},a.alt={code:18,shift:!1},a.delete={code:46,shift:!1},a.pageup={code:33,shift:!1},a.pagedown={code:34,shift:!1},a["="]={code:187,shift:!1},a["-"]={code:189,shift:!1},a["]"]={code:221,shift:!1},a["["]={code:219,shift:!1};var s=function(c){u(c,"keydown")},l=function(c){u(c,"keyup")},u=function(c,h){if(i[h][c.keyCode]!==void 0){for(var d=i[h][c.keyCode],f=0;f700&&(this.body.emitter.emit("fit",{duration:700}),this.touchTime=new Date().valueOf())}},{key:"_stopMovement",value:function(){for(var e in this.boundFunctions)Object.prototype.hasOwnProperty.call(this.boundFunctions,e)&&(this.body.emitter.off("initRedraw",this.boundFunctions[e]),this.body.emitter.emit("_stopRendering"));this.boundFunctions={}}},{key:"_moveUp",value:function(){this.body.view.translation.y+=this.options.keyboard.speed.y}},{key:"_moveDown",value:function(){this.body.view.translation.y-=this.options.keyboard.speed.y}},{key:"_moveLeft",value:function(){this.body.view.translation.x+=this.options.keyboard.speed.x}},{key:"_moveRight",value:function(){this.body.view.translation.x-=this.options.keyboard.speed.x}},{key:"_zoomIn",value:function(){var e=this.body.view.scale,n=this.body.view.scale*(1+this.options.keyboard.speed.zoom),i=this.body.view.translation,a=n/e,o=(1-a)*this.canvas.canvasViewCenter.x+i.x*a,s=(1-a)*this.canvas.canvasViewCenter.y+i.y*a;this.body.view.scale=n,this.body.view.translation={x:o,y:s},this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:null})}},{key:"_zoomOut",value:function(){var e=this.body.view.scale,n=this.body.view.scale/(1+this.options.keyboard.speed.zoom),i=this.body.view.translation,a=n/e,o=(1-a)*this.canvas.canvasViewCenter.x+i.x*a,s=(1-a)*this.canvas.canvasViewCenter.y+i.y*a;this.body.view.scale=n,this.body.view.translation={x:o,y:s},this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:null})}},{key:"configureKeyboardBindings",value:function(){var e=this;if(this.keycharm!==void 0&&this.keycharm.destroy(),this.options.keyboard.enabled===!0&&(this.options.keyboard.bindToWindow===!0?this.keycharm=lw({container:window,preventDefault:!0}):this.keycharm=lw({container:this.canvas.frame,preventDefault:!0}),this.keycharm.reset(),this.activated===!0)){var n,i,a,o,s,l,u,c,h,d,f,v,g,b,y,$,k,T,P,E,D,B,R,A;J(n=this.keycharm).call(n,"up",function(){e.bindToRedraw("_moveUp")},"keydown"),J(i=this.keycharm).call(i,"down",function(){e.bindToRedraw("_moveDown")},"keydown"),J(a=this.keycharm).call(a,"left",function(){e.bindToRedraw("_moveLeft")},"keydown"),J(o=this.keycharm).call(o,"right",function(){e.bindToRedraw("_moveRight")},"keydown"),J(s=this.keycharm).call(s,"=",function(){e.bindToRedraw("_zoomIn")},"keydown"),J(l=this.keycharm).call(l,"num+",function(){e.bindToRedraw("_zoomIn")},"keydown"),J(u=this.keycharm).call(u,"num-",function(){e.bindToRedraw("_zoomOut")},"keydown"),J(c=this.keycharm).call(c,"-",function(){e.bindToRedraw("_zoomOut")},"keydown"),J(h=this.keycharm).call(h,"[",function(){e.bindToRedraw("_zoomOut")},"keydown"),J(d=this.keycharm).call(d,"]",function(){e.bindToRedraw("_zoomIn")},"keydown"),J(f=this.keycharm).call(f,"pageup",function(){e.bindToRedraw("_zoomIn")},"keydown"),J(v=this.keycharm).call(v,"pagedown",function(){e.bindToRedraw("_zoomOut")},"keydown"),J(g=this.keycharm).call(g,"up",function(){e.unbindFromRedraw("_moveUp")},"keyup"),J(b=this.keycharm).call(b,"down",function(){e.unbindFromRedraw("_moveDown")},"keyup"),J(y=this.keycharm).call(y,"left",function(){e.unbindFromRedraw("_moveLeft")},"keyup"),J($=this.keycharm).call($,"right",function(){e.unbindFromRedraw("_moveRight")},"keyup"),J(k=this.keycharm).call(k,"=",function(){e.unbindFromRedraw("_zoomIn")},"keyup"),J(T=this.keycharm).call(T,"num+",function(){e.unbindFromRedraw("_zoomIn")},"keyup"),J(P=this.keycharm).call(P,"num-",function(){e.unbindFromRedraw("_zoomOut")},"keyup"),J(E=this.keycharm).call(E,"-",function(){e.unbindFromRedraw("_zoomOut")},"keyup"),J(D=this.keycharm).call(D,"[",function(){e.unbindFromRedraw("_zoomOut")},"keyup"),J(B=this.keycharm).call(B,"]",function(){e.unbindFromRedraw("_zoomIn")},"keyup"),J(R=this.keycharm).call(R,"pageup",function(){e.unbindFromRedraw("_zoomIn")},"keyup"),J(A=this.keycharm).call(A,"pagedown",function(){e.unbindFromRedraw("_zoomOut")},"keyup")}}}]),t}();function g8e(t,r){var e=typeof Xi<"u"&&qa(t)||t["@@iterator"];if(!e){if(Je(t)||(e=y8e(t))||r){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function y8e(t,r){var e;if(t){if(typeof t=="string")return uw(t,r);var n=Jt(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Wa(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uw(t,r)}}function uw(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e50&&(this.drag.pointer=this.getPointer(e.center),this.drag.pinched=!1,this.pinch.scale=this.body.view.scale,this.touchTime=new Date().valueOf())}},{key:"onTap",value:function(e){var n=this.getPointer(e.center),i=this.selectionHandler.options.multiselect&&(e.changedPointers[0].ctrlKey||e.changedPointers[0].metaKey);this.checkSelectionChanges(n,i),this.selectionHandler.commitAndEmit(n,e),this.selectionHandler.generateClickEvent("click",e,n)}},{key:"onDoubleTap",value:function(e){var n=this.getPointer(e.center);this.selectionHandler.generateClickEvent("doubleClick",e,n)}},{key:"onHold",value:function(e){var n=this.getPointer(e.center),i=this.selectionHandler.options.multiselect;this.checkSelectionChanges(n,i),this.selectionHandler.commitAndEmit(n,e),this.selectionHandler.generateClickEvent("click",e,n),this.selectionHandler.generateClickEvent("hold",e,n)}},{key:"onRelease",value:function(e){if(new Date().valueOf()-this.touchTime>10){var n=this.getPointer(e.center);this.selectionHandler.generateClickEvent("release",e,n),this.touchTime=new Date().valueOf()}}},{key:"onContext",value:function(e){var n=this.getPointer({x:e.clientX,y:e.clientY});this.selectionHandler.generateClickEvent("oncontext",e,n)}},{key:"checkSelectionChanges",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n===!0?this.selectionHandler.selectAdditionalOnPoint(e):this.selectionHandler.selectOnPoint(e)}},{key:"_determineDifference",value:function(e,n){var i=function(o,s){for(var l=[],u=0;u=o.minX&&h.x<=o.maxX&&h.y>=o.minY&&h.y<=o.maxY});rt(s).call(s,function(c){return n.selectionHandler.selectObject(n.body.nodes[c])});var l=this.getPointer(e.center);this.selectionHandler.commitAndEmit(l,e),this.selectionHandler.generateClickEvent("dragEnd",e,this.getPointer(e.center),void 0,!0),this.body.emitter.emit("_requestRedraw")}else{var u=this.drag.selection;u&&u.length?(rt(u).call(u,function(c){c.node.options.fixed.x=c.xFixed,c.node.options.fixed.y=c.yFixed}),this.selectionHandler.generateClickEvent("dragEnd",e,this.getPointer(e.center)),this.body.emitter.emit("startSimulation")):(this.selectionHandler.generateClickEvent("dragEnd",e,this.getPointer(e.center),void 0,!0),this.body.emitter.emit("_requestRedraw"))}}},{key:"onPinch",value:function(e){var n=this.getPointer(e.center);this.drag.pinched=!0,this.pinch.scale===void 0&&(this.pinch.scale=1);var i=this.pinch.scale*e.scale;this.zoom(i,n)}},{key:"zoom",value:function(e,n){if(this.options.zoomView===!0){var i=this.body.view.scale;e<1e-5&&(e=1e-5),e>10&&(e=10);var a=void 0;this.drag!==void 0&&this.drag.dragging===!0&&(a=this.canvas.DOMtoCanvas(this.drag.pointer));var o=this.body.view.translation,s=e/i,l=(1-s)*n.x+o.x*s,u=(1-s)*n.y+o.y*s;if(this.body.view.scale=e,this.body.view.translation={x:l,y:u},a!=null){var c=this.canvas.canvasToDOM(a);this.drag.pointer.x=c.x,this.drag.pointer.y=c.y}this.body.emitter.emit("_requestRedraw"),i0&&(this.popupObj=c[d[d.length-1]],s=!0)}if(this.popupObj===void 0&&s===!1){for(var v=this.body.edgeIndices,g=this.body.edges,b,y=[],$=0;$0&&(this.popupObj=g[y[y.length-1]],l="edge")}this.popupObj!==void 0?this.popupObj.id!==o&&(this.popup===void 0&&(this.popup=new o2e(this.canvas.frame)),this.popup.popupTargetType=l,this.popup.popupTargetId=this.popupObj.id,this.popup.setPosition(e.x+3,e.y-5),this.popup.setText(this.popupObj.getTitle()),this.popup.show(),this.body.emitter.emit("showPopup",this.popupObj.id)):this.popup!==void 0&&(this.popup.hide(),this.body.emitter.emit("hidePopup"))}},{key:"_checkHidePopup",value:function(e){var n=this.selectionHandler._pointerToPositionObject(e),i=!1;if(this.popup.popupTargetType==="node"){if(this.body.nodes[this.popup.popupTargetId]!==void 0&&(i=this.body.nodes[this.popup.popupTargetId].isOverlappingWith(n),i===!0)){var a=this.selectionHandler.getNodeAt(e);i=a===void 0?!1:a.id===this.popup.popupTargetId}}else this.selectionHandler.getNodeAt(e)===void 0&&this.body.edges[this.popup.popupTargetId]!==void 0&&(i=this.body.edges[this.popup.popupTargetId].isOverlappingWith(n));i===!1&&(this.popupObj=void 0,this.popup.hide(),this.body.emitter.emit("hidePopup"))}}]),t}(),w8e=Eg,$8e=hT;w8e("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},$8e);var x8e=Ge,k8e=x8e.Set,S8e=k8e,E8e=S8e,T8e=E8e,oa=ve(T8e),_8e=Ke,cw=Tg,pc=z0.getWeakData,O8e=Sg,I8e=Wr,C8e=cs,_v=Vt,P8e=kg,DT=Yi,hw=Gt,NT=Ha,A8e=NT.set,M8e=NT.getterFor,D8e=DT.find,N8e=DT.findIndex,R8e=_8e([].splice),F8e=0,mc=function(t){return t.frozen||(t.frozen=new RT)},RT=function(){this.entries=[]},Ov=function(t,r){return D8e(t.entries,function(e){return e[0]===r})};RT.prototype={get:function(t){var r=Ov(this,t);if(r)return r[1]},has:function(t){return!!Ov(this,t)},set:function(t,r){var e=Ov(this,t);e?e[1]=r:this.entries.push([t,r])},delete:function(t){var r=N8e(this.entries,function(e){return e[0]===t});return~r&&R8e(this.entries,r,1),!!~r}};var z8e={getConstructor:function(t,r,e,n){var i=t(function(l,u){O8e(l,a),A8e(l,{type:r,id:F8e++,frozen:void 0}),C8e(u)||P8e(u,l[n],{that:l,AS_ENTRIES:e})}),a=i.prototype,o=M8e(r),s=function(l,u,c){var h=o(l),d=pc(I8e(u),!0);return d===!0?mc(h).set(u,c):d[h.id]=c,l};return cw(a,{delete:function(l){var u=o(this);if(!_v(l))return!1;var c=pc(l);return c===!0?mc(u).delete(l):c&&hw(c,u.id)&&delete c[u.id]},has:function(u){var c=o(this);if(!_v(u))return!1;var h=pc(u);return h===!0?mc(c).has(u):h&&hw(h,c.id)}}),cw(a,e?{get:function(u){var c=o(this);if(_v(u)){var h=pc(u);return h===!0?mc(c).get(u):h?h[c.id]:void 0}},set:function(u,c){return s(this,u,c)}}:{add:function(u){return s(this,u,!0)}}),i}},B8e=sT,dw=xt,jc=Ke,fw=Tg,L8e=z0,j8e=Eg,FT=z8e,gc=Vt,yc=Ha.enforce,H8e=Ve,W8e=Jk,wu=Object,q8e=Array.isArray,bc=wu.isExtensible,zT=wu.isFrozen,U8e=wu.isSealed,BT=wu.freeze,V8e=wu.seal,vw={},pw={},G8e=!dw.ActiveXObject&&"ActiveXObject"in dw,Ms,LT=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},jT=j8e("WeakMap",LT,FT),uo=jT.prototype,Hc=jc(uo.set),K8e=function(){return B8e&&H8e(function(){var t=BT([]);return Hc(new jT,t,1),!zT(t)})};if(W8e)if(G8e){Ms=FT.getConstructor(LT,"WeakMap",!0),L8e.enable();var mw=jc(uo.delete),wc=jc(uo.has),gw=jc(uo.get);fw(uo,{delete:function(t){if(gc(t)&&!bc(t)){var r=yc(this);return r.frozen||(r.frozen=new Ms),mw(this,t)||r.frozen.delete(t)}return mw(this,t)},has:function(r){if(gc(r)&&!bc(r)){var e=yc(this);return e.frozen||(e.frozen=new Ms),wc(this,r)||e.frozen.has(r)}return wc(this,r)},get:function(r){if(gc(r)&&!bc(r)){var e=yc(this);return e.frozen||(e.frozen=new Ms),wc(this,r)?gw(this,r):e.frozen.get(r)}return gw(this,r)},set:function(r,e){if(gc(r)&&!bc(r)){var n=yc(this);n.frozen||(n.frozen=new Ms),wc(this,r)?Hc(this,r,e):n.frozen.set(r,e)}else Hc(this,r,e);return this}})}else K8e()&&fw(uo,{set:function(r,e){var n;return q8e(r)&&(zT(r)?n=vw:U8e(r)&&(n=pw)),Hc(this,r,e),n===vw&&BT(r),n===pw&&V8e(r),this}});var Y8e=Ge,X8e=Y8e.WeakMap,J8e=X8e,Z8e=J8e,Q8e=Z8e,Zs=ve(Q8e);function ot(t,r,e,n){if(e==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof r=="function"?t!==r||!n:!r.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e==="m"?n:e==="a"?n.call(t):n?n.value:r.get(t)}function fm(t,r,e,n,i){if(typeof r=="function"?t!==r||!0:!r.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r.set(t,e),e}function vm(t,r){var e=typeof Xi<"u"&&qa(t)||t["@@iterator"];if(!e){if(Je(t)||(e=exe(t))||r){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function exe(t,r){var e;if(t){if(typeof t=="string")return yw(t,r);var n=Jt(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Wa(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yw(t,r)}}function yw(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e0&&arguments[0]!==void 0?arguments[0]:function(){};re(this,t),bi.set(this,new ww),wi.set(this,new ww),Wc.set(this,void 0),fm(this,Wc,r)}return ne(t,[{key:"sizeNodes",get:function(){return ot(this,bi,"f").size}},{key:"sizeEdges",get:function(){return ot(this,wi,"f").size}},{key:"getNodes",value:function(){return ot(this,bi,"f").getSelection()}},{key:"getEdges",value:function(){return ot(this,wi,"f").getSelection()}},{key:"addNodes",value:function(){var e;(e=ot(this,bi,"f")).add.apply(e,arguments)}},{key:"addEdges",value:function(){var e;(e=ot(this,wi,"f")).add.apply(e,arguments)}},{key:"deleteNodes",value:function(e){ot(this,bi,"f").delete(e)}},{key:"deleteEdges",value:function(e){ot(this,wi,"f").delete(e)}},{key:"clear",value:function(){ot(this,bi,"f").clear(),ot(this,wi,"f").clear()}},{key:"commit",value:function(){for(var e,n,i={nodes:ot(this,bi,"f").commit(),edges:ot(this,wi,"f").commit()},a=arguments.length,o=new Array(a),s=0;s=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function rxe(t,r){var e;if(t){if(typeof t=="string")return xw(t,r);var n=Jt(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Wa(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xw(t,r)}}function xw(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e4&&arguments[4]!==void 0?arguments[4]:!1,s=this._initBaseEvent(n,i);if(o===!0)s.nodes=[],s.edges=[];else{var l=this.getSelection();s.nodes=l.nodes,s.edges=l.edges}a!==void 0&&(s.previousSelection=a),e=="click"&&(s.items=this.getClickedItems(i)),n.controlEdge!==void 0&&(s.controlEdge=n.controlEdge),this.body.emitter.emit(e,s)}},{key:"selectObject",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.selectConnectedEdges;if(e!==void 0){if(e instanceof Mr){if(n===!0){var i;(i=this._selectionAccumulator).addEdges.apply(i,Sn(e.edges))}this._selectionAccumulator.addNodes(e)}else this._selectionAccumulator.addEdges(e);return!0}return!1}},{key:"deselectObject",value:function(e){e.isSelected()===!0&&(e.selected=!1,this._removeFromSelection(e))}},{key:"_getAllNodesOverlappingWith",value:function(e){for(var n=[],i=this.body.nodes,a=0;a1&&arguments[1]!==void 0?arguments[1]:!0,i=this._pointerToPositionObject(e),a=this._getAllNodesOverlappingWith(i);if(a.length>0)return n===!0?this.body.nodes[a[a.length-1]]:a[a.length-1]}},{key:"_getEdgesOverlappingWith",value:function(e,n){for(var i=this.body.edges,a=0;a1&&arguments[1]!==void 0?arguments[1]:!0,i=this.canvas.DOMtoCanvas(e),a=10,o=null,s=this.body.edges,l=0;l0&&(this.generateClickEvent("deselectEdge",n,e,o),i=!0),a.nodes.deleted.length>0&&(this.generateClickEvent("deselectNode",n,e,o),i=!0),a.nodes.added.length>0&&(this.generateClickEvent("selectNode",n,e),i=!0),a.edges.added.length>0&&(this.generateClickEvent("selectEdge",n,e),i=!0),i===!0&&this.generateClickEvent("select",n,e)}},{key:"getSelection",value:function(){return{nodes:this.getSelectedNodeIds(),edges:this.getSelectedEdgeIds()}}},{key:"getSelectedNodes",value:function(){return this._selectionAccumulator.getNodes()}},{key:"getSelectedEdges",value:function(){return this._selectionAccumulator.getEdges()}},{key:"getSelectedNodeIds",value:function(){var e;return Lo(e=this._selectionAccumulator.getNodes()).call(e,function(n){return n.id})}},{key:"getSelectedEdgeIds",value:function(){var e;return Lo(e=this._selectionAccumulator.getEdges()).call(e,function(n){return n.id})}},{key:"setSelection",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!e||!e.nodes&&!e.edges)throw new TypeError("Selection must be an object with nodes and/or edges properties");if((n.unselectAll||n.unselectAll===void 0)&&this.unselectAll(),e.nodes){var i=$w(e.nodes),a;try{for(i.s();!(a=i.n()).done;){var o=a.value,s=this.body.nodes[o];if(!s)throw new RangeError('Node with id "'+o+'" not found');this.selectObject(s,n.highlightEdges)}}catch(d){i.e(d)}finally{i.f()}}if(e.edges){var l=$w(e.edges),u;try{for(l.s();!(u=l.n()).done;){var c=u.value,h=this.body.edges[c];if(!h)throw new RangeError('Edge with id "'+c+'" not found');this.selectObject(h)}}catch(d){l.e(d)}finally{l.f()}}this.body.emitter.emit("_requestRedraw"),this._selectionAccumulator.commit()}},{key:"selectNodes",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!e||e.length===void 0)throw"Selection must be an array with ids";this.setSelection({nodes:e},{highlightEdges:n})}},{key:"selectEdges",value:function(e){if(!e||e.length===void 0)throw"Selection must be an array with ids";this.setSelection({edges:e})}},{key:"updateSelection",value:function(){for(var e in this._selectionAccumulator.getNodes())Object.prototype.hasOwnProperty.call(this.body.nodes,e.id)||this._selectionAccumulator.deleteNodes(e);for(var n in this._selectionAccumulator.getEdges())Object.prototype.hasOwnProperty.call(this.body.edges,n.id)||this._selectionAccumulator.deleteEdges(n)}},{key:"getClickedItems",value:function(e){for(var n=this.canvas.DOMtoCanvas(e),i=[],a=this.body.nodeIndices,o=this.body.nodes,s=a.length-1;s>=0;s--){var l=o[a[s]],u=l.getItemsOnPoint(n);i.push.apply(i,u)}for(var c=this.body.edgeIndices,h=this.body.edges,d=c.length-1;d>=0;d--){var f=h[c[d]],v=f.getItemsOnPoint(n);i.push.apply(i,v)}return i}}]),t}(),kw=ES,ixe=Math.floor,pm=function(t,r){var e=t.length,n=ixe(e/2);return e<8?axe(t,r):oxe(t,pm(kw(t,0,n),r),pm(kw(t,n),r),r)},axe=function(t,r){for(var e=t.length,n=1,i,a;n0;)t[a]=t[--a];a!==n++&&(t[a]=i)}return t},oxe=function(t,r,e,n){for(var i=r.length,a=e.length,o=0,s=0;o3)){if(wxe)return!0;if(Cw)return Cw<603;var t="",r,e,n,i;for(r=65;r<76;r++){switch(e=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)Ti.push({k:e+i,v:n})}for(Ti.sort(function(a,o){return o.v-a.v}),i=0;i_w(e)?1:-1}};vxe({target:"Array",proto:!0,forced:Exe},{sort:function(r){r!==void 0&&pxe(r);var e=mxe(this);if(WT)return r===void 0?Pw(e):Pw(e,r);var n=[],i=Tw(e),a,o;for(o=0;o=0:s>l;l+=u)l in o&&(i=e(i,o[l],l,a));return i}},Lxe={left:Aw(!1),right:Aw(!0)},jxe=xt,Hxe=fi,Wxe=Hxe(jxe.process)==="process",qxe=ke,Uxe=Lxe.left,Vxe=bs,Mw=eu,Gxe=Wxe,Kxe=!Gxe&&Mw>79&&Mw<83,Yxe=Kxe||!Vxe("reduce");qxe({target:"Array",proto:!0,forced:Yxe},{reduce:function(r){var e=arguments.length;return Uxe(this,r,e,e>1?arguments[1]:void 0)}});var Xxe=Kt,Jxe=Xxe("Array").reduce,Zxe=It,Qxe=Jxe,Cv=Array.prototype,e9e=function(t){var r=t.reduce;return t===Cv||Zxe(Cv,t)&&r===Cv.reduce?Qxe:r},t9e=e9e,r9e=t9e,n9e=r9e,qT=ve(n9e);function UT(t){var r=i9e();return function(){var n=ue(t),i;if(r){var a=ue(this).constructor;i=H(n,arguments,a)}else i=n.apply(this,arguments);return Ze(this,i)}}function i9e(){if(typeof Reflect>"u"||!H||H.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(H(Boolean,[],function(){})),!0}catch{return!1}}var VT=function(){function t(){re(this,t)}return ne(t,[{key:"abstract",value:function(){throw new Error("Can't instantiate abstract class!")}},{key:"fake_use",value:function(){}},{key:"curveType",value:function(){return this.abstract()}},{key:"getPosition",value:function(e){return this.fake_use(e),this.abstract()}},{key:"setPosition",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;this.fake_use(e,n,i),this.abstract()}},{key:"getTreeSize",value:function(e){return this.fake_use(e),this.abstract()}},{key:"sort",value:function(e){this.fake_use(e),this.abstract()}},{key:"fix",value:function(e,n){this.fake_use(e,n),this.abstract()}},{key:"shift",value:function(e,n){this.fake_use(e,n),this.abstract()}}]),t}(),a9e=function(t){Ye(e,t);var r=UT(e);function e(n){var i;return re(this,e),i=r.call(this),i.layout=n,i}return ne(e,[{key:"curveType",value:function(){return"horizontal"}},{key:"getPosition",value:function(i){return i.x}},{key:"setPosition",value:function(i,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;o!==void 0&&this.layout.hierarchical.addToOrdering(i,o),i.x=a}},{key:"getTreeSize",value:function(i){var a=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,i);return{min:a.min_x,max:a.max_x}}},{key:"sort",value:function(i){Qs(i).call(i,function(a,o){return a.x-o.x})}},{key:"fix",value:function(i,a){i.y=this.layout.options.hierarchical.levelSeparation*a,i.options.fixed.y=!0}},{key:"shift",value:function(i,a){this.layout.body.nodes[i].x+=a}}]),e}(VT),o9e=function(t){Ye(e,t);var r=UT(e);function e(n){var i;return re(this,e),i=r.call(this),i.layout=n,i}return ne(e,[{key:"curveType",value:function(){return"vertical"}},{key:"getPosition",value:function(i){return i.y}},{key:"setPosition",value:function(i,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;o!==void 0&&this.layout.hierarchical.addToOrdering(i,o),i.y=a}},{key:"getTreeSize",value:function(i){var a=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,i);return{min:a.min_y,max:a.max_y}}},{key:"sort",value:function(i){Qs(i).call(i,function(a,o){return a.y-o.y})}},{key:"fix",value:function(i,a){i.x=this.layout.options.hierarchical.levelSeparation*a,i.options.fixed.x=!0}},{key:"shift",value:function(i,a){this.layout.body.nodes[i].y+=a}}]),e}(VT),s9e=ke,l9e=Yi.every,u9e=bs,c9e=u9e("every");s9e({target:"Array",proto:!0,forced:!c9e},{every:function(r){return l9e(this,r,arguments.length>1?arguments[1]:void 0)}});var h9e=Kt,d9e=h9e("Array").every,f9e=It,v9e=d9e,Pv=Array.prototype,p9e=function(t){var r=t.every;return t===Pv||f9e(Pv,t)&&r===Pv.every?v9e:r},m9e=p9e,g9e=m9e,y9e=g9e,GT=ve(y9e);function b9e(t,r){var e=typeof Xi<"u"&&qa(t)||t["@@iterator"];if(!e){if(Je(t)||(e=w9e(t))||r){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function w9e(t,r){var e;if(t){if(typeof t=="string")return Dw(t,r);var n=Jt(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Wa(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dw(t,r)}}function Dw(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e=r[a])&&(r[a]=r[i]+1)}),r}function x9e(t){return KT(function(r){var e,n;return GT(e=kr(n=r.edges).call(n,function(i){return t.has(i.toId)})).call(e,function(i){return i.to===r})},function(r,e){return e>r},"from",t)}function k9e(t){return KT(function(r){var e,n;return GT(e=kr(n=r.edges).call(n,function(i){return t.has(i.toId)})).call(e,function(i){return i.from===r})},function(r,e){return eo)return{v:{v:$9e(n,a)}};++$},P;k=y.pop();)if(P=T(),P!==0&&P)return P.v},d;for(u.s();!(c=u.n()).done;)if(d=h(),d!==0&&d)return d.v}catch(f){u.e(f)}finally{u.f()}return a}var S9e=function(){function t(){re(this,t),this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}return ne(t,[{key:"addRelation",value:function(e,n){this.childrenReference[e]===void 0&&(this.childrenReference[e]=[]),this.childrenReference[e].push(n),this.parentReference[n]===void 0&&(this.parentReference[n]=[]),this.parentReference[n].push(e)}},{key:"checkIfTree",value:function(){for(var e in this.parentReference)if(this.parentReference[e].length>1){this.isTree=!1;return}this.isTree=!0}},{key:"numTrees",value:function(){return this.treeIndex+1}},{key:"setTreeIndex",value:function(e,n){n!==void 0&&this.trees[e.id]===void 0&&(this.trees[e.id]=n,this.treeIndex=Math.max(n,this.treeIndex))}},{key:"ensureLevel",value:function(e){this.levels[e]===void 0&&(this.levels[e]=0)}},{key:"getMaxLevel",value:function(e){var n=this,i={},a=function o(s){if(i[s]!==void 0)return i[s];var l=n.levels[s];if(n.childrenReference[s]){var u=n.childrenReference[s];if(u.length>0)for(var c=0;c0&&(i.levelSeparation*=-1):i.levelSeparation<0&&(i.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(n);if(a===!0)return this.body.emitter.emit("refresh"),st(n,this.optionsBackup)}return n}},{key:"_resetRNG",value:function(e){this.initialRandomSeed=e,this._rng=F0(this.initialRandomSeed)}},{key:"adaptAllOptionsForHierarchicalLayout",value:function(e){if(this.options.hierarchical.enabled===!0){var n=this.optionsBackup.physics;e.physics===void 0||e.physics===!0?(e.physics={enabled:n.enabled===void 0?!0:n.enabled,solver:"hierarchicalRepulsion"},n.enabled=n.enabled===void 0?!0:n.enabled,n.solver=n.solver||"barnesHut"):Qe(e.physics)==="object"?(n.enabled=e.physics.enabled===void 0?!0:e.physics.enabled,n.solver=e.physics.solver||"barnesHut",e.physics.solver="hierarchicalRepulsion"):e.physics!==!1&&(n.solver="barnesHut",e.physics={solver:"hierarchicalRepulsion"});var i=this.direction.curveType();if(e.edges===void 0)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},e.edges={smooth:!1};else if(e.edges.smooth===void 0)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},e.edges.smooth=!1;else if(typeof e.edges.smooth=="boolean")this.optionsBackup.edges={smooth:e.edges.smooth},e.edges.smooth={enabled:e.edges.smooth,type:i};else{var a=e.edges.smooth;a.type!==void 0&&a.type!=="dynamic"&&(i=a.type),this.optionsBackup.edges={smooth:{enabled:a.enabled===void 0?!0:a.enabled,type:a.type===void 0?"dynamic":a.type,roundness:a.roundness===void 0?.5:a.roundness,forceDirection:a.forceDirection===void 0?!1:a.forceDirection}},e.edges.smooth={enabled:a.enabled===void 0?!0:a.enabled,type:i,roundness:a.roundness===void 0?.5:a.roundness,forceDirection:a.forceDirection===void 0?!1:a.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",i)}return e}},{key:"positionInitially",value:function(e){if(this.options.hierarchical.enabled!==!0){this._resetRNG(this.initialRandomSeed);for(var n=e.length+50,i=0;il){for(var c=e.length;e.length>l&&s<=o;){s+=1;var h=e.length;s%3===0?this.body.modules.clustering.clusterBridges(u):this.body.modules.clustering.clusterOutliers(u);var d=e.length;if(h==d&&s%3!==0){this._declusterAll(),this.body.emitter.emit("_layoutFailed"),console.info("This network could not be positioned by this version of the improved layout algorithm. Please disable improvedLayout for better performance.");return}}this.body.modules.kamadaKawai.setOptions({springLength:Math.max(150,2*c)})}s>o&&console.info("The clustering didn't succeed within the amount of interations allowed, progressing with partial result."),this.body.modules.kamadaKawai.solve(e,this.body.edgeIndices,!0),this._shiftToCenter();for(var f=70,v=0;v0){var e,n,i=!1,a=!1;this.lastNodeOnLevel={},this.hierarchical=new S9e;for(n in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,n)&&(e=this.body.nodes[n],e.options.level!==void 0?(i=!0,this.hierarchical.levels[n]=e.options.level):a=!0);if(a===!0&&i===!0)throw new Error("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes.");if(a===!0){var o=this.options.hierarchical.sortMethod;o==="hubsize"?this._determineLevelsByHubsize():o==="directed"?this._determineLevelsDirected():o==="custom"&&this._determineLevelsCustomCallback()}for(var s in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,s)&&this.hierarchical.ensureLevel(s);var l=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(l),this._condenseHierarchy(),this._shiftToCenter()}}},{key:"_condenseHierarchy",value:function(){var e=this,n=!1,i={},a=function(){for(var k=s(),T=0,P=0;P0)for(var E=0;E1&&arguments[1]!==void 0?arguments[1]:1e9,P=1e9,E=1e9,D=1e9,B=-1e9;for(var R in k)if(Object.prototype.hasOwnProperty.call(k,R)){var A=e.body.nodes[R],z=e.hierarchical.levels[A.id],L=e.direction.getPosition(A),Z=e._getSpaceAroundNode(A,k),ie=bt(Z,2),oe=ie[0],me=ie[1];P=Math.min(oe,P),E=Math.min(me,E),z<=T&&(D=Math.min(L,D),B=Math.max(L,B))}return[D,B,P,E]},c=function(k,T){var P=e.hierarchical.getMaxLevel(k.id),E=e.hierarchical.getMaxLevel(T.id);return Math.min(P,E)},h=function(k,T,P){for(var E=e.hierarchical,D=0;D1)for(var A=0;A2&&arguments[2]!==void 0?arguments[2]:!1,E=e.direction.getPosition(k),D=e.direction.getPosition(T),B=Math.abs(D-E),R=e.options.hierarchical.nodeSpacing;if(B>R){var A={},z={};l(k,A),l(T,z);var L=c(k,T),Z=u(A,L),ie=u(z,L),oe=Z[1],me=ie[0],Oe=ie[2],ze=Math.abs(oe-me);if(ze>R){var He=oe-me+R;He<-Oe+R&&(He=-Oe+R),He<0&&(e._shiftBlock(T.id,He),n=!0,P===!0&&e._centerParent(T))}}},f=function(k,T){for(var P=T.id,E=T.edges,D=e.hierarchical.levels[T.id],B=e.options.hierarchical.levelSeparation*e.options.hierarchical.levelSeparation,R={},A=[],z=0;z0?Le=Math.min(We,Ae-e.options.hierarchical.nodeSpacing):We<0&&(Le=-Math.min(-We,Se-e.options.hierarchical.nodeSpacing)),Le!=0&&(e._shiftBlock(T.id,Le),n=!0)},ze=function(Me){var V=e.direction.getPosition(T),S=e._getSpaceAroundNode(T),pe=bt(S,2),Se=pe[0],Ae=pe[1],We=Me-V,Le=V;We>0?Le=Math.min(V+(Ae-e.options.hierarchical.nodeSpacing),Me):We<0&&(Le=Math.max(V-(Se-e.options.hierarchical.nodeSpacing),Me)),Le!==V&&(e.direction.setPosition(T,Le),n=!0)},He=me(k,A);Oe(He),He=me(k,E),ze(He)},v=function(k){var T=e.hierarchical.getLevels();T=ga(T).call(T);for(var P=0;P0&&Math.abs(v)0&&(c=this.direction.getPosition(a[s-1])+u),this.direction.setPosition(l,c,n),this._validatePositionAndContinue(l,n,c),o++}}}}},{key:"_placeBranchNodes",value:function(e,n){var i,a=this.hierarchical.childrenReference[e];if(a!==void 0){for(var o=[],s=0;sn&&this.positionedNodes[u.id]===void 0){var h=this.options.hierarchical.nodeSpacing,d=void 0;l===0?d=this.direction.getPosition(this.body.nodes[e]):d=this.direction.getPosition(o[l-1])+h,this.direction.setPosition(u,d,c),this._validatePositionAndContinue(u,c,d)}else return}var f=this._getCenterPosition(o);this.direction.setPosition(this.body.nodes[e],f,n)}}},{key:"_validatePositionAndContinue",value:function(e,n,i){if(this.hierarchical.isTree){if(this.lastNodeOnLevel[n]!==void 0){var a=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[n]]);if(i-ae.hierarchical.levels[a.id]&&e.hierarchical.addRelation(a.id,o.id)};this._crawlNetwork(n),this.hierarchical.checkIfTree()}},{key:"_crawlNetwork",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},i=arguments.length>1?arguments[1]:void 0,a={},o=function d(f,v){if(a[f.id]===void 0){e.hierarchical.setTreeIndex(f,v),a[f.id]=!0;for(var g,b=e._getActiveEdges(f),y=0;y=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function _9e(t,r){var e;if(t){if(typeof t=="string")return Nw(t,r);var n=Jt(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Wa(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nw(t,r)}}function Nw(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e0&&this.options.deleteNode!==!1?(l===!0&&this._createSeperator(4),this._createDeleteButton(s)):i===0&&this.options.deleteEdge!==!1&&(l===!0&&this._createSeperator(4),this._createDeleteButton(s))),this._bindElementEvents(this.closeDiv,J(e=this.toggleEditMode).call(e,this)),this._temporaryBindEvent("select",J(n=this.showManipulatorToolbar).call(n,this))}this.body.emitter.emit("_redraw")}},{key:"addNodeMode",value:function(){var e;if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="addNode",this.guiEnabled===!0){var n,i=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(i),this._createSeperator(),this._createDescription(i.addDescription||this.options.locales.en.addDescription),this._bindElementEvents(this.closeDiv,J(n=this.toggleEditMode).call(n,this))}this._temporaryBindEvent("click",J(e=this._performAddNode).call(e,this))}},{key:"editNode",value:function(){var e=this;this.editMode!==!0&&this.enableEditMode(),this._clean();var n=this.selectionHandler.getSelectedNodes()[0];if(n!==void 0)if(this.inMode="editNode",typeof this.options.editNode=="function")if(n.isCluster!==!0){var i=st({},n.options,!1);if(i.x=n.x,i.y=n.y,this.options.editNode.length===2)this.options.editNode(i,function(a){a!=null&&e.inMode==="editNode"&&e.body.data.nodes.getDataSet().update(a),e.showManipulatorToolbar()});else throw new Error("The function for edit does not support two arguments (data, callback)")}else alert(this.options.locales[this.options.locale].editClusterError||this.options.locales.en.editClusterError);else throw new Error("No function has been configured to handle the editing of nodes.");else this.showManipulatorToolbar()}},{key:"addEdgeMode",value:function(){var e,n,i,a,o;if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="addEdge",this.guiEnabled===!0){var s,l=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(l),this._createSeperator(),this._createDescription(l.edgeDescription||this.options.locales.en.edgeDescription),this._bindElementEvents(this.closeDiv,J(s=this.toggleEditMode).call(s,this))}this._temporaryBindUI("onTouch",J(e=this._handleConnect).call(e,this)),this._temporaryBindUI("onDragEnd",J(n=this._finishConnect).call(n,this)),this._temporaryBindUI("onDrag",J(i=this._dragControlNode).call(i,this)),this._temporaryBindUI("onRelease",J(a=this._finishConnect).call(a,this)),this._temporaryBindUI("onDragStart",J(o=this._dragStartEdge).call(o,this)),this._temporaryBindUI("onHold",function(){})}},{key:"editEdgeMode",value:function(){if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="editEdge",Qe(this.options.editEdge)==="object"&&typeof this.options.editEdge.editWithoutDrag=="function"&&(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],this.edgeBeingEditedId!==void 0)){var e=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(e.from.id,e.to.id);return}if(this.guiEnabled===!0){var n,i=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(i),this._createSeperator(),this._createDescription(i.editEdgeDescription||this.options.locales.en.editEdgeDescription),this._bindElementEvents(this.closeDiv,J(n=this.toggleEditMode).call(n,this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],this.edgeBeingEditedId!==void 0){var a,o,s,l,u=this.body.edges[this.edgeBeingEditedId],c=this._getNewTargetNode(u.from.x,u.from.y),h=this._getNewTargetNode(u.to.x,u.to.y);this.temporaryIds.nodes.push(c.id),this.temporaryIds.nodes.push(h.id),this.body.nodes[c.id]=c,this.body.nodeIndices.push(c.id),this.body.nodes[h.id]=h,this.body.nodeIndices.push(h.id),this._temporaryBindUI("onTouch",J(a=this._controlNodeTouch).call(a,this)),this._temporaryBindUI("onTap",function(){}),this._temporaryBindUI("onHold",function(){}),this._temporaryBindUI("onDragStart",J(o=this._controlNodeDragStart).call(o,this)),this._temporaryBindUI("onDrag",J(s=this._controlNodeDrag).call(s,this)),this._temporaryBindUI("onDragEnd",J(l=this._controlNodeDragEnd).call(l,this)),this._temporaryBindUI("onMouseMove",function(){}),this._temporaryBindEvent("beforeDrawing",function(d){var f=u.edgeType.findBorderPositions(d);c.selected===!1&&(c.x=f.from.x,c.y=f.from.y),h.selected===!1&&(h.x=f.to.x,h.y=f.to.y)}),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}},{key:"deleteSelected",value:function(){var e=this;this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="delete";var n=this.selectionHandler.getSelectedNodeIds(),i=this.selectionHandler.getSelectedEdgeIds(),a=void 0;if(n.length>0){for(var o=0;o0&&typeof this.options.deleteEdge=="function"&&(a=this.options.deleteEdge);if(typeof a=="function"){var s={nodes:n,edges:i};if(a.length===2)a(s,function(l){l!=null&&e.inMode==="delete"?(e.body.data.edges.getDataSet().remove(l.edges),e.body.data.nodes.getDataSet().remove(l.nodes),e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar()):(e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar())});else throw new Error("The function for delete does not support two arguments (data, callback)")}else this.body.data.edges.getDataSet().remove(i),this.body.data.nodes.getDataSet().remove(n),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}},{key:"_setup",value:function(){this.options.enabled===!0?(this.guiEnabled=!0,this._createWrappers(),this.editMode===!1?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}},{key:"_createWrappers",value:function(){if(this.manipulationDiv===void 0&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",this.editMode===!0?this.manipulationDiv.style.display="block":this.manipulationDiv.style.display="none",this.canvas.frame.appendChild(this.manipulationDiv)),this.editModeDiv===void 0&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",this.editMode===!0?this.editModeDiv.style.display="none":this.editModeDiv.style.display="block",this.canvas.frame.appendChild(this.editModeDiv)),this.closeDiv===void 0){var e,n;this.closeDiv=document.createElement("button"),this.closeDiv.className="vis-close",this.closeDiv.setAttribute("aria-label",(e=(n=this.options.locales[this.options.locale])===null||n===void 0?void 0:n.close)!==null&&e!==void 0?e:this.options.locales.en.close),this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv)}}},{key:"_getNewTargetNode",value:function(e,n){var i=st({},this.options.controlNodeStyle);i.id="targetNode"+Js(),i.hidden=!1,i.physics=!1,i.x=e,i.y=n;var a=this.body.functions.createNode(i);return a.shape.boundingBox={left:e,right:e,top:n,bottom:n},a}},{key:"_createEditButton",value:function(){var e;this._clean(),this.manipulationDOM={},$i(this.editModeDiv);var n=this.options.locales[this.options.locale],i=this._createButton("editMode","vis-edit vis-edit-mode",n.edit||this.options.locales.en.edit);this.editModeDiv.appendChild(i),this._bindElementEvents(i,J(e=this.toggleEditMode).call(e,this))}},{key:"_clean",value:function(){this.inMode=!1,this.guiEnabled===!0&&($i(this.editModeDiv),$i(this.manipulationDiv),this._cleanupDOMEventListeners()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}},{key:"_cleanupDOMEventListeners",value:function(){var e,n=T9e(Zn(e=this._domEventListenerCleanupQueue).call(e,0)),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;a()}}catch(o){n.e(o)}finally{n.f()}}},{key:"_removeManipulationDOM",value:function(){this._clean(),$i(this.manipulationDiv),$i(this.editModeDiv),$i(this.closeDiv),this.manipulationDiv&&this.canvas.frame.removeChild(this.manipulationDiv),this.editModeDiv&&this.canvas.frame.removeChild(this.editModeDiv),this.closeDiv&&this.canvas.frame.removeChild(this.closeDiv),this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0}},{key:"_createSeperator",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;this.manipulationDOM["seperatorLineDiv"+e]=document.createElement("div"),this.manipulationDOM["seperatorLineDiv"+e].className="vis-separator-line",this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv"+e])}},{key:"_createAddNodeButton",value:function(e){var n,i=this._createButton("addNode","vis-add",e.addNode||this.options.locales.en.addNode);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,J(n=this.addNodeMode).call(n,this))}},{key:"_createAddEdgeButton",value:function(e){var n,i=this._createButton("addEdge","vis-connect",e.addEdge||this.options.locales.en.addEdge);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,J(n=this.addEdgeMode).call(n,this))}},{key:"_createEditNodeButton",value:function(e){var n,i=this._createButton("editNode","vis-edit",e.editNode||this.options.locales.en.editNode);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,J(n=this.editNode).call(n,this))}},{key:"_createEditEdgeButton",value:function(e){var n,i=this._createButton("editEdge","vis-edit",e.editEdge||this.options.locales.en.editEdge);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,J(n=this.editEdgeMode).call(n,this))}},{key:"_createDeleteButton",value:function(e){var n,i;this.options.rtl?i="vis-delete-rtl":i="vis-delete";var a=this._createButton("delete",i,e.del||this.options.locales.en.del);this.manipulationDiv.appendChild(a),this._bindElementEvents(a,J(n=this.deleteSelected).call(n,this))}},{key:"_createBackButton",value:function(e){var n,i=this._createButton("back","vis-back",e.back||this.options.locales.en.back);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,J(n=this.showManipulatorToolbar).call(n,this))}},{key:"_createButton",value:function(e,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"vis-label";return this.manipulationDOM[e+"Div"]=document.createElement("button"),this.manipulationDOM[e+"Div"].className="vis-button "+n,this.manipulationDOM[e+"Label"]=document.createElement("div"),this.manipulationDOM[e+"Label"].className=a,this.manipulationDOM[e+"Label"].innerText=i,this.manipulationDOM[e+"Div"].appendChild(this.manipulationDOM[e+"Label"]),this.manipulationDOM[e+"Div"]}},{key:"_createDescription",value:function(e){this.manipulationDOM.descriptionLabel=document.createElement("div"),this.manipulationDOM.descriptionLabel.className="vis-none",this.manipulationDOM.descriptionLabel.innerText=e,this.manipulationDiv.appendChild(this.manipulationDOM.descriptionLabel)}},{key:"_temporaryBindEvent",value:function(e,n){this.temporaryEventFunctions.push({event:e,boundFunction:n}),this.body.emitter.on(e,n)}},{key:"_temporaryBindUI",value:function(e,n){if(this.body.eventListeners[e]!==void 0)this.temporaryUIFunctions[e]=this.body.eventListeners[e],this.body.eventListeners[e]=n;else throw new Error("This UI function does not exist. Typo? You tried: "+e+" possible are: "+fu(yt(this.body.eventListeners)))}},{key:"_unbindTemporaryUIs",value:function(){for(var e in this.temporaryUIFunctions)Object.prototype.hasOwnProperty.call(this.temporaryUIFunctions,e)&&(this.body.eventListeners[e]=this.temporaryUIFunctions[e],delete this.temporaryUIFunctions[e]);this.temporaryUIFunctions={}}},{key:"_unbindTemporaryEvents",value:function(){for(var e=0;e=0;l--)if(o[l]!==this.selectedControlNode.id){s=this.body.nodes[o[l]];break}if(s!==void 0&&this.selectedControlNode!==void 0)if(s.isCluster===!0)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var u=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===u.id?this._performEditEdge(s.id,a.to.id):this._performEditEdge(a.from.id,s.id)}else a.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}}},{key:"_handleConnect",value:function(e){if(new Date().valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(e.center),this.lastTouch.translation=At({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;var n=this.lastTouch,i=this.selectionHandler.getNodeAt(n);if(i!==void 0)if(i.isCluster===!0)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var a=this._getNewTargetNode(i.x,i.y);this.body.nodes[a.id]=a,this.body.nodeIndices.push(a.id);var o=this.body.functions.createEdge({id:"connectionEdge"+Js(),from:i.id,to:a.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[o.id]=o,this.body.edgeIndices.push(o.id),this.temporaryIds.nodes.push(a.id),this.temporaryIds.edges.push(o.id)}this.touchTime=new Date().valueOf()}}},{key:"_dragControlNode",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),a=void 0;this.temporaryIds.edges[0]!==void 0&&(a=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var o=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=o.length-1;l>=0;l--){var u;if(Ue(u=this.temporaryIds.nodes).call(u,o[l])===-1){s=this.body.nodes[o[l]];break}}if(e.controlEdge={from:a,to:s?s.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragging",e,n),this.temporaryIds.nodes[0]!==void 0){var c=this.body.nodes[this.temporaryIds.nodes[0]];c.x=this.canvas._XconvertDOMtoCanvas(n.x),c.y=this.canvas._YconvertDOMtoCanvas(n.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(e)}},{key:"_finishConnect",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),a=void 0;this.temporaryIds.edges[0]!==void 0&&(a=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var o=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=o.length-1;l>=0;l--){var u;if(Ue(u=this.temporaryIds.nodes).call(u,o[l])===-1){s=this.body.nodes[o[l]];break}}this._cleanupTemporaryNodesAndEdges(),s!==void 0&&(s.isCluster===!0?alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError):this.body.nodes[a]!==void 0&&this.body.nodes[s.id]!==void 0&&this._performAddEdge(a,s.id)),e.controlEdge={from:a,to:s?s.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragEnd",e,n),this.body.emitter.emit("_redraw")}},{key:"_dragStartEdge",value:function(e){var n=this.lastTouch;this.selectionHandler.generateClickEvent("dragStart",e,n,void 0,!0)}},{key:"_performAddNode",value:function(e){var n=this,i={id:Js(),x:e.pointer.canvas.x,y:e.pointer.canvas.y,label:"new"};if(typeof this.options.addNode=="function")if(this.options.addNode.length===2)this.options.addNode(i,function(a){a!=null&&n.inMode==="addNode"&&n.body.data.nodes.getDataSet().add(a),n.showManipulatorToolbar()});else throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");else this.body.data.nodes.getDataSet().add(i),this.showManipulatorToolbar()}},{key:"_performAddEdge",value:function(e,n){var i=this,a={from:e,to:n};if(typeof this.options.addEdge=="function")if(this.options.addEdge.length===2)this.options.addEdge(a,function(o){o!=null&&i.inMode==="addEdge"&&(i.body.data.edges.getDataSet().add(o),i.selectionHandler.unselectAll(),i.showManipulatorToolbar())});else throw new Error("The function for connect does not support two arguments (data,callback)");else this.body.data.edges.getDataSet().add(a),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}},{key:"_performEditEdge",value:function(e,n){var i=this,a={id:this.edgeBeingEditedId,from:e,to:n,label:this.body.data.edges.get(this.edgeBeingEditedId).label},o=this.options.editEdge;if(Qe(o)==="object"&&(o=o.editWithoutDrag),typeof o=="function")if(o.length===2)o(a,function(s){s==null||i.inMode!=="editEdge"?(i.body.edges[a.id].updateEdgeType(),i.body.emitter.emit("_redraw"),i.showManipulatorToolbar()):(i.body.data.edges.getDataSet().update(s),i.selectionHandler.unselectAll(),i.showManipulatorToolbar())});else throw new Error("The function for edit does not support two arguments (data, callback)");else this.body.data.edges.getDataSet().update(a),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}]),t}(),ee="string",K="boolean",F="number",zs="array",de="object",YT="dom",I9e="any",Av=["arrow","bar","box","circle","crow","curve","diamond","image","inv_curve","inv_triangle","triangle","vee"],Mv={borderWidth:{number:F},borderWidthSelected:{number:F,undefined:"undefined"},brokenImage:{string:ee,undefined:"undefined"},chosen:{label:{boolean:K,function:"function"},node:{boolean:K,function:"function"},__type__:{object:de,boolean:K}},color:{border:{string:ee},background:{string:ee},highlight:{border:{string:ee},background:{string:ee},__type__:{object:de,string:ee}},hover:{border:{string:ee},background:{string:ee},__type__:{object:de,string:ee}},__type__:{object:de,string:ee}},opacity:{number:F,undefined:"undefined"},fixed:{x:{boolean:K},y:{boolean:K},__type__:{object:de,boolean:K}},font:{align:{string:ee},color:{string:ee},size:{number:F},face:{string:ee},background:{string:ee},strokeWidth:{number:F},strokeColor:{string:ee},vadjust:{number:F},multi:{boolean:K,string:ee},bold:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},boldital:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},ital:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},mono:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},__type__:{object:de,string:ee}},group:{string:ee,number:F,undefined:"undefined"},heightConstraint:{minimum:{number:F},valign:{string:ee},__type__:{object:de,boolean:K,number:F}},hidden:{boolean:K},icon:{face:{string:ee},code:{string:ee},size:{number:F},color:{string:ee},weight:{string:ee,number:F},__type__:{object:de}},id:{string:ee,number:F},image:{selected:{string:ee,undefined:"undefined"},unselected:{string:ee,undefined:"undefined"},__type__:{object:de,string:ee}},imagePadding:{top:{number:F},right:{number:F},bottom:{number:F},left:{number:F},__type__:{object:de,number:F}},label:{string:ee,undefined:"undefined"},labelHighlightBold:{boolean:K},level:{number:F,undefined:"undefined"},margin:{top:{number:F},right:{number:F},bottom:{number:F},left:{number:F},__type__:{object:de,number:F}},mass:{number:F},physics:{boolean:K},scaling:{min:{number:F},max:{number:F},label:{enabled:{boolean:K},min:{number:F},max:{number:F},maxVisible:{number:F},drawThreshold:{number:F},__type__:{object:de,boolean:K}},customScalingFunction:{function:"function"},__type__:{object:de}},shadow:{enabled:{boolean:K},color:{string:ee},size:{number:F},x:{number:F},y:{number:F},__type__:{object:de,boolean:K}},shape:{string:["custom","ellipse","circle","database","box","text","image","circularImage","diamond","dot","star","triangle","triangleDown","square","icon","hexagon"]},ctxRenderer:{function:"function"},shapeProperties:{borderDashes:{boolean:K,array:zs},borderRadius:{number:F},interpolation:{boolean:K},useImageSize:{boolean:K},useBorderWithImage:{boolean:K},coordinateOrigin:{string:["center","top-left"]},__type__:{object:de}},size:{number:F},title:{string:ee,dom:YT,undefined:"undefined"},value:{number:F,undefined:"undefined"},widthConstraint:{minimum:{number:F},maximum:{number:F},__type__:{object:de,boolean:K,number:F}},x:{number:F},y:{number:F},__type__:{object:de}},C9e={configure:{enabled:{boolean:K},filter:{boolean:K,string:ee,array:zs,function:"function"},container:{dom:YT},showButton:{boolean:K},__type__:{object:de,boolean:K,string:ee,array:zs,function:"function"}},edges:{arrows:{to:{enabled:{boolean:K},scaleFactor:{number:F},type:{string:Av},imageHeight:{number:F},imageWidth:{number:F},src:{string:ee},__type__:{object:de,boolean:K}},middle:{enabled:{boolean:K},scaleFactor:{number:F},type:{string:Av},imageWidth:{number:F},imageHeight:{number:F},src:{string:ee},__type__:{object:de,boolean:K}},from:{enabled:{boolean:K},scaleFactor:{number:F},type:{string:Av},imageWidth:{number:F},imageHeight:{number:F},src:{string:ee},__type__:{object:de,boolean:K}},__type__:{string:["from","to","middle"],object:de}},endPointOffset:{from:{number:F},to:{number:F},__type__:{object:de,number:F}},arrowStrikethrough:{boolean:K},background:{enabled:{boolean:K},color:{string:ee},size:{number:F},dashes:{boolean:K,array:zs},__type__:{object:de,boolean:K}},chosen:{label:{boolean:K,function:"function"},edge:{boolean:K,function:"function"},__type__:{object:de,boolean:K}},color:{color:{string:ee},highlight:{string:ee},hover:{string:ee},inherit:{string:["from","to","both"],boolean:K},opacity:{number:F},__type__:{object:de,string:ee}},dashes:{boolean:K,array:zs},font:{color:{string:ee},size:{number:F},face:{string:ee},background:{string:ee},strokeWidth:{number:F},strokeColor:{string:ee},align:{string:["horizontal","top","middle","bottom"]},vadjust:{number:F},multi:{boolean:K,string:ee},bold:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},boldital:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},ital:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},mono:{color:{string:ee},size:{number:F},face:{string:ee},mod:{string:ee},vadjust:{number:F},__type__:{object:de,string:ee}},__type__:{object:de,string:ee}},hidden:{boolean:K},hoverWidth:{function:"function",number:F},label:{string:ee,undefined:"undefined"},labelHighlightBold:{boolean:K},length:{number:F,undefined:"undefined"},physics:{boolean:K},scaling:{min:{number:F},max:{number:F},label:{enabled:{boolean:K},min:{number:F},max:{number:F},maxVisible:{number:F},drawThreshold:{number:F},__type__:{object:de,boolean:K}},customScalingFunction:{function:"function"},__type__:{object:de}},selectionWidth:{function:"function",number:F},selfReferenceSize:{number:F},selfReference:{size:{number:F},angle:{number:F},renderBehindTheNode:{boolean:K},__type__:{object:de}},shadow:{enabled:{boolean:K},color:{string:ee},size:{number:F},x:{number:F},y:{number:F},__type__:{object:de,boolean:K}},smooth:{enabled:{boolean:K},type:{string:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"]},roundness:{number:F},forceDirection:{string:["horizontal","vertical","none"],boolean:K},__type__:{object:de,boolean:K}},title:{string:ee,undefined:"undefined"},width:{number:F},widthConstraint:{maximum:{number:F},__type__:{object:de,boolean:K,number:F}},value:{number:F,undefined:"undefined"},__type__:{object:de}},groups:{useDefaultGroups:{boolean:K},__any__:Mv,__type__:{object:de}},interaction:{dragNodes:{boolean:K},dragView:{boolean:K},hideEdgesOnDrag:{boolean:K},hideEdgesOnZoom:{boolean:K},hideNodesOnDrag:{boolean:K},hover:{boolean:K},keyboard:{enabled:{boolean:K},speed:{x:{number:F},y:{number:F},zoom:{number:F},__type__:{object:de}},bindToWindow:{boolean:K},autoFocus:{boolean:K},__type__:{object:de,boolean:K}},multiselect:{boolean:K},navigationButtons:{boolean:K},selectable:{boolean:K},selectConnectedEdges:{boolean:K},hoverConnectedEdges:{boolean:K},tooltipDelay:{number:F},zoomView:{boolean:K},zoomSpeed:{number:F},__type__:{object:de}},layout:{randomSeed:{undefined:"undefined",number:F,string:ee},improvedLayout:{boolean:K},clusterThreshold:{number:F},hierarchical:{enabled:{boolean:K},levelSeparation:{number:F},nodeSpacing:{number:F},treeSpacing:{number:F},blockShifting:{boolean:K},edgeMinimization:{boolean:K},parentCentralization:{boolean:K},direction:{string:["UD","DU","LR","RL"]},sortMethod:{string:["hubsize","directed"]},shakeTowards:{string:["leaves","roots"]},__type__:{object:de,boolean:K}},__type__:{object:de}},manipulation:{enabled:{boolean:K},initiallyActive:{boolean:K},addNode:{boolean:K,function:"function"},addEdge:{boolean:K,function:"function"},editNode:{function:"function"},editEdge:{editWithoutDrag:{function:"function"},__type__:{object:de,boolean:K,function:"function"}},deleteNode:{boolean:K,function:"function"},deleteEdge:{boolean:K,function:"function"},controlNodeStyle:Mv,__type__:{object:de,boolean:K}},nodes:Mv,physics:{enabled:{boolean:K},barnesHut:{theta:{number:F},gravitationalConstant:{number:F},centralGravity:{number:F},springLength:{number:F},springConstant:{number:F},damping:{number:F},avoidOverlap:{number:F},__type__:{object:de}},forceAtlas2Based:{theta:{number:F},gravitationalConstant:{number:F},centralGravity:{number:F},springLength:{number:F},springConstant:{number:F},damping:{number:F},avoidOverlap:{number:F},__type__:{object:de}},repulsion:{centralGravity:{number:F},springLength:{number:F},springConstant:{number:F},nodeDistance:{number:F},damping:{number:F},__type__:{object:de}},hierarchicalRepulsion:{centralGravity:{number:F},springLength:{number:F},springConstant:{number:F},nodeDistance:{number:F},damping:{number:F},avoidOverlap:{number:F},__type__:{object:de}},maxVelocity:{number:F},minVelocity:{number:F},solver:{string:["barnesHut","repulsion","hierarchicalRepulsion","forceAtlas2Based"]},stabilization:{enabled:{boolean:K},iterations:{number:F},updateInterval:{number:F},onlyDynamicEdges:{boolean:K},fit:{boolean:K},__type__:{object:de,boolean:K}},timestep:{number:F},adaptiveTimestep:{boolean:K},wind:{x:{number:F},y:{number:F},__type__:{object:de}},__type__:{object:de,boolean:K}},autoResize:{boolean:K},clickToUse:{boolean:K},locale:{string:ee},locales:{__any__:{any:I9e},__type__:{object:de}},height:{string:ee},width:{string:ee},__type__:{object:de}},XT={nodes:{borderWidth:[1,0,10,1],borderWidthSelected:[2,0,10,1],color:{border:["color","#2B7CE9"],background:["color","#97C2FC"],highlight:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]},hover:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]}},opacity:[0,0,1,.1],fixed:{x:!1,y:!1},font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[0,0,50,1],strokeColor:["color","#ffffff"]},hidden:!1,labelHighlightBold:!0,physics:!0,scaling:{min:[10,0,200,1],max:[30,0,200,1],label:{enabled:!1,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},shape:["ellipse","box","circle","database","diamond","dot","square","star","text","triangle","triangleDown","hexagon"],shapeProperties:{borderDashes:!1,borderRadius:[6,0,20,1],interpolation:!0,useImageSize:!1},size:[25,0,200,1]},edges:{arrows:{to:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},middle:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},from:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"}},endPointOffset:{from:[0,-10,10,1],to:[0,-10,10,1]},arrowStrikethrough:!0,color:{color:["color","#848484"],highlight:["color","#848484"],hover:["color","#848484"],inherit:["from","to","both",!0,!1],opacity:[1,0,1,.05]},dashes:!1,font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[2,0,50,1],strokeColor:["color","#ffffff"],align:["horizontal","top","middle","bottom"]},hidden:!1,hoverWidth:[1.5,0,5,.1],labelHighlightBold:!0,physics:!0,scaling:{min:[1,0,100,1],max:[15,0,100,1],label:{enabled:!0,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},selectionWidth:[1.5,0,5,.1],selfReferenceSize:[20,0,200,1],selfReference:{size:[20,0,200,1],angle:[Math.PI/2,-6*Math.PI,6*Math.PI,Math.PI/8],renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},smooth:{enabled:!0,type:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"],forceDirection:["horizontal","vertical","none"],roundness:[.5,0,1,.05]},width:[1,0,30,1]},layout:{hierarchical:{enabled:!1,levelSeparation:[150,20,500,5],nodeSpacing:[100,20,500,5],treeSpacing:[200,20,500,5],blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:["UD","DU","LR","RL"],sortMethod:["hubsize","directed"],shakeTowards:["leaves","roots"]}},interaction:{dragNodes:!0,dragView:!0,hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1,hover:!1,keyboard:{enabled:!1,speed:{x:[10,0,40,1],y:[10,0,40,1],zoom:[.02,0,.1,.005]},bindToWindow:!0,autoFocus:!0},multiselect:!1,navigationButtons:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0,tooltipDelay:[300,0,1e3,25],zoomView:!0,zoomSpeed:[1,.1,2,.1]},manipulation:{enabled:!1,initiallyActive:!1},physics:{enabled:!0,barnesHut:{theta:[.5,.1,1,.05],gravitationalConstant:[-2e3,-3e4,0,50],centralGravity:[.3,0,10,.05],springLength:[95,0,500,5],springConstant:[.04,0,1.2,.005],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},forceAtlas2Based:{theta:[.5,.1,1,.05],gravitationalConstant:[-50,-500,0,1],centralGravity:[.01,0,1,.005],springLength:[95,0,500,5],springConstant:[.08,0,1.2,.005],damping:[.4,0,1,.01],avoidOverlap:[0,0,1,.01]},repulsion:{centralGravity:[.2,0,10,.05],springLength:[200,0,500,5],springConstant:[.05,0,1.2,.005],nodeDistance:[100,0,500,5],damping:[.09,0,1,.01]},hierarchicalRepulsion:{centralGravity:[.2,0,10,.05],springLength:[100,0,500,5],springConstant:[.01,0,1.2,.005],nodeDistance:[120,0,500,5],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},maxVelocity:[50,0,150,1],minVelocity:[.1,.01,.5,.01],solver:["barnesHut","forceAtlas2Based","repulsion","hierarchicalRepulsion"],timestep:[.5,.01,1,.01],wind:{x:[0,-10,10,.1],y:[0,-10,10,.1]}}},P9e=function(r,e,n){var i;return!!(Ai(r).call(r,"physics")&&Ai(i=XT.physics.solver).call(i,e)&&n.physics.solver!==e&&e!=="wind")},A9e=function(){function t(){re(this,t)}return ne(t,[{key:"getDistances",value:function(e,n,i){for(var a={},o=e.edges,s=0;s2&&arguments[2]!==void 0?arguments[2]:!1,a=this.distanceSolver.getDistances(this.body,e,n);this._createL_matrix(a),this._createK_matrix(a),this._createE_matrix();for(var o=.01,s=1,l=0,u=Math.max(1e3,Math.min(10*this.body.nodeIndices.length,6e3)),c=5,h=1e9,d=0,f=0,v=0,g=0,b=0;h>o&&ls&&bb.type==="downstream_subgraph_search"))==null?void 0:g.data)||[],c=b=>{const y=b.json.nodes.map(k=>({id:k.id,label:k.type,color:{background:"#2B7CE9",border:"#1B5BB1"},font:{size:16,color:"#FFFFFF",face:"arial",bold:!0},margin:12,padding:10,shape:"box",widthConstraint:{minimum:100,maximum:200}})),$=b.json.links.map(k=>({from:k.origin_id,to:k.target_id,arrows:{to:{enabled:!0,scaleFactor:1.2}},color:"#FFFFFF",width:2}));return{nodes:y,edges:$}};qe.useEffect(()=>()=>{l.current&&(l.current.destroy(),l.current=null)},[]);const h=qe.useCallback((b,y)=>{l.current&&l.current.destroy();const $=c(y),k=new ce(b,$,{nodes:{shape:"box",margin:12,padding:10,font:{size:16,color:"#FFFFFF",face:"arial",bold:!0},borderWidth:2,shadow:{enabled:!0,color:"rgba(0,0,0,0.2)",size:5}},edges:{arrows:"to",color:"#FFFFFF",width:2,smooth:{enabled:!0,type:"straightCross"}},physics:{enabled:!0,solver:"hierarchicalRepulsion",hierarchicalRepulsion:{nodeDistance:200,springLength:200}},layout:{hierarchical:{enabled:!0,direction:"UD",sortMethod:"directed",nodeSpacing:200,levelSeparation:150}},interaction:{dragNodes:!1,zoomView:!1,dragView:!1}});l.current=k},[]),d=async b=>{console.log("[DownstreamSubgraphs] Starting checkAndLoadSubgraph with node:",b);const y=b.json.nodes,$=Object.values(Ft.canvas.selected_nodes)[0];if(!$){console.warn("[DownstreamSubgraphs] No node selected"),alert("Please select a upstream node first before adding a subgraph.");return}const k=y.map(E=>E.type),T=n;console.log("[DownstreamSubgraphs] Required node types:",k),console.log("[DownstreamSubgraphs] Installed node types:",T);const P=k.filter(E=>!T.includes(E));if(console.log("[DownstreamSubgraphs] Missing node types:",P),P.length>0)try{console.log("[DownstreamSubgraphs] Fetching info for missing nodes");const E=await _i.batchGetNodeInfo(P);console.log("[DownstreamSubgraphs] Received node infos:",E);const D={text:"",ext:[{type:"node_install_guide",data:E.map(R=>({name:R.name,repository_url:R.github_url}))}]};console.log("[DownstreamSubgraphs] Created message content:",D);const B={id:br(),role:"ai",content:JSON.stringify(D),format:"markdown",name:"Assistant",metadata:{pendingSubgraph:b}};console.log("[DownstreamSubgraphs] Created AI message:",B),i==null||i(B);return}catch(E){console.error("[DownstreamSubgraphs] Error fetching node info:",E),alert("Error checking required nodes. Please try again.");return}console.log("[DownstreamSubgraphs] All required nodes are installed, proceeding to load subgraph"),f(b,$)},f=(b,y)=>{const $=b.json.nodes,k=b.json.links,T=$.find(D=>D.id===0),P=T==null?void 0:T.id;console.log("[DownstreamSubgraphs] Entry node ID:",P);const E={};P!==null&&(E[P]=y),Ft.canvas.emitBeforeChange();try{for(const D of $)if(D.id!==P){const B=T==null?void 0:T.pos,R=[y._pos[0],y._pos[1]],A=[D.pos[0]+R[0]-B[0],D.pos[1]+R[1]-B[1]];E[D.id]=zh(D.type,{pos:A})}for(const D of k){const B=E[D.origin_id],R=E[D.target_id];B&&R&&B.connect(D.origin_slot,R,D.target_slot)}}finally{Ft.canvas.emitAfterChange()}};return I.jsx("div",{className:"rounded-lg bg-green-50 p-3 text-gray-700 text-xs break-words overflow-visible",children:u.length>0&&I.jsx("div",{className:"space-y-3",children:I.jsx("div",{className:"flex flex-wrap gap-2",children:u.map(b=>I.jsxs("div",{className:"relative group",children:[I.jsx("button",{className:`px-3 py-1.5 bg-blue-500 text-white rounded-md + hover:bg-blue-600 transition-colors text-xs`,onClick:()=>d(b),onMouseEnter:()=>s(b.name),onMouseLeave:()=>s(null),children:b.name}),I.jsxs("p",{className:"text-xs ml-3 text-gray-500",children:["[",b.tags.join(", "),"]"]}),o===b.name&&I.jsx("div",{className:`fixed transform -translate-y-full + z-[9999] w-[500px] p-4 bg-gray-800 text-white text-xs + rounded-md shadow-lg mb-2 border border-gray-700`,style:{left:"calc(var(--mouse-x, 0) + 16px)",top:"calc(var(--mouse-y, 0) - 8px)"},children:I.jsx("div",{style:{width:"100%",height:"300px"},ref:y=>{y&&h(y,b)}})})]},b.name))})})})}function N9e({content:t,onLoadSubgraph:r}){var i,a;const n=((a=(i=JSON.parse(t).ext)==null?void 0:i.find(o=>o.type==="node_install_guide"))==null?void 0:a.data)||[];return I.jsxs("div",{children:[I.jsx("p",{children:"在加载graph到画布前,以下节点有待安装,请跳转到对应的github安装节点:"}),I.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:n.map((o,s)=>I.jsx("div",{className:`w-full p-3 bg-white rounded-lg border border-gray-200 + hover:shadow-sm transition-all duration-200`,children:I.jsxs("div",{className:"flex flex-col",children:[I.jsx("h3",{className:"text-[12px] font-medium text-gray-800 mb-4",children:o.name}),I.jsx("div",{className:"flex justify-end",children:o.repository_url?I.jsxs("a",{href:o.repository_url,target:"_blank",rel:"noopener noreferrer",className:`px-2 py-1 bg-white text-gray-900 rounded-md + border border-gray-900 hover:bg-gray-100 + transition-colors text-[10px] flex items-center gap-1`,children:[I.jsx("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})}),"Download"]}):I.jsxs("a",{href:`https://www.google.com/search?q=${encodeURIComponent(o.name+" comfyui custom node")}`,target:"_blank",rel:"noopener noreferrer",className:`px-2 py-1 bg-gray-100 text-gray-500 rounded-md + border border-gray-300 text-[10px] flex items-center gap-1`,children:[I.jsx("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:I.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 21h7a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v11m0 5l4.879-4.879m0 0a3 3 0 104.243-4.242 3 3 0 00-4.243 4.242z"})}),"Search on Google"]})})]})},s))}),I.jsx("p",{className:"mt-4"}),I.jsx("p",{children:"安装完成后,请点击继续加载graph按钮,将graph加载到画布中:"}),I.jsx("div",{className:"mt-4",children:I.jsx("button",{className:`px-3 py-2 bg-blue-500 text-white rounded-md + hover:bg-blue-600 transition-colors text-xs block mx-auto`,onClick:r,children:"继续加载graph"})})]})}function R9e(){return I.jsx(mm,{name:"Assistant",children:I.jsxs("div",{className:"flex items-center space-x-2 p-4 bg-gray-50 rounded-lg",children:[I.jsxs("div",{className:"flex space-x-1",children:[I.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0ms"}}),I.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"150ms"}}),I.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"300ms"}})]}),I.jsx("span",{className:"text-sm text-gray-500",children:"AI is thinking..."})]})})}const F9e=t=>`https://ui-avatars.com/api/?name=${t||"User"}&background=random`;function z9e({messages:t,latestInput:r,onOptionClick:e,installedNodes:n,onAddMessage:i,loading:a}){const o=s=>{var l,u,c,h,d;if(console.log("[MessageList] Rendering message:",s),s.role==="user")return I.jsx(m_,{content:s.content},s.id);if(s.role==="ai"||s.role==="tool"){const f=F9e(s.role);try{const v=JSON.parse(s.content);console.log("[MessageList] Parsed message content:",v);const g=(l=v.ext)==null?void 0:l.find(P=>P.type==="workflow"),b=(u=v.ext)==null?void 0:u.find(P=>P.type==="node"),y=(c=v.ext)==null?void 0:c.find(P=>P.type==="node_recommend"),$=(h=v.ext)==null?void 0:h.find(P=>P.type==="downstream_subgraph_search"),k=(d=v.ext)==null?void 0:d.find(P=>P.type==="node_install_guide");console.log("[MessageList] Found extensions:",{workflowExt:g,nodeExt:b,nodeRecommendExt:y,downstreamSubgraphsExt:$,nodeInstallGuideExt:k});let T=null;return g?T=I.jsx(LR,{content:s.content,name:s.name,latestInput:r,installedNodes:n,onAddMessage:i}):y?T=I.jsx(WR,{content:s.content,name:s.name,avatar:f,installedNodes:n}):b?T=I.jsx(HR,{content:s.content,name:s.name,avatar:f,installedNodes:n}):$?T=I.jsx(D9e,{content:s.content,name:s.name,avatar:f,installedNodes:n,onAddMessage:i}):k&&(T=I.jsx(N9e,{content:s.content,onLoadSubgraph:()=>{var P,E;if((P=s.metadata)!=null&&P.pendingSubgraph){const D=Object.values(Ft.canvas.selected_nodes)[0];if(D){const B=s.metadata.pendingSubgraph,R=B.json.nodes,A=B.json.links,z=R.find(ie=>ie.id===0),L=z==null?void 0:z.id,Z={};L&&(Z[L]=D),Ft.canvas.emitBeforeChange();try{for(const ie of R)if(ie.id!==L){const oe=z==null?void 0:z.pos,me=[D._pos[0],D._pos[1]],Oe=[ie.pos[0]+me[0]-oe[0],ie.pos[1]+me[1]-oe[1]];Z[ie.id]=zh(ie.type,{pos:Oe})}}finally{Ft.canvas.emitAfterChange()}for(const ie of A){const oe=Z[ie.origin_id],me=Z[ie.target_id];oe&&me&&oe.connect(ie.origin_slot,me,ie.target_slot)}}else alert("Please select a upstream node first before adding a subgraph.")}else if((E=s.metadata)!=null&&E.pendingWorkflow){const D=s.metadata.pendingWorkflow,B=s.metadata.optimizedParams;Ft.loadGraphData(D);for(const[A,z,L,Z,ie]of B){const oe=Ft.graph._nodes_by_id[A].widgets;for(const me of oe)me.name===Z&&(me.value=ie)}Ft.graph.setDirtyCanvas(!1,!0);const R={id:br(),role:"tool",content:JSON.stringify({text:"The workflow has been successfully loaded to the canvas",ext:[]}),format:"markdown",name:"Assistant"};i==null||i(R)}}})),v.text||T?I.jsx(yd,{content:s.content,name:s.name,format:s.format,onOptionClick:e,extComponent:T},s.id):T||I.jsx(yd,{content:s.content,name:s.name,format:s.format,onOptionClick:e},s.id)}catch(v){return console.error("[MessageList] Error parsing message content:",v),console.error("解析JSON失败",s.content),I.jsx(yd,{content:s.content,name:s.name,format:s.format,onOptionClick:e},s.id)}}return null};return I.jsxs("div",{className:"flex flex-col gap-4 w-full",children:[t==null?void 0:t.map(o),a&&I.jsx(R9e,{})]})}async function B9e(){try{return await(await n_.fetchApi("/object_info",{method:"GET"})).json()}catch(t){throw console.error("Error fetching object info:",t),t}}async function L9e(){const t=await B9e();return Object.keys(t)}function H9e({onClose:t,visible:r=!0,triggerUsage:e=!1,onUsageTriggered:n}){const[i,a]=qe.useState([]),[o,s]=qe.useState(""),[l,u]=qe.useState(""),[c,h]=qe.useState(!1),[d,f]=qe.useState(),v=qe.useRef(null),[g,b]=qe.useState(null),[y,$]=qe.useState([]),[k,T]=qe.useState(window.innerWidth/3),[P,E]=qe.useState(!1),[D,B]=qe.useState([]),[R,A]=qe.useState("gpt-4o");qe.useEffect(()=>{v.current&&(v.current.scrollTop=v.current.scrollHeight)},[i]),qe.useEffect(()=>{(async()=>{console.log("[WorkflowChat] Fetching installed nodes");const S=await L9e();console.log("[WorkflowChat] Received installed nodes:",S),$(S)})()},[]);const z=async V=>{try{const S=await _i.fetchMessages(V);a(S)}catch(S){console.error("Error fetching messages:",S)}};qe.useEffect(()=>{let V=localStorage.getItem("sessionId");V?(f(V),z(V)):(V=br(),f(V),localStorage.setItem("sessionId",V))},[]),qe.useEffect(()=>{const V=()=>{const S=Ft.canvas.selected_nodes;if(Object.keys(S??{}).length){const pe=Object.values(S)[0];b(pe)}else b(null)};return document.addEventListener("click",V),()=>{document.removeEventListener("click",V)}},[]),qe.useEffect(()=>{const V=S=>{document.documentElement.style.setProperty("--mouse-x",`${S.clientX}px`),document.documentElement.style.setProperty("--mouse-y",`${S.clientY}px`)};return document.addEventListener("mousemove",V),()=>{document.removeEventListener("mousemove",V)}},[]);const L=V=>{s(V.target.value)},Z=async()=>{if(o.trim()===""&&!g||!d)return;h(!0),u(o);const V={id:br(),role:"user",content:o};a(S=>[...S,V]),s("");try{const S={type:"model_select",data:[R]};for await(const pe of _i.streamInvokeServer(d,o,D.map(Se=>Se.file),null,S)){const Se={id:br(),role:"ai",content:JSON.stringify(pe),type:pe.type,format:pe.format,finished:pe.finished,name:"Assistant"};a(Ae=>Ae[Ae.length-1].role==="ai"?[...Ae.slice(0,-1),Se]:[...Ae,Se]),pe.finished&&h(!1)}}catch(S){console.error("Error sending message:",S),h(!1)}finally{B([])}},ie=V=>{V.metaKey&&V.key==="Enter"&&Z()},oe=()=>{a([]),localStorage.removeItem("sessionId");const V=br();f(V),localStorage.setItem("sessionId",V)},me=V=>{s(V)},Oe=async(V,S)=>{if(!d||!g)return;h(!0);const pe={id:br(),role:"user",content:g.comfyClass||g.type};a(Se=>[...Se,pe]);try{for await(const Se of _i.streamInvokeServer(d,g.comfyClass||g.type,[],V,S)){const Ae={id:br(),role:"ai",content:JSON.stringify(Se),format:Se.format,finished:Se.finished,name:"Assistant"};a(We=>We[We.length-1].role==="ai"?[...We.slice(0,-1),Ae]:[...We,Ae]),Se.finished&&h(!1)}}catch(Se){console.error("Error sending message:",Se),h(!1)}},ze=V=>{console.log("[WorkflowChat] Adding new message:",V),a(S=>{const pe=[...S,V];return console.log("[WorkflowChat] Updated messages:",pe),pe})},He=V=>{E(!0),V.preventDefault()};qe.useEffect(()=>{const V=pe=>{if(!P)return;const Se=window.innerWidth-pe.clientX,Ae=Math.min(Math.max(300,Se),window.innerWidth*.8);T(Ae)},S=()=>{E(!1)};return P&&(document.addEventListener("mousemove",V),document.addEventListener("mouseup",S)),()=>{document.removeEventListener("mousemove",V),document.removeEventListener("mouseup",S)}},[P]);const C=V=>{const S=Array.from(V).map(pe=>({id:Math.random().toString(36).substr(2,9),file:pe,preview:URL.createObjectURL(pe)}));B(pe=>[...pe,...S])},Me=V=>{B(S=>S.filter(Se=>Se.id!==V))};return Rw.useEffect(()=>()=>{D.forEach(V=>URL.revokeObjectURL(V.preview))},[D]),qe.useEffect(()=>{e&&n&&(Oe("node_explain"),n())},[e]),I.jsxs("div",{className:`fixed top-0 right-0 h-full shadow-lg bg-white + transition-all duration-300 ease-in-out hover:shadow-xl text-gray-700`,style:{display:r?"block":"none",width:`${k}px`},children:[I.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 cursor-ew-resize hover:bg-gray-300 active:bg-gray-400",onMouseDown:He}),I.jsxs("div",{className:"flex h-full flex-col",children:[I.jsx(h_,{onClose:t,onClear:oe,hasMessages:i.length>0}),I.jsx("div",{children:y.map(V=>I.jsx("div",{children:V.name},V.name))}),I.jsx("div",{className:"flex-1 overflow-y-auto p-4 scroll-smooth",ref:v,children:I.jsx(z9e,{messages:i,latestInput:l,onOptionClick:me,installedNodes:y,onAddMessage:ze,loading:c})}),I.jsxs("div",{className:"border-t px-4 py-3 border-gray-200 bg-white sticky bottom-0",children:[g&&I.jsx(p_,{nodeInfo:g,onSendWithIntent:Oe,loading:c}),I.jsx(f_,{input:o,loading:c,onChange:L,onSend:Z,onKeyPress:ie,onUploadImages:C,uploadedImages:D,onRemoveImage:Me,selectedModel:R,onModelChange:A})]})]})]})}export{H9e as default}; diff --git a/entry/comfyui-bridge.js b/entry/comfyui-bridge.js new file mode 100644 index 0000000..59f74e2 --- /dev/null +++ b/entry/comfyui-bridge.js @@ -0,0 +1,34 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import { app } from "../../scripts/app.js"; +import { api } from "../../scripts/api.js"; + +// 定义事件常量 +const COPILOT_EVENTS = { + EXPLAIN_NODE: 'copilot:explain-node' +}; + +function addExtraMenuOptions(nodeType, nodeData, app) { + const original_getExtraMenuOptions = nodeType.prototype.getExtraMenuOptions; + nodeType.prototype.getExtraMenuOptions = function (_, options) { + original_getExtraMenuOptions?.apply(this, arguments); + options.push({ + content: "Explain with Copilot", + callback: async () => { + const nodeTypeUniqueId = nodeType?.comfyClass; + // 触发自定义事件 + window.dispatchEvent(new CustomEvent(COPILOT_EVENTS.EXPLAIN_NODE, { + detail: { nodeType: nodeTypeUniqueId } + })); + } + }) + } +} + +app.registerExtension({ + name: "ComfyUI-Copilot-Bridge", + async beforeRegisterNodeDef(nodeType, nodeData, app) { + addExtraMenuOptions(nodeType, nodeData, app); + }, +}) \ No newline at end of file diff --git a/entry/entry.js b/entry/entry.js new file mode 100644 index 0000000..c9a9776 --- /dev/null +++ b/entry/entry.js @@ -0,0 +1,10 @@ + +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +//@ts-ignore +import { api } from "../../scripts/api.js"; + +setTimeout(() => { + import(api.api_base + "/copilot_web/input.js"); +}, 500); diff --git a/public/workflows/basic_image_gen.json b/public/workflows/basic_image_gen.json new file mode 100644 index 0000000..bae19e7 --- /dev/null +++ b/public/workflows/basic_image_gen.json @@ -0,0 +1,26 @@ +{ + "last_node_id": 9, + "last_link_id": 9, + "nodes": [ + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [413, 389], + "size": { "0": 425.27801513671875, "1": 180.6060791015625 }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [{ "name": "clip", "type": "CLIP", "link": 5 }], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [6], + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": ["text, watermark"] + } + ] + } \ No newline at end of file diff --git a/public/workflows/default.png b/public/workflows/default.png new file mode 100644 index 0000000..b36450f Binary files /dev/null and b/public/workflows/default.png differ diff --git a/public/workflows/face_restore.json b/public/workflows/face_restore.json new file mode 100644 index 0000000..67565c4 --- /dev/null +++ b/public/workflows/face_restore.json @@ -0,0 +1,16 @@ +{ + "last_node_id": 5, + "last_link_id": 4, + "nodes": [ + { + "id": 1, + "type": "LoadImage", + "pos": [200, 200] + }, + { + "id": 2, + "type": "FaceRestore", + "pos": [500, 200] + } + ] + } diff --git a/public/workflows/upscale.json b/public/workflows/upscale.json new file mode 100644 index 0000000..c620020 --- /dev/null +++ b/public/workflows/upscale.json @@ -0,0 +1,16 @@ +{ + "last_node_id": 4, + "last_link_id": 3, + "nodes": [ + { + "id": 1, + "type": "LoadImage", + "pos": [200, 200] + }, + { + "id": 2, + "type": "ImageUpscale", + "pos": [500, 200] + } + ] + } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a19116a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,13 @@ +[project] +name = "comfyui-copilot" +description = "" +version = "1.0.0" +license = { file = "LICENSE" } + +[project.urls] +Repository = "https://github.com/ai-business-hql/comfyUIAgent" + +[tool.comfy] +PublisherId = "weixuan11" +DisplayName = "comfyui-copilot" +Icon = "" \ No newline at end of file diff --git a/scripts/setupGitHooks.js b/scripts/setupGitHooks.js new file mode 100644 index 0000000..c5b7d12 --- /dev/null +++ b/scripts/setupGitHooks.js @@ -0,0 +1,61 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + + +const fs = require('fs'); +const { exec } = require('child_process'); +const path = require('path'); + +const files = [ + { path: '../.git/info/exclude.dist', content: '/dist' }, + { + path: '../.git/hooks/post-checkout', + content: ` + #!/bin/sh + + # Get the current branch name + BRANCH_NAME=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD) + + # Remove previously set exclude files + rm -f .git/info/exclude + + # When not in the beta/main branch, add additional files that need to be ignored + if [ "$BRANCH_NAME" != "beta" ] && [ "$BRANCH_NAME" != "main" ]; then + cp .git/info/exclude.dist .git/info/exclude + # elif [ "$BRANCH_NAME" = "xxx" ]; then + # cp .git/info/exclude.xxx .git/info/exclude + fi`, + }, +]; + +function createFile(filePath, content) { + fs.writeFile(filePath, content, (err) => { + if (err) { + console.error(`An error occurred while creating file ${filePath}:`, err); + } + }); +} + +function executeCommand(command, workingDirectory = '../') { + exec(command, { cwd: path.resolve(__dirname, workingDirectory) }, (error, stdout, stderr) => { + if (error) { + console.error(`An error occurred while executing command "${command}":`, error); + return; + } + if (stderr) { + console.error(`Command error "${stderr}"`); + return; + } + }); +} + +function main() { + files.forEach((file) => { + createFile(file.path, file.content); + }); + executeCommand('git config advice.ignoredHook false'); + executeCommand('chmod +x .git/hooks/post-checkout'); + console.log('Custom git hooks installation completed') +} + +main(); diff --git a/service/conversation_service.py b/service/conversation_service.py new file mode 100644 index 0000000..928f110 --- /dev/null +++ b/service/conversation_service.py @@ -0,0 +1,243 @@ +# Copyright (C) 2025 AIDC-AI +# Licensed under the MIT License. + +import json +import os +import asyncio +import time +from typing import Optional, Dict, Any, TypedDict, List, Union + +import server +from aiohttp import web +import aiohttp +import base64 + +# 使用内存字典存储会话消息 +session_messages = {} + +# 在文件开头添加 +STATIC_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), "public") + +# Define types using TypedDict +class Node(TypedDict): + name: str # 节点名称 + description: str # 节点描述 + image: str # 节点图片url,可为空 + github_url: str # 节点github地址 + from_index: int # 节点在列表中的位置 + to_index: int # 节点在列表中的位置 + +class NodeInfo(TypedDict): + existing_nodes: List[Node] # 已安装的节点 + missing_nodes: List[Node] # 未安装的节点 + +class Workflow(TypedDict, total=False): + id: Optional[int] # 工作流id + name: Optional[str] # 工作流名称 + description: Optional[str] # 工作流描述 + image: Optional[str] # 工作流图片 + workflow: Optional[str] # 工作流 + +class ExtItem(TypedDict): + type: str # 扩展类型 + data: Union[dict, list] # 扩展数据 + +class ChatResponse(TypedDict): + session_id: str # 会话id + text: Optional[str] # 返回文本 + finished: bool # 是否结束 + type: str # 返回的类型 + format: str # 返回的格式 + ext: Optional[List[ExtItem]] # 扩展信息 + +def get_workflow_templates(): + templates = [] + workflows_dir = os.path.join(STATIC_DIR, "workflows") + + for filename in os.listdir(workflows_dir): + if filename.endswith('.json'): + with open(os.path.join(workflows_dir, filename), 'r') as f: + template = json.load(f) + templates.append(template) + + return templates + +@server.PromptServer.instance.routes.get("/workspace/fetch_messages_by_id") +async def fetch_messages(request): + session_id = request.query.get('session_id') + data = await asyncio.to_thread(fetch_messages_sync, session_id) + return web.json_response(data) + +def fetch_messages_sync(session_id): + print("fetch_messages: ", session_id) + return session_messages.get(session_id, []) + +@server.PromptServer.instance.routes.post("/workspace/workflow_gen") +async def workflow_gen(request): + print("Received workflow_gen request") + req_json = await request.json() + print("Request JSON:", req_json) + + response = web.StreamResponse( + status=200, + reason='OK', + headers={ + 'Content-Type': 'application/json', + 'X-Content-Type-Options': 'nosniff' + } + ) + await response.prepare(request) + + session_id = req_json.get('session_id') + user_message = req_json.get('message') + + # Create user message + user_msg = { + "id": str(len(session_messages.get(session_id, []))), + "content": user_message, + "role": "user" + } + + if "workflow" in user_message.lower(): + workflow = { + "name": "basic_image_gen", + "description": "Create a basic image generation workflow", + "image": "https://placehold.co/600x400", + "workflow": """{ ... }""" # Your workflow JSON here + } + + chat_response = ChatResponse( + session_id=session_id, + text="", + finished=False, + type="workflow_option", + format="text", + ext=[{"type": "workflows", "data": [workflow]}] + ) + + await response.write(json.dumps(chat_response).encode() + b"\n") + + message = "Let me help you choose a workflow. Here are some options available:" + accumulated = "" + for char in message: + accumulated += char + chat_response["text"] = accumulated + await response.write(json.dumps(chat_response).encode() + b"\n") + await asyncio.sleep(0.01) + + chat_response["finished"] = True + chat_response["text"] = message + await response.write(json.dumps(chat_response).encode() + b"\n") + + elif "recommend" in user_message.lower(): + existing_nodes = [ + { + "name": "LoraLoader", + "description": "Load LoRA weights for conditioning.", + "image": "", + "github_url": "https://github.com/CompVis/taming-transformers", + "from_index": 0, + "to_index": 0 + }, + { + "name": "KSampler", + "description": "Generate images using K-diffusion sampling.", + "image": "", + "github_url": "https://github.com/CompVis/taming-transformers", + "from_index": 0, + "to_index": 0 + } + ] + + missing_nodes = [ + { + "name": "CLIPTextEncode", + "description": "Encode text prompts for conditioning.", + "image": "", + "github_url": "https://github.com/CompVis/clip-interrogator", + "from_index": 0, + "to_index": 0 + } + ] + + node_info = { + "existing_nodes": existing_nodes, + "missing_nodes": missing_nodes + } + + chat_response = ChatResponse( + session_id=session_id, + text="", + finished=False, + type="downstream_node_recommend", + format="text", + ext=[{"type": "node_info", "data": node_info}] + ) + + await response.write(json.dumps(chat_response).encode() + b"\n") + + message = "Here are some recommended nodes:" + accumulated = "" + for char in message: + accumulated += char + chat_response["text"] = accumulated + await response.write(json.dumps(chat_response).encode() + b"\n") + await asyncio.sleep(0.01) + + chat_response["finished"] = True + chat_response["text"] = message + await response.write(json.dumps(chat_response).encode() + b"\n") + + else: + chat_response = ChatResponse( + session_id=session_id, + text="", + finished=False, + type="message", + format="text", + ext=[{"type": "guides", "data": ["Create a workflow", "Search for nodes", "Get node recommendations"]}] + ) + + await response.write(json.dumps(chat_response).encode() + b"\n") + + message = "I can help you with workflows, nodes, and more. Try asking about:" + accumulated = "" + for char in message: + accumulated += char + chat_response["text"] = accumulated + await response.write(json.dumps(chat_response).encode() + b"\n") + await asyncio.sleep(0.01) + + chat_response["finished"] = True + chat_response["text"] = message + await response.write(json.dumps(chat_response).encode() + b"\n") + + if session_id not in session_messages: + session_messages[session_id] = [] + + session_messages[session_id].extend([user_msg]) + + await response.write_eof() + return response + +async def upload_to_oss(file_data: bytes, filename: str) -> str: + # Implement your OSS upload logic here + # Return the URL of the uploaded file + pass + +@server.PromptServer.instance.routes.post("/api/chat/invoke") +async def invoke_chat(request): + data = await request.json() + session_id = data['session_id'] + prompt = data['prompt'] + images = data.get('images', []) + + image_urls = [] + for image in images: + # 从base64解码图片数据 + image_data = base64.b64decode(image['data'].split(',')[1]) + # 上传到OSS + url = await upload_to_oss(image_data, image['filename']) + image_urls.append(url) + + # 使用image_urls进行后续处理... diff --git a/service/node_service.py b/service/node_service.py new file mode 100644 index 0000000..3da2e65 --- /dev/null +++ b/service/node_service.py @@ -0,0 +1,195 @@ +# Copyright (C) 2025 AIDC-AI +# Licensed under the MIT License. + +import inspect +import json +import os +import subprocess +from nodes import NODE_CLASS_MAPPINGS +import server +from aiohttp import web +BUILT_IN_NODE_TYPES = { + "BasicScheduler", + "CLIPLoader", + "CLIPMergeSimple", + "CLIPSave", + "CLIPSetLastLayer", + "CLIPTextEncode", + "CLIPTextEncodeSDXL", + "CLIPTextEncodeSDXLRefiner", + "CLIPVisionEncode", + "CLIPVisionLoader", + "Canny", + "CheckpointLoader", + "CheckpointLoaderSimple", + "CheckpointSave", + "ConditioningAverage", + "ConditioningCombine", + "ConditioningConcat", + "ConditioningSetArea", + "ConditioningSetAreaPercentage", + "ConditioningSetAreaStrength", + "ConditioningSetMask", + "ConditioningSetTimestepRange", + "ConditioningZeroOut", + "ControlNetApply", + "ControlNetApplyAdvanced", + "ControlNetLoader", + "CropMask", + "DiffControlNetLoader", + "DiffusersLoader", + "DualCLIPLoader", + "EmptyImage", + "EmptyLatentImage", + "ExponentialScheduler", + "FeatherMask", + "FlipSigmas", + "FreeU", + "FreeU_V2", + "GLIGENLoader", + "GLIGENTextBoxApply", + "GrowMask", + "HyperTile", + "HypernetworkLoader", + "ImageBatch", + "ImageBlend", + "ImageBlur", + "ImageColorToMask", + "ImageCompositeMasked", + "ImageCrop", + "ImageInvert", + "ImageOnlyCheckpointLoader", + "ImageOnlyCheckpointSave", + "ImagePadForOutpaint", + "ImageQuantize", + "ImageScale", + "ImageScaleBy", + "ImageScaleToTotalPixels", + "ImageSharpen", + "ImageToMask", + "ImageUpscaleWithModel", + "InpaintModelConditioning", + "InvertMask", + "JoinImageWithAlpha", + "KSampler", + "KSamplerAdvanced", + "KSamplerSelect", + "KarrasScheduler", + "LatentAdd", + "LatentBatch", + "LatentBatchSeedBehavior", + "LatentBlend", + "LatentComposite", + "LatentCompositeMasked", + "LatentCrop", + "LatentFlip", + "LatentFromBatch", + "LatentInterpolate", + "LatentMultiply", + "LatentRotate", + "LatentSubtract", + "LatentUpscale", + "LatentUpscaleBy", + "LoadImage", + "LoadImageMask", + "LoadLatent", + "LoraLoader", + "LoraLoaderModelOnly", + "MaskComposite", + "MaskToImage", + "ModelMergeAdd", + "ModelMergeBlocks", + "ModelMergeSimple", + "ModelMergeSubtract", + "ModelSamplingContinuousEDM", + "ModelSamplingDiscrete", + "PatchModelAddDownscale", + "PerpNeg", + "PhotoMakerEncode", + "PhotoMakerLoader", + "PolyexponentialScheduler", + "PorterDuffImageComposite", + "PreviewImage", + "RebatchImages", + "RebatchLatents", + "RepeatImageBatch", + "RepeatLatentBatch", + "RescaleCFG", + "SDTurboScheduler", + "SD_4XUpscale_Conditioning", + "SVD_img2vid_Conditioning", + "SamplerCustom", + "SamplerDPMPP_2M_SDE", + "SamplerDPMPP_SDE", + "SaveAnimatedPNG", + "SaveAnimatedWEBP", + "SaveImage", + "SaveLatent", + "SelfAttentionGuidance", + "SetLatentNoiseMask", + "SolidMask", + "SplitImageWithAlpha", + "SplitSigmas", + "StableZero123_Conditioning", + "StableZero123_Conditioning_Batched", + "StyleModelApply", + "StyleModelLoader", + "TomePatchModel", + "UNETLoader", + "UpscaleModelLoader", + "VAEDecode", + "VAEDecodeTiled", + "VAEEncode", + "VAEEncodeForInpaint", + "VAEEncodeTiled", + "VAELoader", + "VAESave", + "VPScheduler", + "VideoLinearCFGGuidance", + "unCLIPCheckpointLoader", + "unCLIPConditioning" +} + +def get_git_repo(node_type: str): + if node_type not in NODE_CLASS_MAPPINGS: + return None + if node_type in BUILT_IN_NODE_TYPES: + return None + + cls = NODE_CLASS_MAPPINGS[node_type] + source_file = inspect.getfile(cls) + directory = os.path.dirname(source_file) + + # Attempt to get the remote repository URL directly + try: + git_repo = subprocess.check_output(["git", "-C", directory, "config", "--get", "remote.origin.url"], text=True).strip() + except subprocess.CalledProcessError: + return None + + # Attempt to get the current commit hash + try: + commit_hash = subprocess.check_output(["git", "-C", directory, "rev-parse", "HEAD"], text=True).strip() + except subprocess.CalledProcessError: + return None + if git_repo.endswith(".git"): + git_repo = git_repo[:-4] + username = git_repo.split("/")[-2] + repo_name = git_repo.split("/")[-1] + return {"gitRepo": f"{username}/{repo_name}", "commitHash": commit_hash} + +@server.PromptServer.instance.routes.post("/workspace/fetch_node_repos") # Handle POST requests +async def fetch_node_repos(request): + data = await request.json() + nodetypes = data.get("nodes") + if not nodetypes: + return web.Response(status=400, text="NodeTypes parameter is required and should be a list of node types.") + repos_mapping = {} + for nodetype in nodetypes: + try: + repo = get_git_repo(nodetype) + if repo: + repos_mapping[nodetype] = repo + except Exception as e: + print(f"Error fetching repo for {nodetype}: {e}") + return web.Response(text=json.dumps(repos_mapping), content_type='application/json') + diff --git a/ui/.eslintrc.cjs b/ui/.eslintrc.cjs new file mode 100644 index 0000000..ca96775 --- /dev/null +++ b/ui/.eslintrc.cjs @@ -0,0 +1,20 @@ +module.exports = { + root: true, + env: { browser: true, es2020: true }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:react-hooks/recommended', + 'prettier', + ], + ignorePatterns: ['dist', '.eslintrc.cjs'], + parser: '@typescript-eslint/parser', + plugins: ['react-refresh', '@typescript-eslint', 'prettier'], + rules: { + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + 'prettier/prettier': ['error'], + }, +} diff --git a/ui/.npmrc b/ui/.npmrc new file mode 100644 index 0000000..918fa4a --- /dev/null +++ b/ui/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmmirror.com/ \ No newline at end of file diff --git a/ui/.prettierrc b/ui/.prettierrc new file mode 100644 index 0000000..b93d496 --- /dev/null +++ b/ui/.prettierrc @@ -0,0 +1,15 @@ +{ + "bracketSpacing": true, + "htmlWhitespaceSensitivity": "css", + "insertPragma": false, + "jsxBracketSameLine": false, + "printWidth": 80, + "proseWrap": "always", + "quoteProps": "as-needed", + "requirePragma": false, + "semi": true, + "tabWidth": 2, + "trailingComma": "all", + "useTabs": false, + "endOfLine": "auto" +} diff --git a/ui/index.html b/ui/index.html new file mode 100644 index 0000000..811f811 --- /dev/null +++ b/ui/index.html @@ -0,0 +1,13 @@ + + + + + + + + + +
+ + + diff --git a/ui/package-lock.json b/ui/package-lock.json new file mode 100644 index 0000000..172622e --- /dev/null +++ b/ui/package-lock.json @@ -0,0 +1,10625 @@ +{ + "name": "comfyui-workspace-manager", + "version": "0.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "comfyui-workspace-manager", + "version": "0.0.0", + "dependencies": { + "@tabler/icons-react": "^2.42.0", + "dexie": "^3.2.4", + "dexie-react-hooks": "^1.1.7", + "fuse.js": "^7.0.0", + "glob": "^8.1.0", + "marked": "^12.0.2", + "nanoid": "^5.0.6", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-markdown": "^9.0.1", + "rehype-external-links": "^3.0.0", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.0", + "remark-math": "^6.0.0", + "vis-network": "^9.1.9" + }, + "devDependencies": { + "@tailwindcss/typography": "^0.5.15", + "@types/node": "^22.10.0", + "@types/react": "^18.2.37", + "@types/react-dom": "^18.2.15", + "@types/uuid": "^9.0.7", + "@vitejs/plugin-react": "^4.2.0", + "autoprefixer": "^10.4.20", + "concurrently": "^9.1.0", + "eslint": "^8.53.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.4.4", + "postcss": "^8.4.49", + "prettier": "^3.2.4", + "rollup-plugin-watch": "^1.0.4", + "tailwindcss": "^3.4.15", + "typescript": "^5.2.2", + "vite": "^5.4.14" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", + "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.4.tgz", + "integrity": "sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz", + "integrity": "sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.23.4", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", + "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "dev": true, + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", + "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", + "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", + "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.4.tgz", + "integrity": "sha512-HfcMizYz10cr3h29VqyfGL6ZWIjTwWfvYBMsBVGwpcbhNGe3wQ1ZXZRPzZoAHhd9OqHadHqjQ89iVKINXnbzuw==", + "dev": true, + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.4", + "@babel/types": "^7.23.4" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.4.tgz", + "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.23.3.tgz", + "integrity": "sha512-qXRvbeKDSfwnlJnanVRp0SfuWE5DQhwQr5xtLBzp56Wabyo+4CMosF6Kfp+eOD/4FYpql64XVJ2W0pVLlJZxOQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.23.3.tgz", + "integrity": "sha512-91RS0MDnAWDNvGC6Wio5XYkyWI39FMFO+JK9+4AlgaTH+yWwVTsw7/sn6LK0lH7c5F+TFkpv/3LfCJ1Ydwof/g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.4.tgz", + "integrity": "sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.4", + "@babel/generator": "^7.23.4", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.4", + "@babel/types": "^7.23.4", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz", + "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==", + "dev": true, + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@egjs/hammerjs": { + "version": "2.0.17", + "resolved": "https://registry.npmmirror.com/@egjs/hammerjs/-/hammerjs-2.0.17.tgz", + "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==", + "peer": true, + "dependencies": { + "@types/hammerjs": "^2.0.36" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", + "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.23.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", + "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz", + "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "dev": true + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/@rollup/pluginutils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", + "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", + "dev": true, + "dependencies": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.31.0.tgz", + "integrity": "sha512-9NrR4033uCbUBRgvLcBrJofa2KY9DzxL2UKZ1/4xA/mnTNyhZCWBuD8X3tPm1n4KxcgaraOYgrFKSgwjASfmlA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.31.0.tgz", + "integrity": "sha512-iBbODqT86YBFHajxxF8ebj2hwKm1k8PTBQSojSt3d1FFt1gN+xf4CowE47iN0vOSdnd+5ierMHBbu/rHc7nq5g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.31.0.tgz", + "integrity": "sha512-WHIZfXgVBX30SWuTMhlHPXTyN20AXrLH4TEeH/D0Bolvx9PjgZnn4H677PlSGvU6MKNsjCQJYczkpvBbrBnG6g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.31.0.tgz", + "integrity": "sha512-hrWL7uQacTEF8gdrQAqcDy9xllQ0w0zuL1wk1HV8wKGSGbKPVjVUv/DEwT2+Asabf8Dh/As+IvfdU+H8hhzrQQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.31.0.tgz", + "integrity": "sha512-S2oCsZ4hJviG1QjPY1h6sVJLBI6ekBeAEssYKad1soRFv3SocsQCzX6cwnk6fID6UQQACTjeIMB+hyYrFacRew==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.31.0.tgz", + "integrity": "sha512-pCANqpynRS4Jirn4IKZH4tnm2+2CqCNLKD7gAdEjzdLGbH1iO0zouHz4mxqg0uEMpO030ejJ0aA6e1PJo2xrPA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.31.0.tgz", + "integrity": "sha512-0O8ViX+QcBd3ZmGlcFTnYXZKGbFu09EhgD27tgTdGnkcYXLat4KIsBBQeKLR2xZDCXdIBAlWLkiXE1+rJpCxFw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.31.0.tgz", + "integrity": "sha512-w5IzG0wTVv7B0/SwDnMYmbr2uERQp999q8FMkKG1I+j8hpPX2BYFjWe69xbhbP6J9h2gId/7ogesl9hwblFwwg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.31.0.tgz", + "integrity": "sha512-JyFFshbN5xwy6fulZ8B/8qOqENRmDdEkcIMF0Zz+RsfamEW+Zabl5jAb0IozP/8UKnJ7g2FtZZPEUIAlUSX8cA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.31.0.tgz", + "integrity": "sha512-kpQXQ0UPFeMPmPYksiBL9WS/BDiQEjRGMfklVIsA0Sng347H8W2iexch+IEwaR7OVSKtr2ZFxggt11zVIlZ25g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.31.0.tgz", + "integrity": "sha512-pMlxLjt60iQTzt9iBb3jZphFIl55a70wexvo8p+vVFK+7ifTRookdoXX3bOsRdmfD+OKnMozKO6XM4zR0sHRrQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.31.0.tgz", + "integrity": "sha512-D7TXT7I/uKEuWiRkEFbed1UUYZwcJDU4vZQdPTcepK7ecPhzKOYk4Er2YR4uHKme4qDeIh6N3XrLfpuM7vzRWQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.31.0.tgz", + "integrity": "sha512-wal2Tc8O5lMBtoePLBYRKj2CImUCJ4UNGJlLwspx7QApYny7K1cUYlzQ/4IGQBLmm+y0RS7dwc3TDO/pmcneTw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.31.0.tgz", + "integrity": "sha512-O1o5EUI0+RRMkK9wiTVpk2tyzXdXefHtRTIjBbmFREmNMy7pFeYXCFGbhKFwISA3UOExlo5GGUuuj3oMKdK6JQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.31.0.tgz", + "integrity": "sha512-zSoHl356vKnNxwOWnLd60ixHNPRBglxpv2g7q0Cd3Pmr561gf0HiAcUBRL3S1vPqRC17Zo2CX/9cPkqTIiai1g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.31.0.tgz", + "integrity": "sha512-ypB/HMtcSGhKUQNiFwqgdclWNRrAYDH8iMYH4etw/ZlGwiTVxBz2tDrGRrPlfZu6QjXwtd+C3Zib5pFqID97ZA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.31.0.tgz", + "integrity": "sha512-JuhN2xdI/m8Hr+aVO3vspO7OQfUFO6bKLIRTAy0U15vmWjnZDLrEgCZ2s6+scAYaQVpYSh9tZtRijApw9IXyMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.31.0.tgz", + "integrity": "sha512-U1xZZXYkvdf5MIWmftU8wrM5PPXzyaY1nGCI4KI4BFfoZxHamsIe+BtnPLIvvPykvQWlVbqUXdLa4aJUuilwLQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.31.0.tgz", + "integrity": "sha512-ul8rnCsUumNln5YWwz0ted2ZHFhzhRRnkpBZ+YRuHoRAlUji9KChpOUOndY7uykrPEPXVbHLlsdo6v5yXo/TXw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@tabler/icons": { + "version": "2.42.0", + "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.42.0.tgz", + "integrity": "sha512-ynV4iaC1c1mUhuAr9HRaoq8KrWYmZ0bJEpOh7qTBE+OfdDsdvQUe+0S7FW+DHkJ4RuxQMdO8djrZK7HrUw9YMA==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/codecalm" + } + }, + "node_modules/@tabler/icons-react": { + "version": "2.42.0", + "resolved": "https://registry.npmjs.org/@tabler/icons-react/-/icons-react-2.42.0.tgz", + "integrity": "sha512-2APr++u24P2mx9vJymJQJORRpu2Qej0rPrtAvgXu8YomHjLXVP+O1VtToSGyoSPH1ysA569XbxrwzOau9Ne12A==", + "dependencies": { + "@tabler/icons": "2.42.0", + "prop-types": "^15.7.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/codecalm" + }, + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/@tailwindcss/typography": { + "version": "0.5.15", + "resolved": "https://registry.npmmirror.com/@tailwindcss/typography/-/typography-0.5.15.tgz", + "integrity": "sha512-AqhlCXl+8grUz8uqExv5OTtgpjuVIwFTSXTrh8y9/pw6q2ek7fJ+Y8ZEVw7EB2DCcuCOtEjf9w3+J3rzts01uA==", + "dev": true, + "dependencies": { + "lodash.castarray": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2", + "postcss-selector-parser": "6.0.10" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20" + } + }, + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.7", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.7.tgz", + "integrity": "sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.4", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.4.tgz", + "integrity": "sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmmirror.com/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "license": "MIT" + }, + "node_modules/@types/estree-jsx": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", + "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@types/hammerjs": { + "version": "2.0.46", + "resolved": "https://registry.npmmirror.com/@types/hammerjs/-/hammerjs-2.0.46.tgz", + "integrity": "sha512-ynRvcq6wvqexJ9brDMS4BnBLzmr0e14d6ZJTEShTBWKymQiHwlAyGu0ZPEFI2Fh1U53F7tN9ufClWM5KvqkKOw==", + "peer": true + }, + "node_modules/@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/katex": { + "version": "0.16.7", + "resolved": "https://registry.npmmirror.com/@types/katex/-/katex-0.16.7.tgz", + "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==" + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/ms": { + "version": "0.7.34", + "resolved": "https://registry.npmmirror.com/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" + }, + "node_modules/@types/node": { + "version": "22.10.0", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-22.10.0.tgz", + "integrity": "sha512-XC70cRZVElFHfIUB40FgZOBbgJYFKKMa5nb9lxcwYstFG/Mi+/Y0bGS+rs6Dmhmkpq4pnNiLiuZAbc02YCOnmA==", + "dev": true, + "dependencies": { + "undici-types": "~6.20.0" + } + }, + "node_modules/@types/prop-types": { + "version": "15.7.11", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", + "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" + }, + "node_modules/@types/react": { + "version": "18.2.39", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.39.tgz", + "integrity": "sha512-Oiw+ppED6IremMInLV4HXGbfbG6GyziY3kqAwJYOR0PNbkYDmLWQA3a95EhdSmamsvbkJN96ZNN+YD+fGjzSBA==", + "dependencies": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.2.17", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.17.tgz", + "integrity": "sha512-rvrT/M7Df5eykWFxn6MYt5Pem/Dbyc1N8Y0S9Mrkw2WFCRiqUgw9P7ul2NpwsXCSM1DVdENzdG9J5SreqfAIWg==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, + "node_modules/@types/scheduler": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", + "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==" + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==" + }, + "node_modules/@types/uuid": { + "version": "9.0.7", + "resolved": "https://registry.npmmirror.com/@types/uuid/-/uuid-9.0.7.tgz", + "integrity": "sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==", + "dev": true + }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" + }, + "node_modules/@vitejs/plugin-react": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.2.0.tgz", + "integrity": "sha512-+MHTH/e6H12kRp5HUkzOGqPMksezRMmW+TNzlh/QXfI8rRf6l2Z2yH/v12no1UvTwhZgEDMuQ7g7rrfMseU6FQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.23.3", + "@babel/plugin-transform-react-jsx-self": "^7.23.3", + "@babel/plugin-transform-react-jsx-source": "^7.23.3", + "@types/babel__core": "^7.20.4", + "react-refresh": "^0.14.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0" + } + }, + "node_modules/acorn": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "dev": true + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/autoprefixer": { + "version": "10.4.20", + "resolved": "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.20.tgz", + "integrity": "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "browserslist": "^4.23.3", + "caniuse-lite": "^1.0.30001646", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.1", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001684", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", + "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/cliui/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/component-emitter": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/component-emitter/-/component-emitter-1.3.1.tgz", + "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "peer": true, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/concurrently": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.1.0.tgz", + "integrity": "sha512-VxkzwMAn4LP7WyMnJNbHN5mKV9L2IbyDjpzemKr99sXNR3GqRNMMHdm7prV1ws9wg7ETj6WUkNOigZVsptwbgg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.2", + "lodash": "^4.17.21", + "rxjs": "^7.8.1", + "shell-quote": "^1.8.1", + "supports-color": "^8.1.1", + "tree-kill": "^1.2.2", + "yargs": "^17.7.2" + }, + "bin": { + "conc": "dist/bin/concurrently.js", + "concurrently": "dist/bin/concurrently.js" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" + } + }, + "node_modules/concurrently/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/concurrently/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/concurrently/node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/concurrently/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/concurrently/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/concurrently/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/concurrently/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-named-character-reference": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz", + "integrity": "sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/dexie": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/dexie/-/dexie-3.2.4.tgz", + "integrity": "sha512-VKoTQRSv7+RnffpOJ3Dh6ozknBqzWw/F3iqMdsZg958R0AS8AnY9x9d1lbwENr0gzeGJHXKcGhAMRaqys6SxqA==", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/dexie-react-hooks": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/dexie-react-hooks/-/dexie-react-hooks-1.1.7.tgz", + "integrity": "sha512-Lwv5W0Hk+uOW3kGnsU9GZoR1er1B7WQ5DSdonoNG+focTNeJbHW6vi6nBoX534VKI3/uwHebYzSw1fwY6a7mTw==", + "peerDependencies": { + "@types/react": ">=16", + "dexie": "^3.2 || ^4.0.1-alpha", + "react": ">=16" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "node_modules/electron-to-chromium": { + "version": "1.5.65", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.65.tgz", + "integrity": "sha512-PWVzBjghx7/wop6n22vS2MLU8tKGd4Q91aCEGhG/TYmW6PP5OcSXcdnxTe1NNt0T66N8D6jxh4kC8UsdzOGaIw==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint": { + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz", + "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.3", + "@eslint/js": "8.54.0", + "@humanwhocodes/config-array": "^0.11.13", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", + "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", + "integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==", + "dev": true, + "dependencies": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.6" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": "*", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "dev": true, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.4.tgz", + "integrity": "sha512-eD83+65e8YPVg6603Om2iCIwcQJf/y7++MWm4tACtEswFLYMwxwVWAfwN+e19f5Ad/FOyyNg9Dfi5lXhH3Y3rA==", + "dev": true, + "peerDependencies": { + "eslint": ">=7" + } + }, + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.23.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", + "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-util-is-identifier-name": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", + "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "dev": true + }, + "node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/fuse.js": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.0.0.tgz", + "integrity": "sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==", + "engines": { + "node": ">=10" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hast-util-from-dom": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", + "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==", + "dependencies": { + "@types/hast": "^3.0.0", + "hastscript": "^9.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-html": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", + "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==", + "dependencies": { + "@types/hast": "^3.0.0", + "devlop": "^1.1.0", + "hast-util-from-parse5": "^8.0.0", + "parse5": "^7.0.0", + "vfile": "^6.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-html-isomorphic": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", + "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-from-dom": "^5.0.0", + "hast-util-from-html": "^2.0.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-parse5": { + "version": "8.0.2", + "resolved": "https://registry.npmmirror.com/hast-util-from-parse5/-/hast-util-from-parse5-8.0.2.tgz", + "integrity": "sha512-SfMzfdAi/zAoZ1KkFEyyeXBn7u/ShQrfd675ZEE9M3qj+PMFX05xubzRyF76CCSJu8au9jgVxDV1+okFvgZU4A==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "hastscript": "^9.0.0", + "property-information": "^6.0.0", + "vfile": "^6.0.0", + "vfile-location": "^5.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-is-element": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz", + "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-parse-selector": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", + "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-jsx-runtime": { + "version": "2.3.2", + "resolved": "https://registry.npmmirror.com/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.2.tgz", + "integrity": "sha512-1ngXYb+V9UT5h+PxNRa1O1FYguZK/XL+gkeqvp7EdHlB9oHUG0eYRo/vY5inBdcqo3RkPMC58/H94HvkbfGdyg==", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-object": "^1.0.0", + "unist-util-position": "^5.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-text": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", + "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "hast-util-is-element": "^3.0.0", + "unist-util-find-after": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hastscript": { + "version": "9.0.0", + "resolved": "https://registry.npmmirror.com/hastscript/-/hastscript-9.0.0.tgz", + "integrity": "sha512-jzaLBGavEDKHrc5EfFImKN7nZKKBdSLIdGvCwDZ9TfzbF2ffXiov8CKE445L2Z1Ek2t/m4SKQ2j6Ipv7NyUolw==", + "dependencies": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^4.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/html-url-attributes": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/html-url-attributes/-/html-url-attributes-3.0.1.tgz", + "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/ignore": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/inline-style-parser": { + "version": "0.2.4", + "resolved": "https://registry.npmmirror.com/inline-style-parser/-/inline-style-parser-0.2.4.tgz", + "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==" + }, + "node_modules/is-absolute-url": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/is-absolute-url/-/is-absolute-url-4.0.1.tgz", + "integrity": "sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A==", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jiti": { + "version": "1.21.6", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", + "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "dev": true, + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/katex": { + "version": "0.16.11", + "resolved": "https://registry.npmmirror.com/katex/-/katex-0.16.11.tgz", + "integrity": "sha512-RQrI8rlHY92OLf3rho/Ts8i/XvjgguEjOkO1BEXcU3N8BqPpSzBNwV/G0Ukr+P/l3ivvJUE/Fa/CwbS6HesGNQ==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "dependencies": { + "commander": "^8.3.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/katex/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "engines": { + "node": ">= 12" + } + }, + "node_modules/keycharm": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/keycharm/-/keycharm-0.4.0.tgz", + "integrity": "sha512-TyQTtsabOVv3MeOpR92sIKk/br9wxS+zGj4BG7CR8YbK4jM3tyIBaF0zhzeBUMx36/Q/iQLOKKOT+3jOQtemRQ==", + "peer": true + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash.castarray": { + "version": "4.4.0", + "resolved": "https://registry.npmmirror.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz", + "integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==", + "dev": true + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/marked": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz", + "integrity": "sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", + "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz", + "integrity": "sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-math": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-math/-/mdast-util-math-3.0.0.tgz", + "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "longest-streak": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-expression": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-jsx": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz", + "integrity": "sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdxjs-esm": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", + "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "13.2.0", + "resolved": "https://registry.npmmirror.com/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz", + "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromark": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/micromark/-/micromark-4.0.1.tgz", + "integrity": "sha512-eBPdkcoCNvYcxQOAKAlceo5SNdzZWfF+FcSupREAzdAh9rRmE239CEQAiTwIgblwnoM8zzj35sZ5ZwvSEOF6Kw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/micromark-core-commonmark/-/micromark-core-commonmark-2.0.2.tgz", + "integrity": "sha512-FKjQKbxd1cibWMM1P9N+H8TwlgGgSkWZMmfuVucLCHaYqeSvJ0hFeHsIa65pA2nYbes0f8LDHPMrd9X7Ujxg9w==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz", + "integrity": "sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "dependencies": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.3.tgz", + "integrity": "sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-types": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-types/-/micromark-util-types-2.0.1.tgz", + "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.6.tgz", + "integrity": "sha512-rRq0eMHoGZxlvaFOUdK1Ev83Bd1IgzzR+WJ3IbDJ7QOSdAxYjlurSPqFs9s4lJg29RT6nPwizFtJhQS6V5xgiA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^18 || >=20" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/node-releases": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-entities": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/parse-entities/-/parse-entities-4.0.1.tgz", + "integrity": "sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==", + "dependencies": { + "@types/unist": "^2.0.0", + "character-entities": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse-entities/node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmmirror.com/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" + }, + "node_modules/parse5": { + "version": "7.2.1", + "resolved": "https://registry.npmmirror.com/parse5/-/parse5-7.2.1.tgz", + "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", + "dependencies": { + "entities": "^4.5.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss": { + "version": "8.4.49", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dev": true, + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-load-config/node_modules/lilconfig": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/postcss-load-config/node_modules/yaml": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz", + "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==", + "dev": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/postcss-nested": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", + "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "postcss-selector-parser": "^6.1.1" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "node_modules/postcss/node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz", + "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/property-information": { + "version": "6.5.0", + "resolved": "https://registry.npmmirror.com/property-information/-/property-information-6.5.0.tgz", + "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/react": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + }, + "peerDependencies": { + "react": "^18.2.0" + } + }, + "node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/react-markdown": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/react-markdown/-/react-markdown-9.0.1.tgz", + "integrity": "sha512-186Gw/vF1uRkydbsOIkcGXw7aHq0sZOCRFFjGrr7b9+nVZg4UfA4enXCaxm4fUzecU38sWfrNDitGhshuU7rdg==", + "dependencies": { + "@types/hast": "^3.0.0", + "devlop": "^1.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "html-url-attributes": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "@types/react": ">=18", + "react": ">=18" + } + }, + "node_modules/react-refresh": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", + "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/rehype-external-links": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/rehype-external-links/-/rehype-external-links-3.0.0.tgz", + "integrity": "sha512-yp+e5N9V3C6bwBeAC4n796kc86M4gJCdlVhiMTxIrJG5UHDMh+PJANf9heqORJbt1nrCbDwIlAZKjANIaVBbvw==", + "dependencies": { + "@types/hast": "^3.0.0", + "@ungap/structured-clone": "^1.0.0", + "hast-util-is-element": "^3.0.0", + "is-absolute-url": "^4.0.0", + "space-separated-tokens": "^2.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/rehype-katex": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/rehype-katex/-/rehype-katex-7.0.1.tgz", + "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/katex": "^0.16.0", + "hast-util-from-html-isomorphic": "^2.0.0", + "hast-util-to-text": "^4.0.0", + "katex": "^0.16.0", + "unist-util-visit-parents": "^6.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-math": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/remark-math/-/remark-math-6.0.0.tgz", + "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-math": "^3.0.0", + "micromark-extension-math": "^3.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmmirror.com/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-rehype": { + "version": "11.1.1", + "resolved": "https://registry.npmmirror.com/remark-rehype/-/remark-rehype-11.1.1.tgz", + "integrity": "sha512-g/osARvjkBXb6Wo0XvAeXQohVta8i84ACbenPpoSsxTOQH/Ae0/RGP4WZgnMH5pMLpsj4FG7OHmcIcXxpza8eQ==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmmirror.com/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.31.0.tgz", + "integrity": "sha512-9cCE8P4rZLx9+PjoyqHLs31V9a9Vpvfo4qNcs6JCiGWYhw2gijSetFbH6SSy1whnkgcefnUwr8sad7tgqsGvnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.6" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.31.0", + "@rollup/rollup-android-arm64": "4.31.0", + "@rollup/rollup-darwin-arm64": "4.31.0", + "@rollup/rollup-darwin-x64": "4.31.0", + "@rollup/rollup-freebsd-arm64": "4.31.0", + "@rollup/rollup-freebsd-x64": "4.31.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.31.0", + "@rollup/rollup-linux-arm-musleabihf": "4.31.0", + "@rollup/rollup-linux-arm64-gnu": "4.31.0", + "@rollup/rollup-linux-arm64-musl": "4.31.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.31.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.31.0", + "@rollup/rollup-linux-riscv64-gnu": "4.31.0", + "@rollup/rollup-linux-s390x-gnu": "4.31.0", + "@rollup/rollup-linux-x64-gnu": "4.31.0", + "@rollup/rollup-linux-x64-musl": "4.31.0", + "@rollup/rollup-win32-arm64-msvc": "4.31.0", + "@rollup/rollup-win32-ia32-msvc": "4.31.0", + "@rollup/rollup-win32-x64-msvc": "4.31.0", + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-watch": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/rollup-plugin-watch/-/rollup-plugin-watch-1.0.4.tgz", + "integrity": "sha512-Wyoi1InAROIA4P8ipTQ0GE1l5wsbbgEUGy0alEKLPgrgC02IuGtCyys99mWj0JLzJwSBFCZbJ4vQIascBBU3gQ==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^5.0.4" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "rollup": "^2.x.x || ^3.x.x || ^4.x.x" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/stringify-entities": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", + "dependencies": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/style-to-object": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/style-to-object/-/style-to-object-1.0.8.tgz", + "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==", + "dependencies": { + "inline-style-parser": "0.2.4" + } + }, + "node_modules/sucrase": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", + "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "^10.3.10", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sucrase/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sucrase/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/synckit": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.8.tgz", + "integrity": "sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==", + "dev": true, + "dependencies": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/tailwindcss": { + "version": "3.4.15", + "resolved": "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-3.4.15.tgz", + "integrity": "sha512-r4MeXnfBmSOuKUWmXe6h2CcyfzJCEk4F0pptO5jlnYSIViUkVmsawj80N5h2lO3gwcmSb4n3PuN+e+GC1Guylw==", + "dev": true, + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.6.0", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.21.6", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.8", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.2", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true + }, + "node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typescript": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "6.20.0", + "resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "dev": true + }, + "node_modules/unified": { + "version": "11.0.5", + "resolved": "https://registry.npmmirror.com/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-find-after": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", + "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-remove-position": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", + "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "peer": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-location": { + "version": "5.0.3", + "resolved": "https://registry.npmmirror.com/vfile-location/-/vfile-location-5.0.3.tgz", + "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/vfile-message/-/vfile-message-4.0.2.tgz", + "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vis-data": { + "version": "7.1.9", + "resolved": "https://registry.npmmirror.com/vis-data/-/vis-data-7.1.9.tgz", + "integrity": "sha512-COQsxlVrmcRIbZMMTYwD+C2bxYCFDNQ2EHESklPiInbD/Pk3JZ6qNL84Bp9wWjYjAzXfSlsNaFtRk+hO9yBPWA==", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/visjs" + }, + "peerDependencies": { + "uuid": "^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", + "vis-util": "^5.0.1" + } + }, + "node_modules/vis-network": { + "version": "9.1.9", + "resolved": "https://registry.npmmirror.com/vis-network/-/vis-network-9.1.9.tgz", + "integrity": "sha512-Ft+hLBVyiLstVYSb69Q1OIQeh3FeUxHJn0WdFcq+BFPqs+Vq1ibMi2sb//cxgq1CP7PH4yOXnHxEH/B2VzpZYA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/visjs" + }, + "peerDependencies": { + "@egjs/hammerjs": "^2.0.0", + "component-emitter": "^1.3.0", + "keycharm": "^0.2.0 || ^0.3.0 || ^0.4.0", + "uuid": "^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", + "vis-data": "^6.3.0 || ^7.0.0", + "vis-util": "^5.0.1" + } + }, + "node_modules/vis-util": { + "version": "5.0.7", + "resolved": "https://registry.npmmirror.com/vis-util/-/vis-util-5.0.7.tgz", + "integrity": "sha512-E3L03G3+trvc/X4LXvBfih3YIHcKS2WrP0XTdZefr6W6Qi/2nNCqZfe4JFfJU6DcQLm6Gxqj2Pfl+02859oL5A==", + "peer": true, + "engines": { + "node": ">=8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/visjs" + }, + "peerDependencies": { + "@egjs/hammerjs": "^2.0.0", + "component-emitter": "^1.3.0 || ^2.0.0" + } + }, + "node_modules/vite": { + "version": "5.4.14", + "resolved": "https://registry.npmmirror.com/vite/-/vite-5.4.14.tgz", + "integrity": "sha512-EK5cY7Q1D8JNhSaPKVK4pwBFvaTmZxEnoKXLG/U9gmdDcihQGNzFlgIvaxezFR4glP1LsuiedwMBqCXH3wZccA==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + }, + "dependencies": { + "@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true + }, + "@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true + }, + "@ampproject/remapping": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", + "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "dev": true, + "requires": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "@babel/code-frame": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.4.tgz", + "integrity": "sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==", + "dev": true, + "requires": { + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" + } + }, + "@babel/compat-data": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz", + "integrity": "sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==", + "dev": true + }, + "@babel/core": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz", + "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.3", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.3", + "@babel/types": "^7.23.3", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "dependencies": { + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true + } + } + }, + "@babel/generator": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.4.tgz", + "integrity": "sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ==", + "dev": true, + "requires": { + "@babel/types": "^7.23.4", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", + "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.15", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "dependencies": { + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true + } + } + }, + "@babel/helper-environment-visitor": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "dev": true + }, + "@babel/helper-function-name": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "dev": true, + "requires": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "dev": true, + "requires": { + "@babel/types": "^7.22.5" + } + }, + "@babel/helper-module-imports": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", + "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "dev": true, + "requires": { + "@babel/types": "^7.22.15" + } + }, + "@babel/helper-module-transforms": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", + "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "dev": true + }, + "@babel/helper-simple-access": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "dev": true, + "requires": { + "@babel/types": "^7.22.5" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "dev": true, + "requires": { + "@babel/types": "^7.22.5" + } + }, + "@babel/helper-string-parser": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "dev": true + }, + "@babel/helper-validator-identifier": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "dev": true + }, + "@babel/helper-validator-option": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", + "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", + "dev": true + }, + "@babel/helpers": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.4.tgz", + "integrity": "sha512-HfcMizYz10cr3h29VqyfGL6ZWIjTwWfvYBMsBVGwpcbhNGe3wQ1ZXZRPzZoAHhd9OqHadHqjQ89iVKINXnbzuw==", + "dev": true, + "requires": { + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.4", + "@babel/types": "^7.23.4" + } + }, + "@babel/highlight": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.4.tgz", + "integrity": "sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ==", + "dev": true + }, + "@babel/plugin-transform-react-jsx-self": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.23.3.tgz", + "integrity": "sha512-qXRvbeKDSfwnlJnanVRp0SfuWE5DQhwQr5xtLBzp56Wabyo+4CMosF6Kfp+eOD/4FYpql64XVJ2W0pVLlJZxOQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.22.5" + } + }, + "@babel/plugin-transform-react-jsx-source": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.23.3.tgz", + "integrity": "sha512-91RS0MDnAWDNvGC6Wio5XYkyWI39FMFO+JK9+4AlgaTH+yWwVTsw7/sn6LK0lH7c5F+TFkpv/3LfCJ1Ydwof/g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.22.5" + } + }, + "@babel/template": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" + } + }, + "@babel/traverse": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.4.tgz", + "integrity": "sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.23.4", + "@babel/generator": "^7.23.4", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.4", + "@babel/types": "^7.23.4", + "debug": "^4.1.0", + "globals": "^11.1.0" + } + }, + "@babel/types": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz", + "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==", + "dev": true, + "requires": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + } + }, + "@egjs/hammerjs": { + "version": "2.0.17", + "resolved": "https://registry.npmmirror.com/@egjs/hammerjs/-/hammerjs-2.0.17.tgz", + "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==", + "peer": true, + "requires": { + "@types/hammerjs": "^2.0.36" + } + }, + "@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "dev": true, + "optional": true + }, + "@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "dev": true, + "optional": true + }, + "@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "dev": true, + "optional": true + }, + "@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "dev": true, + "optional": true + }, + "@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "dev": true, + "optional": true + }, + "@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "dev": true, + "optional": true + }, + "@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "dev": true, + "optional": true + }, + "@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "dev": true, + "optional": true + }, + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + } + }, + "@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true + }, + "@eslint/eslintrc": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", + "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "globals": { + "version": "13.23.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", + "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + } + } + }, + "@eslint/js": { + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz", + "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==", + "dev": true + }, + "@humanwhocodes/config-array": { + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^2.0.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + } + }, + "@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true + }, + "@humanwhocodes/object-schema": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "dev": true + }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "@jridgewell/resolve-uri": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "dev": true + }, + "@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true + }, + "@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", + "dev": true + }, + "@rollup/pluginutils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", + "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^2.3.1" + } + }, + "@rollup/rollup-android-arm-eabi": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.31.0.tgz", + "integrity": "sha512-9NrR4033uCbUBRgvLcBrJofa2KY9DzxL2UKZ1/4xA/mnTNyhZCWBuD8X3tPm1n4KxcgaraOYgrFKSgwjASfmlA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-android-arm64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.31.0.tgz", + "integrity": "sha512-iBbODqT86YBFHajxxF8ebj2hwKm1k8PTBQSojSt3d1FFt1gN+xf4CowE47iN0vOSdnd+5ierMHBbu/rHc7nq5g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-darwin-arm64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.31.0.tgz", + "integrity": "sha512-WHIZfXgVBX30SWuTMhlHPXTyN20AXrLH4TEeH/D0Bolvx9PjgZnn4H677PlSGvU6MKNsjCQJYczkpvBbrBnG6g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-darwin-x64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.31.0.tgz", + "integrity": "sha512-hrWL7uQacTEF8gdrQAqcDy9xllQ0w0zuL1wk1HV8wKGSGbKPVjVUv/DEwT2+Asabf8Dh/As+IvfdU+H8hhzrQQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-freebsd-arm64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.31.0.tgz", + "integrity": "sha512-S2oCsZ4hJviG1QjPY1h6sVJLBI6ekBeAEssYKad1soRFv3SocsQCzX6cwnk6fID6UQQACTjeIMB+hyYrFacRew==", + "dev": true, + "optional": true + }, + "@rollup/rollup-freebsd-x64": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.31.0.tgz", + "integrity": "sha512-pCANqpynRS4Jirn4IKZH4tnm2+2CqCNLKD7gAdEjzdLGbH1iO0zouHz4mxqg0uEMpO030ejJ0aA6e1PJo2xrPA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.31.0.tgz", + "integrity": "sha512-0O8ViX+QcBd3ZmGlcFTnYXZKGbFu09EhgD27tgTdGnkcYXLat4KIsBBQeKLR2xZDCXdIBAlWLkiXE1+rJpCxFw==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm-musleabihf": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.31.0.tgz", + "integrity": "sha512-w5IzG0wTVv7B0/SwDnMYmbr2uERQp999q8FMkKG1I+j8hpPX2BYFjWe69xbhbP6J9h2gId/7ogesl9hwblFwwg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.31.0.tgz", + "integrity": "sha512-JyFFshbN5xwy6fulZ8B/8qOqENRmDdEkcIMF0Zz+RsfamEW+Zabl5jAb0IozP/8UKnJ7g2FtZZPEUIAlUSX8cA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm64-musl": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.31.0.tgz", + "integrity": "sha512-kpQXQ0UPFeMPmPYksiBL9WS/BDiQEjRGMfklVIsA0Sng347H8W2iexch+IEwaR7OVSKtr2ZFxggt11zVIlZ25g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.31.0.tgz", + "integrity": "sha512-pMlxLjt60iQTzt9iBb3jZphFIl55a70wexvo8p+vVFK+7ifTRookdoXX3bOsRdmfD+OKnMozKO6XM4zR0sHRrQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.31.0.tgz", + "integrity": "sha512-D7TXT7I/uKEuWiRkEFbed1UUYZwcJDU4vZQdPTcepK7ecPhzKOYk4Er2YR4uHKme4qDeIh6N3XrLfpuM7vzRWQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-riscv64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.31.0.tgz", + "integrity": "sha512-wal2Tc8O5lMBtoePLBYRKj2CImUCJ4UNGJlLwspx7QApYny7K1cUYlzQ/4IGQBLmm+y0RS7dwc3TDO/pmcneTw==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-s390x-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.31.0.tgz", + "integrity": "sha512-O1o5EUI0+RRMkK9wiTVpk2tyzXdXefHtRTIjBbmFREmNMy7pFeYXCFGbhKFwISA3UOExlo5GGUuuj3oMKdK6JQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-x64-gnu": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.31.0.tgz", + "integrity": "sha512-zSoHl356vKnNxwOWnLd60ixHNPRBglxpv2g7q0Cd3Pmr561gf0HiAcUBRL3S1vPqRC17Zo2CX/9cPkqTIiai1g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-x64-musl": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.31.0.tgz", + "integrity": "sha512-ypB/HMtcSGhKUQNiFwqgdclWNRrAYDH8iMYH4etw/ZlGwiTVxBz2tDrGRrPlfZu6QjXwtd+C3Zib5pFqID97ZA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-arm64-msvc": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.31.0.tgz", + "integrity": "sha512-JuhN2xdI/m8Hr+aVO3vspO7OQfUFO6bKLIRTAy0U15vmWjnZDLrEgCZ2s6+scAYaQVpYSh9tZtRijApw9IXyMw==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-ia32-msvc": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.31.0.tgz", + "integrity": "sha512-U1xZZXYkvdf5MIWmftU8wrM5PPXzyaY1nGCI4KI4BFfoZxHamsIe+BtnPLIvvPykvQWlVbqUXdLa4aJUuilwLQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-x64-msvc": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.31.0.tgz", + "integrity": "sha512-ul8rnCsUumNln5YWwz0ted2ZHFhzhRRnkpBZ+YRuHoRAlUji9KChpOUOndY7uykrPEPXVbHLlsdo6v5yXo/TXw==", + "dev": true, + "optional": true + }, + "@tabler/icons": { + "version": "2.42.0", + "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-2.42.0.tgz", + "integrity": "sha512-ynV4iaC1c1mUhuAr9HRaoq8KrWYmZ0bJEpOh7qTBE+OfdDsdvQUe+0S7FW+DHkJ4RuxQMdO8djrZK7HrUw9YMA==" + }, + "@tabler/icons-react": { + "version": "2.42.0", + "resolved": "https://registry.npmjs.org/@tabler/icons-react/-/icons-react-2.42.0.tgz", + "integrity": "sha512-2APr++u24P2mx9vJymJQJORRpu2Qej0rPrtAvgXu8YomHjLXVP+O1VtToSGyoSPH1ysA569XbxrwzOau9Ne12A==", + "requires": { + "@tabler/icons": "2.42.0", + "prop-types": "^15.7.2" + } + }, + "@tailwindcss/typography": { + "version": "0.5.15", + "resolved": "https://registry.npmmirror.com/@tailwindcss/typography/-/typography-0.5.15.tgz", + "integrity": "sha512-AqhlCXl+8grUz8uqExv5OTtgpjuVIwFTSXTrh8y9/pw6q2ek7fJ+Y8ZEVw7EB2DCcuCOtEjf9w3+J3rzts01uA==", + "dev": true, + "requires": { + "lodash.castarray": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2", + "postcss-selector-parser": "6.0.10" + }, + "dependencies": { + "postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + } + } + }, + "@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "requires": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "@types/babel__generator": { + "version": "7.6.7", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.7.tgz", + "integrity": "sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@types/babel__traverse": { + "version": "7.20.4", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.4.tgz", + "integrity": "sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==", + "dev": true, + "requires": { + "@babel/types": "^7.20.7" + } + }, + "@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmmirror.com/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "requires": { + "@types/ms": "*" + } + }, + "@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==" + }, + "@types/estree-jsx": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", + "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", + "requires": { + "@types/estree": "*" + } + }, + "@types/hammerjs": { + "version": "2.0.46", + "resolved": "https://registry.npmmirror.com/@types/hammerjs/-/hammerjs-2.0.46.tgz", + "integrity": "sha512-ynRvcq6wvqexJ9brDMS4BnBLzmr0e14d6ZJTEShTBWKymQiHwlAyGu0ZPEFI2Fh1U53F7tN9ufClWM5KvqkKOw==", + "peer": true + }, + "@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "requires": { + "@types/unist": "*" + } + }, + "@types/katex": { + "version": "0.16.7", + "resolved": "https://registry.npmmirror.com/@types/katex/-/katex-0.16.7.tgz", + "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==" + }, + "@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "requires": { + "@types/unist": "*" + } + }, + "@types/ms": { + "version": "0.7.34", + "resolved": "https://registry.npmmirror.com/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" + }, + "@types/node": { + "version": "22.10.0", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-22.10.0.tgz", + "integrity": "sha512-XC70cRZVElFHfIUB40FgZOBbgJYFKKMa5nb9lxcwYstFG/Mi+/Y0bGS+rs6Dmhmkpq4pnNiLiuZAbc02YCOnmA==", + "dev": true, + "requires": { + "undici-types": "~6.20.0" + } + }, + "@types/prop-types": { + "version": "15.7.11", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", + "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" + }, + "@types/react": { + "version": "18.2.39", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.39.tgz", + "integrity": "sha512-Oiw+ppED6IremMInLV4HXGbfbG6GyziY3kqAwJYOR0PNbkYDmLWQA3a95EhdSmamsvbkJN96ZNN+YD+fGjzSBA==", + "requires": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "@types/react-dom": { + "version": "18.2.17", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.17.tgz", + "integrity": "sha512-rvrT/M7Df5eykWFxn6MYt5Pem/Dbyc1N8Y0S9Mrkw2WFCRiqUgw9P7ul2NpwsXCSM1DVdENzdG9J5SreqfAIWg==", + "dev": true, + "requires": { + "@types/react": "*" + } + }, + "@types/scheduler": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", + "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==" + }, + "@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==" + }, + "@types/uuid": { + "version": "9.0.7", + "resolved": "https://registry.npmmirror.com/@types/uuid/-/uuid-9.0.7.tgz", + "integrity": "sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==", + "dev": true + }, + "@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" + }, + "@vitejs/plugin-react": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.2.0.tgz", + "integrity": "sha512-+MHTH/e6H12kRp5HUkzOGqPMksezRMmW+TNzlh/QXfI8rRf6l2Z2yH/v12no1UvTwhZgEDMuQ7g7rrfMseU6FQ==", + "dev": true, + "requires": { + "@babel/core": "^7.23.3", + "@babel/plugin-transform-react-jsx-self": "^7.23.3", + "@babel/plugin-transform-react-jsx-source": "^7.23.3", + "@types/babel__core": "^7.20.4", + "react-refresh": "^0.14.0" + } + }, + "acorn": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "dev": true + }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "requires": {} + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "dev": true + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "autoprefixer": { + "version": "10.4.20", + "resolved": "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.20.tgz", + "integrity": "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==", + "dev": true, + "requires": { + "browserslist": "^4.23.3", + "caniuse-lite": "^1.0.30001646", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.1", + "postcss-value-parser": "^4.2.0" + } + }, + "bail": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "requires": { + "fill-range": "^7.1.1" + } + }, + "browserslist": { + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.1" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30001684", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", + "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", + "dev": true + }, + "ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==" + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==" + }, + "character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==" + }, + "character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==" + }, + "character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==" + }, + "chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==" + }, + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true + }, + "component-emitter": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/component-emitter/-/component-emitter-1.3.1.tgz", + "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "peer": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "concurrently": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.1.0.tgz", + "integrity": "sha512-VxkzwMAn4LP7WyMnJNbHN5mKV9L2IbyDjpzemKr99sXNR3GqRNMMHdm7prV1ws9wg7ETj6WUkNOigZVsptwbgg==", + "dev": true, + "requires": { + "chalk": "^4.1.2", + "lodash": "^4.17.21", + "rxjs": "^7.8.1", + "shell-quote": "^1.8.1", + "supports-color": "^8.1.1", + "tree-kill": "^1.2.2", + "yargs": "^17.7.2" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true + }, + "csstype": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "decode-named-character-reference": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz", + "integrity": "sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==", + "requires": { + "character-entities": "^2.0.0" + } + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==" + }, + "devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "requires": { + "dequal": "^2.0.0" + } + }, + "dexie": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/dexie/-/dexie-3.2.4.tgz", + "integrity": "sha512-VKoTQRSv7+RnffpOJ3Dh6ozknBqzWw/F3iqMdsZg958R0AS8AnY9x9d1lbwENr0gzeGJHXKcGhAMRaqys6SxqA==" + }, + "dexie-react-hooks": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/dexie-react-hooks/-/dexie-react-hooks-1.1.7.tgz", + "integrity": "sha512-Lwv5W0Hk+uOW3kGnsU9GZoR1er1B7WQ5DSdonoNG+focTNeJbHW6vi6nBoX534VKI3/uwHebYzSw1fwY6a7mTw==", + "requires": {} + }, + "didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true + }, + "dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "electron-to-chromium": { + "version": "1.5.65", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.65.tgz", + "integrity": "sha512-PWVzBjghx7/wop6n22vS2MLU8tKGd4Q91aCEGhG/TYmW6PP5OcSXcdnxTe1NNt0T66N8D6jxh4kC8UsdzOGaIw==", + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "entities": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==" + }, + "esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true + }, + "eslint": { + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz", + "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.3", + "@eslint/js": "8.54.0", + "@humanwhocodes/config-array": "^0.11.13", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": ">=7.0.5", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "globals": { + "version": "13.23.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", + "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "eslint-config-prettier": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", + "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", + "dev": true, + "requires": {} + }, + "eslint-plugin-prettier": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", + "integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==", + "dev": true, + "requires": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.6" + } + }, + "eslint-plugin-react-hooks": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "dev": true, + "requires": {} + }, + "eslint-plugin-react-refresh": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.4.tgz", + "integrity": "sha512-eD83+65e8YPVg6603Om2iCIwcQJf/y7++MWm4tACtEswFLYMwxwVWAfwN+e19f5Ad/FOyyNg9Dfi5lXhH3Y3rA==", + "dev": true, + "requires": {} + }, + "eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + }, + "espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "requires": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + } + }, + "esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "estree-util-is-identifier-name": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", + "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==" + }, + "estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true + }, + "fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, + "fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "requires": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + } + }, + "flatted": { + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "dev": true + }, + "foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "requires": { + "cross-spawn": ">=7.0.5", + "signal-exit": "^4.0.1" + } + }, + "fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true + }, + "fuse.js": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.0.0.tgz", + "integrity": "sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==" + }, + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "glob": { + "version": "8.1.0", + "resolved": "https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true + }, + "hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "requires": { + "function-bind": "^1.1.2" + } + }, + "hast-util-from-dom": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", + "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==", + "requires": { + "@types/hast": "^3.0.0", + "hastscript": "^9.0.0", + "web-namespaces": "^2.0.0" + } + }, + "hast-util-from-html": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", + "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==", + "requires": { + "@types/hast": "^3.0.0", + "devlop": "^1.1.0", + "hast-util-from-parse5": "^8.0.0", + "parse5": "^7.0.0", + "vfile": "^6.0.0", + "vfile-message": "^4.0.0" + } + }, + "hast-util-from-html-isomorphic": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", + "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==", + "requires": { + "@types/hast": "^3.0.0", + "hast-util-from-dom": "^5.0.0", + "hast-util-from-html": "^2.0.0", + "unist-util-remove-position": "^5.0.0" + } + }, + "hast-util-from-parse5": { + "version": "8.0.2", + "resolved": "https://registry.npmmirror.com/hast-util-from-parse5/-/hast-util-from-parse5-8.0.2.tgz", + "integrity": "sha512-SfMzfdAi/zAoZ1KkFEyyeXBn7u/ShQrfd675ZEE9M3qj+PMFX05xubzRyF76CCSJu8au9jgVxDV1+okFvgZU4A==", + "requires": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "hastscript": "^9.0.0", + "property-information": "^6.0.0", + "vfile": "^6.0.0", + "vfile-location": "^5.0.0", + "web-namespaces": "^2.0.0" + } + }, + "hast-util-is-element": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz", + "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==", + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hast-util-parse-selector": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", + "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hast-util-to-jsx-runtime": { + "version": "2.3.2", + "resolved": "https://registry.npmmirror.com/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.2.tgz", + "integrity": "sha512-1ngXYb+V9UT5h+PxNRa1O1FYguZK/XL+gkeqvp7EdHlB9oHUG0eYRo/vY5inBdcqo3RkPMC58/H94HvkbfGdyg==", + "requires": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-object": "^1.0.0", + "unist-util-position": "^5.0.0", + "vfile-message": "^4.0.0" + } + }, + "hast-util-to-text": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", + "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==", + "requires": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "hast-util-is-element": "^3.0.0", + "unist-util-find-after": "^5.0.0" + } + }, + "hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hastscript": { + "version": "9.0.0", + "resolved": "https://registry.npmmirror.com/hastscript/-/hastscript-9.0.0.tgz", + "integrity": "sha512-jzaLBGavEDKHrc5EfFImKN7nZKKBdSLIdGvCwDZ9TfzbF2ffXiov8CKE445L2Z1Ek2t/m4SKQ2j6Ipv7NyUolw==", + "requires": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^4.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + } + }, + "html-url-attributes": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/html-url-attributes/-/html-url-attributes-3.0.1.tgz", + "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==" + }, + "ignore": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "inline-style-parser": { + "version": "0.2.4", + "resolved": "https://registry.npmmirror.com/inline-style-parser/-/inline-style-parser-0.2.4.tgz", + "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==" + }, + "is-absolute-url": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/is-absolute-url/-/is-absolute-url-4.0.1.tgz", + "integrity": "sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A==" + }, + "is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==" + }, + "is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "requires": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "requires": { + "hasown": "^2.0.0" + } + }, + "is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==" + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==" + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, + "is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, + "jiti": { + "version": "1.21.6", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", + "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true + }, + "katex": { + "version": "0.16.11", + "resolved": "https://registry.npmmirror.com/katex/-/katex-0.16.11.tgz", + "integrity": "sha512-RQrI8rlHY92OLf3rho/Ts8i/XvjgguEjOkO1BEXcU3N8BqPpSzBNwV/G0Ukr+P/l3ivvJUE/Fa/CwbS6HesGNQ==", + "requires": { + "commander": "^8.3.0" + }, + "dependencies": { + "commander": { + "version": "8.3.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" + } + } + }, + "keycharm": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/keycharm/-/keycharm-0.4.0.tgz", + "integrity": "sha512-TyQTtsabOVv3MeOpR92sIKk/br9wxS+zGj4BG7CR8YbK4jM3tyIBaF0zhzeBUMx36/Q/iQLOKKOT+3jOQtemRQ==", + "peer": true + }, + "keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "requires": { + "json-buffer": "3.0.1" + } + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "dev": true + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lodash.castarray": { + "version": "4.4.0", + "resolved": "https://registry.npmmirror.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz", + "integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==", + "dev": true + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==" + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==" + }, + "marked": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==" + }, + "mdast-util-find-and-replace": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz", + "integrity": "sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==", + "requires": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==" + } + } + }, + "mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "mdast-util-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", + "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", + "requires": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "requires": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + } + }, + "mdast-util-gfm-footnote": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz", + "integrity": "sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + } + }, + "mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-math": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-math/-/mdast-util-math-3.0.0.tgz", + "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", + "requires": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "longest-streak": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-remove-position": "^5.0.0" + } + }, + "mdast-util-mdx-expression": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", + "requires": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-mdx-jsx": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz", + "integrity": "sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==", + "requires": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + } + }, + "mdast-util-mdxjs-esm": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", + "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", + "requires": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "requires": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + } + }, + "mdast-util-to-hast": { + "version": "13.2.0", + "resolved": "https://registry.npmmirror.com/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz", + "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==", + "requires": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + } + }, + "mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + } + }, + "mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "requires": { + "@types/mdast": "^4.0.0" + } + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true + }, + "micromark": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/micromark/-/micromark-4.0.1.tgz", + "integrity": "sha512-eBPdkcoCNvYcxQOAKAlceo5SNdzZWfF+FcSupREAzdAh9rRmE239CEQAiTwIgblwnoM8zzj35sZ5ZwvSEOF6Kw==", + "requires": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-core-commonmark": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/micromark-core-commonmark/-/micromark-core-commonmark-2.0.2.tgz", + "integrity": "sha512-FKjQKbxd1cibWMM1P9N+H8TwlgGgSkWZMmfuVucLCHaYqeSvJ0hFeHsIa65pA2nYbes0f8LDHPMrd9X7Ujxg9w==", + "requires": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "requires": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "requires": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-table": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz", + "integrity": "sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==", + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "requires": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "requires": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "requires": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "requires": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==" + }, + "micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==" + }, + "micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-subtokenize": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.3.tgz", + "integrity": "sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==" + }, + "micromark-util-types": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/micromark-util-types/-/micromark-util-types-2.0.1.tgz", + "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==" + }, + "micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "requires": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "requires": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "nanoid": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.6.tgz", + "integrity": "sha512-rRq0eMHoGZxlvaFOUdK1Ev83Bd1IgzzR+WJ3IbDJ7QOSdAxYjlurSPqFs9s4lJg29RT6nPwizFtJhQS6V5xgiA==" + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node-releases": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "dev": true + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + }, + "object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "requires": { + "wrappy": "1" + } + }, + "optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "requires": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-entities": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/parse-entities/-/parse-entities-4.0.1.tgz", + "integrity": "sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==", + "requires": { + "@types/unist": "^2.0.0", + "character-entities": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "dependencies": { + "@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmmirror.com/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" + } + } + }, + "parse5": { + "version": "7.2.1", + "resolved": "https://registry.npmmirror.com/parse5/-/parse5-7.2.1.tgz", + "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", + "requires": { + "entities": "^4.5.0" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true + } + } + }, + "picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + }, + "pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "dev": true + }, + "postcss": { + "version": "8.4.49", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", + "dev": true, + "requires": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "dependencies": { + "nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "dev": true + } + } + }, + "postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + } + }, + "postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dev": true, + "requires": { + "camelcase-css": "^2.0.1" + } + }, + "postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "dev": true, + "requires": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "dependencies": { + "lilconfig": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", + "dev": true + }, + "yaml": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz", + "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==", + "dev": true + } + } + }, + "postcss-nested": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", + "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", + "dev": true, + "requires": { + "postcss-selector-parser": "^6.1.1" + } + }, + "postcss-selector-parser": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "prettier": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz", + "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", + "dev": true + }, + "prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "requires": { + "fast-diff": "^1.1.2" + } + }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "property-information": { + "version": "6.5.0", + "resolved": "https://registry.npmmirror.com/property-information/-/property-information-6.5.0.tgz", + "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==" + }, + "punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true + }, + "react": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "requires": { + "loose-envify": "^1.1.0" + } + }, + "react-dom": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "requires": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.0" + } + }, + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "react-markdown": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/react-markdown/-/react-markdown-9.0.1.tgz", + "integrity": "sha512-186Gw/vF1uRkydbsOIkcGXw7aHq0sZOCRFFjGrr7b9+nVZg4UfA4enXCaxm4fUzecU38sWfrNDitGhshuU7rdg==", + "requires": { + "@types/hast": "^3.0.0", + "devlop": "^1.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "html-url-attributes": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + } + }, + "react-refresh": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", + "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", + "dev": true + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, + "requires": { + "pify": "^2.3.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "rehype-external-links": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/rehype-external-links/-/rehype-external-links-3.0.0.tgz", + "integrity": "sha512-yp+e5N9V3C6bwBeAC4n796kc86M4gJCdlVhiMTxIrJG5UHDMh+PJANf9heqORJbt1nrCbDwIlAZKjANIaVBbvw==", + "requires": { + "@types/hast": "^3.0.0", + "@ungap/structured-clone": "^1.0.0", + "hast-util-is-element": "^3.0.0", + "is-absolute-url": "^4.0.0", + "space-separated-tokens": "^2.0.0", + "unist-util-visit": "^5.0.0" + } + }, + "rehype-katex": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/rehype-katex/-/rehype-katex-7.0.1.tgz", + "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==", + "requires": { + "@types/hast": "^3.0.0", + "@types/katex": "^0.16.0", + "hast-util-from-html-isomorphic": "^2.0.0", + "hast-util-to-text": "^4.0.0", + "katex": "^0.16.0", + "unist-util-visit-parents": "^6.0.0", + "vfile": "^6.0.0" + } + }, + "remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + } + }, + "remark-math": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/remark-math/-/remark-math-6.0.0.tgz", + "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-math": "^3.0.0", + "micromark-extension-math": "^3.0.0", + "unified": "^11.0.0" + } + }, + "remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmmirror.com/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + } + }, + "remark-rehype": { + "version": "11.1.1", + "resolved": "https://registry.npmmirror.com/remark-rehype/-/remark-rehype-11.1.1.tgz", + "integrity": "sha512-g/osARvjkBXb6Wo0XvAeXQohVta8i84ACbenPpoSsxTOQH/Ae0/RGP4WZgnMH5pMLpsj4FG7OHmcIcXxpza8eQ==", + "requires": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + } + }, + "remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmmirror.com/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true + }, + "resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, + "rollup": { + "version": "4.31.0", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.31.0.tgz", + "integrity": "sha512-9cCE8P4rZLx9+PjoyqHLs31V9a9Vpvfo4qNcs6JCiGWYhw2gijSetFbH6SSy1whnkgcefnUwr8sad7tgqsGvnw==", + "dev": true, + "requires": { + "@rollup/rollup-android-arm-eabi": "4.31.0", + "@rollup/rollup-android-arm64": "4.31.0", + "@rollup/rollup-darwin-arm64": "4.31.0", + "@rollup/rollup-darwin-x64": "4.31.0", + "@rollup/rollup-freebsd-arm64": "4.31.0", + "@rollup/rollup-freebsd-x64": "4.31.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.31.0", + "@rollup/rollup-linux-arm-musleabihf": "4.31.0", + "@rollup/rollup-linux-arm64-gnu": "4.31.0", + "@rollup/rollup-linux-arm64-musl": "4.31.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.31.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.31.0", + "@rollup/rollup-linux-riscv64-gnu": "4.31.0", + "@rollup/rollup-linux-s390x-gnu": "4.31.0", + "@rollup/rollup-linux-x64-gnu": "4.31.0", + "@rollup/rollup-linux-x64-musl": "4.31.0", + "@rollup/rollup-win32-arm64-msvc": "4.31.0", + "@rollup/rollup-win32-ia32-msvc": "4.31.0", + "@rollup/rollup-win32-x64-msvc": "4.31.0", + "@types/estree": "1.0.6", + "fsevents": "~2.3.2" + } + }, + "rollup-plugin-watch": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/rollup-plugin-watch/-/rollup-plugin-watch-1.0.4.tgz", + "integrity": "sha512-Wyoi1InAROIA4P8ipTQ0GE1l5wsbbgEUGy0alEKLPgrgC02IuGtCyys99mWj0JLzJwSBFCZbJ4vQIascBBU3gQ==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^5.0.4" + } + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "requires": { + "tslib": "^2.1.0" + } + }, + "scheduler": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "requires": { + "loose-envify": "^1.1.0" + } + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + }, + "source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true + }, + "space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + } + } + }, + "stringify-entities": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", + "requires": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "style-to-object": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/style-to-object/-/style-to-object-1.0.8.tgz", + "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==", + "requires": { + "inline-style-parser": "0.2.4" + } + }, + "sucrase": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", + "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", + "dev": true, + "requires": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "^10.3.10", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, + "synckit": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.8.tgz", + "integrity": "sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==", + "dev": true, + "requires": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + } + }, + "tailwindcss": { + "version": "3.4.15", + "resolved": "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-3.4.15.tgz", + "integrity": "sha512-r4MeXnfBmSOuKUWmXe6h2CcyfzJCEk4F0pptO5jlnYSIViUkVmsawj80N5h2lO3gwcmSb4n3PuN+e+GC1Guylw==", + "dev": true, + "requires": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.6.0", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.21.6", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.8", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.2", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" + } + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "requires": { + "any-promise": "^1.0.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "requires": { + "thenify": ">= 3.1.0 < 4" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true + }, + "trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==" + }, + "trough": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==" + }, + "ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true + }, + "typescript": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", + "dev": true + }, + "undici-types": { + "version": "6.20.0", + "resolved": "https://registry.npmmirror.com/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "dev": true + }, + "unified": { + "version": "11.0.5", + "resolved": "https://registry.npmmirror.com/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "requires": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + } + }, + "unist-util-find-after": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", + "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + } + }, + "unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-remove-position": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", + "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-visit": "^5.0.0" + } + }, + "unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + } + }, + "unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + } + }, + "update-browserslist-db": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", + "dev": true, + "requires": { + "escalade": "^3.2.0", + "picocolors": "^1.1.0" + } + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "peer": true + }, + "vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "requires": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + } + }, + "vfile-location": { + "version": "5.0.3", + "resolved": "https://registry.npmmirror.com/vfile-location/-/vfile-location-5.0.3.tgz", + "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", + "requires": { + "@types/unist": "^3.0.0", + "vfile": "^6.0.0" + } + }, + "vfile-message": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/vfile-message/-/vfile-message-4.0.2.tgz", + "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "vis-data": { + "version": "7.1.9", + "resolved": "https://registry.npmmirror.com/vis-data/-/vis-data-7.1.9.tgz", + "integrity": "sha512-COQsxlVrmcRIbZMMTYwD+C2bxYCFDNQ2EHESklPiInbD/Pk3JZ6qNL84Bp9wWjYjAzXfSlsNaFtRk+hO9yBPWA==", + "peer": true, + "requires": {} + }, + "vis-network": { + "version": "9.1.9", + "resolved": "https://registry.npmmirror.com/vis-network/-/vis-network-9.1.9.tgz", + "integrity": "sha512-Ft+hLBVyiLstVYSb69Q1OIQeh3FeUxHJn0WdFcq+BFPqs+Vq1ibMi2sb//cxgq1CP7PH4yOXnHxEH/B2VzpZYA==", + "requires": {} + }, + "vis-util": { + "version": "5.0.7", + "resolved": "https://registry.npmmirror.com/vis-util/-/vis-util-5.0.7.tgz", + "integrity": "sha512-E3L03G3+trvc/X4LXvBfih3YIHcKS2WrP0XTdZefr6W6Qi/2nNCqZfe4JFfJU6DcQLm6Gxqj2Pfl+02859oL5A==", + "peer": true, + "requires": {} + }, + "vite": { + "version": "5.4.14", + "resolved": "https://registry.npmmirror.com/vite/-/vite-5.4.14.tgz", + "integrity": "sha512-EK5cY7Q1D8JNhSaPKVK4pwBFvaTmZxEnoKXLG/U9gmdDcihQGNzFlgIvaxezFR4glP1LsuiedwMBqCXH3wZccA==", + "dev": true, + "requires": { + "esbuild": "^0.21.3", + "fsevents": "~2.3.3", + "postcss": "^8.4.43", + "rollup": ">=4.22.4" + } + }, + "web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==" + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + } + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + }, + "zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==" + } + } +} diff --git a/ui/package.json b/ui/package.json new file mode 100644 index 0000000..7bbdfc2 --- /dev/null +++ b/ui/package.json @@ -0,0 +1,58 @@ +{ + "name": "comfyui-workspace-manager", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "build:css": "tailwindcss -i ./src/input.css -o ./src/output.css --watch", + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "preview": "vite preview", + "setupGithooks": "node ../scripts/setupGitHooks", + "build:prod": "VITE_API_BASE_URL=https://comfyui-copilot-server.onrender.com vite build && node scripts/post-build.js" + }, + "dependencies": { + "@tabler/icons-react": "^2.42.0", + "dexie": "^3.2.4", + "dexie-react-hooks": "^1.1.7", + "fuse.js": "^7.0.0", + "glob": "^8.1.0", + "marked": "^12.0.2", + "nanoid": "^5.0.6", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-markdown": "^9.0.1", + "rehype-external-links": "^3.0.0", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.0", + "remark-math": "^6.0.0", + "vis-network": "^9.1.9" + }, + "devDependencies": { + "@tailwindcss/typography": "^0.5.15", + "@types/node": "^22.10.0", + "@types/react": "^18.2.37", + "@types/react-dom": "^18.2.15", + "@types/uuid": "^9.0.7", + "@vitejs/plugin-react": "^4.2.0", + "autoprefixer": "^10.4.20", + "concurrently": "^9.1.0", + "eslint": "^8.53.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.4.4", + "postcss": "^8.4.49", + "prettier": "^3.2.4", + "rollup-plugin-watch": "^1.0.4", + "tailwindcss": "^3.4.15", + "typescript": "^5.2.2", + "vite": "^5.4.14" + }, + "overrides": { + "cross-spawn": ">=7.0.5", + "rollup": ">=4.22.4", + "pagefinder": ">=1.1.1" + } +} diff --git a/ui/postcss.config.js b/ui/postcss.config.js new file mode 100644 index 0000000..2e7af2b --- /dev/null +++ b/ui/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/ui/scripts/post-build.js b/ui/scripts/post-build.js new file mode 100644 index 0000000..cb7e40a --- /dev/null +++ b/ui/scripts/post-build.js @@ -0,0 +1,51 @@ +import fs from 'fs'; +import path from 'path'; +import glob from 'glob'; +import { fileURLToPath } from 'url'; +import { dirname } from 'path'; + +// 获取 __dirname 的等效值 +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +// 在 dist/copilot_web 目录下查找包含 __vite__mapDeps 的 JS 文件 +const distDir = path.resolve(__dirname, '../../dist/copilot_web'); +const files = glob.sync(`${distDir}/**/App-*.js`); + +files.forEach(file => { + console.log('start modify', file) + let content = fs.readFileSync(file, 'utf-8'); + + if (content.includes('__vite__mapDeps')) { + // 提取新格式的依赖数组,使用非贪婪匹配 + const depsMatch = content.match(/const __vite__mapDeps=\(.*?m\.f=\[(.*?)\]/); + if (depsMatch && depsMatch[1]) { + const originalDeps = depsMatch[1]; + + // 如果文件中还没有路径转换逻辑,则添加 + if (!content.includes('window.comfyAPI?.api?.api?.api_base')) { + content = content.replace( + /const __vite__mapDeps=.*?\)=>i\.map\(i=>d\[i\]\);/, + `const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[${originalDeps}].map(path => { + const apiBase = window.comfyAPI?.api?.api?.api_base; + const prefix = apiBase ? \`\${apiBase.substring(1)}/\` : ''; + return \`\${prefix}\${path}\`; + }))))=>i.map(i=>d[i]);` + ); + } else { + // 如果已经有路径转换逻辑,只替换依赖数组部分 + content = content.replace( + /const __vite__mapDeps=\(.*?\)=>i\.map\(i=>d\[i\]\);/, + `const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[${originalDeps}])))=>i.map(i=>d[i]);` + ); + } + + fs.writeFileSync(file, content, 'utf-8'); + console.log(`Modified ${path.basename(file)}`); + } else { + console.log(`No deps pattern found in ${path.basename(file)}`); + } + } else { + console.log(`No __vite__mapDeps found in ${path.basename(file)}`); + } +}); \ No newline at end of file diff --git a/ui/src/Api.ts b/ui/src/Api.ts new file mode 100644 index 0000000..9c06fb8 --- /dev/null +++ b/ui/src/Api.ts @@ -0,0 +1,45 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import { Table } from "./db-tables/WorkspaceDB"; +import type { ModelsListRespItem } from "./model-manager/types"; +import { api } from "./utils/comfyapp"; + +export function fetchApi( + route: string, + options?: RequestInit, +): Promise { + if (api == null) { + console.error("api is null!"); + throw new Error("api is null!"); + } + return api.fetchApi(route, options); +} + +export async function getDB(table: Table): Promise { + console.warn("[workspace deprecated] getDB is deprecated", table); + try { + const response = await fetchApi(`/workspace/get_db?table=${table}`); + if (!response.ok) { + return undefined; + } + const data = await response.json(); + return data; + } catch (error) { + console.error("Error fetching workspace:", error); + return undefined; + } +} + +export async function fetchMyWorkflowsDir() { + const resp = await fetchApi("/workspace/get_my_workflows_dir"); + const res = (await resp.json()) as { + path?: string; + error?: string; + os: "win32" | "darwin" | "linux"; + }; + if (res.error) { + alert(`Failed to fetch my workflows path: ${res.error}`); + } + return res; +} diff --git a/ui/src/App.tsx b/ui/src/App.tsx new file mode 100644 index 0000000..8e4e581 --- /dev/null +++ b/ui/src/App.tsx @@ -0,0 +1,103 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import React, { useRef, useState, useEffect } from "react"; +import { DRAWER_Z_INDEX } from "./const"; +import { COPILOT_EVENTS } from "./constants/events"; +const WorkflowChat = React.lazy(() => import("./workflowChat/workflowChat")); + +export default function App() { + const workspaceContainerRef = useRef(null); + const [showChat, setShowChat] = useState(false); + const [position, setPosition] = useState<{ x: number; y: number }>(); + const [isDragging, setIsDragging] = useState(false); + const [dragOffset, setDragOffset] = useState({ x: 0, y: 0 }); + const [shouldTriggerUsage, setShouldTriggerUsage] = useState(false); + + useEffect(() => { + const handleExplainNode = () => { + console.log("Explain node event received"); + setShowChat(true); + setShouldTriggerUsage(true); + }; + + window.addEventListener(COPILOT_EVENTS.EXPLAIN_NODE, handleExplainNode); + return () => window.removeEventListener(COPILOT_EVENTS.EXPLAIN_NODE, handleExplainNode); + }, []); + + useEffect(() => { + setPosition({ + x: window.innerWidth - 160, + y: 20 + }); + }, []); + + const handleMouseDown = (e: React.MouseEvent) => { + e.preventDefault(); + setIsDragging(true); + const buttonRect = e.currentTarget.getBoundingClientRect(); + setDragOffset({ + x: e.clientX - buttonRect.left, + y: e.clientY - buttonRect.top + }); + }; + + useEffect(() => { + const handleMouseMove = (e: MouseEvent) => { + if (isDragging) { + const newX = Math.min(Math.max(0, e.clientX - dragOffset.x), window.innerWidth - 100); + const newY = Math.min(Math.max(0, e.clientY - dragOffset.y), window.innerHeight - 40); + setPosition({ x: newX, y: newY }); + } + }; + + const handleMouseUp = () => { + setIsDragging(false); + }; + + if (isDragging) { + document.addEventListener('mousemove', handleMouseMove); + document.addEventListener('mouseup', handleMouseUp); + } + + return () => { + document.removeEventListener('mousemove', handleMouseMove); + document.removeEventListener('mouseup', handleMouseUp); + }; + }, [isDragging, dragOffset]); + + if (!position) return null; + + return ( +
+
+ + { + setShowChat(false); + setShouldTriggerUsage(false); + }} + visible={showChat} + triggerUsage={shouldTriggerUsage} + onUsageTriggered={() => setShouldTriggerUsage(false)} + /> +
+
+ ); +} diff --git a/ui/src/apis/comfyApiCustom.ts b/ui/src/apis/comfyApiCustom.ts new file mode 100644 index 0000000..8cfa0b0 --- /dev/null +++ b/ui/src/apis/comfyApiCustom.ts @@ -0,0 +1,19 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import { api } from "../utils/comfyapp"; + +export async function getObjectInfo(): Promise> { + try { + const response = await api.fetchApi("/object_info", { method: "GET" }); + return await response.json(); + } catch (error) { + console.error("Error fetching object info:", error); + throw error; + } +} + +export async function getInstalledNodes(): Promise { + const objectInfos = await getObjectInfo(); + return Object.keys(objectInfos); +} diff --git a/ui/src/apis/workflowChatApi.ts b/ui/src/apis/workflowChatApi.ts new file mode 100644 index 0000000..ca6e787 --- /dev/null +++ b/ui/src/apis/workflowChatApi.ts @@ -0,0 +1,207 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import { config } from '../config' +import { fetchApi } from "../Api"; +import { Message, ChatResponse, OptimizedWorkflowRequest, OptimizedWorkflowResponse, Node, ExtItem } from "../types/types"; +import { generateUUID } from '../utils/uuid'; + +const BASE_URL = config.apiBaseUrl + +const getApiKey = () => { + const apiKey = localStorage.getItem('chatApiKey'); + if (!apiKey) { + // alert('API key is required. Please set your API key first.'); + // throw new Error('API key is required. Please set your API key first.'); + } + return apiKey; +}; + +export namespace WorkflowChatAPI { + + export async function* streamInvokeServer( + sessionId: string, + prompt: string, + images: File[] = [], + intent: string | null = null, + ext: any | null = null + ): AsyncGenerator { + try { + const apiKey = getApiKey(); + + if (!apiKey) { + yield { + text: 'API key is required. Please set your API key first.⚙\nIf you don\'t have an API key, please email us at ComfyUI-Copilot@service.alibaba.com and we will get back to you as soon as possible.', + finished: true + } as ChatResponse; + return; + } + + // Convert images to base64 + const imagePromises = (images || []).map(file => + new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.onloadend = () => resolve(reader.result as string); + reader.onerror = reject; + reader.readAsDataURL(file); + }) + ); + + const base64Images = await Promise.all(imagePromises); + + // Handle ext parameter + let finalExt = ext ? (Array.isArray(ext) ? ext : [ext]) : []; + + const response = await fetch(`${BASE_URL}/api/chat/invoke`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + 'accept': 'application/json', + 'Access-Control-Allow-Origin': '*', + 'Authorization': `Bearer ${apiKey}`, + 'trace-id': generateUUID(), + }, + body: JSON.stringify({ + session_id: sessionId, + prompt: prompt, + mock: false, + intent: intent, + ext: finalExt, + images: base64Images.map((base64, index) => ({ + filename: images[index].name, + data: base64 + })) + }), + }); + + const reader = response.body!.getReader(); + let buffer = ''; + + while (true) { + const { done, value } = await reader.read(); + if (done) break; + + buffer += new TextDecoder().decode(value); + const lines = buffer.split('\n'); + buffer = lines.pop() || ''; + + for (const line of lines) { + if (line.trim()) { + yield JSON.parse(line) as ChatResponse; + } + } + } + + if (buffer.trim()) { + yield JSON.parse(buffer) as ChatResponse; + } + } catch (error) { + console.error('Error in streamInvokeServer:', error); + alert(error instanceof Error ? error.message : 'An error occurred while streaming, please refresh the page and try again.'); + throw error; + } + } + + export async function getOptimizedWorkflow( + workflowId: number, + prompt: string + ): Promise { + try { + const apiKey = getApiKey(); + + const response = await fetch(`${BASE_URL}/api/chat/get_optimized_workflow`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + 'accept': 'application/json', + 'Access-Control-Allow-Origin': '*', + 'Authorization': `Bearer ${apiKey}`, + 'trace-id': generateUUID(), + }, + body: JSON.stringify({ + workflow_id: workflowId, + prompt: prompt + } as OptimizedWorkflowRequest), + }); + + const result = await response.json(); + if (!result.success) { + const message = result.message || 'Failed to get optimized workflow'; + alert(message); + throw new Error(message); + } + + return result.data as OptimizedWorkflowResponse; + } catch (error) { + console.error('Error getting optimized workflow:', error); + alert(error instanceof Error ? error.message : 'Failed to get optimized workflow'); + throw error; + } + } + + export async function batchGetNodeInfo(nodeTypes: string[]): Promise { + const apiKey = getApiKey(); + const response = await fetch(`${BASE_URL}/api/chat/get_node_info_by_types`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + 'Authorization': `Bearer ${apiKey}`, + 'trace-id': generateUUID(), + }, + body: JSON.stringify({ node_types: nodeTypes }), + }); + const result = await response.json(); + if (!result.success) { + const message = result.message || 'Failed to get node info by types'; + alert(message); + throw new Error(message); + } + return result.data as Node[]; + } + + export async function fetchMessages(sessionId: string): Promise { + try { + const apiKey = getApiKey(); + const response = await fetch(`${BASE_URL}/api/chat/get_messages_by_session_id?session_id=${sessionId}`, { + method: 'GET', + headers: { + 'accept': 'application/json', + 'Authorization': `Bearer ${apiKey}`, + 'trace-id': generateUUID(), + } + }); + + const result = await response.json(); + if (!result.success) { + const message = result.message || 'Failed to fetch messages'; + alert(message + ', please refresh the page and try again.'); + throw new Error(message); + } + + return result.data.map((msg: any) => { + console.log("msg.ext", msg.ext); + return { + id: msg.id.toString(), + content: msg.role === 'ai' ? JSON.stringify({ + session_id: sessionId, + text: msg.content, + finished: msg.finished || false, + format: msg.format || 'markdown', + ext: msg.ext + }) : msg.content, + role: msg.role, + name: msg.role === 'ai' ? 'Assistant' : undefined, + format: msg.format || 'markdown', + finished: msg.finished + } + }); + } catch (error) { + console.error('Error fetching messages:', error); + alert(error instanceof Error ? error.message : 'Failed to fetch messages' + ', please refresh the page and try again.'); + throw error; + } + } +} + + + diff --git a/ui/src/components/chat/ApiKeyModal.tsx b/ui/src/components/chat/ApiKeyModal.tsx new file mode 100644 index 0000000..d00abc6 --- /dev/null +++ b/ui/src/components/chat/ApiKeyModal.tsx @@ -0,0 +1,83 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import { useEffect, useState } from 'react'; + +interface ApiKeyModalProps { + isOpen: boolean; + onClose: () => void; + onSave: (apiKey: string) => void; + initialApiKey?: string; +} + +export function ApiKeyModal({ isOpen, onClose, onSave, initialApiKey = '' }: ApiKeyModalProps) { + const [apiKey, setApiKey] = useState(initialApiKey); + const [showApiKey, setShowApiKey] = useState(false); + + useEffect(() => { + setApiKey(initialApiKey); + }, [initialApiKey]); + + if (!isOpen) return null; + + return ( +
+
+

Set API Key

+
+ setApiKey(e.target.value)} + placeholder="Enter your API key" + className="w-full px-3 py-2 border border-gray-300 rounded-md mb-4 pr-10 bg-gray-50" + /> + +
+
+ Don't have an API key? + + Click here to request one + +
+
+ + +
+
+
+ ); +} \ No newline at end of file diff --git a/ui/src/components/chat/ChatHeader.tsx b/ui/src/components/chat/ChatHeader.tsx new file mode 100644 index 0000000..b2677cb --- /dev/null +++ b/ui/src/components/chat/ChatHeader.tsx @@ -0,0 +1,63 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import { useState } from 'react'; +import { XIcon, TrashIcon, CogIcon } from './Icons'; +import { ApiKeyModal } from './ApiKeyModal'; + +interface ChatHeaderProps { + onClose?: () => void; + onClear?: () => void; + hasMessages: boolean; +} + +export function ChatHeader({ onClose, onClear, hasMessages }: ChatHeaderProps) { + const [isApiKeyModalOpen, setIsApiKeyModalOpen] = useState(false); + + const handleApiKeyClick = () => { + setIsApiKeyModalOpen(true); + }; + + const handleSaveApiKey = (apiKey: string) => { + localStorage.setItem('chatApiKey', apiKey); + }; + + return ( +
+
+

copilot

+ +
+
+ + +
+ + setIsApiKeyModalOpen(false)} + onSave={handleSaveApiKey} + initialApiKey={localStorage.getItem('chatApiKey') || ''} + /> +
+ ); +} \ No newline at end of file diff --git a/ui/src/components/chat/ChatInput.tsx b/ui/src/components/chat/ChatInput.tsx new file mode 100644 index 0000000..5d97ad3 --- /dev/null +++ b/ui/src/components/chat/ChatInput.tsx @@ -0,0 +1,241 @@ +// Copyright (C) 2025 AIDC-AI +// Licensed under the MIT License. + +import { ChangeEvent, KeyboardEvent, useState } from 'react'; +import { SendIcon, ImageIcon, PlusIcon, XIcon } from './Icons'; +import React from 'react'; + +interface ChatInputProps { + input: string; + loading: boolean; + onChange: (event: ChangeEvent) => void; + onSend: () => void; + onKeyPress: (event: KeyboardEvent) => void; + onUploadImages: (files: FileList) => void; + uploadedImages: UploadedImage[]; + onRemoveImage: (imageId: string) => void; + selectedModel: string; + onModelChange: (model: string) => void; +} + +export interface UploadedImage { + id: string; + file: File; + preview: string; +} + +const MAX_FILE_SIZE = 5 * 1024 * 1024; // 5MB +const SUPPORTED_FORMATS = ['image/jpeg', 'image/png', 'image/gif', 'image/webp']; + +export function ChatInput({ + input, + loading, + onChange, + onSend, + onKeyPress, + onUploadImages, + uploadedImages, + onRemoveImage, + selectedModel, + onModelChange, +}: ChatInputProps) { + const [showUploadModal, setShowUploadModal] = useState(false); + const fileInputRef = React.useRef(null); + + const handleFileChange = (event: ChangeEvent) => { + if (event.target.files) { + const invalidFiles: string[] = []; + const validFiles: File[] = []; + + Array.from(event.target.files).forEach(file => { + if (!SUPPORTED_FORMATS.includes(file.type)) { + invalidFiles.push(`${file.name} (unsupported format)`); + } else if (file.size > MAX_FILE_SIZE) { + invalidFiles.push(`${file.name} (exceeds 5MB)`); + } else { + validFiles.push(file); + } + }); + + if (invalidFiles.length > 0) { + alert(`The following files couldn't be uploaded:\n${invalidFiles.join('\n')}`); + } + + if (validFiles.length > 0) { + const dataTransfer = new DataTransfer(); + validFiles.forEach(file => dataTransfer.items.add(file)); + onUploadImages(dataTransfer.files); + } + } + }; + + return ( +
0 ? 'mt-12' : ''}`}> + {/* 已上传图片预览 */} + {uploadedImages.length > 0 && ( +
+ {uploadedImages.map(image => ( +
+ uploaded + +
+ ))} +
+ )} + +